|
109 | 109 | src: url(https://media.jerryly.cn/ModernDOS8x16.ttf); |
110 | 110 | } |
111 | 111 |
|
112 | | -/* general styles */ |
113 | | - |
114 | | -body { |
115 | | - margin: 0; |
116 | | -} |
117 | | - |
118 | | -#directory { |
119 | | - width: 199px; |
120 | | - height: calc(100% - 16px); |
121 | | - padding: 8px; |
122 | | - transition: all 0.3s cubic-bezier(0, 0.8, 0, 1); |
123 | | - overflow: hidden; |
124 | | - position: fixed; |
125 | | - top: 0; |
126 | | - left: 0; |
127 | | - z-index: 3; |
128 | | - border-right: solid 1px #eee; |
129 | | - background-color: #f8f8f8; |
130 | | -} |
131 | | - |
132 | | -#directory.active { |
133 | | - width: 144px; |
134 | | - height: 40px; |
135 | | - background-color: transparent; |
136 | | - border-right: none; |
137 | | -} |
138 | | - |
139 | | -#directory.active #sitemap { |
140 | | - height: 0; |
141 | | -} |
142 | | - |
143 | | -#nav-tools { |
144 | | - width: fit-content; |
145 | | - display: flex; |
146 | | - justify-content: start; |
147 | | - align-items: center; |
148 | | - background-color: rgb(247, 247, 247); |
149 | | - border-top-left-radius: 40px; |
150 | | - border-top-right-radius: 18px; |
151 | | - border-bottom-right-radius: 18px; |
152 | | - border-bottom-left-radius: 40px; |
153 | | - gap: 6px; |
154 | | -} |
155 | | - |
156 | | -#directory-logo { |
157 | | - width: fit-content; |
158 | | - padding: 8px; |
159 | | - border-radius: 60px; |
160 | | -} |
161 | | - |
162 | | -#logo { |
163 | | - height: 24px; |
164 | | - overflow: hidden; |
165 | | - aspect-ratio: 150/67; |
166 | | - background-image: url(https://media.jerryly.cn/home-button-light.svg); |
167 | | - background-repeat: no-repeat; |
168 | | -} |
169 | | - |
170 | | -#sitemap { |
171 | | - height: calc(100% - 34px); |
172 | | - opacity: 1; |
173 | | - transition: opacity 0.3s ease-in-out; |
174 | | - overflow-x: hidden; |
175 | | - overflow-y: scroll; |
176 | | - scrollbar-width: none; |
177 | | -} |
178 | | - |
179 | | -#sitemap::webkit-scrollbar { |
180 | | - width: 0; |
181 | | -} |
182 | | - |
183 | | -#sitemap.expanded { |
184 | | - opacity: 0; |
185 | | -} |
186 | | - |
187 | | -#directory-back-button .material-symbols-outlined { |
188 | | - font-size: 28px; |
189 | | -} |
190 | | - |
191 | | -#directory-back-button, |
192 | | -#directory-expand { |
193 | | - width: 28px; |
194 | | - height: 28px; |
195 | | - border-radius: 6px; |
196 | | - display: flex; |
197 | | - justify-content: center; |
198 | | - align-items: center; |
199 | | - opacity: 0.5; |
200 | | -} |
201 | | - |
202 | | -#directory-expand { |
203 | | - margin-right: 6px; |
204 | | -} |
205 | | - |
206 | | -#directory-expand .material-symbols-outlined { |
207 | | - transition: transform 0.2s ease-in-out; |
208 | | - transform: rotate(45deg); |
209 | | -} |
210 | | - |
211 | | -#directory-expand.rotated .material-symbols-outlined { |
212 | | - transform: rotate(0deg); |
213 | | -} |
214 | | - |
215 | | -#directory-back-button .material-symbols-outlined, |
216 | | -#directory-expand .material-symbols-outlined { |
217 | | - font-weight: 300; |
218 | | -} |
219 | | - |
220 | | -.directory-map { |
221 | | - font-family: 'Inter', 'Source Han Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; |
222 | | - padding-left: 0; |
223 | | - font-size: 14px; |
224 | | -} |
225 | | - |
226 | | -.directory-map li .material-symbols-outlined { |
227 | | - font-weight: 300; |
228 | | - font-size: 20px; |
229 | | -} |
230 | | - |
231 | | -.directory-map-secondary { |
232 | | - font-family: 'Inter', 'Source Han Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; |
233 | | - border-left: solid 1px #eee; |
234 | | - margin-left: 16px; |
235 | | - padding-left: 8px; |
236 | | - font-size: 14px; |
237 | | -} |
238 | | - |
239 | | -.directory-map-secondary.special { |
240 | | - border-left-color: transparent; |
241 | | -} |
242 | | - |
243 | | -.directory-map-secondary span { |
244 | | - opacity: 0.5; |
245 | | - margin-left: 6px; |
246 | | - font-size: 12px; |
247 | | -} |
248 | | - |
249 | | -.directory-map-secondary a { |
250 | | - display: block; |
251 | | - width: fit-content; |
252 | | - text-decoration: none; |
253 | | - color: unset; |
254 | | -} |
255 | | - |
256 | | -#directory ul { |
257 | | - margin-top: 0; |
258 | | - margin-bottom: 0; |
259 | | - list-style: none; |
260 | | -} |
261 | | - |
262 | | -#directory ul li { |
263 | | - display: flex; |
264 | | - align-items: center; |
265 | | - gap: 6px; |
266 | | - border-radius: 6px; |
267 | | - width: fit-content; |
268 | | - padding: 6px; |
269 | | -} |
270 | | - |
271 | | -#directory-back-button:hover, |
272 | | -#directory-expand:hover, |
273 | | -#directory ul li:hover, |
274 | | -.directory-map.secondary li:hover, |
275 | | -#directory-logo:hover { |
276 | | - background-color: #eee; |
277 | | -} |
278 | | - |
279 | | -#directory button { |
280 | | - padding: 0; |
281 | | - border: none; |
282 | | - background-color: transparent; |
283 | | -} |
284 | | - |
285 | | -.directory-slash { |
286 | | - width: 20px; |
287 | | - font-family: 'Inter', 'Source Han Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; |
288 | | - opacity: 0.5; |
289 | | - display: flex; |
290 | | - justify-content: center; |
291 | | -} |
292 | | - |
293 | | -@media (prefers-color-scheme: dark) { |
294 | | - #directory { |
295 | | - border-right: solid 1px #333; |
296 | | - background-color: #2c2c2c; |
297 | | - } |
298 | | - |
299 | | - #nav-tools { |
300 | | - background-color: #2c2c2c; |
301 | | - } |
302 | | - |
303 | | - #logo { |
304 | | - background-image: url(https://media.jerryly.cn/home-button-dark.svg); |
305 | | - } |
306 | | - |
307 | | - #directory-back-button:hover, |
308 | | - #directory-expand:hover, |
309 | | - #directory ul li:hover, |
310 | | - .directory-map.secondary li:hover, |
311 | | - #directory-logo:hover { |
312 | | - background-color: #5a5a5a; |
313 | | - } |
314 | | - |
315 | | - .directory-map-secondary { |
316 | | - border-left-color: #5a5a5a; |
317 | | - } |
318 | | -} |
319 | | - |
320 | | -.text-n { |
321 | | - font-family: 'Inter', 'Source Han Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; |
322 | | - font-size: 16px; |
323 | | -} |
324 | | - |
325 | | -#copyright-info { |
326 | | - display: flex; |
327 | | - flex-direction: column; |
328 | | - justify-content: center; |
329 | | - align-items: center; |
330 | | - text-align: center; |
331 | | - margin-left: 20px; |
332 | | - margin-right: 20px; |
333 | | - font-family: 'Inter', 'Source Han Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; |
| 112 | +@font-face { |
| 113 | + font-family: 'Doto'; |
334 | 114 | font-weight: normal; |
335 | | -} |
336 | | - |
337 | | -#copyright-info a { |
338 | | - text-decoration: none; |
339 | | - color: unset; |
340 | | -} |
341 | | - |
342 | | -#footer-links { |
343 | | - margin-top: 0; |
| 115 | + font-style: normal; |
| 116 | + src: url(https://media.jerryly.cn/Doto-VariableFont_ROND%2Cwght.ttf); |
344 | 117 | } |
345 | 118 |
|
346 | 119 | /* general styles */ |
347 | 120 |
|
348 | | -#content-unit { |
349 | | - font-family: 'Inter', 'Source Han Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; |
350 | | - width: calc(100% - 32px); |
351 | | - margin-left: 16px; |
352 | | - margin-top: 50px; |
353 | | -} |
354 | | - |
355 | | -#content-unit.move { |
356 | | - width: calc(100% - 252px); |
357 | | - margin-left: 236px; |
| 121 | +.content-unit { |
| 122 | + font-family: 'Source Han Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; |
358 | 123 | } |
359 | 124 |
|
360 | 125 | .empty-box { |
|
0 commit comments