From dca76cd7955573cc537933c7beb93d2d9ee2b1d2 Mon Sep 17 00:00:00 2001 From: Taylan Kammer Date: Tue, 2 Jun 2026 23:56:10 +0200 Subject: More doc and style improvements. --- html/style.css | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'html') diff --git a/html/style.css b/html/style.css index bc59a24..d5c2610 100644 --- a/html/style.css +++ b/html/style.css @@ -1,7 +1,7 @@ body { margin: 20px auto; padding: 10px 20px; - max-width: 80ch; + max-width: 680px; background: #eee; color: #333; @@ -9,6 +9,23 @@ body { font-family: sans-serif; } +@media screen and (max-width:960px) { + body > ul:first-of-type { + display: none; + } +} + +@media screen and (min-width:961px) { + body { + margin-left: 260px; + } + body > ul:first-of-type { + position: fixed; + margin-left: -280px; + margin-top: 82px; + } +} + h1, h2, h3 { line-height: 1.2; } -- cgit v1.2.3