Files
fewo-stommer/resources/themes/ostsee-licht/theme.css
T
Lars StommerandClaude Opus 5.5 66e82d61f5 Theme-System mit Basis-Theme Ostsee-Licht, Bausteinen und saisonalen Erscheinungsbildern
- Sites (Domain, Theme, Farben; mehrfähig für weitere Vermieter), Seiten aus Bausteinen mit Menüs, Erscheinungsbilder mit jährlichem Zeitplan, Priorität und signierter Vorschau
- Theme-Kern (app/Themes): Manifest, Registry, Vererbung (Child-Themes), Token-Farben als CSS-Variablen, Bausteinkatalog als Registry (config/themes.php)
- 15 Bausteine: Titelbereich mit Suche, Eckdaten, Text mit Bildern, Galerie, Ausstattung, Lage, Preise, Angebote, Kalender & Anfrage, Bewertungen, Gastgeber, FAQ, Abschluss, Kontakt, Fließtext
- Theme Ostsee-Licht: Layout, Kopf/Fuß, Banner, mobile Buchungsleiste, Lightbox, selbst gehostete Schriften, Reduced Motion
- Seiten Start, Wohnung, Kühlungsborn, Preise & Buchung, Kontakt, Impressum, Datenschutz; Sitemap, robots.txt, JSON-LD
- Admin: Seiten-Baukasten, Erscheinungsbilder, Websites
- Dokumentation docs/THEMES.md inkl. Übergabe für die Design-Sitzung

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 15:04:21 +02:00

147 lines
3.6 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@import 'tailwindcss';
/* Self-hosted fonts (no request to Google – GDPR). */
@import '@fontsource/cormorant-garamond/500.css';
@import '@fontsource/cormorant-garamond/500-italic.css';
@import '@fontsource/cormorant-garamond/600.css';
@import '@fontsource/figtree/400.css';
@import '@fontsource/figtree/500.css';
@import '@fontsource/figtree/600.css';
@source './views';
@source '../../views/livewire';
/*
* Colour tokens come from theme.json and can be changed per site and per appearance; the layout prints them
* as CSS variables. Tailwind classes such as bg-accent or text-muted refer to these variables.
*/
@theme inline {
--color-ground: var(--ground);
--color-surface: var(--surface);
--color-ink: var(--ink);
--color-muted: var(--muted);
--color-line: var(--line);
--color-accent: var(--accent);
--color-accent-ink: var(--accent-ink);
--color-band: var(--band);
--color-band-ink: var(--band-ink);
--color-band-muted: var(--band-muted);
--color-banner: var(--banner);
--color-banner-ink: var(--banner-ink);
--font-display: 'Cormorant Garamond', Georgia, serif;
--font-sans: 'Figtree', ui-sans-serif, system-ui, sans-serif;
}
@layer base {
html {
scroll-behavior: smooth;
}
body {
background: var(--ground);
color: var(--ink);
transition: background-color 0.4s, color 0.4s;
}
input:not([type='checkbox']):not([type='radio']),
select,
textarea {
border-width: 1px;
border-color: var(--line);
padding: 0.6rem 0.8rem;
background-color: var(--surface);
color: var(--ink);
}
input[type='checkbox'] {
width: 1rem;
height: 1rem;
accent-color: var(--accent);
}
:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
}
@layer components {
.eyebrow {
@apply mb-3 text-xs font-semibold tracking-[0.24em] text-accent uppercase;
}
.heading-display {
@apply font-display text-4xl leading-[1.08] font-medium sm:text-[2.875rem];
}
.btn-primary {
@apply inline-flex min-h-11 items-center justify-center rounded-full bg-ink px-6 py-3 text-[15px] font-semibold text-ground transition hover:opacity-90;
}
.btn-accent {
@apply inline-flex min-h-11 items-center justify-center rounded-full bg-accent px-6 py-3 text-[15px] font-semibold text-accent-ink transition hover:opacity-90;
}
.prose-theme {
@apply text-muted;
}
.prose-theme p {
@apply mb-4;
}
.prose-theme ul,
.prose-theme ol {
@apply mb-4 ml-5 list-outside;
}
.prose-theme ul {
@apply list-disc;
}
.prose-theme ol {
@apply list-decimal;
}
.prose-theme a {
@apply text-accent underline;
}
.prose-theme h2,
.prose-theme h3 {
@apply mt-6 mb-2 font-display text-2xl text-ink;
}
}
/* Gentle reveal while scrolling – only where supported and only without "reduce motion". */
@media (prefers-reduced-motion: no-preference) {
@supports (animation-timeline: view()) {
.reveal {
animation: reveal linear both;
animation-timeline: view();
animation-range: entry 0% entry 35%;
}
@keyframes reveal {
from {
opacity: 0;
transform: translateY(24px);
}
}
}
}
@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}
*,
*::before,
*::after {
transition-duration: 0.01ms !important;
animation-duration: 0.01ms !important;
}
}