From 707a6bf37cddf07dd5ea6925becbd39fbb597878 Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Wed, 30 Jun 2021 17:11:29 +0200 Subject: [PATCH] small css updates --- static/site.css | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/static/site.css b/static/site.css index 8ca9612..ba73245 100644 --- a/static/site.css +++ b/static/site.css @@ -7,6 +7,14 @@ body { overflow-x: hidden; } +p{ + font-family: "Open Sans", Helvetica, Arial, sans-serif; +} + +h1{ + font-family: "Open Sans", Helvetica, Arial, sans-serif; +} + .flag{ height: 40px; width: 70px; @@ -15,6 +23,13 @@ body { padding: 0 !important; } +.mobile-only{ + display: none; +} +.desktop-only{ + display: block; +} + @media (max-width: 767px) { body { font-size: 25px; @@ -22,15 +37,18 @@ body { .flag{ margin-left: unset; } + .mobile-only{ + display: block; + } + .desktop-only{ + display: none; + } } @media (max-width: 500px) { body { font-size: 5vw; } - h1{ - font-size: 30px; - } } .title-responsive{ @@ -45,12 +63,6 @@ body { } } -@media (max-width: 1300px) and (min-width: 766px){ - h1{ - font-size: 3.5vw; - } -} - @media (max-width: 900px) { .title-responsive{ font-size: 2.2vw !important;