MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 24: | Line 24: | ||
} | } | ||
/* | /* Remove spacing for the first couple <p> right after the infobox */ | ||
.infobox-person + p | .infobox-person + p, | ||
.infobox-person + p + p { | |||
margin: 0; | |||
} | |||
.infobox-person + p br, | |||
.infobox-person + p + p br { | |||
display: none; | 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;
}