From 549908224395a73ae2be8a7b98bcb7c0b57a3944 Mon Sep 17 00:00:00 2001 From: Martial Simon Date: Wed, 25 Dec 2024 11:41:54 +0100 Subject: fix: header & typos --- style.css | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) (limited to 'style.css') diff --git a/style.css b/style.css index cd6ac37..ae21c06 100644 --- a/style.css +++ b/style.css @@ -20,18 +20,25 @@ header { position: sticky; top: 5px; z-index: 10; + transition-property: top; } -h1, h2, h3, h4 { - font-family: martian; +header { + filter: drop-shadow(white 2px 2px 0px); } header { display: flex; + flex-wrap: wrap; justify-content: space-evenly; align-items: center; } +h1, h2, h3, h4 { + font-family: martian; +} + + h1::before, h1::after { content: " - "; } @@ -48,19 +55,22 @@ a { nav { display: flex; flex-direction: row; - flex-wrap: wrap; - justify-content: space-between; + flex-wrap: nowrap; + justify-content: center; + align-content: space-between; position: relative; - padding: default 3vw; height: 100%; } -nav a, nav sep { +nav a { display: inline-block; + margin: auto 3%; } -nav sep { - margin: auto 0; +sep { + display: inline-block; + font-weight: bold; + margin: auto 3%; } .text-link:hover { -- cgit v1.2.3