colorbox Design angepasst

This commit is contained in:
Borgal
2025-08-16 00:08:39 +02:00
parent 991a6cbb01
commit d1435553d0

View File

@@ -1,6 +1,6 @@
/* --- Basis-Layout-Regeln --- */
body {
background-color: #e6e6e6ff;
background-color: #e6e6e6;
padding-top: 56px !important; /* Korrigiert, um Platz für das Menü zu schaffen */
}
@@ -30,3 +30,20 @@ pre {
'GRAD' 0,
'opsz' 24
}
.color-box {
position: relative;
max-width: 400px;
height: min(100px, 25vw);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), inset 0 2px 4px rgba(255, 255, 255, 0.4);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.color-box:hover {
transform: translateY(-5px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.4);
}
.color-box p {
text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}