naive-ui/styles/base.scss

57 lines
933 B
SCSS
Raw Normal View History

2019-06-18 14:53:24 +08:00
@import './fonts/Lato.scss';
2019-12-22 15:31:04 +08:00
@import './fonts/FiraCode.scss';
@import './themes/commonVars.scss';
@import './themes/light/index.scss';
@import './Detachable.scss';
2019-05-29 17:49:01 +08:00
@include setup-light-theme();
2019-09-18 22:01:34 +08:00
html {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
2019-09-19 00:11:02 +08:00
// font-smoothing: antialiased;
2019-09-18 22:01:34 +08:00
// font-weight: 400;
}
@-moz-document url-prefix() {
body {
font-weight: lighter !important;
}
}
body {
margin: 0;
font-family: $--n-font-family;
2019-06-06 16:44:10 +08:00
min-width: 1280px;
}
a {
color: $--primary-6;
}
input {
font-family: $--n-font-family;
font-size: inherit;
2019-08-16 16:48:36 +08:00
}
.n-detached-content-container {
position: fixed;
left: 0;
top: 0;
bottom: 0;
2019-08-16 16:48:36 +08:00
width: 0;
overflow: visible;
}
.n-detached-content-container.n-detached-content-container--absolute-positioned {
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 0;
overflow: visible;
}
2019-08-16 16:48:36 +08:00
.n-detached-content {
position: fixed;
}