From d0c3a8fb5a69212578f160fc428353deb999d36a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=A4dorf?= Date: Wed, 13 Oct 2021 00:14:08 +0200 Subject: [PATCH] Small css improvements --- _includes/layouts/default.njk | 2 +- events.css | 6 ++++-- styles.css | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/_includes/layouts/default.njk b/_includes/layouts/default.njk index 37ffaec..dcc1708 100644 --- a/_includes/layouts/default.njk +++ b/_includes/layouts/default.njk @@ -1,7 +1,7 @@ --- themeColor: #D02424 language: de -cssCacheBust: ?v=2 +cssCacheBust: ?v=3 header: null article: null diff --git a/events.css b/events.css index 9c9ba7d..d938da3 100644 --- a/events.css +++ b/events.css @@ -2,6 +2,8 @@ border-top: 7px solid var(--border); width: calc(100vw - 2*var(--side-padding)); position: relative; + margin-right: calc(-1 * (100vw - 2 * var(--side-padding))); + max-width: calc( 100vw - 2 * var(--side-padding)); } .event-day[open] { @@ -106,6 +108,6 @@ .event-location, .event-people, .event-details { - font-size: 1rem; - line-height: 1.4rem; + font-size: 1.2rem; + line-height: 1.6rem; } diff --git a/styles.css b/styles.css index 83bebbf..37dde44 100644 --- a/styles.css +++ b/styles.css @@ -24,7 +24,7 @@ background-image: url(/img/bg-pattern.svg); background-repeat: repeat-y; background-position: right; - background-size: 50vw; + background-size: 33vw; } @media screen and (min-width: 768px) {