- New child theme "seebad": Newsreader + Atkinson Hyperlegible Next (self-hosted), larger base size, tokens chalk white / ink blue / brick / evening blue - Picture world "Ostsee" as inline SVG slots (partials/motif): villa mark, wave bands, shell, gulls, vignettes - Own layout, header (mobile menu as dark panel with call button), footer, banner, mobile booking bar - Sections: hero with arch photo and search box, facts, text_image, location, host, cta in cartouche - Wishes to the application recorded in ZUSAMMENARBEIT.md §5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
126 lines
3.8 KiB
CSS
126 lines
3.8 KiB
CSS
/*
|
||
* Theme „Seebad“ – Child von „ostsee-licht“ (Anleitung: docs/THEME-ERSTELLUNG.md, Konzept: docs/DESIGN-KONZEPT.md, Richtung A).
|
||
* theme-base.css des Eltern-Themes bringt Token-Mapping, Formular-Grundstile und Basis-Klassen; hier stehen nur Abweichungen.
|
||
*/
|
||
@import 'tailwindcss';
|
||
@import '../ostsee-licht/theme-base.css';
|
||
|
||
/* Selbst gehostete Schriften: Newsreader (Überschriften, Zitate), Atkinson Hyperlegible Next (Text, Bedienung). */
|
||
@import '@fontsource/newsreader/400.css';
|
||
@import '@fontsource/newsreader/400-italic.css';
|
||
@import '@fontsource/newsreader/500.css';
|
||
@import '@fontsource/atkinson-hyperlegible-next/400.css';
|
||
@import '@fontsource/atkinson-hyperlegible-next/600.css';
|
||
|
||
/* Vorlagen, deren Klassen gebaut werden: geerbte, Buchungsformulare, eigene. */
|
||
@source '../ostsee-licht/views';
|
||
@source '../../views/livewire';
|
||
@source './views';
|
||
|
||
@theme inline {
|
||
--font-display: 'Newsreader', Georgia, serif;
|
||
--font-sans: 'Atkinson Hyperlegible Next', ui-sans-serif, system-ui, sans-serif;
|
||
}
|
||
|
||
/*
|
||
* Bildwelt „Ostsee“ (motifs/*.svg, inline über partials/motif): Navy folgt der Textfarbe, damit die Grafiken in
|
||
* dunklen Erscheinungsbildern sichtbar bleiben; die Fassade folgt den Flächen.
|
||
*/
|
||
:root {
|
||
--brand-navy: var(--ink);
|
||
--brand-paper: var(--surface);
|
||
--brand-reed: #c9a15e;
|
||
--brand-brick: #a63a2b;
|
||
}
|
||
|
||
@layer base {
|
||
body {
|
||
font-size: 1.125rem;
|
||
line-height: 1.65;
|
||
}
|
||
|
||
@media (min-width: 64rem) {
|
||
body {
|
||
font-size: 1.1875rem;
|
||
}
|
||
}
|
||
|
||
input:not([type='checkbox']):not([type='radio']),
|
||
select,
|
||
textarea {
|
||
min-height: 3rem;
|
||
border-color: var(--muted);
|
||
border-radius: 0.375rem;
|
||
}
|
||
}
|
||
|
||
@layer components {
|
||
/* Kleine Überschrift in normaler Schreibweise statt gesperrter Großbuchstaben (besser lesbar). */
|
||
.eyebrow {
|
||
@apply mb-3 text-base font-semibold tracking-normal text-accent normal-case;
|
||
}
|
||
|
||
.heading-display {
|
||
@apply font-display text-[2.375rem] leading-[1.1] font-normal tracking-[-0.01em] sm:text-5xl;
|
||
}
|
||
|
||
.btn-primary {
|
||
@apply inline-flex min-h-12 items-center justify-center rounded-md bg-ink px-6 py-3 text-base font-semibold text-ground transition hover:opacity-90;
|
||
}
|
||
|
||
.btn-accent {
|
||
@apply inline-flex min-h-12 items-center justify-center rounded-md bg-accent px-6 py-3 text-base font-semibold text-accent-ink transition hover:opacity-90;
|
||
}
|
||
|
||
.btn-outline {
|
||
@apply inline-flex min-h-12 items-center justify-center rounded-md border-2 border-current px-6 py-3 text-base font-semibold transition hover:bg-ink/5;
|
||
}
|
||
|
||
.prose-theme {
|
||
@apply max-w-[68ch];
|
||
}
|
||
|
||
/* Titelbild mit Bogen (Fensterbogen der Bäderarchitektur) – bewusst nur hier eingesetzt. */
|
||
.arch {
|
||
border-radius: 50% 50% 0.25rem 0.25rem / 7.5rem 7.5rem 0.25rem 0.25rem;
|
||
}
|
||
|
||
@media (min-width: 64rem) {
|
||
.arch {
|
||
border-radius: 50% 50% 0.25rem 0.25rem / 11rem 11rem 0.25rem 0.25rem;
|
||
}
|
||
}
|
||
|
||
/* Kartusche: Doppelrahmen mit Muschel als Kopf. */
|
||
.cartouche {
|
||
@apply relative border-2 border-ink bg-surface outline outline-1 -outline-offset-[10px] outline-[var(--brand-reed)];
|
||
}
|
||
}
|
||
|
||
/* Ruhige Bewegung der Bildwelt – nur ohne „Bewegung reduzieren“. */
|
||
@media (prefers-reduced-motion: no-preference) {
|
||
.motif-drift {
|
||
animation: motif-drift 16s ease-in-out infinite alternate;
|
||
}
|
||
|
||
.motif-glide {
|
||
animation: motif-glide 22s ease-in-out infinite;
|
||
}
|
||
|
||
@keyframes motif-drift {
|
||
from {
|
||
transform: translateX(-1.5rem);
|
||
}
|
||
|
||
to {
|
||
transform: translateX(1.5rem);
|
||
}
|
||
}
|
||
|
||
@keyframes motif-glide {
|
||
50% {
|
||
transform: translate(2.5rem, -0.6rem);
|
||
}
|
||
}
|
||
}
|