MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
mNo edit summary Tag: Manual revert |
||
| (22 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.infobox { | |||
table-layout: fixed; | |||
} | |||
.infobox td, | .infobox td, | ||
.infobox th { | .infobox th { | ||
| Line 8: | Line 11: | ||
} | } | ||
.flagicon | .flagicon { | ||
display: inline-block; | |||
vertical-align: middle; | |||
margin-right: 0.25em; | |||
} | |||
.flagtext { | .flagtext { | ||
display: inline; | display: inline; | ||
white-space: | vertical-align: middle; | ||
white-space: normal; | |||
} | } | ||
. | /* === Wikipedia-style infobox === */ | ||
margin-left: 0 | .infobox { | ||
float: right; | |||
clear: right; | |||
margin: 0.2em 0 1em 1em; | |||
font-size: 88%; | |||
border: 1px solid #a2a9b1; | |||
background-color: #f8f9fa; | |||
color: #202122; | |||
.infobox td ul { | |||
list-style: none; | |||
margin: 0; | |||
padding: 0; | |||
} | |||
.infobox td ul li { | |||
padding-left: 1.2em; | |||
position: relative; | |||
} | |||
.infobox td ul li::before { | |||
content: "•"; | |||
position: absolute; | |||
left: 0; | |||
} | } | ||
Latest revision as of 13:34, 29 January 2026
/* CSS placed here will be applied to all skins */
.infobox {
table-layout: fixed;
}
.infobox td,
.infobox th {
white-space: normal;
word-break: break-word;
overflow-wrap: anywhere;
}
.flagicon {
display: inline-block;
vertical-align: middle;
margin-right: 0.25em;
}
.flagtext {
display: inline;
vertical-align: middle;
white-space: normal;
}
/* === Wikipedia-style infobox === */
.infobox {
float: right;
clear: right;
margin: 0.2em 0 1em 1em;
font-size: 88%;
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
color: #202122;
.infobox td ul {
list-style: none;
margin: 0;
padding: 0;
}
.infobox td ul li {
padding-left: 1.2em;
position: relative;
}
.infobox td ul li::before {
content: "•";
position: absolute;
left: 0;
}