From 22e181464463d28c2d494df02d0fba510f725ef9 Mon Sep 17 00:00:00 2001 From: Mika Date: Sun, 26 Apr 2026 02:07:48 +0000 Subject: [PATCH] Add data_visualization/css/base.css --- data_visualization/css/base.css | 89 +++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 data_visualization/css/base.css diff --git a/data_visualization/css/base.css b/data_visualization/css/base.css new file mode 100644 index 0000000..11fc7b4 --- /dev/null +++ b/data_visualization/css/base.css @@ -0,0 +1,89 @@ +/* ============================================= + RESET + --------------------------------------------- */ +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +html { + height: 100%; + font-size: 16px; + scroll-behavior: smooth; +} + +body { + min-height: 100%; +} + +/* ============================================= + VARIABLES + --------------------------------------------- */ +:root { + /* Farbvariablen */ + --color-bg: #0b0c10; + --color-surface: #1f2833; + --color-accent: #45a29e; + --color-text: #c5c6c7; + --color-text-strong: #ffffff; + + /* Typografie */ + --font-base: 'Segoe UI', Arial, sans-serif; + --font-size-base: 1rem; + --font-size-small: 0.875rem; + --line-height-base: 1.5; + + /* Layout-Spacings */ + --spacing-xs: 0.25rem; + --spacing-sm: 0.5rem; + --spacing-md: 1rem; + --spacing-lg: 1.5rem; + --spacing-xl: 2rem; + + /* Breakpoints */ + --bp-sm: 640px; + --bp-md: 1024px; + --bp-lg: 1280px; +} + +/* ============================================= + BODY BASE + --------------------------------------------- */ +body { + display: flex; + flex-direction: column; + align-items: stretch; + justify-content: flex-start; + background-color: var(--color-bg); + color: var(--color-text); + font-family: var(--font-base); + font-size: var(--font-size-base); + line-height: var(--line-height-base); + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +@media (min-width: var(--bp-md)) { + body { + font-size: 1.0625rem; + } +} + +/* ============================================= + FOOTER COPYRIGHT (Global) + --------------------------------------------- */ +footer { + text-align: center; + font-size: var(--font-size-small); + color: var(--color-text); + padding: var(--spacing-sm); + border-top: 1px solid var(--color-surface); +} + +footer::after { + content: '\00A9 2026 Donau2Space.de'; + display: block; + margin-top: var(--spacing-xs); + color: var(--color-text); +} \ No newline at end of file