From d647dbfef47d94d52729a147f8fbf2bfa205d0e2 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Mon, 26 Jun 2023 12:56:12 +0200 Subject: [PATCH] Update light.css --- themes/light.css | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/themes/light.css b/themes/light.css index 48d6665..b0579fd 100644 --- a/themes/light.css +++ b/themes/light.css @@ -1,16 +1,19 @@ @import url("https://fonts.googleapis.com/css2?family=Lora:wght@500&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Inconsolata&display=swap"); +:root { + --color-bg: #fffff4; + --color-text: #000; + --gap-l: 2.5rem; +} + body { - margin: 40px auto; - width: 610px; - max-width: 100%; + margin: var(--gap-l) auto; + max-width: 610px; line-height: 1.6; - font-size: 16px; - background: #fffff4; - color: #3a1616; + background: var(--color-bg); + color: var(--color-text); padding: 0 10px; - font-size: 18px; line-height: 28px; font-family: "Lora"; font-weight: 500;