From e21d557763554b0c20a6d6323f90e2ee6e7ea729 Mon Sep 17 00:00:00 2001 From: Adam Bem Date: Wed, 22 Mar 2023 09:32:55 +0100 Subject: [PATCH] Self-hosted fonts for all tools except mock --- Frontend/assets/css/tools/r11form.css | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/Frontend/assets/css/tools/r11form.css b/Frontend/assets/css/tools/r11form.css index 909a182..2c70e8c 100644 --- a/Frontend/assets/css/tools/r11form.css +++ b/Frontend/assets/css/tools/r11form.css @@ -1,7 +1,14 @@ -@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;700&display=swap'); @import url('https://necolas.github.io/normalize.css/8.0.1/normalize.css'); @import url('fontello.css'); +@font-face { + font-family: "Nunito"; + src: url('../../fonts/Nunito-VariableFont_wght.ttf') format('truetype'); +} + +body { + font-weight: 300; +} .hyperlink, .hyperlink:visited, .hyperlink:active { color: rgb(47, 125, 146); @@ -54,6 +61,8 @@ .container { font-family: 'Nunito', sans-serif; + + display: flex; justify-content: left; width: 100%; @@ -489,6 +498,14 @@ code { line-height: 150%; } +h1 { + font-weight: 400; +} + +h2 { + font-weight: 300; +} + @media only screen and (max-width: 1024px) { .rwd-hideable { display: none;