From ba41aad4682add553747563d36c443353926d733 Mon Sep 17 00:00:00 2001 From: Sebastian Tobie Date: Thu, 7 Jul 2022 00:40:43 +0200 Subject: [PATCH] removed some stuff and changed some units to betterr alternatives --- themes/meins/assets/css/style.scss | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/themes/meins/assets/css/style.scss b/themes/meins/assets/css/style.scss index 50c107a..bd309a2 100644 --- a/themes/meins/assets/css/style.scss +++ b/themes/meins/assets/css/style.scss @@ -15,15 +15,7 @@ span { &.warning { - transition-property: background-color; - transition-duration: 1s; - transition-timing-function: linear; - &:hover { - background-color: mix(#FFFF00, $background, 50%); - transition-property: background-color; - transition-duration: 1s; - transition-timing-function: linear; - } + background-color: mix(#888888, $background); } } } @@ -59,13 +51,13 @@ body { display: flex; flex-direction: column; align-items: center; - min-height: 100vh; + min-height: 100dvh; background-color: var(--background); color: var(--text); >header, >footer { - width: 100vw; + width: 100dvw; } >main { @@ -89,15 +81,18 @@ body { border-style: solid; } } + >.menu>li { + margin-bottom: auto; + } >.menu, >main { - max-width: 90vw; + max-width: 90dvw; display: flex; >* { margin: 0; - margin-bottom: 2em; + margin-bottom: 2rem; } h1, @@ -171,7 +166,7 @@ form { } span { - &.euphemsimus { + &.euphemsimus, &.quote { font-style: italic; &::before {