Add metric_visualization/css/base.css
This commit is contained in:
parent
26a4b37739
commit
9fa608bfe3
1 changed files with 100 additions and 0 deletions
100
metric_visualization/css/base.css
Normal file
100
metric_visualization/css/base.css
Normal file
|
|
@ -0,0 +1,100 @@
|
|||
/* ==============================
|
||||
Root Variables
|
||||
============================== */
|
||||
:root {
|
||||
--color-bg: #f7f8fa;
|
||||
--color-text: #1a1a1a;
|
||||
--color-accent: #005ecb;
|
||||
--color-accent-light: #d6e4ff;
|
||||
--color-warning: #ff9800;
|
||||
--color-error: #d32f2f;
|
||||
--color-success: #388e3c;
|
||||
--spacing-xs: 0.25rem;
|
||||
--spacing-sm: 0.5rem;
|
||||
--spacing-md: 1rem;
|
||||
--spacing-lg: 2rem;
|
||||
--border-radius: 4px;
|
||||
--font-base: 'Segoe UI', Arial, sans-serif;
|
||||
--font-size-base: 1rem;
|
||||
--font-size-sm: 0.875rem;
|
||||
--font-size-lg: 1.25rem;
|
||||
--line-height-base: 1.5;
|
||||
}
|
||||
|
||||
/* ==============================
|
||||
Body Layout
|
||||
============================== */
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
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);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
/* ==============================
|
||||
Typography
|
||||
============================== */
|
||||
h1,
|
||||
h2,
|
||||
p {
|
||||
margin: 0 0 var(--spacing-md) 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2rem;
|
||||
font-weight: 600;
|
||||
color: var(--color-accent);
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 500;
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: var(--font-size-base);
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
/* ==============================
|
||||
Responsive Adjustments
|
||||
============================== */
|
||||
@media (min-width: 640px) {
|
||||
h1 {
|
||||
font-size: 2.25rem;
|
||||
}
|
||||
h2 {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
:root {
|
||||
--font-size-base: 1.0625rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Footer Copyright */
|
||||
footer {
|
||||
margin-top: auto;
|
||||
padding: var(--spacing-md);
|
||||
text-align: center;
|
||||
font-size: var(--font-size-sm);
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
footer::after {
|
||||
content: '© 2026 Donau2Space.de';
|
||||
display: block;
|
||||
margin-top: var(--spacing-sm);
|
||||
opacity: 0.7;
|
||||
}
|
||||
Loading…
Reference in a new issue