MediaWiki:Monobook.css: Difference between revisions
Appearance
Zephyrsnoww (talk | contribs) Created page with "→All CSS here will be loaded for users of the MonoBook skin: →Style PortableInfobox to perfectly match MonoBook: .portable-infobox { background-color: #f9f9f9 !important; border: 1px solid #aaaaaa !important; color: #000000 !important; font-size: 12.6px !important; →Matches standard 90% sidebar text font size: line-height: 1.5em !important; padding: 5px !important; border-collapse: collapse !important; /* Injecting MonoBoo..." |
Zephyrsnoww (talk | contribs) No edit summary |
||
| Line 37: | Line 37: | ||
.portable-infobox .pi-data-value { | .portable-infobox .pi-data-value { | ||
background-color: #ffffff !important; | background-color: #ffffff !important; | ||
} | } | ||
Revision as of 19:12, 22 October 2026
/* All CSS here will be loaded for users of the MonoBook skin */
/* Style PortableInfobox to perfectly match MonoBook */
.portable-infobox {
background-color: #f9f9f9 !important;
border: 1px solid #aaaaaa !important;
color: #000000 !important;
font-size: 12.6px !important; /* Matches standard 90% sidebar text font size */
line-height: 1.5em !important;
padding: 5px !important;
border-collapse: collapse !important;
/* Injecting MonoBook color variables for internal components */
--pi-background: #f9f9f9;
--pi-secondary-background: #f2f2f2;
--pi-border-color: #aaaaaa;
--pi-section-border-color: #aaaaaa;
}
/* Match header rows/title bars with MonoBook navigation header backgrounds */
.portable-infobox .pi-header,
.portable-infobox .pi-title {
background-color: #e0e0e0 !important;
color: #000000 !important;
font-weight: bold !important;
border: 1px solid #aaaaaa !important;
padding: 3px 5px !important;
}
/* Match table data cells and labels */
.portable-infobox .pi-data-label {
font-weight: bold !important;
background-color: #f2f2f2 !important;
border: 1px solid #aaaaaa !important;
padding: 4px 6px !important;
}
.portable-infobox .pi-data-value {
background-color: #ffffff !important;
}