mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-15 03:16:30 +01:00
6b03c711ac
* feat(shortcode): add link shortcode * docs: add docs for link shortcode * docs: fix 'mailto' in link shortcode docs error
68 lines
1.2 KiB
SCSS
68 lines
1.2 KiB
SCSS
html {
|
|
font-family: $global-font-family;
|
|
font-weight: $global-font-weight;
|
|
font-display: swap;
|
|
font-size: $global-font-size;
|
|
line-height: $global-line-height;
|
|
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 {
|
|
text-decoration: none;
|
|
}
|
|
|
|
@include link(true, true);
|
|
|
|
@import "../_partial/fixed-button";
|