Fix weisser Streifen zwischen FAQ-Section und Footer
Wurzel: cookie-consent.css enthielt aus einer Demo-Page geerbtes
"footer { margin-top: 4rem; background: ... }" mit nacktem
Element-Selector. Das schlug auf den echten Site-Footer durch und
erzeugte einen ~64px Margin oben am Footer, durch den der helle
Body-Background (#F5F7FA) sichtbar wurde. Unter dunklen Sections
fiel das nicht auf, unter der neuen FAQ-Section wurde es sichtbar.
- cookie-consent.css: nackter 'footer { ... }'-Block (margin-top, background, padding, text-align) entfernt. footer nav / nav a Reststyles belassen, da sie unseren echten Footer (kein <nav> drin) nicht treffen.
- index.html / en/index.html: defensives '.footer { margin-top: 0; }' im inline-style-Block ergaenzt fuer den Fall, dass die Demo-Regel zurueckkommt.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Dieser Commit ist enthalten in:
@@ -47,13 +47,9 @@ main {
|
|||||||
padding: 0 2rem;
|
padding: 0 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
footer {
|
/* Demo-Page-Reststyles: nackter footer-Selector entfernt, weil er sonst
|
||||||
background: var(--consent-text-dark);
|
ueber alle Seiten den Site-Footer mit fremdem Margin/Background ueberlagert.
|
||||||
color: white;
|
Cookie-Consent-Banner-Styles bleiben unten unveraendert. */
|
||||||
padding: 2rem;
|
|
||||||
text-align: center;
|
|
||||||
margin-top: 4rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
footer nav {
|
footer nav {
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
|
|||||||
@@ -86,6 +86,7 @@
|
|||||||
|
|
||||||
<!-- FAQ-Section Styles (AEO/GEO) -->
|
<!-- FAQ-Section Styles (AEO/GEO) -->
|
||||||
<style>
|
<style>
|
||||||
|
.footer { margin-top: 0; }
|
||||||
.faq-section { background: #0F2240; color: #E6ECF5; padding: 4rem 0; margin: 0; display: block; }
|
.faq-section { background: #0F2240; color: #E6ECF5; padding: 4rem 0; margin: 0; display: block; }
|
||||||
.faq-section .container { max-width: 880px; }
|
.faq-section .container { max-width: 880px; }
|
||||||
.faq-section h2 { color: #E6C77E; text-align: center; margin: 0 0 0.5rem; }
|
.faq-section h2 { color: #E6C77E; text-align: center; margin: 0 0 0.5rem; }
|
||||||
|
|||||||
@@ -86,6 +86,7 @@
|
|||||||
|
|
||||||
<!-- FAQ-Section Styles (AEO/GEO) -->
|
<!-- FAQ-Section Styles (AEO/GEO) -->
|
||||||
<style>
|
<style>
|
||||||
|
.footer { margin-top: 0; }
|
||||||
.faq-section { background: #0F2240; color: #E6ECF5; padding: 4rem 0; margin: 0; display: block; }
|
.faq-section { background: #0F2240; color: #E6ECF5; padding: 4rem 0; margin: 0; display: block; }
|
||||||
.faq-section .container { max-width: 880px; }
|
.faq-section .container { max-width: 880px; }
|
||||||
.faq-section h2 { color: #E6C77E; text-align: center; margin: 0 0 0.5rem; }
|
.faq-section h2 { color: #E6C77E; text-align: center; margin: 0 0 0.5rem; }
|
||||||
|
|||||||
In neuem Issue referenzieren
Einen Benutzer sperren