summaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorMartial Simon <msimon_fr@hotmail.com>2024-12-25 11:41:54 +0100
committerMartial Simon <msimon_fr@hotmail.com>2024-12-25 11:41:54 +0100
commit549908224395a73ae2be8a7b98bcb7c0b57a3944 (patch)
treea03067f6f2c4a4fffe236410d912a0eb4885df5d /style.css
parentcc515e6d6105f8de9bfc66889cb1640e68fd8aed (diff)
fix: header & typos
Diffstat (limited to 'style.css')
-rw-r--r--style.css26
1 files changed, 18 insertions, 8 deletions
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 {