summaryrefslogtreecommitdiff
path: root/assets/css/main.css
diff options
context:
space:
mode:
Diffstat (limited to 'assets/css/main.css')
-rw-r--r--assets/css/main.css253
1 files changed, 1 insertions, 252 deletions
diff --git a/assets/css/main.css b/assets/css/main.css
index 7004a13..b552953 100644
--- a/assets/css/main.css
+++ b/assets/css/main.css
@@ -195,44 +195,6 @@ footer a {
195 margin: 0; 195 margin: 0;
196} 196}
197 197
198.line-summary {
199 font-size: small;
200 margin-top: 0.2rem !important;
201 /* font-style: italic; */
202 color: var(--content-secondary);
203}
204
205.list-container {
206 padding-bottom: 3rem;
207}
208
209.pagination {
210 display: flex;
211 align-items: center;
212 margin-top: 1rem;
213 margin-bottom: 0rem;
214 justify-content: center;
215}
216
217.pagination-control {
218 min-width: 3rem;
219 margin-left: 0.5rem;
220 margin-right: 0.5rem;
221 text-align: center;
222 align-items: center;
223}
224
225.page-number {
226 min-width: 3rem;
227 margin-left: 0.5rem;
228 margin-right: 0.5rem;
229 display: flex;
230 align-items: center;
231 justify-content: center;
232 align-items: center;
233 font-weight: bold;
234}
235
236/* Social Icons */ 198/* Social Icons */
237 199
238.social-icons { 200.social-icons {
@@ -286,152 +248,6 @@ footer a {
286 margin-right: 0.3rem; 248 margin-right: 0.3rem;
287} 249}
288 250
289/* Single pagination */
290
291.single-pagination {
292 margin-top: 3rem;
293 margin-bottom: 3rem;
294}
295
296.single-pagination a {
297 margin-left: 0.4rem;
298 margin-right: 0.4rem;
299}
300
301.single-pagination hr {
302 margin: 0;
303}
304
305.single-pagination-text {
306 display: flex;
307 justify-content: center;
308 align-items: center;
309 min-height: 100%;
310}
311
312.single-pagination-prev {
313 min-width: 50%;
314 margin-top: 1rem;
315 margin-bottom: 1rem;
316 text-align: right;
317}
318
319.single-pagination-next {
320 min-width: 50%;
321 margin-top: 1rem;
322 margin-bottom: 1rem;
323 text-align: left;
324}
325
326.single-pagination-container-next {
327 display: flex;
328 min-height: 100%;
329 padding: 0.5rem;
330}
331
332.single-pagination-container-prev {
333 display: flex;
334 min-height: 100%;
335 padding: 0.5rem;
336 float: right;
337}
338
339/* Table of contents */
340
341.toc {
342 font-size: var(--p-font-size);
343 line-height: calc(0.9 * var(--p-line-height));
344 margin-top: var(--toc-margin-top);
345 margin-bottom: var(--toc-margin-bottom);
346}
347
348.toc ul {
349 margin-top: 0.1rem;
350 margin-bottom: 0.1rem;
351}
352
353.toc li {
354 margin-top: 0.1rem;
355 margin-bottom: 0.1rem;
356}
357
358/* Autonumbering */
359
360.autonumber {
361 counter-reset: h2-counter 0;
362}
363
364.autonumber h2 {
365 counter-increment: h2-counter 1;
366 counter-reset: h3-counter 0;
367}
368
369.autonumber h3 {
370 counter-increment: h3-counter 1;
371 counter-reset: h4-counter 0;
372}
373
374.autonumber h4 {
375 counter-increment: h4-counter 1;
376}
377
378.autonumber h2:before {
379 content: counter(h2-counter) "\00a0\00a0";
380}
381
382.autonumber h3:before {
383 content: counter(h2-counter) "." counter(h3-counter) "\00a0\00a0";
384}
385
386.autonumber h4:before {
387 content: counter(h2-counter) "." counter(h3-counter) "." counter(h4-counter)
388 "\00a0\00a0";
389}
390
391/* images */
392
393.dark .img-light {
394 display: none !important;
395}
396
397.light .img-dark {
398 display: none !important;
399}
400
401.img-small div {
402 display: flex;
403 align-items: center;
404 justify-content: center;
405}
406
407.img-small img {
408 scale: 80%;
409}
410
411.img-full div {
412 display: flex;
413 align-items: center;
414 justify-content: center;
415}
416
417.img-full img {
418 width: 100vw !important;
419 max-width: 100vw !important;
420}
421
422.caption-container {
423 display: flex;
424 justify-content: center;
425}
426
427figcaption {
428 color: var(--content-secondary);
429 padding-left: var(--caption-padding);
430 padding-right: var(--caption-padding);
431 font-size: var(--caption-font-size);
432 margin-top: 1rem;
433 margin-bottom: 1rem;
434}
435 251
436/* 404 */ 252/* 404 */
437 253
@@ -450,21 +266,7 @@ figcaption {
450 margin-bottom: 3rem; 266 margin-bottom: 3rem;
451} 267}
452 268
453/* breadcrumbs */ 269/
454
455.breadcrumbs {
456 /* font-family: "Monaspace"; */
457 font-size: 0.8em;
458 margin-bottom: calc(-0.5 * var(--h1-margin-top));
459}
460
461/* Comments */
462
463.giscus {
464 margin-top: 3rem;
465}
466
467/* Back to top */
468 270
469.back-to-top { 271.back-to-top {
470 text-align: center; 272 text-align: center;
@@ -473,56 +275,3 @@ figcaption {
473 margin-bottom: 2rem; 275 margin-bottom: 2rem;
474 /* margin-top: -3rem; */ 276 /* margin-top: -3rem; */
475} 277}
476
477/* Code in paragraphs */
478
479p code {
480 background-color: var(--code-background);
481 border-radius: 3px;
482 padding: 2px;
483}
484
485/* Tables */
486
487table {
488 border-collapse: collapse;
489 margin-top: var(--table-margin-top);
490 margin-bottom: var(--table-margin-bottom);
491 font-size: var(--p-font-size);
492 line-height: var(--p-line-height);
493 color: var(--content-primary);
494}
495
496th,
497td {
498 padding: var(--table-cell-padding);
499 border: 1px solid var(--code-border);
500 text-align: left;
501}
502
503th {
504 background-color: var(--code-background);
505 font-weight: bold;
506}
507
508table code {
509 background-color: var(--code-background);
510 border-radius: 3px;
511 padding: 2px;
512}
513
514/* Quotes */
515
516blockquote {
517 margin: 1.5rem;
518 margin-left: 0;
519 margin-right: 0;
520 border-left: solid 2px;
521 color: var(--content-secondary);
522}
523
524blockquote p {
525 margin-left: 1rem;
526 margin-right: 1rem;
527}
528