From 7b5d816992fe26594fbfbedfd46baef708b9d1ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Fri, 15 Aug 2025 14:15:16 +0200 Subject: [PATCH] feat(style): modify root font-size for more consistent design --- scss/main.scss | 12 ++++++------ templates/page/custom_page.gohtml | 2 +- templates/page/index.gohtml | 2 +- templates/page/legal.gohtml | 2 +- templates/page/tags.gohtml | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/scss/main.scss b/scss/main.scss index a6f5f3d..2759576 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -4,6 +4,7 @@ :root { --text-color: #000; + font-size: 18px; } @font-face { @@ -13,7 +14,6 @@ body { --background-image: ; - font-size: 18px; font-family: "custom", Raveo, Inter, Roboto, sans-serif; background: #000; background-size: cover; @@ -101,23 +101,23 @@ p { } h1 { - font-size: 3rem; + font-size: 1.75rem; } h2 { - font-size: 2rem; + font-size: 1.5rem; font-weight: bold; @media only screen and (max-width: vars.$bp-little) { - font-size: 1.75rem; + font-size: 1.425rem; } } h3 { - font-size: 1.5rem; + font-size: 1.35rem; } h4 { - font-size: 1.35rem; + font-size: 1.25rem; } ul, ol { diff --git a/templates/page/custom_page.gohtml b/templates/page/custom_page.gohtml index 4e53d4b..5b4de00 100644 --- a/templates/page/custom_page.gohtml +++ b/templates/page/custom_page.gohtml @@ -1,7 +1,7 @@ {{define "body"}}
-

{{ .Title }}

+

{{ .Title }}

diff --git a/templates/page/legal.gohtml b/templates/page/legal.gohtml index f376b4a..b8ef23b 100644 --- a/templates/page/legal.gohtml +++ b/templates/page/legal.gohtml @@ -1,6 +1,6 @@ {{define "body"}}