From d66a1bbc12d5449085606a417810d4de69d0683c Mon Sep 17 00:00:00 2001 From: Sweetbread Date: Mon, 7 Apr 2025 23:40:00 +0300 Subject: [PATCH] wip: feat: mobile --- static/index.css | 14 +++++++++----- templates/utils/_head.html | 1 + 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/static/index.css b/static/index.css index fcbe31a..466de4c 100644 --- a/static/index.css +++ b/static/index.css @@ -297,10 +297,10 @@ .headerblock { width: clamp(60rem, 65% , 140rem); - height: clamp(10rem, 20%, 10rem); + height: 10rem; padding: 1rem; - margin-left: 0rem; - border-color: #000000; + margin-left: 0; + border-color: black; border-radius: 0; border: none; box-shadow: 1em 1em 0em 0px rgba(186, 65, 166, 0.7); @@ -311,7 +311,6 @@ flex-direction: column; background-color: rgb(0 0 0 / 85%); box-sizing: border-box; - margin-top: 2rem; } .headerblock:hover { @@ -519,9 +518,14 @@ body { background-image: url(/static/imgs/bg.gif); width: 100vw; - height: 100vh; + height: calc(100dvh - 2rem); margin: 0; background-size: cover; + padding-top: 2rem; +} + +body > .container { + height: calc(100% - 12rem); } a { diff --git a/templates/utils/_head.html b/templates/utils/_head.html index cac95c9..da0cf11 100644 --- a/templates/utils/_head.html +++ b/templates/utils/_head.html @@ -2,6 +2,7 @@ + {%- if request.path != url_for('index') %}