AMPERION_Webpage/assets/scss/_typography.scss

96 lines
1.6 KiB
SCSS
Raw Normal View History

2025-07-30 00:35:15 +02:00
// ===========================
// TYPOGRAPHY Schriftarten & Textstile
// ===========================
2025-06-06 18:12:46 +02:00
body {
2025-07-30 00:35:15 +02:00
font-family: 'Open Sans', sans-serif;
font-size: 16px;
line-height: 1.6;
color: #222;
2025-06-06 18:12:46 +02:00
-webkit-font-smoothing: antialiased;
2025-07-30 00:35:15 +02:00
-moz-osx-font-smoothing: grayscale;
2025-06-06 18:12:46 +02:00
}
2025-07-30 00:35:15 +02:00
// ---------------------------
// Überschriften-Stile
// ---------------------------
h1 {
font-size: 3rem; // Größere Hauptüberschrift
font-weight: 600;
line-height: 1.3;
margin-bottom: 1rem;
color: #046e6e;
2025-06-06 18:12:46 +02:00
}
h2 {
2025-07-30 00:35:15 +02:00
font-size: 2rem; // Deutlich kleiner als H1
font-style: italic;
2025-06-06 18:12:46 +02:00
font-weight: 400;
2025-07-30 00:35:15 +02:00
line-height: 1.4;
margin-bottom: 1rem;
color: #222; // Normale Textfarbe
}
2025-07-30 00:35:15 +02:00
h3 {
font-size: 1.5rem;
font-weight: normal;
line-height: 1.6;
margin-bottom: 1rem;
color: inherit; // wie Fließtext
2025-06-06 18:12:46 +02:00
}
2025-07-30 00:35:15 +02:00
// ---------------------------
// Textausrichtung
// ---------------------------
2025-06-06 18:12:46 +02:00
2025-07-30 00:35:15 +02:00
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-justify { text-align: justify; }
2025-06-06 18:12:46 +02:00
2025-07-30 00:35:15 +02:00
// ---------------------------
// Text-Elemente
// ---------------------------
2025-06-06 18:12:46 +02:00
2025-07-30 00:35:15 +02:00
strong, b {
font-weight: 700;
2025-06-06 18:12:46 +02:00
}
2025-07-30 00:35:15 +02:00
em, i {
font-style: italic;
2025-06-06 18:12:46 +02:00
}
2025-07-30 00:35:15 +02:00
p {
margin-bottom: 1.25rem;
2025-06-06 18:12:46 +02:00
}
2025-07-30 00:35:15 +02:00
// ---------------------------
// Listen
// ---------------------------
ul, ol {
padding-left: 1.5rem;
margin-bottom: 1.5rem;
}
li {
margin-bottom: 0.5rem;
line-height: 1.6;
}
// ---------------------------
// Links
// ---------------------------
a {
color: #046e6e;
text-decoration: none;
transition: color 0.3s ease;
}
a:hover {
color: #F5A623;
text-decoration: underline;
2025-06-06 18:12:46 +02:00
}