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.
/* ============================================
ARTICLE TEXT JUSTIFICATION - CEO PAGES ONLY
Justify text only in CEO biography articles (pages with infoboxes)
Excludes Main Page, Special pages, and Project pages
============================================ */
/* Apply justification only to main namespace articles (not Main Page) */
body.ns-0:not(.page-Main_Page) .mw-parser-output p {
text-align: justify;
text-justify: inter-word;
}
body.ns-0:not(.page-Main_Page) .mw-parser-output li {
text-align: justify;
text-justify: inter-word;
}
/* Explicitly keep Main Page left-aligned */
body.page-Main_Page .mw-parser-output * {
text-align: left !important;
}
/* Keep special pages left-aligned */
body.ns-special .mw-parser-output p,
body.ns-special .mw-parser-output li {
text-align: left !important;
}
/* Keep project namespace (CEO.wiki:) pages left-aligned */
body.ns-4 .mw-parser-output p,
body.ns-4 .mw-parser-output li {
text-align: left !important;
}
/* Keep headings left-aligned everywhere */
.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h3,
.mw-parser-output h4,
.mw-parser-output h5,
.mw-parser-output h6 {
text-align: left !important;
}
/* Keep infobox content left-aligned */
.infobox,
.infobox * {
text-align: left !important;
}
/* Keep navigation elements left-aligned */
.mw-navigation,
.mw-navigation * {
text-align: left !important;
}
/* Keep tables left-aligned */
.wikitable,
.wikitable * {
text-align: left !important;
}
/* ============================================
ACCOUNT CREATION PAGE STYLING
Center all form elements
============================================ */
/* Center the entire create account form */
.mw-special-CreateAccount #userloginForm,
.mw-special-Userlogin #userloginForm {
max-width: 500px;
margin: 0 auto;
text-align: center;
}
/* Center all form rows */
.mw-special-CreateAccount .mw-htmlform-field-HTMLTextField,
.mw-special-CreateAccount .mw-htmlform-field-HTMLPasswordField,
.mw-special-CreateAccount .mw-htmlform-field-HTMLEmailField,
.mw-special-CreateAccount .mw-htmlform-field-HTMLCheckField,
.mw-special-CreateAccount .mw-htmlform-field-HTMLInfoField {
text-align: center;
margin: 0 auto;
}
/* Center labels */
.mw-special-CreateAccount .mw-label,
.mw-special-CreateAccount label {
display: block;
text-align: center;
margin: 10px auto 5px auto;
font-weight: 600;
}
/* Center input fields */
.mw-special-CreateAccount input[type="text"],
.mw-special-CreateAccount input[type="password"],
.mw-special-CreateAccount input[type="email"] {
display: block;
margin: 5px auto 15px auto;
width: 100%;
max-width: 400px;
padding: 10px;
border: 1px solid #a2a9b1;
border-radius: 4px;
font-size: 14px;
}
/* Center help text */
.mw-special-CreateAccount .mw-htmlform-help,
.mw-special-CreateAccount .mw-htmlform-field-HTMLInfoField .mw-htmlform-field-data {
text-align: center;
margin: 5px auto 15px auto;
font-size: 0.9em;
color: #54595d;
max-width: 400px;
}
/* Center checkboxes */
.mw-special-CreateAccount .mw-htmlform-field-HTMLCheckField {
text-align: center;
}
.mw-special-CreateAccount .mw-htmlform-field-HTMLCheckField input[type="checkbox"] {
margin-right: 5px;
}
/* Center CAPTCHA */
.mw-special-CreateAccount .mw-htmlform-field-HTMLCaptchaField,
.mw-special-CreateAccount .captcha {
text-align: center;
margin: 20px auto;
}
.mw-special-CreateAccount .captcha-question {
font-weight: 600;
margin-bottom: 10px;
text-align: center;
}
/* Center submit button */
.mw-special-CreateAccount .mw-htmlform-submit-buttons {
text-align: center;
margin: 25px auto;
}
.mw-special-CreateAccount button[type="submit"],
.mw-special-CreateAccount input[type="submit"] {
padding: 12px 40px;
font-size: 16px;
font-weight: 600;
background-color: #2c5aa0;
color: white;
border: none;
border-radius: 6px;
cursor: pointer;
transition: background-color 0.3s;
}
.mw-special-CreateAccount button[type="submit"]:hover {
background-color: #1e3a6b;
}
/* Statistics box at top */
.createaccount-statistics {
background: linear-gradient(135deg, #2c5aa0 0%, #1e3a6b 100%);
color: white;
padding: 30px 20px;
margin: 0 auto 30px auto;
max-width: 600px;
border-radius: 8px;
text-align: center;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.createaccount-statistics-title {
font-size: 1.4em;
font-weight: 600;
margin-bottom: 20px;
}
.createaccount-statistics-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
margin-top: 15px;
}
.createaccount-stat-item {
text-align: center;
}
.createaccount-stat-number {
font-size: 2.5em;
font-weight: 700;
line-height: 1;
margin-bottom: 5px;
}
.createaccount-stat-label {
font-size: 0.9em;
opacity: 0.9;
text-transform: uppercase;
letter-spacing: 0.5px;
}
/* Center page title */
.mw-special-CreateAccount .firstHeading {
text-align: center;
}
/* Responsive design */
@media (max-width: 600px) {
.createaccount-statistics-grid {
grid-template-columns: 1fr;
gap: 15px;
}
.mw-special-CreateAccount input[type="text"],
.mw-special-CreateAccount input[type="password"],
.mw-special-CreateAccount input[type="email"] {
max-width: 100%;
}
}
/* ============================================
MAIN PAGE STYLING - COMPREHENSIVE
Beautiful, modern design for Main Page
============================================ */
/* Hero Section */
.mp-hero {
background: linear-gradient(135deg, #2c5aa0 0%, #1e3a6b 100%);
color: white;
padding: 50px 30px;
margin-bottom: 30px;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0,0,0,0.15);
text-align: center;
}
.mp-hero-title {
font-size: 2.8em;
font-weight: 700;
margin-bottom: 15px;
text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
.mp-hero-subtitle {
font-size: 1.3em;
font-weight: 400;
opacity: 0.95;
max-width: 800px;
margin: 0 auto;
}
/* Info Boxes Grid */
.mp-boxes {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.mp-box {
background: white;
border: 1px solid #e5e7eb;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mp-box:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.mp-box-header {
background: linear-gradient(135deg, #2c5aa0 0%, #3b6fc7 100%);
color: white;
padding: 15px 20px;
font-weight: 600;
font-size: 1.1em;
display: flex;
align-items: center;
gap: 10px;
}
.mp-box-icon {
font-size: 1.3em;
}
.mp-box-content {
padding: 20px;
line-height: 1.8;
}
.mp-box-content ul {
list-style: none;
padding: 0;
margin: 0;
}
.mp-box-content li {
margin-bottom: 10px;
}
/* Section Headers */
.mp-section-header {
font-size: 1.8em;
font-weight: 700;
color: #1e3a6b;
border-bottom: 3px solid #2c5aa0;
padding-bottom: 10px;
margin-top: 30px;
margin-bottom: 20px;
}
/* CEO Profile Cards */
.mp-ceo-profiles {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 25px;
margin-bottom: 30px;
}
.mp-ceo-card {
background: white;
border: 1px solid #e5e7eb;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 6px 16px rgba(0,0,0,0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mp-ceo-card:hover {
transform: translateY(-8px);
box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}
.mp-ceo-card-header {
background: linear-gradient(to bottom, #f8f9fa, #ffffff);
padding: 20px;
text-align: center;
}
.mp-ceo-image {
display: flex;
justify-content: center;
align-items: center;
}
.mp-ceo-image img {
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.mp-ceo-card-body {
padding: 20px;
}
.mp-ceo-title {
font-size: 1.4em;
font-weight: 700;
color: #1e3a6b;
margin-bottom: 5px;
}
.mp-ceo-company {
font-size: 1em;
color: #6b7280;
margin-bottom: 12px;
}
.mp-ceo-tagline {
font-size: 1em;
color: #2c5aa0;
margin-bottom: 12px;
}
.mp-ceo-excerpt {
font-size: 0.95em;
line-height: 1.6;
color: #374151;
margin-bottom: 12px;
}
.mp-ceo-achievements {
font-size: 0.9em;
line-height: 1.5;
color: #6b7280;
margin-bottom: 15px;
padding: 10px;
background: #f3f4f6;
border-radius: 6px;
}
.mp-ceo-link {
margin-top: 15px;
padding-top: 15px;
border-top: 1px solid #e5e7eb;
}
.mp-ceo-link a {
color: #2c5aa0;
font-weight: 600;
text-decoration: none;
}
.mp-ceo-link a:hover {
text-decoration: underline;
}
/* Feature Cards Grid */
.mp-features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 25px;
margin-bottom: 30px;
}
.mp-feature-card {
background: white;
border: 1px solid #e5e7eb;
border-radius: 12px;
padding: 25px;
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
transition: transform 0.3s ease, box-shadow 0.3s ease;
text-align: center;
}
.mp-feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.mp-feature-icon {
font-size: 2.5em;
width: 70px;
height: 70px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 20px;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.mp-feature-title {
font-size: 1.3em;
font-weight: 700;
color: #1e3a6b;
margin-bottom: 12px;
}
.mp-feature-text {
font-size: 0.95em;
line-height: 1.6;
color: #6b7280;
margin-bottom: 15px;
}
.mp-feature-link {
font-size: 0.9em;
margin-top: 10px;
}
.mp-feature-link a {
color: #2c5aa0;
font-weight: 600;
text-decoration: none;
}
.mp-feature-link a:hover {
text-decoration: underline;
}
/* Two Column Layout */
.mp-columns {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 25px;
margin-top: 30px;
}
.mp-column-left,
.mp-column-right {
min-width: 0;
}
@media (max-width: 900px) {
.mp-columns {
grid-template-columns: 1fr;
}
}
/* Cards */
.mp-card {
background: white;
border: 1px solid #e5e7eb;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.mp-card-title {
background: linear-gradient(135deg, #2c5aa0 0%, #3b6fc7 100%);
color: white;
padding: 15px 20px;
font-weight: 600;
font-size: 1.2em;
}
.mp-card-content {
padding: 20px;
line-height: 1.7;
}
/* Topic Grid */
.mp-topic-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 15px;
margin-top: 15px;
}
.mp-topic-item {
text-align: center;
padding: 15px;
background: #f8f9fa;
border-radius: 8px;
transition: background 0.3s ease, transform 0.3s ease;
}
.mp-topic-item:hover {
background: #e5e7eb;
transform: scale(1.05);
}
/* Content Items */
.mp-content-item {
display: flex;
gap: 15px;
margin-bottom: 20px;
padding-bottom: 20px;
border-bottom: 1px solid #e5e7eb;
}
.mp-content-item:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}
.mp-content-icon {
font-size: 2em;
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 10px;
flex-shrink: 0;
}
.mp-content-body {
flex: 1;
}
.mp-content-title {
font-size: 1.1em;
font-weight: 700;
color: #1e3a6b;
margin-bottom: 8px;
}
.mp-content-desc {
font-size: 0.95em;
line-height: 1.6;
color: #6b7280;
}
/* Footer */
.mp-footer {
margin-top: 40px;
padding: 30px;
background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
border-top: 3px solid #2c5aa0;
border-radius: 12px;
box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
}
/* Responsive Design */
@media (max-width: 768px) {
.mp-hero-title {
font-size: 2em;
}
.mp-hero-subtitle {
font-size: 1.1em;
}
.mp-boxes {
grid-template-columns: 1fr;
}
.mp-ceo-profiles {
grid-template-columns: 1fr;
}
.mp-features-grid {
grid-template-columns: 1fr;
}
.mp-section-header {
font-size: 1.5em;
}
}