First Implementation

This commit is contained in:
caroschulte02-alt
2026-05-13 00:56:04 +02:00
parent d2a4c14c88
commit c6e7cdf95c
+61 -46
View File
@@ -1,64 +1,79 @@
/* ====================================
1. SCHRIFT & HINTERGRUND
==================================== */
/* 1. SCHRIFTART & HINTERGRUND */
body {
/* Deine gewünschte Schriftart */
font-family: Arial, Helvetica, sans-serif;
/* Hintergrundfarbe der Seite */
background-color: #eef2ff;
/* Standard-Textfarbe */
color: #1f2937;
line-height: 1.6;
background-color: #f0f4f8; /* Heller, sauberer Hintergrund */
color: #333;
margin: 0;
padding: 20px;
display: flex;
flex-direction: column;
min-height: 100vh;
}
/* ====================================
2. BUTTON STYLING (Links als Buttons)
==================================== */
/* 2. BUTTONS (in der Nav) */
nav a {
/* Macht aus dem Link eine Box */
display: inline-block;
text-decoration: none;
/* Farben */
background-color: #2563eb;
color: #ffffff;
/* Abstände & Form */
padding: 0.8rem 1.5rem;
border-radius: 8px;
/* Schrift im Button */
background-color: #2563eb; /* Blau */
color: white;
padding: 10px 20px;
border-radius: 5px;
font-weight: bold;
font-size: 1rem;
/* Sanfter Übergang beim Drüberfahren */
transition: background-color 0.3s ease;
transition: background 0.3s;
}
/* Hover-Effekt für die Buttons */
nav a:hover {
background-color: #1d4ed8;
cursor: pointer;
background-color: #1d4ed8; /* Dunkleres Blau bei Hover */
}
/* ====================================
3. FARBEN FÜR ÜBERSCHRIFTEN
==================================== */
h1 {
color: #1e3a8a;
text-align: center;
/* 3. RESPONSIVE NAVIGATION */
nav {
background-color: white;
padding: 1rem;
display: flex;
justify-content: center;
gap: 15px;
border-bottom: 1px solid #ddd;
}
/* ====================================
4. EINFACHER TEXT (p)
==================================== */
p {
color: #374151;
@media (max-width: 600px) {
nav {
flex-direction: column; /* Stapelt Buttons auf Handys */
align-items: center;
}
nav a {
width: 80%; /* Buttons werden auf Handy breiter */
text-align: center;
}
}
/* 4. CONTENT BEREICH (Main) */
main {
flex: 1;
padding: 20px;
max-width: 800px;
margin: 1rem auto;
margin: 0 auto;
}
/* 5. RESPONSIVE FOOTER */
footer {
background-color: #1e293b; /* Dunkles Grau/Blau */
color: white;
padding: 20px;
display: flex;
justify-content: space-around;
flex-wrap: wrap;
gap: 10px;
}
footer a {
color: #fbbf24; /* Akzentfarbe für Links im Footer */
text-decoration: none;
}
@media (max-width: 480px) {
footer {
flex-direction: column;
text-align: center;
}
}