From 3c1b8007b6d5992e6bffc701ad06e0adec717145 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Mon, 19 Feb 2024 22:23:39 +0000 Subject: support categories at index --- static/style.css | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) (limited to 'static/style.css') diff --git a/static/style.css b/static/style.css index 67b8e26..5f7087b 100644 --- a/static/style.css +++ b/static/style.css @@ -39,13 +39,17 @@ body { margin: 40px auto; } -main, footer { +main, +footer { font-size: 1rem; padding: 0; line-height: 160%; } -main h1, h2, h3, strong { +main h1, +h2, +h3, +strong { font-family: var(--display-font); font-weight: 500; } @@ -63,7 +67,8 @@ main h2 { font-size: 18px; } -main h2, h3 { +main h2, +h3 { padding: 20px 0 15px 0; } @@ -101,13 +106,17 @@ a:hover { } .index { - padding-top: 2em; display: grid; grid-template-columns: 6em 1fr minmax(0, 7em); grid-row-gap: 0.5em; min-width: 0; } +.index-category { + margin-top: 2em; + color: var(--gray); +} + .clone-url { padding-top: 2rem; } @@ -145,9 +154,11 @@ a:hover { white-space: pre-wrap; } -.mode, .size { +.mode, +.size { font-family: var(--mono-font); } + .size { text-align: right; } @@ -183,7 +194,8 @@ a:hover { padding: 1rem 0 1rem 0; } -.commit-hash, .commit-email { +.commit-hash, +.commit-email { font-family: var(--mono-font); } @@ -303,4 +315,4 @@ a:hover { pre { font-size: 0.8rem; } -} +} \ No newline at end of file -- cgit