blob: 1696e502a8bb86d3695bfb8be7ddd6f58921d5c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
@if ($enableSmoothScroll) {
html {
scroll-behavior: smooth;
}
}
html, body {
margin: 0;
width: 100%;
height: 100%;
font-size: $fontSize;
text-size-adjust: none;
-webkit-text-size-adjust: none;
-moz-text-size-adjust: none;
}
body {
@include tabSize;
color: var(--color-contrast-high);
background-color: var(--color-bg);
overflow-wrap: break-word;
word-wrap: break-word;
line-height: 1.618;
transition: all $duration;
}
.container {
min-height: 100%;
min-width: 100%;
position: relative;
}
.main {
padding: 2em 1em 15em;
display: block;
}
@if ($headerLayoutFlex) {
.main {
padding-top: 7em;
}
}
.main-inner {
margin: 0 auto;
display: block;
}
.icon {
width: 1.05em; // fixes svg icon get cut off on safari
height: 1em;
fill: currentColor;
display: inline-block;
}
svg {
vertical-align: middle;
}
h1, h2, h3, h4, h5, h6 {
margin: 1.618em 0 1em;
color: var(--color-contrast-higher);
a {
text-decoration: none !important;
color: var(--color-contrast-higher);
}
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.8em;
}
h3 {
font-size: 1.6em;
}
h4 {
font-size: 1.4em;
}
h5 {
font-size: 1.2em;
}
h6 {
font-size: 1em;
}
a {
color: var(--color-contrast-high);
text-decoration: none;
transition: all $duration;
&:hover {
color: var(--color-primary);
}
}
::selection {
background-color: alpha(var(--color-primary), 0.3);
}
::-webkit-scrollbar {
width: 0.5rem;
height: 0.5rem;
}
::-webkit-scrollbar-track {
background-color: var(--color-bg);
}
::-webkit-scrollbar-thumb {
background-color: var(--color-contrast-low);
&:hover {
background-color: alpha(var(--color-primary), 0.5);
}
&:active {
background-color: alpha(var(--color-primary), 0.75);
}
}
::-webkit-scrollbar-corner {
background-color: var(--color-bg);
}
|