diff options
author | Nicholas Johnson <> | 2025-07-27 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <> | 2025-07-27 00:00:00 +0000 |
commit | 8627738357101eb1216697c94bb00b403c46019d4890358ea96a54f4a4fec305 (patch) | |
tree | b331d484e9cefeae1a129124d5dc3983fdd8974b6a39b7cb0496901702e52352 /assets | |
parent | 3e0fbc283ba0546922c1a2233b2803a63e1415bc326983bb93ec1f581b8bcccd (diff) | |
download | hugo-theme-journal-8627738357101eb1216697c94bb00b403c46019d4890358ea96a54f4a4fec305.tar.gz hugo-theme-journal-8627738357101eb1216697c94bb00b403c46019d4890358ea96a54f4a4fec305.zip |
Ensure body is always at least viewport height
The page content area's background color should always fill the height
of the viewport, even if there is not enough page content.
Diffstat (limited to 'assets')
-rw-r--r-- | assets/static/css/style.css | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/assets/static/css/style.css b/assets/static/css/style.css index 755e05f..2e6686b 100644 --- a/assets/static/css/style.css +++ b/assets/static/css/style.css @@ -89,9 +89,11 @@ blockquote, ol, p, pre, ul, .highlight { .body { background-color: black; + box-sizing: border-box; color: lightgray; font-family: Arial, Helvetica, sans-serif; font-size: 1.8rem; + min-height: 100vh; line-height: 1.4; margin: 0 auto; padding: 1.4em; |