diff options
Diffstat (limited to 'src/static')
-rw-r--r-- | src/static/site.css | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/static/site.css b/src/static/site.css index 7d1f4747..553172a5 100644 --- a/src/static/site.css +++ b/src/static/site.css @@ -121,12 +121,22 @@ a:hover { #header { display: grid; - grid-template-columns: max-content 3fr; +} + +#header.nav-has-main-links.nav-has-content { + grid-template-columns: 2.5fr 3fr; grid-template-areas: "main-links content" "bottom-row content"; } +#header.nav-has-main-links:not(.nav-has-content) { + grid-template-columns: 1fr; + grid-template-areas: + "main-links" + "bottom-row"; +} + .nav-main-links { grid-area: main-links; margin-right: 20px; |