From a98a0927d33f649e7df8da0a95135c7cf3583f59 Mon Sep 17 00:00:00 2001 From: marco Date: Thu, 23 Apr 2026 13:26:49 +0200 Subject: [PATCH] created floating side bar --- public/de/index.html | 6 ++++++ public/en/index.html | 6 ++++++ public/styles.css | 24 +++++++++++++++++++++++- template-index.html | 4 ++++ 4 files changed, 39 insertions(+), 1 deletion(-) diff --git a/public/de/index.html b/public/de/index.html index 4077c53..26172a7 100644 --- a/public/de/index.html +++ b/public/de/index.html @@ -11,6 +11,12 @@ +

Hi, ich bin Marco

und das ist meine Webseite

diff --git a/public/en/index.html b/public/en/index.html index e5abd46..602204a 100644 --- a/public/en/index.html +++ b/public/en/index.html @@ -11,6 +11,12 @@ +

Hi, I'm Marco

and this is my website

diff --git a/public/styles.css b/public/styles.css index 53c5a47..19688c9 100644 --- a/public/styles.css +++ b/public/styles.css @@ -7,8 +7,30 @@ h1, h2, h3, h4, h5, p { color: #DDDDEE } -a.navbar { +a { color: #DD7FB6; text-decoration: none } +#navbar { + position: fixed; + top: 0; + right: 0; + overflow: hidden; + flex-direction: column; + display: flex; + float: right; +} + +#navbar a { + float: right; + display: block; + text-align: end; + padding: 5px; + text-decoration: none; +} + +#navbar a:hover { + color: #D0A7DF +} + diff --git a/template-index.html b/template-index.html index a30c565..490e96c 100644 --- a/template-index.html +++ b/template-index.html @@ -11,6 +11,10 @@ +

{{introduction-heading}}

{{introduction-subheading}}