Menu
Public repository / f76bb4dada9e58a4f88f3f0d03d1cd203cdcfc28
AkurAI-Platform / frontend/styles.css
Latest change 27dec3641b699076dd38e17d7e89e5b88a93b0b4 - feat: add EC2 platform gateway by Olafur Bui
:root {
--page: #f7f8fb;
--surface: #ffffff;
--surface-2: #eef2f6;
--ink: #14171c;
--muted: #5d6675;
--line: #d9dee7;
--line-strong: #c1c9d6;
--blue: #335cff;
--green: #18796f;
--orange: #a65012;
--red: #b42318;
--shadow: 0 18px 44px rgba(24, 31, 44, 0.09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
min-height: 100vh;
background: var(--page);
color: var(--ink);
font: 15px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; }
.topbar {
position: sticky;
top: 0;
z-index: 20;
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
padding: 14px 28px;
border-bottom: 1px solid var(--line);
background: rgba(255, 255, 255, 0.92);
backdrop-filter: blur(10px);
}
.brand {
display: inline-flex;
align-items: center;
gap: 10px;
color: var(--ink);
font-weight: 720;
}
.brand:hover { text-decoration: none; }
.brand-mark {
display: inline-grid;
place-items: center;
width: 28px;
height: 28px;
border-radius: 7px;
background: var(--ink);
color: #fff;
font-size: 14px;
}
.nav-links { display: flex; flex-wrap: wrap; gap: 16px; }
.nav-links a { color: var(--muted); font-size: 13px; font-weight: 650; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.hero-band {
background: linear-gradient(180deg, #ffffff 0%, #eef2f6 100%);
border-bottom: 1px solid var(--line);
}
.hero-grid {
width: min(1160px, calc(100% - 40px));
min-height: 520px;
margin: 0 auto;
display: grid;
grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.8fr);
gap: 44px;
align-items: center;
padding: 60px 0 70px;
}
.eyebrow {
margin: 0 0 12px;
color: var(--green);
text-transform: uppercase;
letter-spacing: 0;
font-size: 12px;
font-weight: 800;
}
.hero-copy h1 {
margin: 0;
max-width: 720px;
font-size: 56px;
line-height: 1.02;
letter-spacing: 0;
}
.lede {
margin: 18px 0 26px;
max-width: 680px;
color: var(--muted);
font-size: 18px;
}
.hero-actions {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-bottom: 18px;
}
.button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 42px;
padding: 0 18px;
border-radius: 8px;
border: 1px solid var(--line-strong);
font-weight: 750;
font-size: 14px;
}
.button:hover { text-decoration: none; }
.button.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.button.secondary { background: var(--surface); color: var(--ink); }
.health-pill {
display: inline-flex;
align-items: center;
gap: 9px;
min-height: 32px;
padding: 6px 12px;
border: 1px solid var(--line);
border-radius: 999px;
background: var(--surface);
color: var(--muted);
font-size: 13px;
}
.health-pill::before {
content: "";
width: 8px;
height: 8px;
border-radius: 999px;
background: currentColor;
}
.health-pill[data-state="ok"] { color: var(--green); }
.health-pill[data-state="fail"] { color: var(--red); }
.topology {
border: 1px solid var(--line);
border-radius: 8px;
background: var(--surface);
box-shadow: var(--shadow);
padding: 24px;
}
.topology-head {
display: flex;
justify-content: space-between;
align-items: center;
min-height: 72px;
padding: 16px;
border-radius: 8px;
background: #14171c;
color: #fff;
}
.topology-head span {
color: #bfc7d4;
text-transform: uppercase;
font-size: 12px;
font-weight: 800;
}
.topology-head strong { font-size: 24px; }
.topology-lines {
display: grid;
grid-template-columns: repeat(4, 1fr);
height: 56px;
padding: 0 12%;
}
.topology-lines span {
border-left: 1px solid var(--line-strong);
border-bottom: 1px solid var(--line-strong);
}
.topology-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
}
.topology-grid span {
display: grid;
place-items: center;
min-height: 54px;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--surface-2);
font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
color: var(--ink);
font-weight: 750;
}
.metric-band {
background: var(--surface);
border-bottom: 1px solid var(--line);
}
.metrics {
width: min(1160px, calc(100% - 40px));
margin: 0 auto;
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1px;
background: var(--line);
border-left: 1px solid var(--line);
border-right: 1px solid var(--line);
}
.metric {
min-height: 112px;
padding: 24px;
background: var(--surface);
}
.metric strong {
display: block;
font-size: 30px;
line-height: 1;
}
.metric span {
display: block;
margin-top: 8px;
color: var(--muted);
font-size: 13px;
font-weight: 650;
}
.section {
width: min(1160px, calc(100% - 40px));
margin: 0 auto;
padding: 58px 0;
}
.section-head {
max-width: 720px;
margin-bottom: 24px;
}
.section-head h2 {
margin: 0;
font-size: 30px;
letter-spacing: 0;
}
.section-head p:last-child {
margin: 8px 0 0;
color: var(--muted);
}
.service-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
}
.service-card {
display: grid;
grid-template-rows: auto auto 1fr auto;
min-height: 292px;
padding: 18px;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--surface);
box-shadow: 0 10px 26px rgba(24, 31, 44, 0.05);
}
.service-top {
display: flex;
justify-content: space-between;
gap: 12px;
align-items: start;
}
.service-kind {
margin: 0 0 4px;
color: var(--muted);
font-size: 12px;
font-weight: 750;
text-transform: uppercase;
}
.service-card h3 {
margin: 0;
font-size: 19px;
}
.state {
white-space: nowrap;
border-radius: 999px;
padding: 4px 9px;
background: #e7f5f2;
color: var(--green);
font-size: 12px;
font-weight: 800;
}
.service-down .state {
background: #fff1e8;
color: var(--orange);
}
.service-planned .state {
background: #eef2ff;
color: var(--blue);
}
.service-note {
min-height: 44px;
margin: 14px 0;
color: var(--muted);
}
.service-meta {
display: grid;
gap: 8px;
margin: 0;
}
.service-meta div {
min-width: 0;
display: grid;
grid-template-columns: 78px minmax(0, 1fr);
gap: 10px;
}
.service-meta dt {
color: var(--muted);
font-size: 12px;
font-weight: 750;
text-transform: uppercase;
}
.service-meta dd {
min-width: 0;
margin: 0;
overflow-wrap: anywhere;
font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
font-size: 12.5px;
}
.service-link {
min-height: 24px;
margin-top: 16px;
overflow-wrap: anywhere;
font-weight: 700;
}
.service-link a[href=""] {
display: none;
}
.table-section {
border-top: 1px solid var(--line);
}
.table-wrap {
overflow-x: auto;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--surface);
}
table {
width: 100%;
min-width: 720px;
border-collapse: collapse;
}
th, td {
padding: 13px 16px;
border-bottom: 1px solid var(--line);
text-align: left;
}
th {
color: var(--muted);
font-size: 12px;
text-transform: uppercase;
}
td:first-child {
font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
font-weight: 800;
}
tr:last-child td { border-bottom: none; }
.vhost-list {
display: grid;
gap: 8px;
}
.vhost-row {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(150px, 220px) 140px;
gap: 12px;
align-items: center;
min-height: 50px;
padding: 10px 14px;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--surface);
}
.vhost-row span {
min-width: 0;
overflow-wrap: anywhere;
font-weight: 750;
}
.vhost-row code {
color: var(--muted);
overflow-wrap: anywhere;
}
.vhost-row strong {
justify-self: end;
font-size: 12px;
color: var(--green);
text-transform: uppercase;
}
.site-footer {
border-top: 1px solid var(--line);
padding: 28px 20px 36px;
text-align: center;
color: var(--muted);
background: var(--surface);
}
.site-footer p { margin: 4px 0; }
@media (max-width: 940px) {
.hero-grid { grid-template-columns: 1fr; min-height: 0; }
.service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
.topbar { align-items: flex-start; flex-direction: column; padding: 14px 20px; }
.nav-links { gap: 12px; }
.hero-grid, .metrics, .section { width: min(100% - 28px, 1160px); }
.hero-copy h1 { font-size: 38px; }
.topology-grid { grid-template-columns: repeat(2, 1fr); }
.service-grid { grid-template-columns: 1fr; }
.vhost-row { grid-template-columns: 1fr; }
.vhost-row strong { justify-self: start; }
}