aboutsummaryrefslogtreecommitdiff
path: root/src/app.css
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2026-07-28 19:30:07 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2026-07-28 19:31:13 +0200
commit1e720925e2ef690d455927c2f9e802571304982a (patch)
treeb5bcd4dd6a49115bdaca904832cb6bd8e859a35a /src/app.css
parent0d100b83f8ba818c2f32663f415649db03534548 (diff)
fix: sticky form and navbar layout with consistent nav-height
Diffstat (limited to 'src/app.css')
-rw-r--r--src/app.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/app.css b/src/app.css
index 4982369..90ee084 100644
--- a/src/app.css
+++ b/src/app.css
@@ -22,6 +22,7 @@
--white: oklch(1 0 0);
--bg: oklch(0.97 0.006 70);
+ --nav-height: 3rem;
--surface: var(--white);
--surface-hover: oklch(from var(--accent) 0.99 0.008 h);
--border: oklch(0.91 0.006 70);
@@ -49,6 +50,10 @@ body {
-moz-osx-font-smoothing: grayscale;
}
+main {
+ padding: 0 1rem;
+}
+
h1 {
font-size: 1.875rem;
font-weight: 700;