MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* Infobox wrapping (Wikipedia behavior) */ | |||
/* Infobox | |||
.infobox td, | .infobox td, | ||
.infobox th { | .infobox th { | ||
white-space: normal; | white-space: normal; | ||
word- | word-break: break-word; | ||
overflow-wrap: | overflow-wrap: anywhere; | ||
} | |||
/* Flag + name stay together */ | |||
.flagicon, | |||
.flagtext { | |||
display: inline; | |||
white-space: nowrap; | |||
} | |||
.flagtext { | |||
margin-left: 0.25em; | |||
} | } | ||
Revision as of 23:05, 23 January 2026
/* CSS placed here will be applied to all skins */
/* Infobox wrapping (Wikipedia behavior) */
.infobox td,
.infobox th {
white-space: normal;
word-break: break-word;
overflow-wrap: anywhere;
}
/* Flag + name stay together */
.flagicon,
.flagtext {
display: inline;
white-space: nowrap;
}
.flagtext {
margin-left: 0.25em;
}