MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary Tag: Reverted |
||
| Line 26: | Line 26: | ||
.infobox > tbody:nth-child(1) { | .infobox > tbody:nth-child(1) { | ||
width:100%; | width:100%; | ||
} | |||
.infobox tbody tr td:only-child { | |||
flex-grow: 1; | |||
text-align: center; | |||
} | } | ||
Revision as of 16:45, 25 August 2025
/* CSS placed here will be applied to all skins */
.infobox {
float:right;
}
table.infobox {
width: 33%;
border: 1px solid #d3d3d3 !important;
}
table.infobox.book tbody tr {
display:flex;
flex-wrap:wrap;
}
tr {
display:flex;
flex-wrap:wrap;
}
.infobox tbody tr td {
width: 50%;
}
.infobox > tbody:nth-child(1) {
width:100%;
}
.infobox tbody tr td:only-child {
flex-grow: 1;
text-align: center;
}
table.infobox.book tbody {
width:100%;
}