diff --git a/results_visualization/css/base.css b/results_visualization/css/base.css new file mode 100644 index 0000000..cde707b --- /dev/null +++ b/results_visualization/css/base.css @@ -0,0 +1,105 @@ +:root { + /* Farbvariablen */ + --color-bg: #ffffff; + --color-bg-alt: #f7f9fb; + --color-text: #1c1c1e; + --color-accent: #276ef1; + --color-muted: #6c6c70; + + /* Abstände und Layout */ + --spacing-xs: 0.25rem; + --spacing-sm: 0.5rem; + --spacing-md: 1rem; + --spacing-lg: 2rem; + --radius-md: 6px; + + /* Typographie */ + --font-base: 'system-ui', sans-serif; + --font-size-sm: 0.875rem; + --font-size-md: 1rem; + --font-size-lg: 1.25rem; + --line-height-base: 1.5; + + /* Breakpoints */ + --bp-sm: 640px; + --bp-md: 1024px; +} + +/* Reset und Basislayout */ +*, *::before, *::after { + box-sizing: border-box; + margin: 0; + padding: 0; +} + +html { + font-size: 16px; + -webkit-text-size-adjust: 100%; +} + +body { + font-family: var(--font-base); + color: var(--color-text); + background-color: var(--color-bg); + line-height: var(--line-height-base); + min-height: 100vh; + display: flex; + flex-direction: column; +} + +/* Typographie-Stile */ +h1, h2, h3 { + color: var(--color-text); + line-height: 1.2; + margin-bottom: var(--spacing-md); + font-weight: 600; +} + +h1 { + font-size: 2rem; +} + +h2 { + font-size: 1.5rem; +} + +h3 { + font-size: 1.25rem; +} + +p { + font-size: var(--font-size-md); + margin-bottom: var(--spacing-md); + color: var(--color-muted); + line-height: 1.6; +} + +@media (min-width: var(--bp-md)) { + h1 { + font-size: 2.5rem; + } + h2 { + font-size: 2rem; + } + h3 { + font-size: 1.5rem; + } + p { + font-size: 1rem; + } +} + +/* Footer Copyright */ +footer { + margin-top: auto; + text-align: center; + padding: var(--spacing-md); + font-size: var(--font-size-sm); + color: var(--color-muted); +} + +footer::after { + content: '© 2026 Donau2Space.de'; + display: block; + margin-top: var(--spacing-sm); +} \ No newline at end of file