First Implementation

This commit is contained in:
caroschulte02-alt
2026-05-13 16:18:12 +02:00
parent 503df76d6b
commit 80316e080a
+52 -13
View File
@@ -3,7 +3,13 @@ main {
max-width:1200px; max-width:1200px;
margin: 0 auto; margin: 0 auto;
padding: 20px; padding: 20px;
font-family: Arial; font-family: Arial, sans-serif;
}
body {
background-color: #eef2f7;
color: #1e293b;
margin: 0;
} }
.flexbox { .flexbox {
@@ -14,11 +20,17 @@ main {
} }
.container { .container {
border: 1px solid white; background-color: white;
padding: 15px; border-radius: 8px;
border-radius: 8px; padding: 15px;
background-color: coral; border: 1px solid white;
transition: transform 0.2s; box-shadow: 0 4px 12px rgba(0,0,0,0.08);
transition: transform 0.2s, box-shadow 0.2s;
}
.container:hover {
transform: translateY(-3px);
box-shadow: 0 6px 18px rgba(0,0,0,0.12);
} }
.category-link { .category-link {
@@ -31,11 +43,21 @@ main {
color: white; color: white;
border-radius: 4px; border-radius: 4px;
margin-bottom: 10px; margin-bottom: 10px;
transition: background-color 0.2s;
}
.category-link:hover {
background-color: #1d4ed8;
} }
.article-link a { .article-link a {
color: blue; color: #2563eb;
text-decoration: none; text-decoration: none;
font-weight: bold;
}
.article-link a:hover {
text-decoration: underline;
} }
@@ -61,6 +83,7 @@ main {
border: 1px solid white; border: 1px solid white;
border-radius: 10px; border-radius: 10px;
background-color: white; background-color: white;
box-shadow: 0 6px 20px rgba(0,0,0,0.1);
} }
.logo-wrapper { .logo-wrapper {
@@ -77,12 +100,14 @@ main {
text-align: center; text-align: center;
margin-bottom: 25px; margin-bottom: 25px;
font-size: 1.5rem; font-size: 1.5rem;
color: #1e293b;
} }
.input-label { .input-label {
margin-bottom: 5px; margin-bottom: 5px;
font-weight: bold; font-weight: bold;
width: 100%; width: 100%;
color: #334155;
} }
.login-input { .login-input {
@@ -92,10 +117,17 @@ main {
border: 1px solid white; border: 1px solid white;
border-radius: 4px; border-radius: 4px;
box-sizing: border-box; box-sizing: border-box;
font-size: 1rem;
}
.login-input:focus {
outline: none;
border-color: #2563eb;
} }
.checkbox-wrapper { .checkbox-wrapper {
margin-bottom: 20px; margin-bottom: 20px;
color: #475569;
} }
.login-button { .login-button {
@@ -106,11 +138,13 @@ main {
border: none; border: none;
border-radius: 4px; border-radius: 4px;
font-size: 1rem; font-size: 1rem;
font-weight: bold;
cursor: pointer; cursor: pointer;
transition: background-color 0.2s;
} }
.login-button:hover { .login-button:hover {
background-color: blue; background-color: #1d4ed8;
} }
.register-link { .register-link {
@@ -118,12 +152,17 @@ main {
text-align: center; text-align: center;
font-size: 0.9rem; font-size: 0.9rem;
} }
.register-link a {
color: #2563eb;
text-decoration: none;
font-weight: bold;
}
.register-link a:hover {
text-decoration: underline;
}
/* Versteckt das doppelte Label fuer Screenreader/Accessibility */ /* Versteckt das doppelte Label fuer Screenreader/Accessibility */
.screenreader-only { .screenreader-only {
display: none; display: none;
} }
body {
background-color: coral;
}