Files
Letters/css/notice-page.css
T
2026-05-01 08:25:29 +08:00

302 lines
5.4 KiB
CSS

:root {
--bg: #07111f;
--panel: rgba(9, 20, 40, 0.78);
--panel-strong: rgba(10, 24, 46, 0.94);
--line: rgba(103, 213, 255, 0.22);
--line-strong: rgba(103, 213, 255, 0.48);
--text: #edf7ff;
--muted: #96b2d1;
--accent: #67d5ff;
--accent-strong: #2de2a6;
--warning: #ffcc66;
--font-display: "Orbitron", "Segoe UI", sans-serif;
--font-body: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
* {
box-sizing: border-box;
}
html {
color-scheme: dark;
}
body {
margin: 0;
min-height: 100vh;
color: var(--text);
font-family: var(--font-body);
background:
linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(10, 28, 54, 0.96)),
repeating-linear-gradient(90deg, rgba(103, 213, 255, 0.055) 0 1px, transparent 1px 72px),
repeating-linear-gradient(0deg, rgba(103, 213, 255, 0.045) 0 1px, transparent 1px 72px);
}
a {
color: inherit;
}
.notice-page {
width: min(calc(100% - 32px), 1120px);
margin: 0 auto;
padding: 28px 0 56px;
}
.topbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
margin-bottom: 34px;
}
.brand,
.back-link,
.primary-action {
display: inline-flex;
align-items: center;
min-height: 40px;
border-radius: 999px;
text-decoration: none;
}
.brand {
gap: 10px;
color: var(--text);
font-weight: 700;
}
.brand-mark {
display: inline-grid;
place-items: center;
width: 40px;
height: 40px;
border: 1px solid var(--line-strong);
border-radius: 12px;
color: var(--accent);
font-family: var(--font-display);
background: rgba(103, 213, 255, 0.08);
}
.back-link {
padding: 0 16px;
border: 1px solid var(--line);
color: var(--muted);
background: rgba(255, 255, 255, 0.04);
}
.back-link:hover,
.primary-action:hover {
border-color: var(--line-strong);
color: var(--text);
}
.notice-hero {
display: grid;
grid-template-columns: minmax(0, 1fr) 280px;
gap: 22px;
align-items: stretch;
margin-bottom: 22px;
}
.hero-copy,
.status-panel,
.notice-card,
.side-card {
border: 1px solid var(--line);
background: var(--panel);
box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
backdrop-filter: blur(18px);
}
.hero-copy {
padding: clamp(28px, 5vw, 54px);
border-radius: 24px;
}
.eyebrow {
display: inline-block;
margin-bottom: 14px;
color: var(--accent);
font-family: var(--font-display);
font-size: 12px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
}
h1,
h2,
p {
margin-top: 0;
}
h1 {
margin-bottom: 16px;
font-size: clamp(34px, 6vw, 64px);
line-height: 1.05;
}
.hero-copy p {
max-width: 760px;
margin-bottom: 0;
color: var(--muted);
font-size: 17px;
line-height: 1.8;
}
.status-panel {
display: flex;
min-height: 240px;
flex-direction: column;
justify-content: space-between;
padding: 24px;
border-radius: 24px;
}
.status-badge {
width: max-content;
padding: 7px 12px;
border-radius: 999px;
color: #06111f;
background: var(--warning);
font-size: 13px;
font-weight: 800;
}
.status-code {
color: var(--accent);
font-family: var(--font-display);
font-size: 44px;
font-weight: 700;
}
.status-panel p {
margin-bottom: 0;
color: var(--muted);
}
.notice-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) 320px;
gap: 22px;
align-items: start;
}
.notice-card,
.side-card {
border-radius: 20px;
}
.notice-card {
padding: clamp(24px, 4vw, 40px);
}
.notice-meta {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-bottom: 22px;
}
.notice-meta span,
.info-label {
color: var(--muted);
font-size: 13px;
}
.notice-meta span {
padding: 6px 10px;
border: 1px solid var(--line);
border-radius: 999px;
background: rgba(255, 255, 255, 0.04);
}
.notice-card h2,
.side-card h2 {
margin-bottom: 12px;
font-size: 24px;
}
.notice-card p,
.side-card p {
color: var(--muted);
line-height: 1.8;
}
.info-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
margin-top: 30px;
}
.info-grid div {
min-height: 92px;
padding: 16px;
border: 1px solid var(--line);
border-radius: 16px;
background: rgba(255, 255, 255, 0.04);
}
.info-grid strong {
display: block;
margin-top: 8px;
font-size: 16px;
}
.side-card {
padding: 24px;
}
code {
color: var(--accent);
font-family: Consolas, "Courier New", monospace;
}
.primary-action {
justify-content: center;
width: 100%;
margin-top: 14px;
padding: 0 18px;
border: 1px solid rgba(45, 226, 166, 0.5);
color: #06111f;
background: linear-gradient(135deg, var(--accent), var(--accent-strong));
font-weight: 800;
}
@media (max-width: 840px) {
.notice-hero,
.notice-layout {
grid-template-columns: 1fr;
}
.status-panel {
min-height: 180px;
}
.info-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 520px) {
.notice-page {
width: min(calc(100% - 20px), 1120px);
padding-top: 16px;
}
.topbar {
align-items: flex-start;
flex-direction: column;
margin-bottom: 22px;
}
.hero-copy,
.status-panel,
.notice-card,
.side-card {
border-radius: 16px;
}
}