2019-08-16 21:40:34 +02:00
|
|
|
html {
|
2020-01-31 11:46:28 +01:00
|
|
|
font-family: $global-font-family;
|
2020-03-03 14:57:30 +01:00
|
|
|
font-size: $global-font-size;
|
|
|
|
font-weight: $global-font-weight;
|
|
|
|
line-height: $global-line-height;
|
2020-02-21 04:11:56 +01:00
|
|
|
width:100%;
|
2020-02-01 12:47:58 +01:00
|
|
|
}
|
2019-08-16 21:40:34 +02:00
|
|
|
|
2020-02-01 12:47:58 +01:00
|
|
|
/* scrollbar, only support webkit */
|
|
|
|
::-webkit-scrollbar {
|
|
|
|
width: 6px;
|
|
|
|
height: 6px;
|
|
|
|
}
|
2019-08-16 21:40:34 +02:00
|
|
|
|
2020-02-01 12:47:58 +01:00
|
|
|
::-webkit-scrollbar-thumb {
|
|
|
|
background-color: $scrollbar-color;
|
2019-08-16 21:40:34 +02:00
|
|
|
|
2020-02-01 12:47:58 +01:00
|
|
|
&:hover {
|
|
|
|
background-color: $scrollbar-hover-color;
|
2019-08-16 21:40:34 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
::selection {
|
2020-02-01 12:47:58 +01:00
|
|
|
background: $selection-color;
|
|
|
|
|
|
|
|
.dark-theme & {
|
|
|
|
background: $selection-color-dark;
|
|
|
|
}
|
2019-08-16 21:40:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
background-color: $global-background-color;
|
|
|
|
color: $global-font-color;
|
2020-02-13 06:30:58 +01:00
|
|
|
overflow-wrap: break-word;
|
2019-08-16 21:40:34 +02:00
|
|
|
|
2020-02-01 12:47:58 +01:00
|
|
|
&::before {
|
2019-08-16 21:40:34 +02:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-03 14:35:14 +01:00
|
|
|
b, strong {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2019-08-16 21:40:34 +02:00
|
|
|
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
|
|
|
|
2020-03-03 14:57:30 +01:00
|
|
|
b, strong {
|
|
|
|
font-weight: bold;
|
2020-03-14 07:42:12 +01:00
|
|
|
|
|
|
|
.dark-theme & {
|
|
|
|
color: #ddd;
|
|
|
|
}
|
2020-03-03 14:57:30 +01:00
|
|
|
}
|
|
|
|
|
2020-02-27 13:14:40 +01:00
|
|
|
#dynamic-to-top {
|
|
|
|
display: none;
|
|
|
|
overflow: hidden;
|
|
|
|
width: auto;
|
2020-03-14 07:42:12 +01:00
|
|
|
z-index: 100;
|
2020-02-27 13:14:40 +01:00
|
|
|
position: fixed;
|
|
|
|
bottom: 2rem;
|
|
|
|
right: 2rem;
|
|
|
|
top: auto;
|
|
|
|
left: auto;
|
2020-03-14 07:42:12 +01:00
|
|
|
font-size: 1.4rem;
|
|
|
|
line-height: 1.8rem;
|
|
|
|
padding: .6rem .6rem;
|
|
|
|
color: $global-font-secondary-color;
|
|
|
|
background: $header-background-color;
|
2020-02-27 13:14:40 +01:00
|
|
|
border: 1px solid $global-border-color;
|
2020-03-14 07:42:12 +01:00
|
|
|
border-radius: 2rem;
|
|
|
|
|
|
|
|
&:hover, &:active {
|
|
|
|
color: $global-font-color;
|
|
|
|
background: $global-background-color;
|
2020-02-27 13:14:40 +01:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2020-03-14 07:42:12 +01:00
|
|
|
|
|
|
|
&:active, &:focus, &:hover {
|
2020-02-27 13:14:40 +01:00
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2020-03-14 07:42:12 +01:00
|
|
|
.dark-theme & {
|
|
|
|
color: $global-font-secondary-color-dark;
|
|
|
|
background: $header-background-color-dark;
|
|
|
|
border-color: $global-border-color-dark;
|
|
|
|
|
|
|
|
&:hover, &:active {
|
|
|
|
color: $global-font-color-dark;
|
|
|
|
background: $global-background-color-dark;
|
|
|
|
}
|
2020-02-27 13:14:40 +01:00
|
|
|
}
|
|
|
|
}
|