From 5100002013eb8e0f64cae7912356d6f5a16a97aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Henrique?= Date: Tue, 10 Feb 2026 20:29:41 -0300 Subject: [PATCH] homelab component css improvements --- css/sections/homelab.css | 76 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 70 insertions(+), 6 deletions(-) diff --git a/css/sections/homelab.css b/css/sections/homelab.css index 6858ca4..128c056 100644 --- a/css/sections/homelab.css +++ b/css/sections/homelab.css @@ -70,10 +70,62 @@ width: 100%; height: 100%; z-index: -1; - /* background: linear-gradient(45deg, #1a1a2e, #16213e, #0f3460, #000000, #53354a, #800080); */ - background: linear-gradient(45deg, #1a1a2e44, #0f346066, #000000, #3e085e66, #80008022); - background-size: 400% 400%; - animation: gradient-animation 50s ease infinite; + background: + radial-gradient(120% 140% at 10% 10%, rgba(90, 210, 255, 0.18) 0%, rgba(6, 18, 38, 0.0) 45%), + radial-gradient(140% 160% at 90% 10%, rgba(142, 86, 255, 0.16) 0%, rgba(10, 6, 24, 0.0) 50%), + 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 { @@ -108,10 +160,22 @@ animation: gradient-animation 25s ease infinite; } - - .homelab-buttons { display: flex; gap: 16px; 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; } \ No newline at end of file