MediaWiki:Common.css
Appearance
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
:root {
--hf-bg: #080b12;
--hf-bg-2: #0d1320;
--hf-panel: rgba(17, 24, 39, .84);
--hf-panel-solid: #111827;
--hf-line: rgba(148, 163, 184, .22);
--hf-line-bright: rgba(96, 165, 250, .42);
--hf-blue: #4f8cff;
--hf-cyan: #34d4ff;
--hf-gold: #f4c542;
--hf-red: #f05252;
--hf-text: #e7edf7;
--hf-muted: #9caec7;
--hf-ink: #050816;
}
html,
body {
background:
linear-gradient(180deg, rgba(8, 11, 18, .96), rgba(11, 17, 28, .98)),
radial-gradient(circle at 20% 0%, rgba(79, 140, 255, .18), transparent 32%),
#080b12 !important;
color: var(--hf-text);
font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body::before {
content: "";
position: fixed;
inset: 0;
pointer-events: none;
z-index: -1;
background-image:
linear-gradient(rgba(79, 140, 255, .08) 1px, transparent 1px),
linear-gradient(90deg, rgba(79, 140, 255, .08) 1px, transparent 1px);
background-size: 54px 54px;
mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 78%);
}
body::after {
content: "";
position: fixed;
inset: 0;
pointer-events: none;
z-index: -1;
background: linear-gradient(100deg, transparent 0%, rgba(52, 212, 255, .08) 45%, transparent 55%);
transform: translateX(-120%);
animation: hfScan 8s ease-in-out infinite;
}
@keyframes hfScan {
0%, 55% { transform: translateX(-120%); }
100% { transform: translateX(120%); }
}
.vector-header-container,
.vector-page-toolbar,
.vector-sticky-header,
.mw-header,
.mw-page-container,
.mw-body,
.vector-feature-page-tools-pinned-enabled .vector-page-tools,
.vector-feature-appearance-pinned-enabled .vector-appearance {
background: transparent !important;
}
.mw-page-container {
max-width: 1540px;
}
.mw-body {
border: 1px solid var(--hf-line) !important;
border-radius: 14px;
background: rgba(9, 13, 22, .66) !important;
box-shadow: 0 24px 80px rgba(0, 0, 0, .32);
backdrop-filter: blur(18px);
padding: 28px !important;
}
.mw-logo-icon,
.mw-logo-wordmark img,
.mw-logo-tagline {
display: none !important;
}
.mw-logo-container::after {
content: "HF Tools Wiki";
color: var(--hf-text);
font-weight: 900;
letter-spacing: .02em;
}
.mw-logo-container::before {
content: "HF";
display: inline-grid;
place-items: center;
width: 38px;
height: 38px;
margin-right: 10px;
border-radius: 10px;
background: linear-gradient(135deg, #111827, #050816);
color: var(--hf-gold);
font-weight: 950;
border: 1px solid rgba(244, 197, 66, .42);
box-shadow: 0 0 28px rgba(244, 197, 66, .14);
}
.vector-main-menu-landmark,
.vector-page-tools-landmark,
.vector-column-start,
.vector-appearance-landmark {
color: var(--hf-muted);
}
.vector-toc,
.vector-page-tools,
.vector-appearance {
background: rgba(8, 12, 20, .55) !important;
border-color: var(--hf-line) !important;
border-radius: 12px;
}
.vector-toc a,
.vector-menu-content a,
.mw-parser-output a,
a {
color: #79aaff;
}
.vector-page-titlebar,
.vector-page-toolbar-container,
.vector-body-before-content,
.mw-body h1.firstHeading {
border-color: var(--hf-line) !important;
}
.mw-page-title-main,
h1, h2, h3, h4,
.mw-heading h2 {
color: var(--hf-text) !important;
font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
letter-spacing: 0;
}
.mw-page-title-main {
font-weight: 850;
}
.vector-search-box-input,
.cdx-text-input__input {
background: rgba(255,255,255,.08) !important;
border-color: var(--hf-line) !important;
color: var(--hf-text) !important;
}
.cdx-button,
.searchButton,
.mw-ui-button {
border-radius: 9px !important;
}
.mw-footer {
color: var(--hf-muted);
}
.catlinks,
.toc,
.mw-parser-output .wikitable,
.hf-trustbox {
background: rgba(255,255,255,.05) !important;
border: 1px solid var(--hf-line) !important;
color: var(--hf-text);
border-radius: 12px;
}
.hf-app-shell {
color: var(--hf-text);
}
.hf-product-hero {
position: relative;
overflow: hidden;
display: grid;
grid-template-columns: minmax(0, 1fr) 390px;
gap: 28px;
align-items: stretch;
min-height: 430px;
padding: 38px;
border: 1px solid var(--hf-line-bright);
border-radius: 18px;
background:
linear-gradient(135deg, rgba(15, 23, 42, .94), rgba(10, 15, 25, .92)),
linear-gradient(90deg, rgba(79, 140, 255, .18), transparent);
box-shadow: 0 28px 90px rgba(0,0,0,.35);
}
.hf-product-hero::before {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
background:
linear-gradient(90deg, rgba(255,255,255,.07), transparent 18%),
repeating-linear-gradient(90deg, transparent 0 72px, rgba(79,140,255,.09) 73px 74px);
opacity: .65;
}
.hf-hero-copy,
.hf-ops-panel {
position: relative;
z-index: 1;
}
.hf-overline {
display: inline-flex;
align-items: center;
min-height: 30px;
padding: 0 11px;
border: 1px solid rgba(244,197,66,.38);
border-radius: 999px;
color: var(--hf-gold);
background: rgba(244,197,66,.08);
font-weight: 800;
text-transform: uppercase;
font-size: 12px;
}
.hf-product-hero h1 {
margin: 24px 0 14px;
font-size: clamp(54px, 8vw, 104px);
line-height: .88;
font-weight: 950;
text-shadow: 0 0 34px rgba(79,140,255,.16);
}
.hf-product-hero p {
max-width: 780px;
color: var(--hf-muted);
font-size: 20px;
line-height: 1.55;
}
.hf-command {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
gap: 14px;
align-items: center;
max-width: 760px;
margin-top: 30px;
padding: 9px 12px;
border: 1px solid var(--hf-line);
border-radius: 14px;
background: rgba(255,255,255,.07);
}
.hf-command span {
color: var(--hf-cyan);
font-weight: 800;
}
.hf-command input {
min-height: 44px;
min-width: 0;
border: 0;
outline: 0;
background: transparent;
color: var(--hf-text);
font: inherit;
}
.hf-actions {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 22px;
}
.hf-action-primary a,
.hf-action-secondary a,
.hf-review-link a,
.hf-section-link a {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 42px;
padding: 0 16px;
border-radius: 10px;
font-weight: 850;
text-decoration: none !important;
}
.hf-action-primary a,
.hf-review-link a {
color: #fff !important;
background: linear-gradient(135deg, var(--hf-blue), #2563eb);
box-shadow: 0 14px 30px rgba(37,99,235,.28);
}
.hf-action-secondary a,
.hf-section-link a {
color: var(--hf-text) !important;
border: 1px solid var(--hf-line);
background: rgba(255,255,255,.06);
}
.hf-ops-panel,
.hf-review-card,
.hf-hub-card,
.hf-stat-strip div,
.hf-timeline div {
border: 1px solid var(--hf-line);
border-radius: 16px;
background: rgba(255,255,255,.06);
box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.hf-ops-panel {
padding: 22px;
align-self: stretch;
backdrop-filter: blur(16px);
}
.hf-panel-head {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 18px;
}
.hf-status-dot {
width: 11px;
height: 11px;
border-radius: 50%;
background: #22c55e;
box-shadow: 0 0 20px rgba(34,197,94,.8);
}
.hf-ops-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
}
.hf-ops-grid div {
padding: 13px;
border-radius: 12px;
background: rgba(0,0,0,.24);
}
.hf-ops-grid span,
.hf-stat-strip span {
display: block;
color: var(--hf-muted);
font-size: 12px;
text-transform: uppercase;
font-weight: 800;
}
.hf-ops-grid strong {
display: block;
margin-top: 5px;
}
.hf-signal {
margin-top: 16px;
padding: 14px;
border-left: 3px solid var(--hf-gold);
background: rgba(244,197,66,.08);
color: #dbe7ff;
}
.hf-stat-strip {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 14px;
margin: 18px 0 34px;
}
.hf-stat-strip div {
padding: 18px;
}
.hf-stat-strip strong {
display: block;
color: var(--hf-text);
font-size: 30px;
font-weight: 950;
}
.hf-section,
.hf-two-col {
margin-top: 34px;
}
.hf-section-head {
display: flex;
align-items: end;
justify-content: space-between;
gap: 16px;
margin-bottom: 16px;
}
.hf-section-head span {
color: var(--hf-cyan);
font-size: 12px;
font-weight: 900;
text-transform: uppercase;
}
.hf-section-head h2 {
margin: 4px 0 0;
font-size: 30px;
font-weight: 950;
}
.hf-hub-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 15px;
}
.hf-hub-card {
position: relative;
overflow: hidden;
min-height: 185px;
padding: 20px;
color: var(--hf-text) !important;
text-decoration: none !important;
transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.hf-hub-card::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(79,140,255,.18), transparent 44%);
opacity: 0;
transition: opacity .22s ease;
}
.hf-hub-card:hover {
transform: translateY(-4px);
border-color: var(--hf-line-bright);
background: rgba(79,140,255,.1);
}
.hf-hub-card:hover::before {
opacity: 1;
}
.hf-hub-card span,
.hf-hub-card strong,
.hf-hub-card p {
position: relative;
}
.hf-hub-card span {
display: inline-flex;
padding: 4px 9px;
border-radius: 999px;
background: rgba(244,197,66,.1);
color: var(--hf-gold);
font-size: 12px;
font-weight: 850;
}
.hf-hub-card strong {
display: block;
margin: 16px 0 10px;
color: #dbe8ff;
font-size: 21px;
}
.hf-hub-card p {
color: var(--hf-muted);
line-height: 1.48;
}
.hf-two-col {
display: grid;
grid-template-columns: minmax(0, 1fr) 360px;
gap: 18px;
}
.hf-timeline {
display: grid;
gap: 12px;
}
.hf-timeline div {
display: grid;
gap: 5px;
padding: 17px;
color: var(--hf-text) !important;
}
.hf-timeline span,
.hf-review-card p {
color: var(--hf-muted);
}
.hf-review-card {
padding: 22px;
}
.hf-chip {
display: inline-flex;
padding: 5px 10px;
border-radius: 999px;
background: rgba(52,212,255,.1);
color: var(--hf-cyan);
font-size: 12px;
font-weight: 900;
text-transform: uppercase;
}
.hf-review-card h2 {
margin: 18px 0 10px;
}
.hf-trustbox {
padding: 14px;
border-left: 3px solid var(--hf-blue) !important;
}
.hf-reveal {
opacity: 0;
transform: translateY(14px);
transition: opacity .55s ease, transform .55s ease;
}
.hf-reveal.is-visible {
opacity: 1;
transform: translateY(0);
}
.hf-is-hidden {
display: none !important;
}
@media (max-width: 1000px) {
.hf-product-hero,
.hf-two-col,
.hf-stat-strip,
.hf-hub-grid {
grid-template-columns: 1fr;
}
.hf-product-hero {
padding: 24px;
}
.hf-command {
grid-template-columns: 1fr;
}
}