Files
webprogrammierung/css/main.css
T
caroschulte02-alt d2a4c14c88 First Implementation
2026-05-13 00:54:22 +02:00

64 lines
1.3 KiB
CSS

/* ====================================
1. SCHRIFT & 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;
margin: 0;
padding: 20px;
}
/* ====================================
2. BUTTON STYLING (Links als Buttons)
==================================== */
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 */
font-weight: bold;
font-size: 1rem;
/* Sanfter Übergang beim Drüberfahren */
transition: background-color 0.3s ease;
}
/* Hover-Effekt für die Buttons */
nav a:hover {
background-color: #1d4ed8;
cursor: pointer;
}
/* ====================================
3. FARBEN FÜR ÜBERSCHRIFTEN
==================================== */
h1 {
color: #1e3a8a;
text-align: center;
}
/* ====================================
4. EINFACHER TEXT (p)
==================================== */
p {
color: #374151;
max-width: 800px;
margin: 1rem auto;
}