From 68236bf39e58ad65bbeb797612b9068e1f39eb10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Sun, 21 Nov 2021 13:40:13 +0100 Subject: [PATCH] Reveal inline SiteTitle --- src/components/atoms/SiteTitle.svelte | 29 +++++++++++++++++++++++---- src/style/atoms/_site-title.scss | 11 +++++----- 2 files changed, 30 insertions(+), 10 deletions(-) diff --git a/src/components/atoms/SiteTitle.svelte b/src/components/atoms/SiteTitle.svelte index ef064fa..8afc426 100644 --- a/src/components/atoms/SiteTitle.svelte +++ b/src/components/atoms/SiteTitle.svelte @@ -1,13 +1,34 @@ {#if tag === 'h1'} -

- Houses - Of The - World +

+ + + + + + + + +

{:else}
diff --git a/src/style/atoms/_site-title.scss b/src/style/atoms/_site-title.scss index 261b469..43e44ee 100644 --- a/src/style/atoms/_site-title.scss +++ b/src/style/atoms/_site-title.scss @@ -1,10 +1,10 @@ .site-title { font-family: $font-serif; - strong { + & > strong { font-weight: 300; } - span { + & > span { position: relative; top: -4px; font-weight: 600; @@ -63,12 +63,11 @@ font-size: rem(96px); } - strong { + & > strong { color: $color-secondary; } - - span { - display: block; + & > span { + // display: block; top: 0; margin: 10px 0; font-size: 0.3125em;