Add metrics_visualization/css/base.css
This commit is contained in:
parent
4e731747d8
commit
5506151e8a
1 changed files with 136 additions and 0 deletions
136
metrics_visualization/css/base.css
Normal file
136
metrics_visualization/css/base.css
Normal file
|
|
@ -0,0 +1,136 @@
|
||||||
|
/* ==============================
|
||||||
|
Variables
|
||||||
|
============================== */
|
||||||
|
:root {
|
||||||
|
--color-bg: #f9f9fb;
|
||||||
|
--color-surface: #ffffff;
|
||||||
|
--color-text: #1a1a1a;
|
||||||
|
--color-text-muted: #6e6e6e;
|
||||||
|
--color-accent: #0074d9;
|
||||||
|
--color-warning: #f39c12;
|
||||||
|
--color-error: #e74c3c;
|
||||||
|
|
||||||
|
--font-base: 'Segoe UI', system-ui, sans-serif;
|
||||||
|
--font-size-base: 1rem;
|
||||||
|
--font-size-lg: 1.25rem;
|
||||||
|
--font-size-sm: 0.875rem;
|
||||||
|
|
||||||
|
--spacing-xs: 0.25rem;
|
||||||
|
--spacing-sm: 0.5rem;
|
||||||
|
--spacing-md: 1rem;
|
||||||
|
--spacing-lg: 2rem;
|
||||||
|
--spacing-xl: 4rem;
|
||||||
|
|
||||||
|
--radius-sm: 4px;
|
||||||
|
--radius-md: 8px;
|
||||||
|
--radius-lg: 12px;
|
||||||
|
|
||||||
|
--max-content-width: 1200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==============================
|
||||||
|
Root & Body Setup
|
||||||
|
============================== */
|
||||||
|
html {
|
||||||
|
box-sizing: border-box;
|
||||||
|
font-size: 16px;
|
||||||
|
-webkit-text-size-adjust: 100%;
|
||||||
|
scroll-behavior: smooth;
|
||||||
|
}
|
||||||
|
|
||||||
|
*, *::before, *::after {
|
||||||
|
box-sizing: inherit;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
min-height: 100vh;
|
||||||
|
font-family: var(--font-base);
|
||||||
|
font-size: var(--font-size-base);
|
||||||
|
color: var(--color-text);
|
||||||
|
background-color: var(--color-bg);
|
||||||
|
line-height: 1.5;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
body > main {
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: flex-start;
|
||||||
|
padding: var(--spacing-md);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==============================
|
||||||
|
Typography
|
||||||
|
============================== */
|
||||||
|
|
||||||
|
h1, h2 {
|
||||||
|
font-weight: 600;
|
||||||
|
line-height: 1.2;
|
||||||
|
color: var(--color-text);
|
||||||
|
margin-bottom: var(--spacing-md);
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 1.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 1.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin-bottom: var(--spacing-md);
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-muted {
|
||||||
|
color: var(--color-text-muted);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==============================
|
||||||
|
Utility Layout Elements
|
||||||
|
============================== */
|
||||||
|
|
||||||
|
.container {
|
||||||
|
width: 100%;
|
||||||
|
max-width: var(--max-content-width);
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 0 var(--spacing-md);
|
||||||
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
text-align: center;
|
||||||
|
font-size: var(--font-size-sm);
|
||||||
|
color: var(--color-text-muted);
|
||||||
|
padding: var(--spacing-md);
|
||||||
|
}
|
||||||
|
|
||||||
|
footer::after {
|
||||||
|
content: '© 2026 Donau2Space.de';
|
||||||
|
display: block;
|
||||||
|
margin-top: var(--spacing-sm);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==============================
|
||||||
|
Responsive Adjustments
|
||||||
|
============================== */
|
||||||
|
|
||||||
|
@media (min-width: 640px) {
|
||||||
|
h1 {
|
||||||
|
font-size: 2rem;
|
||||||
|
}
|
||||||
|
h2 {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1024px) {
|
||||||
|
body > main {
|
||||||
|
padding: var(--spacing-lg);
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue