MediaWiki:Common.css: Difference between revisions
Appearance
SuperAdmin1 (talk | contribs) Add comprehensive global styles for modern design, tooltips, and text formatting |
SuperAdmin1 (talk | contribs) Revert to Wikipedia-like styling |
||
| Line 1: | Line 1: | ||
/ | /* CEO.wiki - Wikipedia-like styling with subtle enhancements */ | ||
/* | /* Keep templates functional but remove heavy styling */ | ||
.infobox { | |||
float: right; | |||
font- | clear: right; | ||
line-height: 1. | 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; | ||
text-align: | |||
} | } | ||
.infobox-header { | |||
background-color: #eaecf0; | |||
text-align: center; | |||
padding: 0.4em; | |||
} | } | ||
.infobox-title { | |||
font-size: | font-size: 125%; | ||
font-weight: bold; | |||
} | } | ||
.infobox-subtitle { | |||
font-size: | 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; | |||
color: # | 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; | |||
table | |||
width: 100%; | width: 100%; | ||
} | } | ||
.metric-card { | |||
border: 1px solid #a2a9b1; | |||
margin: 0.3em; | |||
padding | padding: 0.5em; | ||
background-color: #ffffff; | |||
} | } | ||
.metric-header { | |||
font-weight: bold; | |||
border-bottom: 1px solid # | 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; | |||
color: # | |||
} | } | ||
/* | /* Tooltip - subtle */ | ||
.ceo-tooltip { | |||
border-bottom: 1px dotted #0645ad; | |||
cursor: help; | |||
} | } | ||
.ceo-tooltip::after { | |||
content: attr(data-tooltip); | |||
. | position: absolute; | ||
font-size: | 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; | |||
} | } | ||
/* | /* Remove all other custom styling */ | ||
Revision as of 03:49, 19 October 2025
/* 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;
}
/* Remove all other custom styling */