From 0640bcdf42395f289199f11ef79e8b59f12d4040 Mon Sep 17 00:00:00 2001 From: urosm Date: Sat, 4 May 2024 19:25:18 +0200 Subject: [PATCH] update `public_html` static files --- public_html/css/style.css | 32 ++++++++------------------------ 1 file changed, 8 insertions(+), 24 deletions(-) diff --git a/public_html/css/style.css b/public_html/css/style.css index 5362061..f939d64 100644 --- a/public_html/css/style.css +++ b/public_html/css/style.css @@ -5,7 +5,7 @@ --font-family: monospace; /* font-derived column width */ - --col-w: clamp(33.33vw, 80ch, 80vw); + --col-w: clamp(30vw, 82ch, 80vw); /* colors */ --fg-c: #000000; @@ -193,36 +193,20 @@ td { /* layout */ main { - display: grid; - grid-template-columns: auto 1fr; -} - -main>nav { - padding: 1rlh 1ch; -} - -main>nav>a { - display: inline-block; - margin-block-start: 2rlh; -} - -/* div#posts */ - -div#posts { height: 100vh; - display: grid; + display: grid; grid-auto-flow: column; grid-auto-columns: var(--col-w); - overflow-x: scroll; + overflow-x: scroll; +} + +main>* { + padding: 1rlh 1ch; + overflow-y: scroll; } /* article.post */ -article.post { - padding: 1rlh 1ch; - overflow-y: scroll; -} - article.post>header, article.post>nav { margin-block: 1rlh;