First Implementation

This commit is contained in:
caroschulte02-alt
2026-05-13 01:31:50 +02:00
parent e7bc5a5709
commit f1feb4677e
+19 -23
View File
@@ -1,29 +1,26 @@
* {
* {
box-sizing: border-box;
}
/* =========================
Farben (HIGH CONTRAST)
Farben
========================= */
:root {
--bg: #f1f5f9;
--bg: #eef2f7;
--white: #ffffff;
/* Navigation dunkler für mehr Kontrast */
--nav: #0f172a;
--nav-hover: #1e293b;
--nav: #1e293b;
--nav-hover: #334155;
/* kräftigeres Blau */
--primary: #1d4ed8;
--primary-hover: #1e40af;
--primary: #2563eb;
--primary-hover: #1d4ed8;
/* Text deutlich dunkler */
--text: #0b1220;
--text-light: #1f2937;
--text: #1e293b;
--text-light: #64748b;
/* klarere Borders */
--border: #cbd5e1;
--border: #dbe4ee;
}
/* =========================
@@ -64,7 +61,7 @@ nav {
nav a {
text-decoration: none;
color: #f8fafc; /* heller für starken Kontrast */
color: #f1f5f9;
font-weight: 600;
border-radius: 10px;
transition: 0.3s ease;
@@ -72,7 +69,7 @@ nav a {
nav a:hover {
background-color: var(--nav-hover);
color: #ffffff;
color: white;
}
/* =========================
@@ -85,12 +82,10 @@ input[type="search"] {
background-color: white;
font-size: 1rem;
border-radius: 12px;
color: var(--text);
}
input:focus {
border-color: var(--primary);
outline: 3px solid #93c5fd;
}
/* =========================
@@ -106,20 +101,21 @@ button {
cursor: pointer;
border-radius: 12px;
transition: 0.25s ease;
}
/* Hover Bewegung */
button:hover {
background-color: var(--primary-hover);
transform: translateY(-2px);
}
/* Tastatur-Fokus (wichtig für Accessibility) */
button:focus,
nav a:focus {
outline: 3px solid #93c5fd;
outline-offset: 2px;
/* Klick-Effekt */
button:active {
transform: translateY(0px);
}
/* =========================
@@ -165,7 +161,6 @@ a {
a:hover {
color: var(--primary-hover);
text-decoration: underline;
}
/* =========================
@@ -185,3 +180,4 @@ footer a {
footer a:hover {
color: var(--primary);
}
}