From be9ac8fc9fe2b4b356ea6b1d9de1b6c5ff173ee2 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 3 May 2023 13:35:45 +0800 Subject: [PATCH] Update site styles --- assets/scss/extend.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/assets/scss/extend.scss b/assets/scss/extend.scss index e2d17ca..4845f26 100644 --- a/assets/scss/extend.scss +++ b/assets/scss/extend.scss @@ -8,6 +8,8 @@ $line-height: 1.45; --body-family: "Source Serif Pro", "IBM Plex Serif", "Noto Serif", serif; --header-family: "Source Sans Pro", "IBM Plex Sans", "Noto Sans", sans-serif; --mono-family: "Source Code Pro", "IBM Plex Mono", "Noto Mono", monospace; + + overflow-wrap: break-word; } // Base styles. @@ -91,11 +93,12 @@ article.post { // Custom layouts #logo { + --size: $tooltip-size; display: flex; align-items: center; justify-content: center; - height: $tooltip-size; - width: $tooltip-size; + height: var(--size); + width: var(--size); svg { --size: 4em;