MediaWiki:Common.css: Difference between revisions
Appearance
Seed upgraded HF Tools Wiki structure |
Seed upgraded HF Tools Wiki structure |
||
| Line 9: | Line 9: | ||
body { | body { | ||
background: var(--hf-bg); | background: var(--hf-bg); | ||
font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; | |||
} | } | ||
| Line 14: | Line 15: | ||
border-radius: 8px; | border-radius: 8px; | ||
border-color: var(--hf-line); | border-color: var(--hf-line); | ||
} | |||
.mw-logo-icon { | |||
display: none; | |||
} | |||
.mw-logo-container { | |||
padding-left: 6px; | |||
} | |||
.mw-logo-wordmark { | |||
font-weight: 800; | |||
} | } | ||
| Line 19: | Line 32: | ||
h1, h2 { | h1, h2 { | ||
color: var(--hf-ink); | color: var(--hf-ink); | ||
font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; | |||
} | } | ||
Revision as of 03:12, 8 May 2026
:root {
--hf-blue: #165dff;
--hf-ink: #111827;
--hf-muted: #526071;
--hf-line: #dce3ed;
--hf-bg: #f6f8fb;
}
body {
background: var(--hf-bg);
font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.mw-body {
border-radius: 8px;
border-color: var(--hf-line);
}
.mw-logo-icon {
display: none;
}
.mw-logo-container {
padding-left: 6px;
}
.mw-logo-wordmark {
font-weight: 800;
}
.mw-page-title-main,
h1, h2 {
color: var(--hf-ink);
font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.hf-hero {
display: grid;
grid-template-columns: minmax(0, 1fr) 320px;
gap: 24px;
align-items: end;
padding: 36px;
margin-bottom: 22px;
border-radius: 8px;
background: linear-gradient(135deg, #ffffff, #eef4ff);
border: 1px solid var(--hf-line);
}
.hf-hero h1 {
margin: 0 0 10px;
font-size: 52px;
line-height: 1;
}
.hf-hero p {
max-width: 720px;
color: var(--hf-muted);
font-size: 18px;
}
.hf-kicker {
color: var(--hf-blue);
font-weight: 700;
margin-bottom: 10px;
}
.hf-trust,
.hf-trustbox,
.hf-card,
.hf-metrics div {
border: 1px solid var(--hf-line);
border-radius: 8px;
background: #fff;
}
.hf-trust,
.hf-trustbox {
padding: 16px;
}
.hf-trust span {
display: block;
margin-top: 8px;
color: var(--hf-muted);
}
.hf-metrics,
.hf-grid {
display: grid;
gap: 14px;
}
.hf-metrics {
grid-template-columns: repeat(4, minmax(0, 1fr));
margin-bottom: 28px;
}
.hf-metrics div,
.hf-card {
padding: 16px;
}
.hf-metrics strong {
display: block;
font-size: 24px;
}
.hf-metrics span {
color: var(--hf-muted);
}
.hf-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hf-card {
min-height: 120px;
}
.hf-card a {
font-size: 18px;
font-weight: 700;
}
@media (max-width: 800px) {
.hf-hero,
.hf-metrics,
.hf-grid {
grid-template-columns: 1fr;
}
.hf-hero {
padding: 22px;
}
.hf-hero h1 {
font-size: 38px;
}
}