From 64bd8a01a4882b6a94d067e10d1c3382e5d8a7eb Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Wed, 19 Jun 2024 13:25:21 -0500 Subject: [PATCH 1/4] Revert "make aside 1rem wider" this broke mobile layouts This reverts commit cf1f5ead85a0bc3f151bd6c11c849bdcab3fc5d6. --- static/css/custom.css | 1 - 1 file changed, 1 deletion(-) diff --git a/static/css/custom.css b/static/css/custom.css index 3e23b07..a31fb13 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -17,7 +17,6 @@ /* override page max-width */ .page { max-width: 72rem; - grid-template-columns: minmax(0, 1fr) 16rem; } From 7b238e1dfefe03d5e66c429e8645b69cec6bada5 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Wed, 19 Jun 2024 14:02:03 -0500 Subject: [PATCH 2/4] improve margins --- static/css/custom.css | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/static/css/custom.css b/static/css/custom.css index a31fb13..f674489 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -14,11 +14,19 @@ url('https://cdn.runtimeterror.dev/fonts/BerkeleyMono-Regular.woff2') format('woff2'), } -/* override page max-width */ +/* minor layout tweaks */ .page { max-width: 72rem; } +.page__body { + margin: 1rem; +} + +.page__aside { + margin: 0 1rem 0 0; +} + /* logo tweaks */ .page__logo { @@ -245,11 +253,15 @@ input { background-color: var(--off-bg); color: var(--off-fg); height: 1.5rem; - border-radius: 0.25rem; + border-radius: 0.25rem 0 0 0.25rem; padding-left: 0.5rem; font-family: var(--font-monospace); } +form { + width:auto; +} + input:focus { outline: none; } From d6957236a6efd858feacdce53a76da1b76b0c6fe Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Wed, 19 Jun 2024 14:20:28 -0500 Subject: [PATCH 3/4] improve tagline handling --- layouts/partials/tagline.html | 2 +- static/css/custom.css | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/layouts/partials/tagline.html b/layouts/partials/tagline.html index 7a7c7fc..f1dd97b 100644 --- a/layouts/partials/tagline.html +++ b/layouts/partials/tagline.html @@ -11,4 +11,4 @@ } window.addEventListener("pageshow", getTagline); -
+
diff --git a/static/css/custom.css b/static/css/custom.css index f674489..9d0422f 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -368,11 +368,20 @@ p:has(+ ul) { margin-bottom: 0; } -/* tagline cursor animation */ +/* tagline tweaks */ +#tagline_container { + height: 3rem; +} + +#tagline { + font-size: 0.8rem; + line-height: 0.8rem; +} + #tagline::after { content: ""; width: 0.5rem; - height: 1.2rem; + height: 1rem; background: var(--muted); display: inline-block; margin-left: 0.2rem; From 1e5b48819c3017da1b372929ad64ea57fa85a174 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Wed, 19 Jun 2024 14:21:34 -0500 Subject: [PATCH 4/4] fix whitespace --- static/css/custom.css | 1 - 1 file changed, 1 deletion(-) diff --git a/static/css/custom.css b/static/css/custom.css index 9d0422f..b347497 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -284,7 +284,6 @@ form button { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); grid-gap: 0.5rem; margin: 0.5rem 0; - } .tagsArchive sup {