:root { --color-bg: #fdfcfb; --color-text: #1f2320; --color-muted: #5b645d; --color-accent: #3c8a98; --color-accent-contrast: #fff; --color-border: #dcd8d0; --color-card-bg: #ffffff; --radius: 8px; --spacing: 1rem; } @media (prefers-color-scheme: dark) { :root { --color-bg: #16181a; --color-text: #e9e9e6; --color-muted: #a3aba5; --color-accent: #6fc2d1; --color-accent-contrast: #06272b; --color-border: #33372f; --color-card-bg: #1f2321; } } * { box-sizing: border-box; } body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: var(--color-bg); color: var(--color-text); line-height: 1.55; } a { color: var(--color-accent); } a:focus-visible, button:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; } .site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--spacing); padding: var(--spacing) 1.5rem; border-bottom: 1px solid var(--color-border); /* Explicit background instead of inheriting from body: on admin/index.html, Decap's own, later-loading CSS-in-JS overrides body's background color with its light-gray default - our text color here (.site-title, our own class, untouched by Decap) still switches correctly in dark mode though, which resulted in light text on a light background. Found and verified live. */ background: var(--color-bg); } .site-title { display: flex; align-items: center; gap: 0.5rem; font-size: 1.25rem; font-weight: 700; text-decoration: none; color: var(--color-text); } .site-logo { display: block; } .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } /* --- Header: "Suchen" and "Stöbern" --------------------------------- Both open on hover (only on pointer devices that support hover - deliberately not on touch, see media query below), on keyboard focus (:focus-within, e.g. Tab to the search field), or on click/tap (the "is-open" class, toggled by the inline script in baseof.html - the only way on touch devices without hover). The search additionally stays open once it contains a value, even without hover/focus - also driven via "is-open", see script. */ .site-header__actions { display: flex; gap: 1.5rem; align-items: flex-start; } .header-search, .header-browse { position: relative; } .header-toggle { display: inline-block; cursor: pointer; padding: 0.5rem 0.25rem; border: 0; background: transparent; color: var(--color-text); font: inherit; font-weight: 500; font-size: 0.9rem; user-select: none; } .header-toggle:hover, .header-toggle[aria-expanded="true"] { color: var(--color-accent); } /* header-toggle was designed for the Suchen/Stöbern