MediaWiki:Common.css: Difference between revisions
From Lenn's Fun Stuff
No edit summary |
No edit summary |
(No difference)
| |
Revision as of 00:55, 12 March 2026
/* ============================================================
PORTABLE INFOBOX - KH STYLE (REVERTED TO STABLE LIGHT)
============================================================ */
/* Main Container */
body.mediawiki .portable-infobox {
background-color: #ffffff !important;
border: 2px solid #003366 !important;
width: 320px !important;
float: right !important;
clear: right !important;
margin: 0 0 1em 1em !important;
padding: 0 !important;
box-shadow: 2px 2px 8px rgba(0,0,0,0.15) !important;
font-family: "Georgia", serif !important;
overflow: hidden !important;
}
/* 1. THE TITLE - Forced Blue */
body.mediawiki .pi-title {
background-color: #003366 !important;
color: #ffffff !important;
font-size: 20px !important;
font-weight: bold !important;
text-align: center !important;
padding: 12px !important;
display: block !important;
}
/* 2. SECTION HEADERS - Forced Grey */
body.mediawiki .pi-header {
background-color: #4a4a4a !important;
color: #ffffff !important;
font-weight: bold !important;
text-align: center !important;
padding: 8px 0 !important;
text-transform: uppercase !important;
font-size: 11px !important;
letter-spacing: 1.5px !important;
border-top: 1px solid #333 !important;
display: block !important;
}
/* 3. IMAGE AREA */
body.mediawiki .pi-image {
display: block !important;
background-color: #f8f9fa !important;
text-align: center !important;
padding: 10px !important;
}
body.mediawiki .pi-image img {
max-width: 100% !important;
height: auto !important;
}
/* 4. DATA LABELS & VALUES */
body.mediawiki .pi-data-label {
background-color: #f2f2f2 !important;
color: #333333 !important;
font-weight: bold !important;
padding: 8px 10px !important;
}
body.mediawiki .pi-data-value {
background-color: #ffffff !important;
color: #333333 !important;
padding: 8px 10px !important;
}
/* 5. LISTS */
body.mediawiki .pi-data-value ul {
margin: 0 !important;
padding-left: 1.5em !important;
}