kitestacks-homelab/apps/kitestacks-portal-test/public/style.css.backup-before-clean-layout

314 lines
6.2 KiB
Text

* {
box-sizing: border-box;
}
:root {
--cyan: #38f8ff;
--blue: #2f7dff;
--pink: #ff3df2;
--purple: #9b5cff;
--glass: rgba(7, 12, 32, 0.62);
--glass-strong: rgba(10, 18, 44, 0.78);
--text: #e9f7ff;
--muted: rgba(226, 241, 255, 0.72);
}
body {
margin: 0;
min-height: 100vh;
font-family: Arial, Helvetica, sans-serif;
color: var(--text);
background:
linear-gradient(180deg, rgba(4, 6, 18, 0.2), rgba(4, 6, 18, 0.92)),
url("/images/cyberpunk-bg.png") center center / cover fixed;
overflow-x: hidden;
}
body::before {
content: "";
position: fixed;
inset: 0;
background:
radial-gradient(circle at 50% 18%, rgba(56, 248, 255, 0.22), transparent 25%),
radial-gradient(circle at 25% 35%, rgba(255, 61, 242, 0.18), transparent 26%),
radial-gradient(circle at 75% 42%, rgba(155, 92, 255, 0.18), transparent 26%),
rgba(0, 0, 20, 0.34);
pointer-events: none;
z-index: 0;
}
body::after {
content: "";
position: fixed;
inset: 0;
background-image:
linear-gradient(rgba(56, 248, 255, 0.045) 1px, transparent 1px),
linear-gradient(90deg, rgba(56, 248, 255, 0.045) 1px, transparent 1px);
background-size: 42px 42px;
mask-image: linear-gradient(to bottom, transparent, black 18%, black 85%, transparent);
pointer-events: none;
z-index: 0;
}
.topbar,
.hero,
.grid,
footer {
position: relative;
z-index: 1;
}
.topbar {
width: min(1500px, calc(100% - 48px));
margin: 22px auto 0;
display: grid;
grid-template-columns: repeat(4, minmax(150px, 1fr)) 130px minmax(220px, 1.2fr);
gap: 12px;
}
.stat,
.weather,
.search {
min-height: 62px;
padding: 12px 14px;
border: 1px solid rgba(56, 248, 255, 0.32);
border-radius: 18px;
background: linear-gradient(145deg, rgba(6, 12, 35, 0.78), rgba(12, 20, 55, 0.5));
box-shadow:
0 0 18px rgba(56, 248, 255, 0.12),
inset 0 0 20px rgba(56, 248, 255, 0.04);
backdrop-filter: blur(14px);
}
.stat {
color: var(--muted);
font-size: 12px;
letter-spacing: 0.12em;
}
.stat b {
display: block;
margin-top: 6px;
color: var(--cyan);
font-size: 18px;
letter-spacing: normal;
text-shadow: 0 0 14px rgba(56, 248, 255, 0.85);
}
.weather {
color: var(--cyan);
font-weight: 800;
text-align: center;
}
.weather span {
color: var(--muted);
font-size: 11px;
letter-spacing: 0.08em;
}
.search {
color: white;
outline: none;
font-size: 15px;
}
.search::placeholder {
color: rgba(226, 241, 255, 0.6);
}
.hero {
width: min(1500px, calc(100% - 48px));
margin: 32px auto 24px;
min-height: 210px;
display: flex;
align-items: center;
justify-content: center;
gap: 24px;
text-align: left;
}
.hero-logo {
width: 128px;
height: 128px;
object-fit: contain;
filter:
drop-shadow(0 0 16px rgba(56, 248, 255, 0.9))
drop-shadow(0 0 32px rgba(255, 61, 242, 0.45));
}
.hero h1 {
margin: 0;
font-size: clamp(58px, 8vw, 132px);
line-height: 0.9;
letter-spacing: -0.08em;
color: #f7fbff;
text-transform: none;
text-shadow:
0 0 10px rgba(56, 248, 255, 0.9),
0 0 26px rgba(47, 125, 255, 0.65),
0 0 44px rgba(255, 61, 242, 0.45);
}
.hero h1 span {
color: var(--cyan);
}
.hero p {
margin: 18px 0 0 8px;
color: rgba(230, 247, 255, 0.78);
letter-spacing: 0.34em;
font-size: 14px;
font-weight: 700;
text-shadow: 0 0 10px rgba(56, 248, 255, 0.65);
}
.grid {
width: min(1500px, calc(100% - 48px));
margin: 0 auto 24px;
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-auto-flow: dense;
gap: 18px;
}
.panel {
min-height: 250px;
padding: 18px;
border-radius: 24px;
border: 1px solid rgba(56, 248, 255, 0.28);
background:
linear-gradient(135deg, rgba(8, 14, 39, 0.82), rgba(19, 8, 48, 0.56)),
radial-gradient(circle at top right, rgba(255, 61, 242, 0.13), transparent 36%),
radial-gradient(circle at bottom left, rgba(56, 248, 255, 0.12), transparent 40%);
box-shadow:
0 0 18px rgba(56, 248, 255, 0.13),
0 0 42px rgba(155, 92, 255, 0.08),
inset 0 0 38px rgba(56, 248, 255, 0.035);
backdrop-filter: blur(18px);
overflow: hidden;
position: relative;
}
.panel::before {
content: "";
position: absolute;
inset: 0;
border-radius: 24px;
padding: 1px;
background: linear-gradient(135deg, rgba(56, 248, 255, 0.7), rgba(255, 61, 242, 0.45), rgba(155, 92, 255, 0.45));
mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
mask-composite: exclude;
pointer-events: none;
}
.panel.wide {
grid-column: span 2;
}
.panel h2 {
margin: 0 0 15px;
color: var(--cyan);
font-size: 15px;
letter-spacing: 0.18em;
text-shadow:
0 0 10px rgba(56, 248, 255, 0.9),
0 0 22px rgba(255, 61, 242, 0.35);
}
.cards {
display: grid;
gap: 11px;
}
.wide .cards {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cards a {
min-height: 68px;
padding: 13px 15px;
text-decoration: none;
color: white;
border-radius: 17px;
border: 1px solid rgba(255, 255, 255, 0.11);
background:
linear-gradient(90deg, rgba(56, 248, 255, 0.13), rgba(255, 61, 242, 0.08)),
rgba(2, 8, 24, 0.44);
box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.03);
display: flex;
flex-direction: column;
justify-content: center;
font-weight: 800;
letter-spacing: 0.02em;
transition: 0.18s ease;
}
.cards a:hover {
transform: translateY(-3px) scale(1.01);
border-color: rgba(56, 248, 255, 0.75);
box-shadow:
0 0 18px rgba(56, 248, 255, 0.28),
0 0 32px rgba(255, 61, 242, 0.16);
}
.cards span {
margin-top: 6px;
color: var(--muted);
font-size: 12px;
font-weight: 500;
letter-spacing: 0.05em;
}
footer {
width: min(1500px, calc(100% - 48px));
margin: 12px auto 30px;
text-align: center;
color: rgba(226, 241, 255, 0.68);
font-size: 12px;
letter-spacing: 0.2em;
text-transform: uppercase;
}
@media (max-width: 1100px) {
.topbar {
grid-template-columns: repeat(2, 1fr);
}
.grid {
grid-template-columns: repeat(2, 1fr);
}
.panel.wide {
grid-column: span 2;
}
}
@media (max-width: 700px) {
.topbar,
.grid,
.hero,
footer {
width: calc(100% - 24px);
}
.topbar,
.grid,
.wide .cards {
grid-template-columns: 1fr;
}
.panel.wide {
grid-column: span 1;
}
.hero {
flex-direction: column;
text-align: center;
}
.hero p {
margin-left: 0;
letter-spacing: 0.18em;
}
}