MediaWiki:Common.css: Difference between revisions
Appearance
Created page with "→CSS placed here will be applied to all skins: →Template:Infobox person: .infobox-person { width: 300px; float: right; clear: right; margin: 0 0 1em 1em; font-size: 90%; border: 1px solid var(--border-color-base, #a2a9b1); background: var(--background-color-base, #fff); color: var(--color-base, #202122); } .infobox-person__title { text-align: center; font-size: 125%; background: var(--background-color-interactive-subtle, #eaecf0); } .info..." |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 22: | Line 22: | ||
text-align: left; | text-align: left; | ||
font-weight: bold; | font-weight: bold; | ||
} | |||
/* Remove spacing for the first couple <p> right after the infobox */ | |||
.infobox-person + p, | |||
.infobox-person + p + p { | |||
margin: 0; | |||
} | |||
.infobox-person + p br, | |||
.infobox-person + p + p br { | |||
display: none; | |||
} | } | ||
Latest revision as of 11:01, 9 January 2026
/* CSS placed here will be applied to all skins */
/* Template:Infobox person */
.infobox-person {
width: 300px;
float: right;
clear: right;
margin: 0 0 1em 1em;
font-size: 90%;
border: 1px solid var(--border-color-base, #a2a9b1);
background: var(--background-color-base, #fff);
color: var(--color-base, #202122);
}
.infobox-person__title {
text-align: center;
font-size: 125%;
background: var(--background-color-interactive-subtle, #eaecf0);
}
.infobox-person th {
text-align: left;
font-weight: bold;
}
/* Remove spacing for the first couple <p> right after the infobox */
.infobox-person + p,
.infobox-person + p + p {
margin: 0;
}
.infobox-person + p br,
.infobox-person + p + p br {
display: none;
}