diff --git a/data_visualization/css/base.css b/data_visualization/css/base.css new file mode 100644 index 0000000..6dead44 --- /dev/null +++ b/data_visualization/css/base.css @@ -0,0 +1,92 @@ +:root { + /* Farbvariablen */ + --primary: #2b7a78; + --accent: #3aafa9; + --background: #f4f4f4; + --text-color: #222; + --muted-text: #555; + + /* Typografie und Abstände */ + --font-base: 'Arial', sans-serif; + --font-size-base: 16px; + --line-height-base: 1.5; + --spacing-xs: 0.25rem; + --spacing-sm: 0.5rem; + --spacing-md: 1rem; + --spacing-lg: 2rem; + + /* Breakpoints */ + --breakpoint-sm: 640px; + --breakpoint-md: 1024px; +} + +/* === Base Reset and Variables === */ +html { + box-sizing: border-box; + font-size: var(--font-size-base); + scroll-behavior: smooth; +} + +*, *::before, *::after { + box-sizing: inherit; + margin: 0; + padding: 0; +} + +body { + margin: 0; + padding: 0; + font-family: var(--font-base); + line-height: var(--line-height-base); + color: var(--text-color); + background-color: var(--background); + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +/* === Typography and Layout Base === */ +h1, h2 { + color: var(--primary); + line-height: 1.2; +} + +h1 { + font-size: 2rem; + margin-bottom: var(--spacing-md); +} + +h2 { + font-size: 1.5rem; + margin-bottom: var(--spacing-sm); +} + +p { + font-size: 1rem; + color: var(--muted-text); + margin-bottom: var(--spacing-md); +} + +/* Grundlegendes Layout */ +body { + display: flex; + flex-direction: column; + min-height: 100vh; +} + +main { + flex: 1; + padding: var(--spacing-md); +} + +footer { + text-align: center; + font-size: 0.875rem; + color: var(--muted-text); + padding: var(--spacing-sm) 0; +} + +footer::after { + content: "© 2026 Donau2Space.de"; + display: block; + margin-top: var(--spacing-xs); +} \ No newline at end of file