diff options
| author | Taylan Kammer <taylan.kammer@gmail.com> | 2026-06-02 23:56:10 +0200 |
|---|---|---|
| committer | Taylan Kammer <taylan.kammer@gmail.com> | 2026-06-02 23:56:10 +0200 |
| commit | dca76cd7955573cc537933c7beb93d2d9ee2b1d2 (patch) | |
| tree | 1f082c2f2d6036019b28a72d146709fbcc32cc0c /html | |
| parent | af6f48ff079fc8067b564adeaa73caed8cbf5438 (diff) | |
More doc and style improvements.
Diffstat (limited to 'html')
| -rw-r--r-- | html/style.css | 19 |
1 files changed, 18 insertions, 1 deletions
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; } |
