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-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%;
|
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 {
|
2020-04-15 09:46:50 +02:00
|
|
|
width: .5rem;
|
|
|
|
height: .5rem;
|
2020-02-01 12:47:58 +01:00
|
|
|
}
|
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-04-15 09:46:50 +02:00
|
|
|
background-color: $selection-color;
|
2020-02-01 12:47:58 +01:00
|
|
|
|
2020-04-27 19:38:22 +02:00
|
|
|
[theme=dark] & {
|
2020-04-15 09:46:50 +02:00
|
|
|
background-color: $selection-color-dark;
|
2020-02-01 12:47:58 +01:00
|
|
|
}
|
2019-08-16 21:40:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
background-color: $global-background-color;
|
|
|
|
color: $global-font-color;
|
2020-04-28 20:41:07 +02:00
|
|
|
@include overflow-wrap(break-word);
|
2020-04-18 14:54:54 +02:00
|
|
|
scrollbar-color: auto;
|
2019-08-16 21:40:34 +02:00
|
|
|
|
2020-04-27 19:38:22 +02:00
|
|
|
&[theme=dark] {
|
2019-08-16 21:40:34 +02:00
|
|
|
color: $global-font-color-dark;
|
|
|
|
background-color: $global-background-color-dark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-15 09:46:50 +02:00
|
|
|
@import "../_partial/mask";
|
2020-03-17 14:16:04 +01:00
|
|
|
@include link(true, true);
|
|
|
|
|
2020-04-24 13:04:37 +02:00
|
|
|
@import "../_partial/icon";
|
2020-04-25 21:25:10 +02:00
|
|
|
@import "../_partial/details";
|
2020-03-16 08:01:51 +01:00
|
|
|
@import "../_partial/fixed-button";
|
2020-04-29 17:48:00 +02:00
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lg-toolbar .lg-icon::after {
|
|
|
|
color: #999;
|
|
|
|
}
|