From 47794ec3ab830feb130ad9990457e2c7ec789cac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Signe=20Kirk=20Br=C3=B8db=C3=A6k?= Date: Mon, 19 Aug 2024 15:51:23 +0200 Subject: [PATCH 1/3] feat: :sparkles: add fire code as font name for state diagrams --- puml-theme-seedcase.puml | 1 + 1 file changed, 1 insertion(+) diff --git a/puml-theme-seedcase.puml b/puml-theme-seedcase.puml index 320003f..c570684 100644 --- a/puml-theme-seedcase.puml +++ b/puml-theme-seedcase.puml @@ -73,6 +73,7 @@ skinparam Sequence { skinparam State { FontSize 18 FontColor $BLACK + FontName Fira Code BorderColor $BLACK BackgroundColor $LIGHT_GREY } From 2401cf3e2621c5ce2dd0b0734797b7c3f8c585a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Signe=20Kirk=20Br=C3=B8db=C3=A6k?= Date: Thu, 10 Oct 2024 11:48:10 +0200 Subject: [PATCH 2/3] style: :lipstick: simplify coloured banner using negative margin values --- _extensions/seedcase-theme/theme.scss | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/_extensions/seedcase-theme/theme.scss b/_extensions/seedcase-theme/theme.scss index 5cd36f6..74ecce0 100644 --- a/_extensions/seedcase-theme/theme.scss +++ b/_extensions/seedcase-theme/theme.scss @@ -54,23 +54,12 @@ figcaption { padding: 10px 0px 0px 0px !important; } -/* TODO: take inspiration from Quarto-web to make this cleaner */ -.landing-page-banner { - background-color: rgba($secondary, 0.3); - padding: 10px; - position: relative; - left: 50%; - right: 50%; - width: 100vw; - margin-left: -50vw; - margin-right: -50vw; -} - -.landing-page-banner-content { - max-width: 800px; - margin: 0 auto; - box-sizing: border-box; - margin-bottom: 40px; +.full-width-banner { + /* negative margin trick from https://css-tricks.com/full-browser-width-bars/#aa-using-negative-margin */ + margin: 0 -9999rem; + /* add back negative margin value */ + padding: 0.25rem 9999rem; + background: rgba($secondary, 0.3); } .landing-page-card { From b9d1168976a6a85dabb98a451df055eae5373347 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Signe=20Kirk=20Br=C3=B8db=C3=A6k?= Date: Thu, 10 Oct 2024 12:01:37 +0200 Subject: [PATCH 3/3] revert: :adhesive_bandage: remove fontname from state params again This was a mistakenly committed line and not related to this PR --- puml-theme-seedcase.puml | 1 - 1 file changed, 1 deletion(-) diff --git a/puml-theme-seedcase.puml b/puml-theme-seedcase.puml index c570684..320003f 100644 --- a/puml-theme-seedcase.puml +++ b/puml-theme-seedcase.puml @@ -73,7 +73,6 @@ skinparam Sequence { skinparam State { FontSize 18 FontColor $BLACK - FontName Fira Code BorderColor $BLACK BackgroundColor $LIGHT_GREY }