MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 23: | Line 23: | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
align-items: center; | |||
margin-top: 0.5rem; | |||
} | } | ||
.infobox-table:nth-child(odd) { | .infobox-table > span:nth-child(odd) { | ||
font-weight: strong; | font-weight: strong; | ||
} | } | ||
Revision as of 15:43, 29 June 2025
/* CSS placed here will be applied to all skins */
.infobox {
background: #f7f7f7;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 0.25em;
width: 300px;
}
.infobox-title {
font-size: 1.5rem;
text-align: center;
}
.infobox-subtitle {
font-style: italic;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox-table {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 0.5rem;
}
.infobox-table > span:nth-child(odd) {
font-weight: strong;
}