AstrBot-Desktop/src/styles.css

157 行
2.2 KiB
CSS

:root {
font-family:
Inter,
ui-sans-serif,
system-ui,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
sans-serif;
color: #eef3ff;
background: #08111f;
font-synthesis: none;
text-rendering: optimizeLegibility;
}
* {
box-sizing: border-box;
}
body {
min-width: 320px;
min-height: 100vh;
margin: 0;
background:
radial-gradient(
circle at top left,
rgb(52 98 180 / 35%),
transparent 38rem
),
#08111f;
}
button {
padding: 0.8rem 1.1rem;
border: 1px solid #6aa3ff;
border-radius: 0.75rem;
color: #f7faff;
background: #173766;
cursor: pointer;
}
button:hover {
background: #204b88;
}
.app-shell {
width: min(920px, calc(100% - 2rem));
margin: 0 auto;
padding: 4rem 0;
}
.hero {
margin-bottom: 2rem;
}
.eyebrow {
margin: 0;
color: #8db9ff;
font-weight: 700;
letter-spacing: 0.12em;
text-transform: uppercase;
}
h1 {
margin: 0.4rem 0;
font-size: clamp(2.4rem, 8vw, 5rem);
line-height: 1;
}
.subtitle {
max-width: 44rem;
color: #b9c8e4;
font-size: 1.1rem;
}
.status-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 1rem;
}
.status-card,
.boundaries,
.error-banner {
border: 1px solid rgb(137 175 232 / 28%);
border-radius: 1rem;
background: rgb(13 29 52 / 78%);
box-shadow: 0 1rem 3rem rgb(0 0 0 / 18%);
}
.status-card {
display: grid;
gap: 0.55rem;
padding: 1.2rem;
}
.status-card span {
color: #9fb2d2;
font-size: 0.85rem;
}
.status-card strong {
color: #f6f9ff;
overflow-wrap: anywhere;
}
.boundaries {
margin: 1rem 0;
padding: 1.2rem 1.5rem;
}
.boundaries h2 {
margin-top: 0;
}
.boundaries li + li {
margin-top: 0.55rem;
}
.error-banner {
padding: 1rem;
color: #ffd3d3;
border-color: rgb(255 115 115 / 45%);
}
@media (prefers-color-scheme: light) {
:root {
color: #102039;
background: #eff5ff;
}
body {
background:
radial-gradient(
circle at top left,
rgb(87 142 235 / 24%),
transparent 38rem
),
#eff5ff;
}
.status-card,
.boundaries,
.error-banner {
background: rgb(255 255 255 / 86%);
}
.status-card strong {
color: #102039;
}
.status-card span,
.subtitle {
color: #405775;
}
}