You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1021 B
57 lines
1021 B
|
|
|
|
@import "./var.scss";
|
|
@import "./common.scss";
|
|
|
|
html{
|
|
min-width: 100vw;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
*{
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
// 不支持IE
|
|
// https://www.caniuse.com/#feat=css-variables
|
|
// https://www.cnblogs.com/WQLong/p/7792174.html
|
|
// 白天主题
|
|
.light{
|
|
background-color: $light-sidenav-bg;
|
|
color: $light-sidenav-color;
|
|
> * {
|
|
transition: background-color .3s linear;
|
|
}
|
|
// @at-root :root{
|
|
// --navbar-bg:#f4f6fb;
|
|
// }
|
|
|
|
--navbar-color:#000000;
|
|
--navbar-hover:#00000021;
|
|
--navbar-background:#f4f6fb;
|
|
--test-image:url(/static/image/icon0.png);
|
|
}
|
|
|
|
// 黑夜主题
|
|
.dark{
|
|
|
|
background-color: $dark-sidenav-bg;
|
|
color: $dark-sidenav-color;
|
|
> * {
|
|
transition: background-color .3s linear;
|
|
}
|
|
// @at-root :root{
|
|
// --navbar-bg:#000;
|
|
// }
|
|
--aaa:asdsa;
|
|
--navbar-color:#ffffff;
|
|
--navbar-hover:rgba(255, 255, 255, 0.13);
|
|
--navbar-background:#000000;
|
|
}
|
|
|
|
|