From f35b008955528afc7fe570d8f3274d604cb1adc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=A4dorf?= Date: Mon, 3 Oct 2022 02:30:20 +0200 Subject: [PATCH] Fix spacings for hakken dates --- _includes/HakkenDates.tsx | 5 ++++- _includes/styles/hakken-dates.scss | 4 ++++ _includes/styles/page.scss | 5 +++++ _includes/styles/style.scss | 1 + 4 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 _includes/styles/hakken-dates.scss diff --git a/_includes/HakkenDates.tsx b/_includes/HakkenDates.tsx index e316cef..c651735 100644 --- a/_includes/HakkenDates.tsx +++ b/_includes/HakkenDates.tsx @@ -1 +1,4 @@ -export default ({ lang }) =>
; +export default ({ lang }) =>
; diff --git a/_includes/styles/hakken-dates.scss b/_includes/styles/hakken-dates.scss new file mode 100644 index 0000000..7478a97 --- /dev/null +++ b/_includes/styles/hakken-dates.scss @@ -0,0 +1,4 @@ +.ps-hakken-dates { + margin: 5vw; + margin-top: 0; +} diff --git a/_includes/styles/page.scss b/_includes/styles/page.scss index 6f4d62f..124bd1b 100644 --- a/_includes/styles/page.scss +++ b/_includes/styles/page.scss @@ -82,9 +82,14 @@ &--section-contents { margin: 5vw; + margin-bottom: 0; font-weight: 500; line-height: 1.75; + &:last-child { + margin-bottom: 5vw; + } + pre, code { background-color: var(--background-alt); diff --git a/_includes/styles/style.scss b/_includes/styles/style.scss index 91e8094..073fd25 100644 --- a/_includes/styles/style.scss +++ b/_includes/styles/style.scss @@ -30,4 +30,5 @@ html { @import './footer'; @import './homelink'; @import './iso-iframe.scss'; +@import './hakken-dates.scss';