diff options
| author | eltrac <hi@eltr.ac> | 2026-10-31 14:35:53 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-10-31 14:35:53 +0800 |
| commit | f62076bac7bc749cced7fd69e4c59ed080bda1c9 (patch) | |
| tree | b55a2b553d7578e4a6ee98dd674c2abf532173ad /static | |
| parent | cc72f6fdb1cac6df629e62c7d1cf6c6ec7217984 (diff) | |
refactor templating; wider container for flat pages
Diffstat (limited to 'static')
| -rw-r--r-- | static/main.css | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/static/main.css b/static/main.css index 6db37b9..205cdc2 100644 --- a/static/main.css +++ b/static/main.css @@ -23,13 +23,16 @@ a { } .container { - max-width: 500px; + --width: 500px; + max-width: var(--width); margin: 5rem auto; @media screen and (max-width: 787px) { padding: 1rem; } } +.container.wider { --width: 600px } + .page { font-size: 1.25rem; line-height: 2; @@ -65,6 +68,10 @@ a { border: 2px dashed var(--decorative-color); margin: 1rem 0; } + + img { + max-width: 100% + } } .prose-container { |
