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) */
.infobox {
table-layout: fixed;
}
 
.infobox td,
.infobox td,
.infobox th {
.infobox th {
Line 8: Line 11:
}
}


/* Flag + name stay together */
.flagicon {
display: inline-block;
vertical-align: middle;
margin-right: 0.25em;
}
 
.flagtext {
.flagtext {
display: inline;
display: inline;
vertical-align: middle;
vertical-align: middle;
white-space: normal;
white-space: normal;
}
.flagtext {
margin-left: 0.25em;
}
.infobox {
table-layout: fixed;
}
}

Revision as of 23:09, 23 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;
}