MediaWiki:Common.css: Difference between revisions

From AlphaX Wiki
Jump to navigation Jump to search
Created page with "=============================: AlphaX Academy UI: =============================: .ax-hero { padding: 24px 22px; margin: 10px 0 24px; border-radius: 18px; background: #111217; border: 1px solid #23263a; color: #e6e6e6; } .ax-hero-title { font-size: 30px; font-weight: 700; letter-spacing: 0.4px; } .ax-hero-sub { margin-top: 6px; font-size: 14px; opacity: 0.85; text-transform: uppercase; letter-spacing: 1px; } .ax-hero-desc {..."
 
Apply Alpha Orange Design System: #0D0D0D bg, #FF6A21 accents, #1A1A1A surfaces, full site skin
Line 1: Line 1:
/* ============================= */
/* ========================================== */
/* AlphaX Academy UI */
/* 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: #FF6A21 !important;
  border-bottom: 1px solid #2E2E2E !important;
}
/* Links */
a, a:visited {
  color: #FF6A21 !important;
}
a:hover {
  color: #FF8C42 !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: #FF6A21 !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: #FF6A21 !important;
}
/* Tab navigation (Read / Edit / History) */
#p-cactions .selected a,
.mw-portlet-views .selected a {
  color: #FF6A21 !important;
  border-bottom: 2px solid #FF6A21 !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: #FF6A21 !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,106,33,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: #FF6A21 !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: #FF6A21 !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,106,33,0.2); }
/* ============================================ */
/* Alpha Orange Component Classes              */
/* ============================================ */
/* HERO BANNER */
.ax-hero {
.ax-hero {
   padding: 24px 22px;
   padding: 28px 26px;
   margin: 10px 0 24px;
   margin: 10px 0 24px;
   border-radius: 18px;
   border-radius: 18px;
   background: #111217;
   background: #1A1A1A;
   border: 1px solid #23263a;
   border: 1px solid #2E2E2E;
   color: #e6e6e6;
   color: #FFFFFF;
}
}
.ax-hero-title {
.ax-hero-title {
   font-size: 30px;
   font-size: 30px;
   font-weight: 700;
   font-weight: 700;
   letter-spacing: 0.4px;
   letter-spacing: 0.4px;
  color: #FFFFFF;
}
}
.ax-hero-sub {
.ax-hero-sub {
   margin-top: 6px;
   margin-top: 6px;
   font-size: 14px;
   font-size: 11px;
  opacity: 0.85;
   text-transform: uppercase;
   text-transform: uppercase;
   letter-spacing: 1px;
   letter-spacing: 0.1em;
  color: #666666;
}
}
.ax-hero-desc {
.ax-hero-desc {
   margin-top: 14px;
   margin-top: 14px;
   max-width: 900px;
   max-width: 900px;
   line-height: 1.7;
   line-height: 1.7;
   opacity: 0.9;
   color: #999999;
}
}


/* GRID */
/* GRID */
.ax-grid {
.ax-grid {
   display: grid;
   display: grid;
Line 40: Line 199:
   margin: 20px 0 30px;
   margin: 20px 0 30px;
}
}
.ax-grid-4 {
.ax-grid-4 {
   grid-template-columns: repeat(4, minmax(0, 1fr));
   grid-template-columns: repeat(4, minmax(0, 1fr));
}
}
@media (max-width: 1200px) {
@media (max-width: 1200px) {
   .ax-grid-4 {
   .ax-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
}
@media (max-width: 600px) {
@media (max-width: 600px) {
   .ax-grid-4 {
   .ax-grid-4 { grid-template-columns: 1fr; }
    grid-template-columns: 1fr;
  }
}
}


/* CARDS */
/* CARDS */
.ax-card {
.ax-card {
   padding: 18px;
   padding: 18px;
   border-radius: 16px;
   border-radius: 16px;
   background: #0f111a;
   background: #1A1A1A;
   border: 1px solid #2b304f;
   border: 1px solid #2E2E2E;
   transition: all 0.2s ease;
   transition: all 0.2s ease;
  color: #FFFFFF;
}
}
.ax-card:hover {
.ax-card:hover {
   border-color: #4c5aa6;
   border-color: rgba(255,106,33,0.5);
  box-shadow: 0 0 20px rgba(255,106,33,0.08);
}
}
.ax-card-title {
.ax-card-title {
   font-size: 17px;
   font-size: 17px;
Line 76: Line 227:
   margin-bottom: 10px;
   margin-bottom: 10px;
   letter-spacing: 0.3px;
   letter-spacing: 0.3px;
  color: #FFFFFF !important;
}
}
.ax-card a {
.ax-card a {
   display: block;
   display: block;
   margin: 4px 0;
   margin: 4px 0;
   text-decoration: none;
   text-decoration: none;
  color: #FF6A21 !important;
}
}
.ax-card a:hover {
.ax-card a:hover {
   text-decoration: underline;
   text-decoration: underline;
  color: #FF8C42 !important;
}
.ax-card-title a {
  color: #FFFFFF !important;
  font-weight: 700;
}
.ax-card-title a:hover {
  color: #FF6A21 !important;
}
}


/* SECTION */
/* SECTION */
.ax-section {
.ax-section {
   margin: 30px 0;
   margin: 30px 0;
}
}
.ax-section-title {
.ax-section-title {
   font-size: 18px;
   font-size: 11px;
   font-weight: 700;
   font-weight: 600;
   margin-bottom: 10px;
   margin-bottom: 14px;
   letter-spacing: 0.3px;
   letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666666;
}
}
.ax-list {
.ax-list {
   line-height: 1.7;
   line-height: 1.7;
  color: #999999;
}
}


/* FOOTNOTE */
/* FOOTNOTE / ABOUT BOX */
 
.ax-footnote {
.ax-footnote {
   padding: 16px 18px;
   padding: 20px 22px;
   border-radius: 14px;
   border-radius: 14px;
   background: #0f111a;
   background: #1A1A1A;
   border: 1px solid #2b304f;
   border: 1px solid #2E2E2E;
   font-size: 14px;
   font-size: 14px;
   opacity: 0.95;
   color: #999999;
  line-height: 1.7;
}
}


/* ARTICLE META BOX */
/* ARTICLE META BOX */
.ax-meta {
.ax-meta {
   margin: 12px 0 22px;
   margin: 12px 0 22px;
   padding: 16px 18px;
   padding: 16px 18px;
   border-radius: 14px;
   border-radius: 14px;
   background: #0f111a;
   background: #1A1A1A;
   border: 1px solid #2b304f;
   border: 1px solid #2E2E2E;
   max-width: 900px;
   max-width: 900px;
}
}
.ax-meta-row {
.ax-meta-row {
   display: flex;
   display: flex;
Line 133: Line 290:
   border-bottom: 1px solid rgba(255,255,255,0.05);
   border-bottom: 1px solid rgba(255,255,255,0.05);
}
}
.ax-meta-row:last-child {
.ax-meta-row:last-child {
   border-bottom: none;
   border-bottom: none;
}
}
.ax-meta-k {
.ax-meta-k {
   width: 220px;
   width: 220px;
   opacity: 0.7;
   color: #666666;
   font-weight: 600;
   font-weight: 600;
}
}
.ax-meta-v {
.ax-meta-v {
   flex: 1;
   flex: 1;
  color: #999999;
}
/* PILL TAGS / TOPIC BADGES */
.ax-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,106,33,0.08);
  border: 1px solid rgba(255,106,33,0.25);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: #FFFFFF;
  transition: all 0.2s;
}
.ax-pill:hover {
  background: rgba(255,106,33,0.15);
  border-color: rgba(255,106,33,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,106,33,0.08);
  border-color: rgba(255,106,33,0.35);
  color: #FF8C42 !important;
}
.ax-link-row a {
  color: #FFFFFF !important;
}
.ax-link-row:hover a {
  color: #FF8C42 !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, #FF6A21, #FF8C42);
  border-radius: 2px;
  margin-bottom: 20px;
}
/* Translation notice override */
.mw-translate-editpage-list {
  background: #1A1A1A !important;
  border-color: #2E2E2E !important;
  color: #999999 !important;
}
}

Revision as of 00:56, 21 April 2026

/* ========================================== */
/* 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: #FF6A21 !important;
  border-bottom: 1px solid #2E2E2E !important;
}

/* Links */
a, a:visited {
  color: #FF6A21 !important;
}
a:hover {
  color: #FF8C42 !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: #FF6A21 !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: #FF6A21 !important;
}

/* Tab navigation (Read / Edit / History) */
#p-cactions .selected a,
.mw-portlet-views .selected a {
  color: #FF6A21 !important;
  border-bottom: 2px solid #FF6A21 !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: #FF6A21 !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,106,33,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: #FF6A21 !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: #FF6A21 !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,106,33,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,106,33,0.5);
  box-shadow: 0 0 20px rgba(255,106,33,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: #FF6A21 !important;
}
.ax-card a:hover {
  text-decoration: underline;
  color: #FF8C42 !important;
}
.ax-card-title a {
  color: #FFFFFF !important;
  font-weight: 700;
}
.ax-card-title a:hover {
  color: #FF6A21 !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,106,33,0.08);
  border: 1px solid rgba(255,106,33,0.25);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: #FFFFFF;
  transition: all 0.2s;
}
.ax-pill:hover {
  background: rgba(255,106,33,0.15);
  border-color: rgba(255,106,33,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,106,33,0.08);
  border-color: rgba(255,106,33,0.35);
  color: #FF8C42 !important;
}
.ax-link-row a {
  color: #FFFFFF !important;
}
.ax-link-row:hover a {
  color: #FF8C42 !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, #FF6A21, #FF8C42);
  border-radius: 2px;
  margin-bottom: 20px;
}

/* Translation notice override */
.mw-translate-editpage-list {
  background: #1A1A1A !important;
  border-color: #2E2E2E !important;
  color: #999999 !important;
}