From 2b50f8175ee00edcfa1fa336ffefd09bc5eef30d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gr=C3=A9gory=20Burri?= Date: Fri, 17 Jul 2020 15:53:56 +0200 Subject: [PATCH] Try using em/rem instead of px unit --- backend/style.scss | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/backend/style.scss b/backend/style.scss index 94fa501..72565b6 100644 --- a/backend/style.scss +++ b/backend/style.scss @@ -13,6 +13,10 @@ $background-container: lighten($primary, 10%); padding: 0px; } +html { + font-size: 80% +} + a { color: lighten($primary, 40%); text-decoration: none; @@ -20,7 +24,6 @@ a { } body { - font-size: 13px; font-family: Fira Code, Helvetica Neue, Helvetica, Arial, sans-serif; text-shadow: 2px 2px 2px rgb(0, 0, 0); text-align: center; @@ -44,13 +47,13 @@ body { .content { background-color: $background-container; - border: 1px solid white; - padding: 10px; + border: 0.1em solid white; + padding: 0.5em; } } .footer-container { - font-size: 10px; + font-size: 0.5em; } } -- 2.43.0