engler-labs/static/css/styles.css

100 lines
1.4 KiB
CSS

* {
margin: 0;
padding: 0;
}
body {
margin: 0;
font-family: Arial, sans-serif;
}
.navbar {
background-color: #333;
color: #fff;
padding-left: 5px;
padding-right: 7px;
position: relative;
z-index: 1000;
}
.navbar-container {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
width: 5%;
height: 5%;
margin-top: 2px;
}
.nav-links {
list-style: none;
display: flex;
gap: 1.5rem;
margin: 1rem;
}
.nav-links a {
color: #fff;
text-decoration: none;
font-size: 1.3rem;
cursor: pointer;
}
.nav-toggle {
display: none;
flex-direction: column;
gap: 5px;
background: none;
border: none;
cursor: pointer;
margin: 20px;
}
.iframe-container {
width: 100%;
height: 100vh;
border: none;
display: block;
}
@media (max-width: 768px) {
.nav-links {
display: none;
flex-direction: column;
gap: 0;
position: absolute;
background-color: #333;
width: 100%;
top: 100%;
left: 0;
margin: 0;
}
.nav-links.active {
display: flex;
}
.nav-toggle {
display: flex;
margin-right: 10px;
}
.nav-links li {
text-align: center;
margin-bottom: 1rem;
}
.nav-links a {
display: block;
width: 100%;
}
.logo {
width: 10%;
height: 10%;
}
}