LoveIt/assets/css/_core/_base.scss

80 lines
1.4 KiB
SCSS
Raw Normal View History

html {
2020-01-31 11:46:28 +01:00
font-family: $global-font-family;
2020-03-03 14:57:30 +01:00
font-weight: $global-font-weight;
2020-03-16 03:59:51 +01:00
font-display: swap;
font-size: $global-font-size;
2020-03-03 14:57:30 +01:00
line-height: $global-line-height;
2020-02-21 04:11:56 +01:00
width:100%;
}
/* scrollbar, only support webkit */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-thumb {
background-color: $scrollbar-color;
&:hover {
background-color: $scrollbar-hover-color;
}
}
::selection {
background: $selection-color;
.dark-theme & {
background: $selection-color-dark;
}
}
body {
background-color: $global-background-color;
color: $global-font-color;
overflow-wrap: break-word;
&::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;
&:hover {
color: $global-link-hover-color;
}
.dark-theme & {
color: $global-link-color-dark;
&:hover {
color: $global-link-hover-color-dark;
}
}
}
2020-02-27 13:14:40 +01:00
@import "../_partial/dynamic-to-top";