2019-08-16 21:40:34 +02:00
|
|
|
@import url(https://fonts.googleapis.com/css?family=Lato:100,300,400,700,900);
|
|
|
|
|
|
|
|
html {
|
2019-08-17 17:16:09 +02:00
|
|
|
font-family: "Lato", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", STHeiti, "Microsoft Yahei", "WenQuanYi Micro Hei", Arial, Verdana, sans-serif;
|
2019-08-16 21:40:34 +02:00
|
|
|
|
|
|
|
/* scrollbar, only support webkit */
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-thumb {
|
|
|
|
height: 40px;
|
|
|
|
background-color: #eee;
|
|
|
|
border-radius: 16px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: #C2C2C2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
::selection {
|
|
|
|
background: rgba(0, 149, 255, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: 26px;
|
|
|
|
background-color: $global-background-color;
|
|
|
|
color: $global-font-color;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: "";
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
|
|
|
opacity: 0.05;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: -1;
|
|
|
|
-webkit-filter: grayscale(100%);
|
|
|
|
-moz-filter: grayscale(100%);
|
|
|
|
-ms-filter: grayscale(100%);
|
|
|
|
-o-filter: grayscale(100%);
|
|
|
|
filter: grayscale(100%);
|
|
|
|
filter: gray;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.dark-theme {
|
|
|
|
color: $global-font-color-dark;
|
|
|
|
background-color: $global-background-color-dark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $global-link-color;
|
|
|
|
text-decoration: none;
|
|
|
|
transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $global-link-hover-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dark-theme & {
|
|
|
|
color: $global-link-color-dark;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $global-link-hover-color-dark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-08-19 07:26:39 +02:00
|
|
|
|
|
|
|
.navbar {
|
|
|
|
background-color: $navbar-background-color;
|
|
|
|
|
|
|
|
.dark-theme & {
|
|
|
|
background-color: $navbar-background-color-dark;
|
|
|
|
}
|
|
|
|
}
|