homelab component css improvements

This commit is contained in:
2026-02-10 20:29:41 -03:00
parent ed7a82b44e
commit 5100002013

View File

@@ -70,10 +70,62 @@
width: 100%; width: 100%;
height: 100%; height: 100%;
z-index: -1; z-index: -1;
/* background: linear-gradient(45deg, #1a1a2e, #16213e, #0f3460, #000000, #53354a, #800080); */ background:
background: linear-gradient(45deg, #1a1a2e44, #0f346066, #000000, #3e085e66, #80008022); radial-gradient(120% 140% at 10% 10%, rgba(90, 210, 255, 0.18) 0%, rgba(6, 18, 38, 0.0) 45%),
background-size: 400% 400%; radial-gradient(140% 160% at 90% 10%, rgba(142, 86, 255, 0.16) 0%, rgba(10, 6, 24, 0.0) 50%),
animation: gradient-animation 50s ease infinite; radial-gradient(160% 180% at 50% 100%, rgba(255, 77, 156, 0.12) 0%, rgba(12, 8, 20, 0.0) 55%),
linear-gradient(135deg, rgba(10, 14, 30, 0.95) 0%, rgba(12, 22, 44, 0.9) 40%, rgba(14, 10, 36, 0.9) 100%);
background-size: 160% 160%, 170% 170%, 180% 180%, 100% 100%;
animation: homelab-aurora 12s ease-in-out infinite;
filter: saturate(1.15) contrast(1.05);
}
.homelab-background::after {
content: "";
position: absolute;
inset: -20% -10%;
background:
repeating-linear-gradient(
120deg,
rgba(120, 220, 255, 0.06) 0px,
rgba(120, 220, 255, 0.06) 1px,
rgba(10, 12, 24, 0.0) 1px,
rgba(10, 12, 24, 0.0) 10px
),
radial-gradient(60% 60% at 70% 30%, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.0) 60%);
mix-blend-mode: screen;
opacity: 0.55;
animation: homelab-grid 30s linear infinite;
pointer-events: none;
}
.homelab-background::before {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(80% 80% at 50% 50%, rgba(8, 12, 24, 0.0) 0%, rgba(8, 12, 24, 0.45) 70%, rgba(8, 12, 24, 0.75) 100%);
pointer-events: none;
}
@keyframes homelab-aurora {
0% {
background-position: 0% 50%, 100% 40%, 50% 100%, 0% 0%;
}
50% {
background-position: 80% 40%, 20% 50%, 60% 80%, 0% 0%;
}
100% {
background-position: 0% 50%, 100% 40%, 50% 100%, 0% 0%;
}
}
@keyframes homelab-grid {
0% {
transform: translate3d(0, 0, 0);
}
100% {
transform: translate3d(6%, 0, 0);
}
} }
@keyframes gradient-animation { @keyframes gradient-animation {
@@ -108,10 +160,22 @@
animation: gradient-animation 25s ease infinite; animation: gradient-animation 25s ease infinite;
} }
.homelab-buttons { .homelab-buttons {
display: flex; display: flex;
gap: 16px; gap: 16px;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: center;
}
.homelab-buttons > a.homelab-btn {
display: flex;
align-items: center;
justify-content: center;
padding: 10px 16px;
border: 1px solid rgba(255, 255, 255, 0.10);
border-radius: 12px;
color: #ffffff;
font-weight: 600;
text-decoration: none;
transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
} }