From 79bdb88a5fc099b5871a83d18eadf9b0448b41d1 Mon Sep 17 00:00:00 2001 From: piotrruss Date: Thu, 30 Sep 2021 22:48:13 +0200 Subject: added favicons & notes route for phone --- styles/global.scss | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'styles/global.scss') diff --git a/styles/global.scss b/styles/global.scss index ad4a51a..7fcdb41 100644 --- a/styles/global.scss +++ b/styles/global.scss @@ -8,12 +8,24 @@ main { left: 0; bottom: 0; right: 0; + + &.noHeader { + top: 0; + } +} + +html { + position: fixed; + height: 100vh; + width: 100vw; } body { - margin: 0; + position: fixed; height: 100vh; + width: 100vw; overflow: hidden; + margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, Noto Sans, sans-serif, 'Apple Color Emoji', @@ -28,8 +40,8 @@ textarea, input { .container { margin: 1.5rem auto; - padding-left: 2rem; - padding-right: 2rem; + padding-left: 1rem; + padding-right: 1rem; } .fixed { @@ -40,6 +52,10 @@ textarea, input { left: 0; } +.hidden { + display: none; +} + .mobile-only { display: none!important; -- cgit v1.2.3