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 |
||
| (15 intermediate revisions by the same user not shown) | |||
| Line 13: | Line 13: | ||
--pi-background: #f9f9f9; | --pi-background: #f9f9f9; | ||
--pi-secondary-background: #f2f2f2; | --pi-secondary-background: #f2f2f2; | ||
--pi-border-color: # | --pi-border-color: #a2a9b1; | ||
--pi-section-border-color: #aaaaaa; | --pi-section-border-color: #aaaaaa; | ||
--pi-width: 230px; | |||
} | } | ||
/* Match header rows/title bars with MonoBook navigation header backgrounds */ | /* Match header rows/title bars with MonoBook navigation header backgrounds */ | ||
.portable-infobox .pi-title { | .portable-infobox .pi-title { | ||
color: #000000 !important; | color: #000000 !important; | ||
font-weight: bold !important; | font-weight: bold !important; | ||
line-height: unset !important; | |||
padding: 3px | font-size: 1.3em !important; | ||
text-align: center !important; | |||
padding: 3px !important; | |||
} | } | ||
| Line 30: | Line 31: | ||
.portable-infobox .pi-data-label { | .portable-infobox .pi-data-label { | ||
font-weight: bold !important; | font-weight: bold !important; | ||
} | } | ||
.portable-infobox .pi-data-value { | .portable-infobox .pi-data-value { | ||
background-color: #ffffff !important; | /* background-color: #ffffff !important; */ | ||
border: | } | ||
.portable-infobox .pi-data { | |||
border: none !important; | |||
margin-top: 3px !important; | |||
padding: 0px !important; | |||
} | |||
.portable-infobox .pi-media { | |||
margin-bottom: 3px; | |||
} | |||
.portable-infobox .pi-header { | |||
background: lavender !important; | |||
font-size: unset !important; | |||
color: #000000 !important; | |||
font-weight: bold !important; | |||
line-height: unset !important; | |||
text-align: center !important; | |||
padding: 0px; | |||
} | } | ||
Latest revision as of 20:30, 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: #a2a9b1;
--pi-section-border-color: #aaaaaa;
--pi-width: 230px;
}
/* Match header rows/title bars with MonoBook navigation header backgrounds */
.portable-infobox .pi-title {
color: #000000 !important;
font-weight: bold !important;
line-height: unset !important;
font-size: 1.3em !important;
text-align: center !important;
padding: 3px !important;
}
/* Match table data cells and labels */
.portable-infobox .pi-data-label {
font-weight: bold !important;
}
.portable-infobox .pi-data-value {
/* background-color: #ffffff !important; */
}
.portable-infobox .pi-data {
border: none !important;
margin-top: 3px !important;
padding: 0px !important;
}
.portable-infobox .pi-media {
margin-bottom: 3px;
}
.portable-infobox .pi-header {
background: lavender !important;
font-size: unset !important;
color: #000000 !important;
font-weight: bold !important;
line-height: unset !important;
text-align: center !important;
padding: 0px;
}