Rework MischLabs into service dashboard
All checks were successful
Build & Push Docker Image to Gitea Registry / build-and-push (push) Successful in 11s
All checks were successful
Build & Push Docker Image to Gitea Registry / build-and-push (push) Successful in 11s
This commit is contained in:
647
style.css
647
style.css
@@ -1,368 +1,487 @@
|
||||
/* ===== Reset & Base ===== */
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
:root {
|
||||
--bg: #0a0a0f;
|
||||
--surface: #13131a;
|
||||
--surface-hover: #1a1a24;
|
||||
--border: rgba(255, 255, 255, 0.06);
|
||||
--border-hover: rgba(255, 255, 255, 0.12);
|
||||
--text: #e4e4e7;
|
||||
--text-muted: #71717a;
|
||||
--text-dim: #52525b;
|
||||
--radius: 16px;
|
||||
color-scheme: dark;
|
||||
--bg: #070914;
|
||||
--surface: #111624;
|
||||
--surface-2: #171d2d;
|
||||
--surface-hover: #1c2435;
|
||||
--border: rgba(226, 232, 240, 0.1);
|
||||
--border-strong: rgba(226, 232, 240, 0.18);
|
||||
--text: #eef2ff;
|
||||
--muted: #9aa6bd;
|
||||
--dim: #647085;
|
||||
--ok: #34d399;
|
||||
--warn: #fbbf24;
|
||||
--down: #fb7185;
|
||||
--radius: 8px;
|
||||
}
|
||||
|
||||
html {
|
||||
min-height: 100%;
|
||||
font-size: 16px;
|
||||
scroll-behavior: smooth;
|
||||
background: var(--bg);
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||
background: var(--bg);
|
||||
color: var(--text);
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
overflow-x: hidden;
|
||||
position: relative;
|
||||
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||
color: var(--text);
|
||||
background:
|
||||
linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(8, 13, 27, 0.98)),
|
||||
repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 120px);
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
/* ===== Background Glows ===== */
|
||||
.bg-glow {
|
||||
position: fixed;
|
||||
border-radius: 50%;
|
||||
filter: blur(80px);
|
||||
opacity: 0.15;
|
||||
pointer-events: none;
|
||||
z-index: 0;
|
||||
a,
|
||||
button,
|
||||
input {
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.bg-glow-1 {
|
||||
width: 600px;
|
||||
height: 600px;
|
||||
background: #4285f4;
|
||||
top: -200px;
|
||||
left: -100px;
|
||||
button,
|
||||
input {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.bg-glow-2 {
|
||||
width: 500px;
|
||||
height: 500px;
|
||||
background: #a855f7;
|
||||
bottom: -150px;
|
||||
right: -100px;
|
||||
.shell {
|
||||
width: min(1160px, calc(100% - 32px));
|
||||
margin-inline: auto;
|
||||
}
|
||||
|
||||
/* ===== Header ===== */
|
||||
header {
|
||||
text-align: center;
|
||||
padding: 4rem 2rem 2rem;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
.hero {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
gap: 24px;
|
||||
align-items: end;
|
||||
padding: 32px 0 22px;
|
||||
}
|
||||
|
||||
.logo {
|
||||
.brand {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.75rem;
|
||||
margin-bottom: 0.5rem;
|
||||
gap: 16px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.logo-icon {
|
||||
font-size: 2rem;
|
||||
opacity: 0.6;
|
||||
animation: spin 20s linear infinite;
|
||||
.brand-mark {
|
||||
width: 72px;
|
||||
height: 72px;
|
||||
flex: 0 0 auto;
|
||||
border: 1px solid rgba(255, 255, 255, 0.16);
|
||||
border-radius: 8px;
|
||||
object-fit: cover;
|
||||
box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
from { transform: rotate(0deg); }
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2.5rem;
|
||||
.eyebrow,
|
||||
.section-kicker {
|
||||
color: #67e8f9;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.03em;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
h1 span {
|
||||
background: linear-gradient(135deg, #4285f4, #a855f7);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
color: var(--text-muted);
|
||||
font-size: 1rem;
|
||||
font-weight: 400;
|
||||
letter-spacing: 0.05em;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
/* ===== Main Grid ===== */
|
||||
h1 {
|
||||
margin-top: 4px;
|
||||
font-size: clamp(2rem, 6vw, 4.4rem);
|
||||
line-height: 0.95;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
max-width: 560px;
|
||||
margin-top: 10px;
|
||||
color: var(--muted);
|
||||
font-size: clamp(0.95rem, 2vw, 1.05rem);
|
||||
}
|
||||
|
||||
.hero-meta {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(82px, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.metric {
|
||||
min-width: 88px;
|
||||
padding: 13px 14px;
|
||||
background: rgba(17, 22, 36, 0.78);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius);
|
||||
}
|
||||
|
||||
.metric-value {
|
||||
display: block;
|
||||
color: #fff;
|
||||
font-size: 1.05rem;
|
||||
font-weight: 750;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.metric-label {
|
||||
display: block;
|
||||
margin-top: 4px;
|
||||
color: var(--dim);
|
||||
font-size: 0.72rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
}
|
||||
|
||||
main {
|
||||
width: 100%;
|
||||
max-width: 1100px;
|
||||
padding: 2rem;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.control-bar {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 10;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(220px, 360px) 1fr;
|
||||
gap: 12px;
|
||||
align-items: center;
|
||||
padding: 12px 0;
|
||||
backdrop-filter: blur(16px);
|
||||
}
|
||||
|
||||
.search-box {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.search-icon {
|
||||
position: absolute;
|
||||
left: 13px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
color: var(--dim);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.search-box input {
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
padding: 0 14px 0 40px;
|
||||
color: var(--text);
|
||||
background: rgba(17, 22, 36, 0.92);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.search-box input:focus {
|
||||
border-color: rgba(103, 232, 249, 0.45);
|
||||
box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.08);
|
||||
}
|
||||
|
||||
.segments {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 6px;
|
||||
overflow-x: auto;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
.segments::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.segment {
|
||||
min-width: max-content;
|
||||
height: 36px;
|
||||
padding: 0 13px;
|
||||
color: var(--muted);
|
||||
background: rgba(17, 22, 36, 0.78);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.segment.is-active {
|
||||
color: #061014;
|
||||
background: #67e8f9;
|
||||
border-color: #67e8f9;
|
||||
}
|
||||
|
||||
.section {
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
.section[hidden],
|
||||
.service-card[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.section-heading {
|
||||
display: flex;
|
||||
align-items: end;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.section-heading h2 {
|
||||
margin-top: 4px;
|
||||
font-size: 1.08rem;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.section-count {
|
||||
color: var(--dim);
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
|
||||
.grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
|
||||
gap: 1.25rem;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
/* ===== Banner Card (Auth) ===== */
|
||||
.card.card-banner {
|
||||
flex-direction: row !important;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
padding: 0.75rem 1.5rem;
|
||||
margin-bottom: 1.25rem;
|
||||
animation: fadeInUp 0.5s ease backwards;
|
||||
}
|
||||
|
||||
.card.card-banner .card-icon {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.card.card-banner .card-icon svg {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
.card.card-banner .card-content {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.card.card-banner .card-content h2 {
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.card.card-banner .card-content p {
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.card.card-banner .card-domain {
|
||||
border-top: none;
|
||||
padding-top: 0;
|
||||
border-left: 1px solid var(--border);
|
||||
padding-left: 1rem;
|
||||
}
|
||||
|
||||
/* ===== Card ===== */
|
||||
.card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
padding: 1.5rem;
|
||||
background: var(--surface);
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: 48px minmax(0, 1fr);
|
||||
grid-template-rows: auto auto;
|
||||
gap: 12px 14px;
|
||||
min-height: 134px;
|
||||
padding: 16px;
|
||||
color: var(--text);
|
||||
text-decoration: none;
|
||||
background: linear-gradient(180deg, rgba(23, 29, 45, 0.96), rgba(14, 19, 31, 0.96));
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius);
|
||||
text-decoration: none;
|
||||
color: var(--text);
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
isolation: isolate;
|
||||
overflow: visible;
|
||||
touch-action: manipulation;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
|
||||
}
|
||||
|
||||
.card > * {
|
||||
position: relative;
|
||||
z-index: 3;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.card::before {
|
||||
content: '';
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background:
|
||||
radial-gradient(
|
||||
600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
|
||||
rgba(255, 255, 255, 0.03),
|
||||
transparent 40%
|
||||
),
|
||||
var(--surface);
|
||||
opacity: 1;
|
||||
transition: background 0.3s;
|
||||
z-index: 1;
|
||||
border-radius: inherit;
|
||||
background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, transparent), transparent 48%);
|
||||
opacity: 0.4;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.card:hover::before {
|
||||
background:
|
||||
radial-gradient(
|
||||
600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
|
||||
rgba(255, 255, 255, 0.03),
|
||||
transparent 40%
|
||||
),
|
||||
var(--surface-hover);
|
||||
}
|
||||
|
||||
.card::after {
|
||||
content: '';
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: -36px;
|
||||
right: 1.15rem;
|
||||
right: 1.1rem;
|
||||
z-index: 0;
|
||||
width: 78px;
|
||||
height: 62px;
|
||||
background-image: url("data:image/svg+xml,%3Csvg width='96' height='76' viewBox='0 0 96 76' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 31 17 7l22 13 18-1L79 7l-5 24c7 6 11 14 11 23 0 17-16 22-37 22S11 71 11 54c0-9 4-17 11-23Z' fill='%23f7c98f'/%3E%3Cpath d='M24 30 20 13l16 10M72 30l4-17-16 10' fill='%23f09f7f'/%3E%3Cellipse cx='35' cy='45' rx='6.5' ry='7.5' fill='%2325221f'/%3E%3Cellipse cx='61' cy='45' rx='6.5' ry='7.5' fill='%2325221f'/%3E%3Ccircle cx='37' cy='42' r='2.1' fill='%23fff8ef'/%3E%3Ccircle cx='63' cy='42' r='2.1' fill='%23fff8ef'/%3E%3Ccircle cx='33' cy='48' r='1.1' fill='%23fff8ef' opacity='.75'/%3E%3Ccircle cx='59' cy='48' r='1.1' fill='%23fff8ef' opacity='.75'/%3E%3Cpath d='M48 52c-2 0-4 1-4 3s2 3 4 3 4-1 4-3-2-3-4-3Z' fill='%23b65f53'/%3E%3Cpath d='M48 58c-3 5-9 5-12 1M48 58c3 5 9 5 12 1' fill='none' stroke='%2325221f' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M24 51H4M26 58H7M72 51h20M70 58h19' stroke='%2325221f' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M19 31c8-7 18-10 29-10s21 3 29 10' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
opacity: 0;
|
||||
transform: translateY(34px) rotate(-7deg);
|
||||
transition:
|
||||
opacity 0.22s ease,
|
||||
transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
|
||||
z-index: 0;
|
||||
transform: translateY(28px) rotate(-7deg);
|
||||
transition: opacity 0.18s ease, transform 0.24s ease;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.card:hover {
|
||||
border-color: var(--border-hover);
|
||||
transform: translateY(-4px);
|
||||
box-shadow:
|
||||
0 8px 32px rgba(0, 0, 0, 0.3),
|
||||
0 0 0 1px rgba(255, 255, 255, 0.05);
|
||||
z-index: 3;
|
||||
.card:hover,
|
||||
.card:focus-visible {
|
||||
border-color: color-mix(in srgb, var(--accent) 48%, var(--border-strong));
|
||||
background: linear-gradient(180deg, rgba(29, 37, 56, 0.98), rgba(17, 22, 36, 0.98));
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.card:hover::after {
|
||||
.card:hover::after,
|
||||
.card:focus-visible::after {
|
||||
opacity: 1;
|
||||
transform: translateY(-10px) rotate(-7deg);
|
||||
transform: translateY(-9px) rotate(-7deg);
|
||||
}
|
||||
|
||||
.card:focus-visible {
|
||||
outline: 3px solid rgba(103, 232, 249, 0.2);
|
||||
outline-offset: 3px;
|
||||
}
|
||||
|
||||
.card-wide {
|
||||
grid-column: span 1;
|
||||
}
|
||||
|
||||
/* ===== Card Icon ===== */
|
||||
.card-icon {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 12px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: color-mix(in srgb, var(--accent) 15%, transparent);
|
||||
color: var(--accent);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.card:hover .card-icon {
|
||||
background: color-mix(in srgb, var(--accent) 25%, transparent);
|
||||
transform: scale(1.05);
|
||||
background: color-mix(in srgb, var(--accent) 15%, rgba(255, 255, 255, 0.02));
|
||||
border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
|
||||
border-radius: var(--radius);
|
||||
}
|
||||
|
||||
.card-icon svg {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
width: 23px;
|
||||
height: 23px;
|
||||
}
|
||||
|
||||
/* ===== Card Content ===== */
|
||||
.card-content h2 {
|
||||
font-size: 1.15rem;
|
||||
font-weight: 600;
|
||||
.card-content {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.card-content h3 {
|
||||
color: #fff;
|
||||
letter-spacing: -0.01em;
|
||||
font-size: 1.04rem;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.card-content p {
|
||||
font-size: 0.85rem;
|
||||
color: var(--text-muted);
|
||||
margin-top: 0.15rem;
|
||||
margin-top: 4px;
|
||||
color: var(--muted);
|
||||
font-size: 0.86rem;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
/* ===== Card Domain ===== */
|
||||
.card-domain {
|
||||
font-size: 0.75rem;
|
||||
color: var(--text-dim);
|
||||
font-family: 'SF Mono', 'Fira Code', monospace;
|
||||
padding-top: 0.5rem;
|
||||
grid-column: 1 / -1;
|
||||
align-self: end;
|
||||
padding-top: 10px;
|
||||
color: var(--dim);
|
||||
border-top: 1px solid var(--border);
|
||||
transition: color 0.3s;
|
||||
font: 0.74rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.card:hover .card-domain {
|
||||
color: var(--text-muted);
|
||||
.status-dot {
|
||||
position: absolute;
|
||||
top: 14px;
|
||||
right: 14px;
|
||||
z-index: 4;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 999px;
|
||||
background: var(--warn);
|
||||
box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.1);
|
||||
}
|
||||
|
||||
/* ===== Footer ===== */
|
||||
footer {
|
||||
margin-top: auto;
|
||||
padding: 3rem 2rem 2rem;
|
||||
.service-card.is-online .status-dot {
|
||||
background: var(--ok);
|
||||
box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.1);
|
||||
}
|
||||
|
||||
.service-card.is-offline .status-dot {
|
||||
background: var(--down);
|
||||
box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.1);
|
||||
}
|
||||
|
||||
.empty-state {
|
||||
margin: 32px 0;
|
||||
padding: 18px;
|
||||
color: var(--muted);
|
||||
text-align: center;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
background: rgba(17, 22, 36, 0.72);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius);
|
||||
}
|
||||
|
||||
footer p {
|
||||
color: var(--text-dim);
|
||||
.footer {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
padding: 28px 0 32px;
|
||||
color: var(--dim);
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
/* ===== Responsive ===== */
|
||||
@media (max-width: 768px) {
|
||||
.bg-glow {
|
||||
display: none;
|
||||
@media (max-width: 900px) {
|
||||
.hero {
|
||||
grid-template-columns: 1fr;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
header {
|
||||
padding: 3rem 1.5rem 1.5rem;
|
||||
.hero-meta {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2rem;
|
||||
.control-bar {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
main {
|
||||
padding: 1rem;
|
||||
.segments {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.grid {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 0.75rem;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 620px) {
|
||||
.shell {
|
||||
width: min(100% - 24px, 1160px);
|
||||
}
|
||||
|
||||
.hero {
|
||||
padding-top: 22px;
|
||||
}
|
||||
|
||||
.brand {
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.brand-mark {
|
||||
width: 58px;
|
||||
height: 58px;
|
||||
}
|
||||
|
||||
.hero-meta {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.metric {
|
||||
min-width: 0;
|
||||
padding: 11px 10px;
|
||||
}
|
||||
|
||||
.metric-value {
|
||||
font-size: 0.94rem;
|
||||
}
|
||||
|
||||
.grid {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.card {
|
||||
padding: 1.25rem;
|
||||
animation: none;
|
||||
transition:
|
||||
border-color 0.2s ease,
|
||||
background-color 0.2s ease,
|
||||
box-shadow 0.2s ease;
|
||||
min-height: 112px;
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
.card-icon {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 10px;
|
||||
.section-heading {
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.card-icon svg {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
.section-count {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.card-banner {
|
||||
margin-bottom: 0.75rem;
|
||||
.footer {
|
||||
flex-direction: column;
|
||||
padding-bottom: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -376,49 +495,13 @@ footer p {
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.card-banner {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.card-banner .card-domain {
|
||||
border-left: none;
|
||||
padding-left: 0;
|
||||
border-top: 1px solid var(--border);
|
||||
padding-top: 0.5rem;
|
||||
}
|
||||
.grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 1.75rem;
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
scroll-behavior: auto !important;
|
||||
transition-duration: 0.01ms !important;
|
||||
animation-duration: 0.01ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* ===== Animations ===== */
|
||||
@keyframes fadeInUp {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(20px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.card {
|
||||
animation: fadeInUp 0.5s ease backwards;
|
||||
}
|
||||
|
||||
.card:nth-child(1) { animation-delay: 0.05s; }
|
||||
.card:nth-child(2) { animation-delay: 0.1s; }
|
||||
.card:nth-child(3) { animation-delay: 0.15s; }
|
||||
.card:nth-child(4) { animation-delay: 0.2s; }
|
||||
.card:nth-child(5) { animation-delay: 0.25s; }
|
||||
.card:nth-child(6) { animation-delay: 0.3s; }
|
||||
.card:nth-child(7) { animation-delay: 0.35s; }
|
||||
.card:nth-child(8) { animation-delay: 0.4s; }
|
||||
.card:nth-child(9) { animation-delay: 0.45s; }
|
||||
|
||||
Reference in New Issue
Block a user