Add results_visualization/css/base.css
This commit is contained in:
parent
44d7155444
commit
b6d7f4ae78
1 changed files with 115 additions and 0 deletions
115
results_visualization/css/base.css
Normal file
115
results_visualization/css/base.css
Normal file
|
|
@ -0,0 +1,115 @@
|
|||
:root {
|
||||
/* Farbvariablen */
|
||||
--color-bg: #f5f5f5;
|
||||
--color-surface: #ffffff;
|
||||
--color-primary: #2a7ae2;
|
||||
--color-secondary: #888;
|
||||
--color-text: #222;
|
||||
--color-accent: #e27a2a;
|
||||
|
||||
/* Typografie */
|
||||
--font-base: 'Segoe UI', Arial, sans-serif;
|
||||
--font-size-base: 16px;
|
||||
--line-height-base: 1.5;
|
||||
|
||||
/* Spacing */
|
||||
--spacing-xs: 0.25rem;
|
||||
--spacing-sm: 0.5rem;
|
||||
--spacing-md: 1rem;
|
||||
--spacing-lg: 2rem;
|
||||
--spacing-xl: 4rem;
|
||||
|
||||
/* Breakpoints */
|
||||
--breakpoint-sm: 640px;
|
||||
--breakpoint-md: 1024px;
|
||||
--breakpoint-lg: 1440px;
|
||||
}
|
||||
|
||||
/* Reset und Grundlayout */
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: var(--font-base);
|
||||
font-size: var(--font-size-base);
|
||||
line-height: var(--line-height-base);
|
||||
color: var(--color-text);
|
||||
background-color: var(--color-bg);
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
/* Typografie */
|
||||
h1 {
|
||||
font-size: 2rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: var(--spacing-md);
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 500;
|
||||
margin-bottom: var(--spacing-sm);
|
||||
color: var(--color-accent);
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: var(--spacing-md);
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.text-muted {
|
||||
color: var(--color-secondary);
|
||||
}
|
||||
|
||||
/* Utility Klassen */
|
||||
.flex-row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.flex-col {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none !important; /* Wichtig um dynamisch UI-Elemente auszublenden */
|
||||
}
|
||||
|
||||
/* Responsive Anpassungen */
|
||||
@media (min-width: var(--breakpoint-sm)) {
|
||||
h1 {
|
||||
font-size: 2.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: var(--breakpoint-md)) {
|
||||
h1 {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
h2 {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Footer Hinweis */
|
||||
footer {
|
||||
margin-top: auto;
|
||||
text-align: center;
|
||||
padding: var(--spacing-md);
|
||||
font-size: 0.875rem;
|
||||
color: var(--color-secondary);
|
||||
}
|
||||
|
||||
footer::after {
|
||||
content: "© 2026 Donau2Space.de";
|
||||
display: block;
|
||||
margin-top: var(--spacing-xs);
|
||||
}
|
||||
Loading…
Reference in a new issue