From 07f999aeb2631771d3261c01156cbb0ba808ac71 Mon Sep 17 00:00:00 2001 From: moanos Date: Sun, 21 Jul 2024 23:12:39 +0200 Subject: [PATCH] feat: Add sticky navigation --- src/assets/css/style.css | 20 ++++++++++++++++++++ src/index.html | 6 ++++++ 2 files changed, 26 insertions(+) diff --git a/src/assets/css/style.css b/src/assets/css/style.css index b818bb5..a5c5970 100644 --- a/src/assets/css/style.css +++ b/src/assets/css/style.css @@ -20,9 +20,13 @@ } body { + margin: 0; background: var(--background-one); color: var(--text-two); } +.content { + margin: 10px; +} h1, h2 { word-wrap: break-word; @@ -30,6 +34,11 @@ h1, h2 { text-shadow: 2px 2px var(--shadow-one); } +a { + color: inherit; + text-decoration: none; +} + .container-form { background: var(--background-three); color: var(--text-two); @@ -184,3 +193,14 @@ input.measurement { display: flex; flex-wrap: wrap; } + +.navigation-sticky { + background-color: var(--secondary-light-one); + color: var(--primary-light-one); + padding: 16px; + margin: 0; + border-bottom-right-radius: 8px; + border: none; + font-weight: bold; + width: 20%; +} diff --git a/src/index.html b/src/index.html index 7cd771a..835e235 100644 --- a/src/index.html +++ b/src/index.html @@ -8,6 +8,12 @@ + +

Käfigrechner