From 19432427ac29a48605f7272815198f29a20ed75a Mon Sep 17 00:00:00 2001 From: tpart Date: Sun, 21 Apr 2024 15:06:23 +0200 Subject: Improve start page css on small screens --- client-web/style/master.sass | 4 ++++ client-web/style/start.sass | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'client-web/style') diff --git a/client-web/style/master.sass b/client-web/style/master.sass index 8d251f9..32aeb9e 100644 --- a/client-web/style/master.sass +++ b/client-web/style/master.sass @@ -38,6 +38,10 @@ body.start align-items: center overflow: hidden +@media (max-width: 1000px) or (max-height: 700px) + body.start + background-size: cover, 500px + body height: 100vh width: 100vw diff --git a/client-web/style/start.sass b/client-web/style/start.sass index f46cc51..0afb07e 100644 --- a/client-web/style/start.sass +++ b/client-web/style/start.sass @@ -59,7 +59,7 @@ input[type="text"] width: 90% - @media (max-width: 900px) and (max-height: 700px), (max-height: 550px) + @media (max-width: 1000px) or (max-height: 700px) h1 font-size: 3em font-weight: 700 @@ -76,4 +76,4 @@ font-size: large input[type="button"] - font-size: large + font-size: large \ No newline at end of file -- cgit v1.2.3-70-g09d2