From 934d47c2b5ba88c389e57a6cbbcca3d2c779ad26 Mon Sep 17 00:00:00 2001 From: koehr Date: Sun, 31 Mar 2024 23:57:02 +0200 Subject: [PATCH] slightly better mobile support --- dist/style.css | 2 +- static/style.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/style.css b/dist/style.css index d91d2df..422eea4 100644 --- a/dist/style.css +++ b/dist/style.css @@ -84,6 +84,7 @@ body>header>svg { body>main { width: 960px; + max-width: 98vw; margin: var(--header-height) auto 4em; } @@ -94,7 +95,6 @@ a { #intro { display: flex; flex-flow: column nowrap; - justify-content: center; height: calc(100vh - var(--header-height)); margin: 2rem 0; } diff --git a/static/style.css b/static/style.css index d91d2df..422eea4 100644 --- a/static/style.css +++ b/static/style.css @@ -84,6 +84,7 @@ body>header>svg { body>main { width: 960px; + max-width: 98vw; margin: var(--header-height) auto 4em; } @@ -94,7 +95,6 @@ a { #intro { display: flex; flex-flow: column nowrap; - justify-content: center; height: calc(100vh - var(--header-height)); margin: 2rem 0; }