2019-08-16 21:40:34 +02:00
|
|
|
html {
|
2022-05-15 09:15:38 +02:00
|
|
|
font-family: var(--global-font-family);
|
|
|
|
font-weight: var(--global-font-weight);
|
2020-03-16 03:59:51 +01:00
|
|
|
font-display: swap;
|
2022-05-15 09:15:38 +02:00
|
|
|
font-size: var(--global-font-size);
|
|
|
|
line-height: var(--global-line-height);
|
2020-02-21 04:11:56 +01:00
|
|
|
width:100%;
|
2022-05-11 22:03:44 +02:00
|
|
|
|
|
|
|
scroll-behavior: smooth;
|
|
|
|
|
|
|
|
main [id] {
|
2022-05-15 17:41:35 +02:00
|
|
|
scroll-margin-top: calc(var(--header-height) + .5rem);
|
2022-05-11 22:03:44 +02:00
|
|
|
}
|
2022-06-28 16:37:25 +02:00
|
|
|
|
|
|
|
h1 {
|
|
|
|
line-height: 125%;
|
|
|
|
}
|
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-03-17 14:16:04 +01:00
|
|
|
@include link(true, true);
|
|
|
|
|
2020-04-30 17:21:52 +02:00
|
|
|
@import "../_partial/mask";
|
2022-05-15 09:15:38 +02:00
|
|
|
@import "../_partial/img";
|
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-05-13 15:19:39 +02:00
|
|
|
@import "../_partial/cookieconsent";
|