Loheide-eu-mitarbeiterplatt.../resources/css/app.css
Friederich Loheide f75539e464
Some checks failed
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 4m10s
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 4m14s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 4m7s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 4m20s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 5m12s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 5m7s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 4m49s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 4m57s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m44s
Lange Wörter in Texten umbrechen, breite Tabellen scrollbar
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-26 19:49:19 +00:00

212 lines
6.7 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";
@import "tw-animate-css";
@import "./fonts.css";
@plugin "@tailwindcss/typography";
@custom-variant dark (&:is(.dark *));
/*
* Design-Tokens des Portals.
* Neutrale Flächen, die Markenfarbe nur als Akzent. Die Markenfarbe und ihre
* Abstufungen (--brand, --brand-50 … --brand-950) setzt der Server in
* resources/views/app.blade.php – aus der Einstellung „Erscheinungsbild“.
*/
:root {
--radius: 0.5rem;
--background: #f4f5f7;
--foreground: #1a1d21;
--card: #ffffff;
--card-foreground: #1a1d21;
--popover: #ffffff;
--popover-foreground: #1a1d21;
--muted: #f1f2f4;
--muted-foreground: #5f6670;
--accent: #f1f2f4;
--accent-foreground: #1a1d21;
--secondary: #eef0f2;
--secondary-foreground: #1a1d21;
--border: #e3e5e8;
--input: #d5d8dd;
--destructive: #c62828;
--primary: var(--brand);
--primary-foreground: var(--brand-foreground);
--ring: var(--brand-400);
/* Akzenttext (Links, Kategorien) – auf Weiß gut lesbar. Das Erscheinungsbild
setzt hier bei zu hellen Markenfarben automatisch eine dunklere Stufe. */
--brand-text: var(--brand-600);
/* Zweite Akzentfarbe (optional) – ohne eigene Angabe die Markenfarbe. */
--accent2: var(--brand);
--accent2-foreground: var(--brand-foreground);
--accent2-text: var(--brand-text);
/* Schriften – aus dem Erscheinungsbild, lokal ausgeliefert. */
--font-body: "Inter Variable", ui-sans-serif, system-ui, sans-serif;
--font-heading: var(--font-body);
--brand-soft: var(--brand-50);
--brand-soft-foreground: var(--brand-700);
}
.dark {
--background: #0f1114;
--foreground: #e8eaed;
--card: #171a1e;
--card-foreground: #e8eaed;
--popover: #1c1f24;
--popover-foreground: #e8eaed;
--muted: #22262b;
--muted-foreground: #9aa1ab;
--accent: #22262b;
--accent-foreground: #e8eaed;
--secondary: #22262b;
--secondary-foreground: #e8eaed;
--border: #2a2e34;
--input: #353a41;
--destructive: #ef5350;
--brand-text: var(--brand-300);
--brand-soft: color-mix(in oklab, var(--brand) 22%, transparent);
--brand-soft-foreground: var(--brand-200);
}
@theme inline {
--font-sans: var(--font-body);
--radius-sm: calc(var(--radius) - 4px);
--radius-md: calc(var(--radius) - 2px);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) + 4px);
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-card: var(--card);
--color-card-foreground: var(--card-foreground);
--color-popover: var(--popover);
--color-popover-foreground: var(--popover-foreground);
--color-primary: var(--primary);
--color-primary-foreground: var(--primary-foreground);
--color-secondary: var(--secondary);
--color-secondary-foreground: var(--secondary-foreground);
--color-muted: var(--muted);
--color-muted-foreground: var(--muted-foreground);
--color-accent: var(--accent);
--color-accent-foreground: var(--accent-foreground);
--color-destructive: var(--destructive);
--color-border: var(--border);
--color-input: var(--input);
--color-ring: var(--ring);
--color-brand: var(--brand);
--color-brand-foreground: var(--brand-foreground);
--color-brand-text: var(--brand-text);
--color-accent2: var(--accent2);
--color-accent2-foreground: var(--accent2-foreground);
--color-accent2-text: var(--accent2-text);
--color-brand-soft: var(--brand-soft);
--color-brand-soft-foreground: var(--brand-soft-foreground);
--color-brand-50: var(--brand-50);
--color-brand-100: var(--brand-100);
--color-brand-200: var(--brand-200);
--color-brand-300: var(--brand-300);
--color-brand-400: var(--brand-400);
--color-brand-500: var(--brand-500);
--color-brand-600: var(--brand-600);
--color-brand-700: var(--brand-700);
--color-brand-800: var(--brand-800);
--color-brand-900: var(--brand-900);
--color-brand-950: var(--brand-950);
}
@layer base {
* {
@apply border-border outline-ring/50;
}
body {
@apply bg-background text-foreground antialiased;
font-feature-settings: "cv11", "ss01";
}
h1, h2, h3, h4, .font-heading {
font-family: var(--font-heading);
}
}
/* Fließtext aus dem Editor (Neuigkeiten, Termine) */
.prose {
/* Lange Wörter, Links oder Zeichenketten ohne Leerzeichen umbrechen statt überlaufen */
overflow-wrap: anywhere;
--tw-prose-body: var(--foreground);
--tw-prose-headings: var(--foreground);
--tw-prose-links: var(--brand-text);
--tw-prose-bold: var(--foreground);
--tw-prose-quotes: var(--foreground);
--tw-prose-quote-borders: var(--brand-300);
--tw-prose-bullets: var(--muted-foreground);
--tw-prose-counters: var(--muted-foreground);
--tw-prose-hr: var(--border);
--tw-prose-th-borders: var(--border);
--tw-prose-td-borders: var(--border);
}
/* Anführungszeichen setzt die Redaktion selbst – keine automatischen zusätzlich. */
.prose :where(blockquote p:first-of-type)::before,
.prose :where(blockquote p:last-of-type)::after {
content: none;
}
/* Text in farbigen Boxen des Pagebuilders übernimmt die Farbe der Box. */
.pb-box .prose {
--tw-prose-body: currentColor;
--tw-prose-bold: currentColor;
--tw-prose-links: currentColor;
--tw-prose-bullets: currentColor;
--tw-prose-headings: currentColor;
}
/* Kopfleiste in Markenfarbe oder dunkel (Erscheinungsbild): Tokens nur im Header umstellen. */
header[data-header="brand"] {
--foreground: var(--brand-foreground);
--accent: color-mix(in oklab, var(--brand-foreground) 14%, transparent);
--muted-foreground: color-mix(in oklab, var(--brand-foreground) 75%, transparent);
background: var(--brand);
border-color: transparent;
color: var(--foreground);
}
header[data-header="dark"] {
--foreground: #eef0f2;
--accent: rgb(255 255 255 / 0.1);
--muted-foreground: #a3aab3;
background: #16191d;
border-color: #262a30;
color: var(--foreground);
}
/* Suchfeld in farbiger bzw. dunkler Kopfleiste: halbtransparent statt weiß. */
header[data-header="brand"] input,
header[data-header="dark"] input {
background: color-mix(in oklab, var(--foreground) 14%, transparent);
border-color: transparent;
color: var(--foreground);
}
header[data-header="brand"] input::placeholder,
header[data-header="dark"] input::placeholder {
color: var(--muted-foreground);
}
header[data-header="brand"] .nav-underline,
header[data-header="dark"] .nav-underline {
background: currentColor;
}
/* Tabellen in Inhalten scrollen waagerecht statt die Seite zu verbreitern */
.prose table {
display: block;
max-width: 100%;
overflow-x: auto;
}