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.
/* CEO.wiki - Wikipedia-like styling with subtle enhancements */
/* Keep templates functional but remove heavy styling */
.infobox {
float: right;
clear: right;
width: 22em;
margin: 0.5em 0 0.5em 1em;
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
padding: 0.2em;
font-size: 88%;
line-height: 1.5em;
}
.infobox-image {
text-align: center;
padding: 0.2em;
}
.infobox-header {
background-color: #eaecf0;
text-align: center;
padding: 0.4em;
}
.infobox-title {
font-size: 125%;
font-weight: bold;
}
.infobox-subtitle {
font-size: 100%;
}
.infobox-section {
border-top: 1px solid #a2a9b1;
padding: 0.3em 0.5em;
}
.infobox-section-header {
font-weight: bold;
padding: 0.2em 0;
}
.infobox-row {
margin: 0.2em 0;
}
.infobox-label {
font-weight: bold;
}
.infobox-data {
}
/* Performance charts - Wikipedia table style */
.performance-chart {
margin: 1em 0;
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
padding: 0.5em;
}
.chart-header {
text-align: center;
padding: 0.5em;
border-bottom: 1px solid #a2a9b1;
}
.chart-title {
font-size: 120%;
font-weight: bold;
}
.metrics-grid {
display: table;
width: 100%;
}
.metric-card {
border: 1px solid #a2a9b1;
margin: 0.3em;
padding: 0.5em;
background-color: #ffffff;
}
.metric-header {
font-weight: bold;
border-bottom: 1px solid #a2a9b1;
padding-bottom: 0.2em;
margin-bottom: 0.3em;
}
.metric-comparison {
display: flex;
justify-content: space-between;
padding: 0.3em 0;
}
.metric-label {
font-size: 85%;
}
.metric-value {
font-weight: bold;
}
.metric-change {
text-align: center;
padding: 0.3em;
margin-top: 0.3em;
border-top: 1px solid #a2a9b1;
}
.change-positive {
color: #00af89;
}
.change-negative {
color: #d33;
}
/* Tooltip - subtle */
.ceo-tooltip {
border-bottom: 1px dotted #0645ad;
cursor: help;
}
.ceo-tooltip::after {
content: attr(data-tooltip);
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%);
background: #202122;
color: #fff;
padding: 0.5em;
border-radius: 3px;
font-size: 12px;
width: 200px;
opacity: 0;
pointer-events: none;
transition: opacity 0.2s;
z-index: 1000;
}
.ceo-tooltip:hover::after {
opacity: 1;
}
/* ========================================
MAIN PAGE ENHANCEMENTS - CORPORATE STYLE
DEEP BLUE PROFESSIONAL THEME
======================================== */
/* Hero Banner - Deep Navy/Midnight Blue */
.mp-hero {
background: linear-gradient(135deg, #051429 0%, #0a2540 50%, #1e3a5c 100%);
color: white;
padding: 2.5em 2em;
margin-bottom: 1.5em;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(5, 20, 41, 0.4);
text-align: center;
border: 1px solid #1a3050;
}
.mp-hero-title {
font-size: 2.5em;
font-weight: 600;
margin-bottom: 0.3em;
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
letter-spacing: -0.02em;
}
.mp-hero-subtitle {
font-size: 1.2em;
opacity: 0.92;
font-weight: 300;
color: #d1dce8;
}
/* Featured Boxes Grid */
.mp-boxes {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1em;
margin: 1.5em 0;
}
.mp-box {
border: 1px solid #d0d7de;
border-radius: 6px;
padding: 1.5em;
background: #ffffff;
transition: all 0.3s ease;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.mp-box:hover {
box-shadow: 0 4px 12px rgba(10, 37, 64, 0.2);
transform: translateY(-2px);
border-color: #1e3a5c;
}
.mp-box-header {
font-size: 1.4em;
font-weight: 600;
color: #051429;
margin-bottom: 0.8em;
padding-bottom: 0.5em;
border-bottom: 2px solid #e5e7eb;
display: flex;
align-items: center;
}
.mp-box-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 1.5em;
height: 1.5em;
margin-right: 0.4em;
background: linear-gradient(135deg, #0a2540 0%, #1e3a5c 100%);
color: white;
border-radius: 4px;
font-size: 0.8em;
font-weight: bold;
font-style: normal;
box-shadow: 0 2px 4px rgba(5, 20, 41, 0.3);
}
.mp-box-content {
line-height: 1.6;
}
.mp-box ul {
list-style: none;
padding: 0;
margin: 0;
}
.mp-box li {
padding: 0.4em 0;
padding-left: 1.5em;
position: relative;
}
.mp-box li:before {
content: "▸";
position: absolute;
left: 0;
color: #1e3a5c;
font-weight: bold;
}
/* Stats/Features Section */
.mp-features {
background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
border: 1px solid #d0d7de;
border-radius: 6px;
padding: 1.5em;
margin: 1.5em 0;
}
.mp-features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1.5em;
margin-top: 1em;
}
.mp-feature-item {
text-align: center;
padding: 1em;
}
.mp-feature-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 3em;
height: 3em;
margin: 0 auto 0.5em;
background: linear-gradient(135deg, #051429 0%, #1e3a5c 100%);
color: white;
border-radius: 8px;
font-size: 1.5em;
font-weight: bold;
font-style: normal;
box-shadow: 0 4px 8px rgba(5, 20, 41, 0.25);
}
.mp-feature-title {
font-weight: 600;
font-size: 1.1em;
color: #051429;
margin-bottom: 0.3em;
}
.mp-feature-text {
font-size: 0.9em;
color: #4b5563;
line-height: 1.5;
}
/* Content Cards */
.mp-card {
background: white;
border: 1px solid #d0d7de;
border-left: 4px solid #1e3a5c;
border-radius: 4px;
padding: 1.2em;
margin: 1em 0;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.mp-card-title {
font-size: 1.3em;
font-weight: 600;
color: #051429;
margin-bottom: 0.6em;
}
.mp-card-content {
color: #374151;
line-height: 1.7;
}
/* Two-column layout for larger screens */
.mp-columns {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5em;
margin: 1.5em 0;
}
@media (max-width: 768px) {
.mp-columns {
grid-template-columns: 1fr;
}
}
/* Button/Link styling */
.mp-button {
display: inline-block;
padding: 0.6em 1.2em;
background: linear-gradient(135deg, #0a2540 0%, #1e3a5c 100%);
color: white !important;
border-radius: 4px;
text-decoration: none;
font-weight: 500;
transition: all 0.2s ease;
box-shadow: 0 2px 4px rgba(5, 20, 41, 0.3);
}
.mp-button:hover {
background: linear-gradient(135deg, #051429 0%, #0a2540 100%);
text-decoration: none;
box-shadow: 0 4px 8px rgba(5, 20, 41, 0.4);
}
.mp-button-outline {
background: white;
color: #1e3a5c !important;
border: 2px solid #1e3a5c;
}
.mp-button-outline:hover {
background: #f0f4f8;
}
/* Section Headers */
.mp-section-header {
font-size: 1.8em;
font-weight: 600;
color: #051429;
margin: 1.5em 0 0.8em 0;
padding-bottom: 0.4em;
border-bottom: 3px solid #1e3a5c;
}
/* Wikipedia compatibility - ensure main page doesn't break existing styles */
.mw-parser-output .mp-hero,
.mw-parser-output .mp-box,
.mw-parser-output .mp-card {
font-size: inherit;
}
/* ========================================
LOGO FIXES FOR WIDE HORIZONTAL LOGO
======================================== */
/* Fix for wide horizontal logo - maintain aspect ratio */
/* Vector 2022 skin logo fixes */
.mw-logo-icon {
width: auto !important;
height: auto !important;
max-width: 200px !important;
max-height: 60px !important;
}
.mw-logo-container {
width: auto !important;
min-width: 160px;
}
/* Logo image itself */
.mw-logo-icon img,
.mw-wiki-logo img {
width: auto !important;
height: auto !important;
max-width: 200px !important;
max-height: 60px !important;
object-fit: contain !important;
}
/* Vector legacy skin compatibility */
#p-logo a,
#p-logo {
width: auto !important;
height: auto !important;
}
#p-logo a {
background-size: contain !important;
background-position: center !important;
background-repeat: no-repeat !important;
min-width: 160px;
height: 60px;
}
/* Wordmark area adjustment for Vector 2022 */
.vector-header-start {
flex-grow: 0;
}
.mw-logo {
margin-right: 1em;
}
/* Make sure logo doesn't get cropped */
.mw-logo-container,
.mw-logo-icon {
overflow: visible !important;
}/* Wikipedia-style footer */
#footer {
background: #f8f9fa;
border-top: 1px solid #a2a9b1;
padding: 1.5em 0;
margin-top: 2em;
}
#footer ul {
text-align: center;
list-style: none;
padding: 0;
margin: 0;
}
#footer li {
display: inline-block;
padding: 0 0.5em;
font-size: 0.85em;
line-height: 2em;
}
#footer li:after {
content: "·";
padding-left: 0.8em;
color: #a2a9b1;
}
#footer li:last-child:after {
content: "";
}
#footer-info {
text-align: center;
padding: 0.5em 0;
}
.mw-footer {
background: #f8f9fa;
border-top: 1px solid #a2a9b1;
}
.mw-footer ul {
padding: 0.5em 0;
}
.mw-footer li {
color: #54595d;
font-size: 0.85em;
}
/* Footer spacing */
.mw-footer-container {
padding: 1em 0;
}/* Compact layout for main page boxes */
.mp-box {
border: 1px solid #d0d7de;
border-radius: 6px;
padding: 1em;
background: #ffffff;
transition: all 0.3s ease;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.mp-box-content ul {
margin: 0;
padding: 0;
}
.mp-box li {
padding: 0.25em 0;
padding-left: 1.2em;
position: relative;
line-height: 1.4;
}
/* Random article feature box */
.mp-random-article {
border: 1px solid #d0d7de;
border-radius: 6px;
padding: 1em;
background: #ffffff;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
margin: 1em 0;
}
.mp-random-article-image {
text-align: center;
margin: 0.5em 0;
background: #f8f9fa;
padding: 1em;
border-radius: 4px;
}
.mp-random-article-title {
font-size: 1.2em;
font-weight: 600;
color: #051429;
margin-bottom: 0.5em;
text-align: center;
}
.mp-random-article-excerpt {
font-size: 0.9em;
line-height: 1.5;
color: #4b5563;
}
/* Feature item clickable */
.mp-feature-item {
text-align: center;
padding: 1em;
cursor: pointer;
transition: transform 0.2s ease;
}
.mp-feature-item:hover {
transform: translateY(-3px);
}
.mp-feature-item a {
text-decoration: none;
color: inherit;
}
.mp-feature-item a:hover .mp-feature-icon {
box-shadow: 0 6px 12px rgba(5, 20, 41, 0.35);
}/* Fix spacing issues */
.mp-features {
margin-top: 1em; /* Reduced from 1.5em */
background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
border: 1px solid #d0d7de;
border-radius: 6px;
padding: 1.5em;
}
.mp-section-header {
font-size: 1.8em;
font-weight: 600;
color: #051429;
margin: 0 0 0.8em 0; /* Removed top margin */
padding-bottom: 0.4em;
border-bottom: 3px solid #1e3a5c;
}
/* ========================================
COMPREHENSIVE FOOTER - WIKIPEDIA STYLE
======================================== */
.ceo-wiki-footer {
background: #f8f9fa;
border-top: 1px solid #a2a9b1;
margin-top: 3em;
padding: 2em 1.5em 1em 1.5em;
}
.footer-sections {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 2em;
max-width: 1200px;
margin: 0 auto 2em auto;
padding-bottom: 1.5em;
border-bottom: 1px solid #d0d7de;
}
.footer-column h4 {
font-size: 1em;
font-weight: 600;
color: #202122;
margin: 0 0 0.8em 0;
padding-bottom: 0.5em;
border-bottom: 2px solid #1e3a5c;
}
.footer-column ul {
list-style: none;
padding: 0;
margin: 0;
}
.footer-column li {
margin: 0.4em 0;
line-height: 1.5;
}
.footer-column a {
color: #0645ad;
text-decoration: none;
font-size: 0.9em;
}
.footer-column a:hover {
text-decoration: underline;
}
.footer-meta {
text-align: center;
font-size: 0.85em;
color: #54595d;
line-height: 1.6;
max-width: 900px;
margin: 1.5em auto;
padding: 1em 0;
border-bottom: 1px solid #d0d7de;
}
.footer-meta a {
color: #0645ad;
text-decoration: none;
}
.footer-meta a:hover {
text-decoration: underline;
}
.footer-powered {
text-align: center;
padding: 1em 0 0.5em 0;
}
.footer-powered img {
opacity: 0.8;
transition: opacity 0.2s ease;
}
.footer-powered img:hover {
opacity: 1;
}
.footer-categories {
max-width: 900px;
margin: 1.5em auto 0 auto;
padding: 1.5em 0 0 0;
border-top: 1px solid #d0d7de;
}
.footer-categories-header {
font-size: 1em;
font-weight: 600;
color: #202122;
margin-bottom: 1em;
text-align: center;
}
.footer-categories-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1em;
}
.footer-category-section {
background: white;
border: 1px solid #d0d7de;
border-radius: 4px;
padding: 0.8em;
}
.footer-category-section h5 {
font-size: 0.9em;
font-weight: 600;
color: #051429;
margin: 0 0 0.5em 0;
padding-bottom: 0.3em;
border-bottom: 1px solid #e5e7eb;
}
.footer-category-section ul {
list-style: none;
padding: 0;
margin: 0;
}
.footer-category-section li {
margin: 0.3em 0;
font-size: 0.85em;
}
.footer-category-section a {
color: #0645ad;
text-decoration: none;
}
.footer-category-section a:hover {
text-decoration: underline;
}
/* Responsive footer for mobile */
@media (max-width: 768px) {
.footer-sections {
grid-template-columns: 1fr 1fr;
gap: 1.5em;
}
.footer-categories-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 480px) {
.footer-sections {
grid-template-columns: 1fr;
}
}
/* Footer legal links section */
.footer-legal-links {
text-align: center;
font-size: 0.85em;
color: #54595d;
padding: 1em 0;
margin-top: 0.5em;
border-top: 1px solid #d0d7de;
}
.footer-legal-links a {
color: #0645ad;
text-decoration: none;
padding: 0 0.5em;
}
.footer-legal-links a:hover {
text-decoration: underline;
}
/* Text justification for articles and cards */
.mw-parser-output p,
.mw-body-content p,
.mw-content-text p {
text-align: justify;
}
.mp-box-content,
.mp-card-content,
.mp-random-article-excerpt {
text-align: justify;
}
/* Ensure infobox text is NOT justified */
.infobox p,
.infobox-data {
text-align: left;
}
/* ========================================
GEOGRAPHIC CEO NAVIGATION FOOTER
======================================== */
.ceo-geographic-nav {
background: linear-gradient(to bottom, #f0f4f8 0%, #ffffff 100%);
border-top: 3px solid #1e3a5c;
border-bottom: 1px solid #d0d7de;
padding: 2em 1.5em;
margin-bottom: 0;
}
.geo-nav-header {
text-align: center;
font-size: 1.6em;
font-weight: 600;
color: #051429;
margin-bottom: 1.5em;
padding-bottom: 0.5em;
}
.geo-nav-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2em;
max-width: 1200px;
margin: 0 auto;
}
.geo-nav-region {
background: white;
border: 1px solid #d0d7de;
border-radius: 6px;
padding: 1.2em;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
}
.geo-nav-region:hover {
box-shadow: 0 4px 12px rgba(10, 37, 64, 0.15);
transform: translateY(-2px);
border-color: #1e3a5c;
}
.geo-nav-region h4 {
font-size: 1.1em;
font-weight: 600;
color: #051429;
margin: 0 0 0.8em 0;
padding-bottom: 0.5em;
border-bottom: 2px solid #1e3a5c;
}
.geo-nav-region ul {
list-style: none;
padding: 0;
margin: 0;
}
.geo-nav-region li {
margin: 0.5em 0;
padding-left: 1.2em;
position: relative;
}
.geo-nav-region li:before {
content: "▸";
position: absolute;
left: 0;
color: #1e3a5c;
font-weight: bold;
}
.geo-nav-region a {
color: #0645ad;
text-decoration: none;
font-size: 0.95em;
}
.geo-nav-region a:hover {
text-decoration: underline;
color: #051429;
}
/* Responsive geographic nav */
@media (max-width: 768px) {
.geo-nav-grid {
grid-template-columns: 1fr 1fr;
gap: 1em;
}
}
@media (max-width: 480px) {
.geo-nav-grid {
grid-template-columns: 1fr;
}
}