fix(css): constrain Impressum + Datenschutz to 1200px container with minimal typografie
This commit is contained in:
@@ -1690,3 +1690,100 @@ nav:not(.scrolled) .locale-switcher__trigger:focus-visible {
|
|||||||
outline: 2px solid #b91c1c;
|
outline: 2px solid #b91c1c;
|
||||||
outline-offset: 2px;
|
outline-offset: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* LEGAL PAGES (Impressum, Datenschutz) */
|
||||||
|
.legal-page {
|
||||||
|
max-width: 1200px;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 6rem 3rem;
|
||||||
|
color: var(--stone-strong);
|
||||||
|
line-height: 1.85;
|
||||||
|
}
|
||||||
|
|
||||||
|
.legal-page h1 {
|
||||||
|
font-family: "Cormorant Garamond", serif;
|
||||||
|
font-size: clamp(2.4rem, 4vw, 3.4rem);
|
||||||
|
font-weight: 300;
|
||||||
|
line-height: 1.1;
|
||||||
|
color: var(--charcoal);
|
||||||
|
margin: 0.5rem 0 2.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.legal-page h2 {
|
||||||
|
font-family: "DM Sans", sans-serif;
|
||||||
|
font-size: 0.78rem;
|
||||||
|
font-weight: 600;
|
||||||
|
letter-spacing: 0.18em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: var(--charcoal);
|
||||||
|
margin: 2.5rem 0 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.legal-page h3 {
|
||||||
|
font-family: "DM Sans", sans-serif;
|
||||||
|
font-size: 0.95rem;
|
||||||
|
font-weight: 600;
|
||||||
|
color: var(--charcoal);
|
||||||
|
margin: 1.5rem 0 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.legal-page p,
|
||||||
|
.legal-page address,
|
||||||
|
.legal-page li {
|
||||||
|
font-size: 0.95rem;
|
||||||
|
line-height: 1.85;
|
||||||
|
color: var(--stone-strong);
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.legal-page ul {
|
||||||
|
list-style: disc;
|
||||||
|
padding-left: 1.5rem;
|
||||||
|
margin: 0.5rem 0 1.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.legal-page ul li {
|
||||||
|
margin-bottom: 0.35rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.legal-page a {
|
||||||
|
color: var(--accent);
|
||||||
|
text-decoration: underline;
|
||||||
|
text-underline-offset: 0.2em;
|
||||||
|
text-decoration-thickness: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.legal-page a:hover {
|
||||||
|
color: var(--accent-light);
|
||||||
|
}
|
||||||
|
|
||||||
|
.legal-divider {
|
||||||
|
border: 0;
|
||||||
|
border-top: 1px solid var(--warm);
|
||||||
|
margin: 2rem 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.legal-back {
|
||||||
|
display: inline-block;
|
||||||
|
margin-top: 3rem;
|
||||||
|
font-family: "DM Sans", sans-serif;
|
||||||
|
font-size: 0.72rem;
|
||||||
|
font-weight: 600;
|
||||||
|
letter-spacing: 0.18em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: var(--accent);
|
||||||
|
text-decoration: none;
|
||||||
|
padding-bottom: 0.25rem;
|
||||||
|
border-bottom: 1px solid currentcolor;
|
||||||
|
transition: color 0.2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.legal-back:hover {
|
||||||
|
color: var(--accent-light);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (width <= 768px) {
|
||||||
|
.legal-page {
|
||||||
|
padding: 4rem 1.5rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user