From 80316e080adae702b118494cdd54a8e91d22d3cd Mon Sep 17 00:00:00 2001 From: caroschulte02-alt Date: Wed, 13 May 2026 16:18:12 +0200 Subject: [PATCH 1/2] First Implementation --- css/main.css | 65 +++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 52 insertions(+), 13 deletions(-) diff --git a/css/main.css b/css/main.css index 9a4ba39..ce386b8 100644 --- a/css/main.css +++ b/css/main.css @@ -3,7 +3,13 @@ main { max-width:1200px; margin: 0 auto; padding: 20px; - font-family: Arial; + font-family: Arial, sans-serif; +} + +body { + background-color: #eef2f7; + color: #1e293b; + margin: 0; } .flexbox { @@ -14,11 +20,17 @@ main { } .container { - border: 1px solid white; - padding: 15px; - border-radius: 8px; - background-color: coral; - transition: transform 0.2s; + background-color: white; + border-radius: 8px; + padding: 15px; + border: 1px solid white; + 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 { @@ -31,11 +43,21 @@ main { color: white; border-radius: 4px; margin-bottom: 10px; + transition: background-color 0.2s; +} + +.category-link:hover { + background-color: #1d4ed8; } .article-link a { - color: blue; - text-decoration: none; + color: #2563eb; + text-decoration: none; + font-weight: bold; +} + +.article-link a:hover { + text-decoration: underline; } @@ -61,6 +83,7 @@ main { border: 1px solid white; border-radius: 10px; background-color: white; + box-shadow: 0 6px 20px rgba(0,0,0,0.1); } .logo-wrapper { @@ -77,12 +100,14 @@ main { text-align: center; margin-bottom: 25px; font-size: 1.5rem; + color: #1e293b; } .input-label { margin-bottom: 5px; font-weight: bold; width: 100%; + color: #334155; } .login-input { @@ -92,10 +117,17 @@ main { border: 1px solid white; border-radius: 4px; box-sizing: border-box; + font-size: 1rem; +} + +.login-input:focus { + outline: none; + border-color: #2563eb; } .checkbox-wrapper { margin-bottom: 20px; + color: #475569; } .login-button { @@ -106,11 +138,13 @@ main { border: none; border-radius: 4px; font-size: 1rem; + font-weight: bold; cursor: pointer; + transition: background-color 0.2s; } .login-button:hover { - background-color: blue; + background-color: #1d4ed8; } .register-link { @@ -118,12 +152,17 @@ main { text-align: center; 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 */ .screenreader-only { display: none; } - -body { - background-color: coral; -} \ No newline at end of file From d497ea4fc34c9b32ef2653b5f5d429c5bbba528e Mon Sep 17 00:00:00 2001 From: caroschulte02-alt Date: Wed, 13 May 2026 16:29:31 +0200 Subject: [PATCH 2/2] First Implementation --- css/main.css | 44 ++++++++++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 14 deletions(-) diff --git a/css/main.css b/css/main.css index ce386b8..8aff67f 100644 --- a/css/main.css +++ b/css/main.css @@ -8,7 +8,7 @@ main { body { background-color: #eef2f7; - color: #1e293b; + color: #1f2937; margin: 0; } @@ -23,7 +23,7 @@ body { background-color: white; border-radius: 8px; padding: 15px; - border: 1px solid white; + border: 1px solid #dbe3ec; box-shadow: 0 4px 12px rgba(0,0,0,0.08); transition: transform 0.2s, box-shadow 0.2s; } @@ -38,25 +38,29 @@ body { text-align: left; text-decoration: none; font-weight: bold; - padding: 10px; - background-color: blue; + padding: 12px; + background-color: #2563eb; color: white; - border-radius: 4px; + border-radius: 8px; margin-bottom: 10px; - transition: background-color 0.2s; + transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s; } .category-link:hover { background-color: #1d4ed8; + transform: translateY(-2px); + box-shadow: 0 4px 10px rgba(0,0,0,0.15); } .article-link a { - color: #2563eb; + color: #1f2937; text-decoration: none; font-weight: bold; + transition: color 0.2s; } .article-link a:hover { + color: #2563eb; text-decoration: underline; } @@ -80,7 +84,7 @@ body { width: 90%; max-width: 450px; padding: 30px; - border: 1px solid white; + border: 1px solid #dbe3ec; border-radius: 10px; background-color: white; box-shadow: 0 6px 20px rgba(0,0,0,0.1); @@ -99,7 +103,7 @@ body { .login-container h1 { text-align: center; margin-bottom: 25px; - font-size: 1.5rem; + font-size: 1.7rem; color: #1e293b; } @@ -107,7 +111,14 @@ body { margin-bottom: 5px; font-weight: bold; width: 100%; - color: #334155; + color: #1f2937; +} + +.input-label { + margin-bottom: 5px; + font-weight: bold; + width: 100%; + color: #1f2937; } .login-input { @@ -127,38 +138,43 @@ body { .checkbox-wrapper { margin-bottom: 20px; - color: #475569; + color: #1f2937; } .login-button { width: 100%; padding: 12px; - background-color: blue; + background-color: #2563eb; color: white; border: none; - border-radius: 4px; + border-radius: 8px; font-size: 1rem; font-weight: bold; cursor: pointer; - transition: background-color 0.2s; + transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s; } .login-button:hover { background-color: #1d4ed8; + transform: translateY(-2px); + box-shadow: 0 4px 10px rgba(0,0,0,0.15); } .register-link { margin-top: 20px; text-align: center; font-size: 0.9rem; + color: #1f2937; } .register-link a { color: #2563eb; text-decoration: none; font-weight: bold; + transition: color 0.2s; } .register-link a:hover { + color: #1d4ed8; text-decoration: underline; }