From ad4def156930a563398c4a9576293eec757dbe32 Mon Sep 17 00:00:00 2001 From: neri Date: Mon, 28 Jun 2021 01:11:10 +0200 Subject: [PATCH] set font-family better in css --- static/index.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/static/index.css b/static/index.css index b835063..8f1dd97 100644 --- a/static/index.css +++ b/static/index.css @@ -3,6 +3,17 @@ --fg: #e9e9e9; } +html { + box-sizing: border-box; +} + +*, +*::before, +*::after { + font-family: sans; + box-sizing: inherit; +} + body { background-color: var(--bg); margin: 0; @@ -10,7 +21,6 @@ body { main { color: var(--fg); - font-family: sans; max-width: 1200px; margin: 0 auto; padding: 1rem;