Files
webprogrammierung/css/main.css
T
caroschulte02-alt 71fc4c8184 First Implementation
2026-05-13 01:07:02 +02:00

63 lines
1.5 KiB
CSS

/* ====================================
PUNKT 3: NAVIGATIONSELEMENTE (UPDATE LOGO)
==================================== */
/* 1. Header & Footer Farbabstimmung */
nav, footer {
background-color: #1e293b; /* Das gewünschte dunkle Navy-Blau */
color: #ffffff;
}
/* 2. Das Logo (Spezial-Button) */
nav a.logo {
display: inline-flex;
align-items: center;
background-color: transparent; /* Kein Hintergrund für das Logo */
padding: 5px;
margin-right: 20px; /* Mehr Platz zu den anderen Buttons */
transition: transform 0.2s ease;
}
/* Logo-Bild vergrößern */
nav a.logo img {
height: 50px; /* Hier die Größe steuern (vorher meist ca. 30px) */
width: auto;
display: block;
}
nav a.logo:hover {
transform: scale(1.05); /* Dezentes Vergrößern beim Hover */
background-color: transparent; /* Verhindert, dass der Hover-Effekt der normalen Buttons greift */
}
/* 3. Die restlichen Navigations-Buttons */
nav a:not(.logo) {
display: inline-block;
text-decoration: none;
background-color: #3b82f6; /* Dein blaues Design */
color: #ffffff;
padding: 10px 18px;
border-radius: 8px;
font-family: sans-serif;
font-weight: 600;
font-size: 0.95rem;
margin: 0 5px;
transition: all 0.2s ease;
}
nav a:not(.logo):hover {
background-color: #60a5fa;
transform: translateY(-2px);
}
/* 4. Spezial-Buttons (Anmelden & Registrieren) */
nav a.login {
background-color: transparent !important;
border: 2px solid #ffffff;
}
nav a.register {
background-color: #ffffff !important;
color: #1e293b !important;
}