-
Notifications
You must be signed in to change notification settings - Fork 7
/
style.css
78 lines (64 loc) · 1.25 KB
/
style.css
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
:root {
font-family: "Fira Sans", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color: var(--font-clr);
hyphens: auto;
--fst-clr-bg: #f1f5ff;
--fst-clr-weak: #97b6f0;
--fst-clr: #6E98E8;
--snd-clr-weak: #ecb1a2;
--snd-clr: #DC755C;
--font-clr: #4B4E6D;
/*--bg-clr: #F9F4F5;*/ --bg-color: #F3F3F3;
}
linked {
display: block;
}
h1:hover .heading-anchor,
h2:hover .heading-anchor,
h3:hover .heading-anchor,
h4:hover .heading-anchor {
opacity: 1;
}
.spoiler {
width: max-content;
inline-size: fit-content;
display: inline;
padding: 0 0.1rem;
color: #f9f9f9;
background-color: #f9f9f9;
}
.spoiler:hover {
color: var(--font-clr);
transition-property: color;
transition-duration: 0.2s;
}
.spoiler > input[type="checkbox"] {
position: absolute;
width: 0;
height: 0;
visibility: hidden;
}
.spoiler > label {
cursor: pointer;
}
input:checked + label{
color: var(--font-clr);
}
summary .heading {
border-bottom: none;
}
.font-fira-code {
font-family: 'Fira Code', monospace;
}
/* 9. Footer */
.links > * {
display: flex;
color: inherit;
}
.links > * + *::before {
content: "|";
display: block;
margin-left: 0.5em;
margin-right: 0.5em;
color: var(--font-clr);
}