blob: e0e80aa6ce33ebe8f3fc65a08aa38ecda5b26221 (
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
|
@import url("@styles/fonts/JetBrainsMono.css");
@font-face {
font-family: "Monocraft";
src: url("/fonts/Monocraft.ttf") format("truetype");
font-display: swap;
}
:root {
--primary: #54d7a9;
--secondary: #9b7eca;
--accent: #7ed4fb;
--extra: #8fcc75;
--text: #ffffff;
--alt: #999999;
--background: #000000;
--font: "Jetbrains Mono", monospace;
}
html {
background-color: var(--background);
color: var(--text);
font-family: var(--font);
user-select: none;
font-size: 1vw;
}
body {
min-height: 100vh;
display: grid;
place-items: center;
}
@layer base {
a {
font-weight: 300;
text-decoration: none;
color: var(--secondary);
transition-duration: 0.2s;
transition-property: color, text-decoration;
}
a:hover {
text-decoration: underline;
color: var(--accent);
}
}
.scrollbox::-webkit-scrollbar {
width: 1.5rem;
}
.scrollbox::-webkit-scrollbar-track {
background: transparent;
border-left: 0.1rem solid var(--alt);
}
.scrollbox::-webkit-scrollbar-thumb {
background: var(--primary);
border: 0.3rem solid transparent;
background-clip: padding-box;
border-radius: 0;
}
.scrollbox::-webkit-scrollbar-thumb:hover {
background: var(--accent);
}
@supports not selector(::-webkit-scrollbar) {
.scrollbox {
scrollbar-color: var(--primary) transparent;
}
}
|