aboutsummaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorAda Isopods <me@bathynomus.xyz>2026-11-09 16:41:18 -0600
committerAda Isopods <me@bathynomus.xyz>2026-11-09 16:41:18 -0600
commit3cda6292ff9d852ee212a450a463327524790b8e (patch)
treece5e420cdf8416ab2df928bbfe78df65cee3981d /style.css
parent7a317ab31f2c628995e657edec9b6aeeab153f1a (diff)
stylesheet update
Diffstat (limited to 'style.css')
-rwxr-xr-xstyle.css18
1 files changed, 11 insertions, 7 deletions
diff --git a/style.css b/style.css
index 0bc8e51..a293029 100755
--- a/style.css
+++ b/style.css
@@ -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;
}