From f5f5e14a94949bb1dba2085eddad305d41ea668f Mon Sep 17 00:00:00 2001 From: krckyboy Date: Sun, 2 Jun 2024 15:49:55 +0200 Subject: [PATCH] Adding styles for
and bold for . --- frontend/src/styles/about-and-blog-content.module.scss | 4 ++-- frontend/src/styles/global.scss | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/frontend/src/styles/about-and-blog-content.module.scss b/frontend/src/styles/about-and-blog-content.module.scss index 9041841..f1c7896 100644 --- a/frontend/src/styles/about-and-blog-content.module.scss +++ b/frontend/src/styles/about-and-blog-content.module.scss @@ -8,7 +8,7 @@ Typography, spacings and other styles for /about and /blog/[slug] .shared { margin-top: 2rem; - h2, .subheading, h3 { + h2, .subheading, h3, strong { font-weight: 500; } @@ -27,7 +27,7 @@ Typography, spacings and other styles for /about and /blog/[slug] } h2 { - font-size: clamp(1.3rem, 1.5vw, 2.5rem); + font-size: clamp(1.4rem, 2vw, 2.5rem); } h3 { diff --git a/frontend/src/styles/global.scss b/frontend/src/styles/global.scss index 3922e6d..ee092d6 100644 --- a/frontend/src/styles/global.scss +++ b/frontend/src/styles/global.scss @@ -23,4 +23,13 @@ a { &:focus-visible { outline: 1px solid $color-accent; } +} + +hr { + all: unset; + width: 20%; + display: flex; + background: $color-background-lighten; + height: 6px; + margin-block: 3rem; } \ No newline at end of file