body-css-anpassungen

This commit is contained in:
NOrtmann1
2026-05-26 10:59:07 +02:00
parent 9e900a3436
commit f77643af44
2 changed files with 4 additions and 4 deletions
-4
View File
@@ -1,13 +1,9 @@
/* FooterGrundlayout */ /* FooterGrundlayout */
footer { footer {
position: relative;
width: 100%; width: 100%;
background: #333d43; background: #333d43;
text-align: center; text-align: center;
padding: 10px 0; padding: 10px 0;
/* Berechnet die Resthöhe: 100% Bildschirmhöhe minus geschätzte Inhaltshöhe */
margin-top: calc(100vh - 400px);
} }
footer a { footer a {
+4
View File
@@ -9,6 +9,10 @@ body {
background-color: #eef2f7; background-color: #eef2f7;
color: #1f2937; color: #1f2937;
margin: 0; margin: 0;
min-height: 100vh;
display: grid;
grid-template-rows: auto 1fr auto; /* Header(auto), Inhalt (bekommt Rest), Footer(auto) */
} }
a, button, input, select, textarea, label, main{ a, button, input, select, textarea, label, main{