diff options
author | Alan Pearce | 2024-06-10 12:51:13 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-10 12:51:13 +0200 |
commit | 681fef261d977b76038bdc9f3cef288d85eeac48 (patch) | |
tree | 6def832fb2537dc59f75622418be1cd765e90aab /frontend/static/style.css | |
parent | a58e6f6ab37d2bcaf7af1431449df89ec5b2183d (diff) | |
download | searchix-681fef261d977b76038bdc9f3cef288d85eeac48.tar.lz searchix-681fef261d977b76038bdc9f3cef288d85eeac48.tar.zst searchix-681fef261d977b76038bdc9f3cef288d85eeac48.zip |
style: increase information density
Diffstat (limited to 'frontend/static/style.css')
-rw-r--r-- | frontend/static/style.css | 33 |
1 files changed, 29 insertions, 4 deletions
diff --git a/frontend/static/style.css b/frontend/static/style.css index 379c60e..5509491 100644 --- a/frontend/static/style.css +++ b/frontend/static/style.css @@ -14,35 +14,53 @@ body { grid-template-columns: 1fr min(var(--min-width), 90%) 1fr; + font-size: unset; + line-height: 1.25; } body > header { - align-items: center; + align-items: baseline; display: flex; justify-content: center; padding: unset; } body > header > :only-child { - margin-block-start: 1ex; + margin-block-start: unset; } header > nav { width: min(var(--min-width), 90%); display: flex; + align-items: baseline; padding: 0.5rem 0; } header > nav a { - margin-bottom: 1ex; + margin-bottom: unset; font-size: 1.15rem; } nav > h1 > a { margin-left: unset; padding-left: unset; border: 1px transparent; + text-decoration: none; } body > header h1 { margin: unset; font-size: 1.15rem; - line-height: 2; +} + +@media only screen and (max-width: 600px) { + header > nav { + display: unset; + } +} +@media only screen and (max-width: 720px) { + header > nav { + padding: 1.5ex 0; + } +} + +main { + padding-top: unset; } form { @@ -61,6 +79,7 @@ section { border: none; margin: unset; padding: unset; + overflow-x: auto; } input[type="search"] { @@ -142,4 +161,10 @@ dialog > h2 { table { width: 100%; + margin-top: 0; +} + +td, +th { + padding: 0.25rem 0.5rem; } |