Add data_visualization/css/base.css
This commit is contained in:
parent
031165b72e
commit
c72100b26e
1 changed files with 112 additions and 0 deletions
112
data_visualization/css/base.css
Normal file
112
data_visualization/css/base.css
Normal file
|
|
@ -0,0 +1,112 @@
|
|||
:root {
|
||||
/* Farbdefinitionen */
|
||||
--color-bg: #f8f9fa;
|
||||
--color-text: #222;
|
||||
--color-accent: #357edd;
|
||||
--color-border: #ddd;
|
||||
|
||||
/* Typografie und Layoutvariablen */
|
||||
--font-base: 'Helvetica Neue', Arial, sans-serif;
|
||||
--font-size-base: 16px;
|
||||
--spacing-xs: 0.25rem;
|
||||
--spacing-sm: 0.5rem;
|
||||
--spacing-md: 1rem;
|
||||
--spacing-lg: 2rem;
|
||||
|
||||
/* Breakpoints */
|
||||
--bp-sm: 640px;
|
||||
--bp-md: 1024px;
|
||||
--bp-lg: 1440px;
|
||||
}
|
||||
|
||||
/* Reset & Grundtypografie */
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 100%;
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--color-bg);
|
||||
color: var(--color-text);
|
||||
font-family: var(--font-base);
|
||||
font-size: var(--font-size-base);
|
||||
line-height: 1.6;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
display: grid;
|
||||
grid-template-rows: auto 1fr auto;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
/* Layoutstruktur */
|
||||
.app-header,
|
||||
.app-main,
|
||||
.app-sidebar,
|
||||
.app-footer {
|
||||
padding: var(--spacing-md);
|
||||
}
|
||||
|
||||
.app-header {
|
||||
background-color: var(--color-accent);
|
||||
color: #fff;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.app-main {
|
||||
display: grid;
|
||||
gap: var(--spacing-md);
|
||||
}
|
||||
|
||||
.app-sidebar {
|
||||
background-color: #fff;
|
||||
border-right: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
.app-footer {
|
||||
background-color: #eee;
|
||||
text-align: center;
|
||||
font-size: 0.875rem;
|
||||
padding: var(--spacing-sm);
|
||||
}
|
||||
|
||||
/* Responsives Grid */
|
||||
@media (min-width: var(--bp-md)) {
|
||||
body {
|
||||
grid-template-columns: 16rem 1fr;
|
||||
grid-template-areas:
|
||||
'header header'
|
||||
'sidebar main'
|
||||
'footer footer';
|
||||
}
|
||||
|
||||
.app-header {
|
||||
grid-area: header;
|
||||
}
|
||||
|
||||
.app-sidebar {
|
||||
grid-area: sidebar;
|
||||
}
|
||||
|
||||
.app-main {
|
||||
grid-area: main;
|
||||
}
|
||||
|
||||
.app-footer {
|
||||
grid-area: footer;
|
||||
}
|
||||
}
|
||||
|
||||
/* Footer-Kennzeichnung */
|
||||
.app-footer::after {
|
||||
content: '© 2026 Donau2Space.de';
|
||||
display: block;
|
||||
margin-top: var(--spacing-sm);
|
||||
color: var(--color-text);
|
||||
opacity: 0.7;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
Loading…
Reference in a new issue