Das CSS-Variables-System wurde erfolgreich überarbeitet und implementiert. Die wichtigsten Verbesserungen sind:
Konsistentes Spacing-System: Mathematische Skala basierend auf --space-unit (0.25rem) Logische Abstufungen von xxs bis xxxl Responsive Anpassungen über Container-Padding und Section-Spacing Erweiterte Typografie-Kontrolle: Skalierbare Schriftgrößen basierend auf --font-size-base Definierte Schriftgewichte und Zeilenhöhen Responsive Anpassungen der Basis-Schriftgröße Verbesserte Responsive-Struktur: Breakpoint-Referenzen in Variablen Automatische Anpassungen durch CSS-Variablen Safe-Area-Insets für moderne Geräte Layout-System: Definierte Content-Breiten Z-Index-Skala Einheitliche Border-Radius-Werte Performance-Optimierungen: Hardware-beschleunigte Transitionen Optimierte Animation-Timings Konsistente Transition-Eigenschaften Die Migration wurde schrittweise durchgeführt: variables.css: Neue Basis-Variablen definiert base.css: Grundlegende Typografie und Layout angepasst header.css & header-line.css: Navigation und Header-Elemente optimiert components.css: Alle Komponenten auf neue Variablen umgestellt responsive.css: Breakpoint-spezifische Anpassungen implementiert animations.css: Animationen vereinheitlicht footer.css: Footer-Styles optimiert Das neue System bietet: Bessere Wartbarkeit durch zentrale Steuerung Konsistente Skalierung über alle Breakpoints Flexibilität für zukünftige Anpassungen Volle Kompatibilität mit dem Theme-System
This commit is contained in:
@@ -1,46 +1,47 @@
|
||||
footer {
|
||||
background: var(--bg-card);
|
||||
padding: var(--spacing-xl) var(--spacing-md);
|
||||
margin-top: calc(2 * var(--spacing-xl));
|
||||
padding: var(--space-xl) var(--container-padding);
|
||||
margin-top: var(--space-xxl);
|
||||
border-top: 1px solid var(--border-color);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: var(--spacing-lg);
|
||||
gap: var(--space-lg);
|
||||
}
|
||||
|
||||
.contact-block {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: var(--spacing-lg);
|
||||
margin-bottom: var(--spacing-sm);
|
||||
gap: var(--space-lg);
|
||||
margin-bottom: var(--space-sm);
|
||||
}
|
||||
|
||||
.contact-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--spacing-sm);
|
||||
gap: var(--space-sm);
|
||||
}
|
||||
|
||||
.contact-item i {
|
||||
color: var(--primary);
|
||||
font-size: 1.2rem;
|
||||
font-size: var(--font-size-lg);
|
||||
}
|
||||
|
||||
.contact-item .signal-icon {
|
||||
color: var(--primary);
|
||||
width: 1.2rem;
|
||||
height: 1.2rem;
|
||||
width: var(--font-size-lg);
|
||||
height: var(--font-size-lg);
|
||||
}
|
||||
|
||||
.contact-item a {
|
||||
color: var(--text);
|
||||
text-decoration: none;
|
||||
transition: all 0.3s ease;
|
||||
padding: 0.3rem 0.5rem;
|
||||
border-radius: var(--border-radius);
|
||||
transition: all var(--transition-speed) var(--transition-timing);
|
||||
padding: var(--space-xxs) var(--space-xs);
|
||||
border-radius: var(--radius-sm);
|
||||
background-color: rgba(var(--bg-hover-rgb), 0.4);
|
||||
font-size: var(--font-size-md);
|
||||
}
|
||||
|
||||
.contact-item a:hover {
|
||||
@@ -55,17 +56,17 @@ footer {
|
||||
|
||||
.social-links {
|
||||
display: flex;
|
||||
gap: var(--spacing-lg);
|
||||
gap: var(--space-lg);
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.social-links a {
|
||||
color: var(--text);
|
||||
text-decoration: none;
|
||||
transition: all 0.3s ease;
|
||||
padding: 0.5rem;
|
||||
border-radius: var(--border-radius);
|
||||
font-size: 1.5rem;
|
||||
transition: all var(--transition-speed) var(--transition-timing);
|
||||
padding: var(--space-xs);
|
||||
border-radius: var(--radius-sm);
|
||||
font-size: var(--font-size-xl);
|
||||
background-color: rgba(var(--bg-hover-rgb), 0.4);
|
||||
}
|
||||
|
||||
@@ -77,21 +78,21 @@ footer {
|
||||
|
||||
.legal-links {
|
||||
text-align: center;
|
||||
font-size: 0.95rem;
|
||||
font-size: var(--font-size-sm);
|
||||
color: var(--text-muted);
|
||||
padding-top: var(--spacing-md);
|
||||
padding-top: var(--space-md);
|
||||
}
|
||||
|
||||
.legal-links a {
|
||||
color: var(--text);
|
||||
text-decoration: none;
|
||||
margin: 0 var(--spacing-sm);
|
||||
transition: all 0.3s ease;
|
||||
padding: 0.4rem 0.8rem;
|
||||
border-radius: var(--border-radius);
|
||||
margin: 0 var(--space-sm);
|
||||
transition: all var(--transition-speed) var(--transition-timing);
|
||||
padding: var(--space-xs) var(--space-sm);
|
||||
border-radius: var(--radius-sm);
|
||||
position: relative;
|
||||
background-color: rgba(var(--bg-hover-rgb), 0.4);
|
||||
font-weight: 500;
|
||||
font-weight: var(--font-weight-medium);
|
||||
letter-spacing: 0.2px;
|
||||
}
|
||||
|
||||
@@ -103,7 +104,7 @@ footer {
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
background-color: var(--primary);
|
||||
transition: all 0.3s ease;
|
||||
transition: all var(--transition-speed) var(--transition-timing);
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
@@ -114,5 +115,6 @@ footer {
|
||||
}
|
||||
|
||||
.legal-links a:hover::after {
|
||||
width: calc(100% - 1.6rem);
|
||||
width: calc(100% - var(--space-xl));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user