Update main.css

This commit is contained in:
NOrtmann1
2026-05-13 22:49:57 +02:00
parent 2907bcdd67
commit 729b0f08a1
+41 -26
View File
@@ -1,8 +1,9 @@
main { main {
max-width:1200px; max-width:1200px;
margin: 0 auto; margin: 0 auto;
padding: 20px; padding: 20px;
font-family: Arial, sans-serif;
} }
body { body {
@@ -11,15 +12,11 @@ body {
margin: 0; margin: 0;
} }
a, button, input, select, textarea, label, main{
font-family: Arial, Helvetica, sans-serif;
}
.flexbox { .flexbox {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 20px; gap: 20px;
margin-top: 30px; margin-top: 30px;
} }
.container { .container {
@@ -37,15 +34,15 @@ a, button, input, select, textarea, label, main{
} }
.category-link { .category-link {
display: block; display: block;
text-align: left; text-align: left;
text-decoration: none; text-decoration: none;
font-weight: bold; font-weight: bold;
padding: 12px; padding: 12px;
background-color: #2563eb; background-color: #2563eb;
color: white; color: white;
border-radius: 8px; border-radius: 8px;
margin-bottom: 10px; margin-bottom: 10px;
transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s; transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
} }
@@ -69,9 +66,9 @@ a, button, input, select, textarea, label, main{
@media (min-width: 1024px) { @media (min-width: 1024px) {
.container { .container {
padding: 25px; padding: 25px;
} }
} }
/* Seite wird horizontal und vertikal zentriert */ /* Seite wird horizontal und vertikal zentriert */
@@ -128,15 +125,17 @@ a, button, input, select, textarea, label, main{
width: 100%; width: 100%;
padding: 12px; padding: 12px;
margin-bottom: 20px; margin-bottom: 20px;
border: 1px solid white; border: 1px solid #d1d5db;
border-radius: 4px; border-radius: 6px;
box-sizing: border-box; box-sizing: border-box;
font-size: 1rem; font-size: 1rem;
background-color: white;
} }
.login-input:focus { .login-input:focus {
outline: none; outline: none;
border-color: #2563eb; border-color: #2563eb;
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
} }
.checkbox-wrapper { .checkbox-wrapper {
@@ -183,5 +182,21 @@ a, button, input, select, textarea, label, main{
/* Versteckt das doppelte Label fuer Screenreader/Accessibility */ /* Versteckt das doppelte Label fuer Screenreader/Accessibility */
.screenreader-only { .screenreader-only {
display: none; display: none;
}
/* Allgemeine Formularseiten */
.form-page {
display: flex;
justify-content: center;
padding: 40px 20px;
}
.form-container {
width: 90%;
max-width: 600px;
padding: 30px;
background-color: white;
border: 1px solid #dbe3ec;
border-radius: 10px;
box-shadow: 0 6px 20px rgba(0,0,0,0.1);
} }