Commit 022f0d2f authored by Florian Heder's avatar Florian Heder

[FEATURE] Adapt Menu and Header

parent b9a03888
...@@ -27,31 +27,36 @@ body { ...@@ -27,31 +27,36 @@ body {
background: rgb(214, 0, 0); background: rgb(214, 0, 0);
} }
header {
z-index: 10;
background-color: white;
border-bottom: 1px solid #ddd;
}
body { body {
background-color: #F6F6F6; background-color: #F6F6F6;
color: rgb(31, 31, 31); color: rgb(31, 31, 31);
} }
header {
position:absolute;
z-index: 2;
width: 100%;
transition: all 1.5s;
background-color: rgba(255,255,255,0);
}
.sticky { .sticky {
position: fixed; position: fixed;
top: 0; top: 0;
width: 100% width: 100%;
background-color: rgba(255,255,255,0.6);
} }
.sticky+.banner {
margin-top: 120px;
}
.sticky .header-content { .sticky .header-content {
padding: 20px 0; padding: 20px 0;
} }
.header-content { .header-content {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
...@@ -80,11 +85,17 @@ body { ...@@ -80,11 +85,17 @@ body {
} }
#menu a { #menu a {
color: black; color: white;
text-decoration: none; text-decoration: none;
font-size: 1.4em; font-size: 1.4em;
} }
.sticky #menu a {
color: black;
}
.banner { .banner {
height: calc(100svh - 171px); height: calc(100svh - 171px);
min-height: 600px; min-height: 600px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment