From f63ec0912a00633e8c7f7cad01b103e7add5e25b Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Mon, 27 Feb 2023 16:55:01 +0800 Subject: [PATCH] Update spacing and content width to be more consistent --- assets/scss/main.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/scss/main.scss b/assets/scss/main.scss index 7df8690..b140cf4 100644 --- a/assets/scss/main.scss +++ b/assets/scss/main.scss @@ -7,8 +7,8 @@ /* Spacing options. */ --font-size: 20px; --mono-font-size: 0.9em; - --vertical-rhythm: 24px; - --content-width: 750px; + --vertical-rhythm: calc(1.25 * var(--font-size)); + --content-width: max(750px, 75ch); --code-block-size: 50vh; --border-style: var(--base05) solid 1px;