web-backset.cn/apps/server2/src/view/less/spectre-less/src/base.less
2023-02-16 17:58:27 +08:00

41 lines
606 B
Plaintext

// Base
*,
*::before,
*::after {
box-sizing: inherit;
}
html {
box-sizing: border-box;
font-size: @html-font-size;
line-height: @html-line-height;
-webkit-tap-highlight-color: transparent;
}
body {
background: @body-bg;
color: @body-font-color;
font-family: @body-font-family;
font-size: @font-size;
overflow-x: hidden;
text-rendering: optimizeLegibility;
}
a {
color: @link-color;
outline: none;
text-decoration: none;
&:focus {
.control-shadow();
}
&:focus,
&:hover,
&:active,
&.active {
color: @link-color-dark;
text-decoration: underline;
}
}