eis-website/css/style.css
Theresa Nerz & Tahar Lamred c0544aae3d Dark Mode überall eingebaut
2026-06-02 15:33:34 +00:00

101 lines
1.4 KiB
CSS

{
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: Andalus;
color: #000000;
line-height: 1.6;
background-color:#FFFFFF;
}
nav {
display: flex;
align-items: center;
gap: 1.5rem;
padding: 1rem 2rem;
background: #ffff00;
border-bottom: 1px solid #e2e8f0;
flex-wrap: wrap;
}
nav a {
text-decoration: none;
color: #2563eb;
font-weight: 500;
}
nav a:hover {
text-decoration: underline;
}
.logo {
height: 40px;
}
.galerie {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 1rem;
margin: 1rem 0;
}
.galerie img {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 8px;
cursor: pointer;
transition: transform 0.2s;
}
.galerie img:hover {
transform: scale(1.03);
}
#balken-container {
width: 100%;
height: 20px;
background-color: #e5e7eb;
margin-top: 10px;
}
#balken {
height: 100%;
width: 0;
background-color: green;
transition: width 0.3s ease;
}
/* Dark Mode Button */
.darkmode-button {
margin: 10px;
padding: 8px 16px;
cursor: pointer;
border: none;
background: #333;
color: white;
border-radius: 5px;
}
/* Dark Mode Styles */
.body.dark {
background-color: #121212;
color: #e0e0e0;
}
body.dark header,
body.dark nav {
background-color: #1e1e1e;
}
body.dark input,
body.dark button {
background-color: #333;
color: white;
border: 1px solid #555;
}
body.dark #balken-container {
background-color: #333;
}