Jump to content

MediaWiki:Common.css: Difference between revisions

From Fifth Empire Wiki
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) */
.flagicon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.25em;
}
/* Infobox text wrapping (Wikipedia behavior) */
.infobox td,
.infobox td,
.infobox th {
.infobox th {
white-space: normal;
white-space: normal;
word-wrap: break-word;
word-break: break-word;
overflow-wrap: break-word;
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;
}