Files
2026-07-08 16:10:38 +02:00

75 lines
1.9 KiB
CSS

/* Wird für die Webseite allgemein angewendet */
body {
font-family: Noto SansSerif, sans-serif; /* Verwendete Schriftfamilie */
line-height: 1.6; /* erhöhter Zeilenabstand */
color: #333; /* Textfarbe */
max-width: 800px; /* Maximale Breite des Inhalts der Seite */
margin: 0 auto; /* Inhalt wird automatisch mittig angeordnet */
padding: 20px; /* Innenabstand des Body */
}
h1, h2, h3, h4 {
color: deepskyblue;
margin-bottom: 15px; /* Abstand unter der Überschrift */
}
h1 {
color: darkblue;
border-bottom: 2px solid deepskyblue; /* Linie unter der Überschrift */
padding-bottom: 10px; /* Abstand zur Unterlinie */
}
section {
margin-bottom: 30px; /* Abstand unter Abschnitt */
padding: 15px;
background-color: #f8f8f8;
border-radius: 0.7em;
box-shadow: 0 5px 5px 0 rgba(0,0,0,0.1);
}
.info-box{
padding: 10px;
background-color: #f8f8cc;
border-radius: 0.7em;
box-shadow: 0 5px 5px 0 rgba(0,0,0,0.1);
}
.variable{
background-color: rgba(0, 0, 0, 0.1);
padding: .1em .5em;
font-family: "Roboto Light", monospace;
}
.variablen-container {
display: flex;
flex-wrap: wrap;
}
.variablen-container > * {
display: inline;
}
button {
background-color: deepskyblue;
color: white;
border: none;
padding: 1em;
border-radius: 0.7em;
transition: background-color 0.6s ease;
}
button:hover {
background-color: darkblue;
cursor: pointer;
}
.farbwechsel-element {
width: 100px;
height: 100px;
background-color: firebrick;
transition: background-color 0.5s ease;
}
.farbwechsel-element:hover {
background-color: forestgreen;
}