diff options
| author | Ada Isopods <me@bathynomus.xyz> | 2026-11-09 16:41:18 -0600 |
|---|---|---|
| committer | Ada Isopods <me@bathynomus.xyz> | 2026-11-09 16:41:18 -0600 |
| commit | 3cda6292ff9d852ee212a450a463327524790b8e (patch) | |
| tree | ce5e420cdf8416ab2df928bbfe78df65cee3981d /style.css | |
| parent | 7a317ab31f2c628995e657edec9b6aeeab153f1a (diff) | |
stylesheet update
Diffstat (limited to 'style.css')
| -rwxr-xr-x | style.css | 18 |
1 files changed, 11 insertions, 7 deletions
@@ -73,25 +73,29 @@ h1 { } .dir { - padding: 2rem; + padding: 2rem 0; width: fit-content; min-width: 40ch; max-width: 100%; box-sizing: border-box; } -section.dir > *:first-child { +.dir > *:first-child { margin-top: 0; padding-top: 0; } -section.dir > *:last-child { +.dir > *:last-child { margin-bottom: 0; padding-bottom: 0; } -section.dir > a { +.dir > * { display: block; - padding: 0.5rem; + padding: 0.5rem 2rem; + margin: 0; +} +.dir > a { + padding-left: 4rem; } -:is(.dir, nav) { +.dir, nav { border: var(--border); box-shadow: var(--boxshadow); } @@ -99,7 +103,7 @@ section.dir > a { :is(.dir, nav):has(:focus) { border-image: var(--gradient) 2; } -section { +section, .dir { margin-bottom: 1rem; } |
