MediaWiki:Common.css
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.
/* ========================================== */
/* Alpha Orange Design System — AlphaX Wiki */
/* ========================================== */
/* --- GLOBAL SITE SKIN --- */
body {
background: #0D0D0D !important;
color: #FFFFFF !important;
}
/* Content area */
#content, .mw-body, .mw-body-content {
background: #0D0D0D !important;
color: #FFFFFF !important;
border: none !important;
}
/* Page title */
h1.firstHeading, .mw-first-heading {
color: #FFFFFF !important;
border-bottom: 1px solid #2E2E2E !important;
}
/* All headings */
h1, h2, h3, h4, h5, h6 {
color: #FFFFFF !important;
border-bottom-color: #2E2E2E !important;
}
/* Section headings on wiki pages */
.mw-parser-output h2,
.mw-parser-output h3,
.mw-parser-output h4 {
color: #FF6600 !important;
border-bottom: 1px solid #2E2E2E !important;
}
/* Links */
a, a:visited {
color: #FF6600 !important;
}
a:hover {
color: #FF8533 !important;
text-decoration: underline;
}
/* Sidebar / navigation */
#mw-panel, .vector-menu, nav.mw-navigation {
background: #0D0D0D !important;
}
#mw-panel .portal, .vector-menu-content {
background: #0D0D0D !important;
border-color: #2E2E2E !important;
}
#mw-panel a, .vector-menu a {
color: #999999 !important;
}
#mw-panel a:hover, .vector-menu a:hover {
color: #FF6600 !important;
}
/* Top navigation bar */
#mw-head, .vector-header, header {
background: #0D0D0D !important;
border-bottom: 1px solid #2E2E2E !important;
}
.mw-portlet-personal a, #pt-userpage a, #pt-login a {
color: #999999 !important;
}
.mw-portlet-personal a:hover {
color: #FF6600 !important;
}
/* Tab navigation (Read / Edit / History) */
#p-cactions .selected a,
.mw-portlet-views .selected a {
color: #FF6600 !important;
border-bottom: 2px solid #FF6600 !important;
background: transparent !important;
}
.vector-tab-noaction a,
#p-views li a {
color: #999999 !important;
background: transparent !important;
border-color: #2E2E2E !important;
}
#p-views li a:hover {
color: #FF6600 !important;
}
/* Search bar */
#searchInput, .oo-ui-textInputWidget input {
background: #1A1A1A !important;
border: 1px solid #2E2E2E !important;
color: #FFFFFF !important;
border-radius: 8px !important;
}
#searchInput:focus, .oo-ui-textInputWidget input:focus {
border-color: rgba(255,102,0,0.5) !important;
outline: none !important;
}
/* Search button */
#searchButton, .searchButton {
background: #1A1A1A !important;
border-color: #2E2E2E !important;
color: #999999 !important;
}
/* Table of contents */
#toc, .toc {
background: #1A1A1A !important;
border: 1px solid #2E2E2E !important;
color: #999999 !important;
border-radius: 12px !important;
}
.toctitle h2 {
color: #FFFFFF !important;
}
.toc a {
color: #FF6600 !important;
}
/* Info/warning boxes */
.mw-message-box, .successbox, .warningbox, .errorbox {
background: #1A1A1A !important;
border-color: #2E2E2E !important;
color: #FFFFFF !important;
border-radius: 10px !important;
}
/* Edit toolbar */
.wikiEditor-ui {
background: #1A1A1A !important;
border-color: #2E2E2E !important;
}
/* Footer */
#footer, .mw-footer {
background: #0D0D0D !important;
border-top: 1px solid #2E2E2E !important;
color: #666666 !important;
}
#footer a {
color: #999999 !important;
}
#footer a:hover {
color: #FF6600 !important;
}
/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #0D0D0D; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.05); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,102,0,0.2); }
/* ============================================ */
/* Alpha Orange Component Classes */
/* ============================================ */
/* HERO BANNER */
.ax-hero {
padding: 28px 26px;
margin: 10px 0 24px;
border-radius: 18px;
background: #1A1A1A;
border: 1px solid #2E2E2E;
color: #FFFFFF;
}
.ax-hero-title {
font-size: 30px;
font-weight: 700;
letter-spacing: 0.4px;
color: #FFFFFF;
}
.ax-hero-sub {
margin-top: 6px;
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.1em;
color: #666666;
}
.ax-hero-desc {
margin-top: 14px;
max-width: 900px;
line-height: 1.7;
color: #999999;
}
/* GRID */
.ax-grid {
display: grid;
gap: 16px;
margin: 20px 0 30px;
}
.ax-grid-4 {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1200px) {
.ax-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
.ax-grid-4 { grid-template-columns: 1fr; }
}
/* CARDS */
.ax-card {
padding: 18px;
border-radius: 16px;
background: #1A1A1A;
border: 1px solid #2E2E2E;
transition: all 0.2s ease;
color: #FFFFFF;
}
.ax-card:hover {
border-color: rgba(255,102,0,0.5);
box-shadow: 0 0 20px rgba(255,102,0,0.08);
}
.ax-card-title {
font-size: 17px;
font-weight: 700;
margin-bottom: 10px;
letter-spacing: 0.3px;
color: #FFFFFF !important;
}
.ax-card a {
display: block;
margin: 4px 0;
text-decoration: none;
color: #FF6600 !important;
}
.ax-card a:hover {
text-decoration: underline;
color: #FF8533 !important;
}
.ax-card-title a {
color: #FFFFFF !important;
font-weight: 700;
}
.ax-card-title a:hover {
color: #FF6600 !important;
}
/* SECTION */
.ax-section {
margin: 30px 0;
}
.ax-section-title {
font-size: 11px;
font-weight: 600;
margin-bottom: 14px;
letter-spacing: 0.1em;
text-transform: uppercase;
color: #666666;
}
.ax-list {
line-height: 1.7;
color: #999999;
}
/* FOOTNOTE / ABOUT BOX */
.ax-footnote {
padding: 20px 22px;
border-radius: 14px;
background: #1A1A1A;
border: 1px solid #2E2E2E;
font-size: 14px;
color: #999999;
line-height: 1.7;
}
/* ARTICLE META BOX */
.ax-meta {
margin: 12px 0 22px;
padding: 16px 18px;
border-radius: 14px;
background: #1A1A1A;
border: 1px solid #2E2E2E;
max-width: 900px;
}
.ax-meta-row {
display: flex;
gap: 10px;
padding: 6px 0;
border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ax-meta-row:last-child {
border-bottom: none;
}
.ax-meta-k {
width: 220px;
color: #666666;
font-weight: 600;
}
.ax-meta-v {
flex: 1;
color: #999999;
}
/* PILL TAGS / TOPIC BADGES */
.ax-pill {
display: inline-flex;
align-items: center;
gap: 6px;
background: rgba(255,102,0,0.08);
border: 1px solid rgba(255,102,0,0.25);
padding: 8px 16px;
border-radius: 999px;
font-size: 13px;
color: #FFFFFF;
transition: all 0.2s;
}
.ax-pill:hover {
background: rgba(255,102,0,0.15);
border-color: rgba(255,102,0,0.5);
}
.ax-pill a {
color: #FFFFFF !important;
text-decoration: none;
}
/* ARTICLE LINK ROW */
.ax-link-row {
display: block;
padding: 9px 14px;
background: rgba(255,255,255,0.03);
border: 1px solid #2E2E2E;
border-radius: 10px;
color: #FFFFFF !important;
text-decoration: none;
font-size: 13.5px;
line-height: 1.4;
transition: all 0.2s;
margin-bottom: 8px;
}
.ax-link-row:hover {
background: rgba(255,102,0,0.08);
border-color: rgba(255,102,0,0.35);
color: #FF8533 !important;
}
.ax-link-row a {
color: #FFFFFF !important;
}
.ax-link-row:hover a {
color: #FF8533 !important;
}
/* SECTION DIVIDER LABEL */
.ax-divider-label {
font-size: 11px;
letter-spacing: 0.1em;
text-transform: uppercase;
color: #666666;
font-weight: 600;
margin-bottom: 18px;
padding-bottom: 10px;
border-bottom: 1px solid #2E2E2E;
}
/* ORANGE GRADIENT ACCENT BAR */
.ax-accent-bar {
height: 2px;
background: linear-gradient(to right, #FF6600, #FF8533);
border-radius: 2px;
margin-bottom: 20px;
}
/* Translation notice override */
.mw-translate-editpage-list {
background: #1A1A1A !important;
border-color: #2E2E2E !important;
color: #999999 !important;
}
/* Sexual Health card hero image */
#ax-sexual-health-hero {
background-image: url("https://alphax.wiki/images/4/43/Sexual_Health_Hero.jpg");
background-size: cover;
background-position: center;
}
/* Logo inversion for dark theme - makes AlphaX.Wiki text white */
.mw-file-description .mw-file-element {
filter: invert(1) hue-rotate(180deg) brightness(1.5);
}