drop down moblie
This commit is contained in:
105
style.css
Normal file
105
style.css
Normal file
@@ -0,0 +1,105 @@
|
||||
@font-face {
|
||||
font-family: "Roboto";
|
||||
src: url("/fonts/Roboto/Roboto-Regular.ttf");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Orbitron";
|
||||
src: url("/fonts/Orbitron/Orbitron-Black.ttf");
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: "Orbitron";
|
||||
}
|
||||
|
||||
.header-container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.header-image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
object-position: 50% 5%;
|
||||
}
|
||||
|
||||
.container {
|
||||
position: absolute;
|
||||
right: 32px;
|
||||
left: 32px;
|
||||
top: 16px;
|
||||
font-family: Orbitron;
|
||||
font-size: 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.logo {
|
||||
width: calc(15% * 2);
|
||||
}
|
||||
|
||||
.menu-link-home {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
margin-left: 0px;
|
||||
font-size: 50px;
|
||||
}
|
||||
|
||||
.menu-link {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
margin-left: 16px;
|
||||
}
|
||||
|
||||
.menu-link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.headline {
|
||||
text-align: center;
|
||||
color: rgb(0, 0, 0);
|
||||
font-size: 40px;
|
||||
text-shadow: 5px 5px 3px rgba(5, 0, 0, 0.26);
|
||||
}
|
||||
|
||||
.mobile-menu-icon {
|
||||
display: none; /* Standardmäßig ausblenden */
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.menu-links {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
.mobile-menu-icon {
|
||||
display: block; /* Bei kleinen Bildschirmen anzeigen */
|
||||
}
|
||||
|
||||
.menu-links {
|
||||
display: none; /* Bei kleinen Bildschirmen ausblenden */
|
||||
flex-direction: column;
|
||||
position: absolute;
|
||||
top: 80px; /* Passen Sie dies an, um die Position anzupassen */
|
||||
left: 0;
|
||||
background-color: #333; /* Hintergrundfarbe des Menüs */
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.menu-link {
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.menu-links.show {
|
||||
display: flex; /* Bei Klick auf das Symbol anzeigen */
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user