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.
/* ============================= */
/* 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 {
margin-top: 14px;
max-width: 900px;
line-height: 1.7;
opacity: 0.9;
}
/* 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: #0f111a;
border: 1px solid #2b304f;
transition: all 0.2s ease;
}
.ax-card:hover {
border-color: #4c5aa6;
}
.ax-card-title {
font-size: 17px;
font-weight: 700;
margin-bottom: 10px;
letter-spacing: 0.3px;
}
.ax-card a {
display: block;
margin: 4px 0;
text-decoration: none;
}
.ax-card a:hover {
text-decoration: underline;
}
/* SECTION */
.ax-section {
margin: 30px 0;
}
.ax-section-title {
font-size: 18px;
font-weight: 700;
margin-bottom: 10px;
letter-spacing: 0.3px;
}
.ax-list {
line-height: 1.7;
}
/* FOOTNOTE */
.ax-footnote {
padding: 16px 18px;
border-radius: 14px;
background: #0f111a;
border: 1px solid #2b304f;
font-size: 14px;
opacity: 0.95;
}
/* ARTICLE META BOX */
.ax-meta {
margin: 12px 0 22px;
padding: 16px 18px;
border-radius: 14px;
background: #0f111a;
border: 1px solid #2b304f;
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;
opacity: 0.7;
font-weight: 600;
}
.ax-meta-v {
flex: 1;
}