-
Notifications
You must be signed in to change notification settings - Fork 69
/
style.css
163 lines (136 loc) · 3.3 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
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
@import url("/layout.css");
:root {
color-scheme: light dark;
--bg-color: light-dark(#fbf1c7, #282828);
--fg-color: light-dark(#3c3836, #ebdbb2);
--bg-color-reverse: light-dark(#3c3836, #ebdbb2);
--fg-color-reverse: light-dark(#fbf1c7, #282828);
--bg-color-3: light-dark(#bdae93, #665c54);
--bg-color-3-switch: light-dark(#665c54, #bdae93);
--bg-color-hard: light-dark(#f9f5d7, #1d2021);
--gray: light-dark(#7c6f64, #a89984);
--orange: #d65d0e;
--red: #cc241d;
--green: #98971a;
--yellow: #d79921;
--blue: #458588;
--purple: #b16286;
--aqua: #689d6a;
--orange-dim: light-dark(#af3a03, #fe8019);
--red-dim: light-dark(#9d0006, #fb4934);
--green-dim: light-dark(#79740e, #b8bb26);
--yellow-dim: light-dark(#b57614, #fabd2f);
--blue-dim: light-dark(#076678, #83a598);
--purple-dim: light-dark(#8f3f71, #d3869d);
--aqua-dim: light-dark(#427b58, #8ec07c);
}
body {
background-color: var(--bg-color);
/*container-type: inline-size;*/
font-family: "Curier New", monospace;
margin: 0;
min-height: 100svh;
flex-direction: column;
justify-content: space-evenly;
}
* {
color: var(--fg-color);
border: none;
box-sizing: border-box;
}
h1,
h2 {
background-color: var(--bg-color-reverse);
color: var(--fg-color-reverse);
text-align: center;
text-decoration: none;
}
.s1, .s2, .s3, .s4, .s5, .s6, .s7 {
transition: background 0.7s ease-in-out;
margin-bottom: 0;
&:hover { background-color: var(--dim-color); }
}
.s1 { background-color: var(--orange); --dim-color: var(--orange-dim); }
.s2 { background-color: var(--red); --dim-color: var(--red-dim); }
.s3 { background-color: var(--green); --dim-color: var(--green-dim); }
.s4 { background-color: var(--yellow); --dim-color: var(--yellow-dim); }
.s5 { background-color: var(--blue); --dim-color: var(--blue-dim); }
.s6 { background-color: var(--purple); --dim-color: var(--purple-dim); }
.s7 { background-color: var(--aqua); --dim-color: var(--aqua-dim); }
.c {
padding: 1em;
background-color: var(--bg-color-3);
text-align: center;
}
img {
transition: all 0.2s ease-in-out;
}
img:hover {
transform: scale(1.5);
border: none;
box-shadow: 5px 4px 10px black;
}
.pager {
margin-top: 5px;
margin-bottom: 10px;
padding: 5px;
color: var(--fg-color-reverse);
text-align: center;
}
.btn {
transition: background 0.4s ease-in-out;
cursor: pointer;
background-color: var(--bg-color-reverse);
color: var(--fg-color-reverse);
display: inline-flex;
flex-direction: column;
justify-content: center;
align-items: center;
&:hover {
background-color: var(--bg-color-3-switch);
}
}
.btn.pager-btn {
padding: 10px 20px;
font-size: 16px;
font-weight: 900;
margin: 4px 2px;
&.selected {
background-color: var(--bg-color);
color: var(--fg-color);
border-color: var(--fg-color);
border-width: thick;
border-style: solid;
}
}
.clickable {
cursor: pointer;
}
.section {
display: none;
&.selected {
display: block;
}
}
.float-btns {
position: fixed;
bottom: 0;
right: 0;
margin-bottom: 1rem;
margin-right: 1rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
justify-content: end;
}
.btn.float-btn {
height: 2.5rem;
width: 2.5rem;
font-size: 1.5rem;
& i {
color: var(--fg-color-reverse);
}
}
.hidden {
display: none !important;
}