MediaWiki:Common.css: Difference between revisions
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 {..." |
No edit summary |
||
| (12 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* ============================= */ | /* ========================================== */ | ||
/* AlphaX | /* 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; | |||
} | |||
.toc .tocnumber { | |||
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 { | .ax-hero { | ||
padding: | padding: 28px 26px; | ||
margin: 10px 0 24px; | margin: 10px 0 24px; | ||
border-radius: 18px; | border-radius: 18px; | ||
background: # | background: #1A1A1A; | ||
border: 1px solid # | border: 1px solid #2E2E2E; | ||
color: # | 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: | font-size: 11px; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
letter-spacing: | 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; | ||
color: #999999; | |||
} | } | ||
/* GRID */ | /* GRID */ | ||
.ax-grid { | .ax-grid { | ||
display: grid; | display: grid; | ||
| Line 40: | Line 202: | ||
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)); } | ||
} | } | ||
@media (max-width: 600px) { | @media (max-width: 600px) { | ||
.ax-grid-4 { | .ax-grid-4 { grid-template-columns: 1fr; } | ||
} | } | ||
/* CARDS */ | /* CARDS */ | ||
.ax-card { | .ax-card { | ||
padding: 18px; | padding: 18px; | ||
border-radius: 16px; | border-radius: 16px; | ||
background: # | background: #1A1A1A; | ||
border: 1px solid # | border: 1px solid #2E2E2E; | ||
transition: all 0.2s ease; | transition: all 0.2s ease; | ||
color: #FFFFFF; | |||
} | } | ||
.ax-card:hover { | .ax-card:hover { | ||
border-color: | border-color: rgba(255,102,0,0.5); | ||
box-shadow: 0 0 20px rgba(255,102,0,0.08); | |||
} | } | ||
.ax-card-title { | .ax-card-title { | ||
font-size: 17px; | font-size: 17px; | ||
| Line 76: | Line 230: | ||
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: #FF6600 !important; | |||
} | } | ||
.ax-card a:hover { | .ax-card a:hover { | ||
text-decoration: underline; | 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 */ | /* SECTION */ | ||
.ax-section { | .ax-section { | ||
margin: 30px 0; | margin: 30px 0; | ||
} | } | ||
.ax-section-title { | .ax-section-title { | ||
font-size: | font-size: 11px; | ||
font-weight: | font-weight: 600; | ||
margin-bottom: | margin-bottom: 14px; | ||
letter-spacing: 0. | 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: | padding: 20px 22px; | ||
border-radius: 14px; | border-radius: 14px; | ||
background: # | background: #1A1A1A; | ||
border: 1px solid # | border: 1px solid #2E2E2E; | ||
font-size: 14px; | font-size: 14px; | ||
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: # | background: #1A1A1A; | ||
border: 1px solid # | border: 1px solid #2E2E2E; | ||
max-width: 900px; | max-width: 900px; | ||
} | } | ||
.ax-meta-row { | .ax-meta-row { | ||
display: flex; | display: flex; | ||
| Line 133: | Line 293: | ||
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; | ||
color: #666666; | |||
font-weight: 600; | 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; | |||
} | |||
/* ============================================ | |||
CATEGORY GRID COMPONENT - ax-cat-grid | |||
Reusable 8-box responsive category grid | |||
Matches Sexual Health card design exactly | |||
============================================ */ | |||
/* Grid container: 4 columns desktop */ | |||
.ax-cat-grid { | |||
display: grid; | |||
grid-template-columns: repeat(4, 1fr); | |||
gap: 16px; | |||
margin: 0 0 32px 0; | |||
} | |||
/* Individual card */ | |||
.ax-cat-card { | |||
background: #1A1A1A; | |||
border: 1px solid #2E2E2E; | |||
border-radius: 16px; | |||
overflow: hidden; | |||
transition: border-color 0.2s, box-shadow 0.2s; | |||
cursor: pointer; | |||
display: flex; | |||
flex-direction: column; | |||
} | |||
.ax-cat-card:hover { | |||
border-color: rgba(255,102,0,0.5); | |||
box-shadow: 0 0 20px rgba(255,102,0,0.08); | |||
} | } | ||
.ax- | /* Image area - fixed height banner, full width */ | ||
.ax-cat-img { | |||
width: 100%; | |||
height: 140px; | |||
background-color: #111; | |||
background-size: cover; | |||
background-position: center center; | |||
border-radius: 15px 15px 0 0; | |||
flex-shrink: 0; | |||
} | |||
/* Card body */ | |||
.ax-cat-body { | |||
padding: 16px 18px 18px 18px; | |||
display: flex; | |||
flex-direction: column; | |||
gap: 8px; | |||
flex: 1; | flex: 1; | ||
} | |||
/* Category title */ | |||
.ax-cat-title { | |||
font-size: 15px; | |||
font-weight: 700; | |||
color: #FFFFFF; | |||
letter-spacing: 0.2px; | |||
line-height: 1.3; | |||
} | |||
.ax-cat-title a { | |||
color: #FF6600 !important; | |||
text-decoration: none; | |||
} | |||
.ax-cat-title a:hover { | |||
color: #FF8533 !important; | |||
text-decoration: underline; | |||
} | |||
/* Short description */ | |||
.ax-cat-desc { | |||
font-size: 13px; | |||
line-height: 1.55; | |||
color: #999999; | |||
} | |||
/* Tablet: 2 columns */ | |||
@media (max-width: 900px) { | |||
.ax-cat-grid { | |||
grid-template-columns: repeat(2, 1fr); | |||
} | |||
} | |||
/* Mobile: 1 column */ | |||
@media (max-width: 500px) { | |||
.ax-cat-grid { | |||
grid-template-columns: 1fr; | |||
} | |||
} | |||
/* Knowledge Areas grid on Main Page */ | |||
#ax-knowledge-section { | |||
margin: 0 0 32px 0; | |||
} | |||
#ax-knowledge-grid { | |||
display: grid; | |||
grid-template-columns: repeat(2, 1fr); | |||
gap: 14px; | |||
} | |||
/* === Start Here page: scrolling tile animation === */ | |||
@keyframes scrollUp { | |||
0% { transform: translateY(0); } | |||
100% { transform: translateY(-50%); } | |||
} | |||
/* AlphaX Landing Page Styles */ | |||
@keyframes scrollUp{0%{transform:translateY(0)}100%{transform:translateY(-50%)}} | |||
@keyframes glowLine{0%,100%{box-shadow:0 0 18px 4px rgba(255,107,26,0.5)}50%{box-shadow:0 0 36px 10px rgba(255,107,26,0.9)}} | |||
.ax-path-card{border-radius:16px;overflow:hidden;position:relative;height:230px;border-left:4px solid #FF6B1A;border-top:1px solid #2a2a2a;border-right:1px solid #2a2a2a;border-bottom:1px solid #2a2a2a;transition:transform 0.25s ease,box-shadow 0.25s ease;cursor:pointer;display:block;} | |||
.ax-path-card:hover{transform:translateY(-4px) scale(1.02);box-shadow:0 12px 40px rgba(255,107,26,0.25);} | |||
.ax-section-card{display:flex;align-items:center;gap:14px;background:#141414;border:1px solid #252525;border-left:4px solid #FF6B1A;border-radius:12px;padding:16px 18px;transition:background 0.2s,transform 0.2s;margin-bottom:0;} | |||
.ax-section-card:hover{background:#1c1c1c;transform:translateX(4px);} | |||
.ax-pill{display:inline-block;background:rgba(255,107,26,0.12);border:1px solid rgba(255,107,26,0.3);color:#FF6B1A;font-size:10px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;padding:3px 10px;border-radius:20px;margin-bottom:10px;} | |||
.ax-glow-bar{height:2px;background:linear-gradient(90deg,transparent,#FF6B1A,transparent);animation:glowLine 3s ease-in-out infinite;} | |||
.ax-stat{text-align:center;padding:16px 10px;} | |||
.ax-stat-num{font-size:28px;font-weight:900;color:#FF6B1A;letter-spacing:-1px;} | |||
.ax-stat-label{font-size:10px;color:#666;letter-spacing:2px;text-transform:uppercase;margin-top:2px;} | |||
.ax-topic-tag{display:inline-block;background:#1a1a1a;border:1px solid #2d2d2d;color:#bbb;font-size:11px;padding:5px 12px;border-radius:20px;margin:3px;transition:all 0.2s;text-decoration:none;} | |||
.ax-topic-tag:hover{background:#FF6B1A !important;color:#000 !important;border-color:#FF6B1A;} | |||
.ax-feed-item{padding:8px 0;border-bottom:1px solid #1a1a1a;font-size:13px;color:#ccc;line-height:1.4;} | |||
.ax-feed-item a{color:#ccc;text-decoration:none;} | |||
.ax-feed-item a:hover{color:#FF6B1A;} | |||
.ax-feed-tag{color:#FF6B1A;font-size:10px;display:block;margin-top:2px;} | |||
.ax-section-card a{color:#fff;text-decoration:none;font-weight:700;font-size:13px;} | |||
.ax-section-card a:hover{color:#FF6B1A;} | |||
#mw-content-text .ax-path-card a{color:#fff;text-decoration:none;} | |||
/* Hide leaked template parameter labels in translated /de articles */ | |||
.ka-article pre { display: none !important; } | |||
/* ============================================ */ | |||
/* Alpha Orange — Button Text Color Fix */ | |||
/* Ensures white text on orange gradient btns */ | |||
/* ============================================ */ | |||
.btn-primary, | |||
.btn-primary:visited, | |||
.btn-nav, | |||
.btn-nav:visited { | |||
color: #ffffff !important; | |||
-webkit-text-fill-color: #ffffff !important; | |||
} | |||
.btn-primary:hover, | |||
.btn-nav:hover { | |||
color: #ffffff !important; | |||
-webkit-text-fill-color: #ffffff !important; | |||
} | } | ||