Template:Endorsements box/styles.css

< Template:Endorsements box
Revision as of 21:04, 21 January 2022 by Ethan (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
/* {{pp|small=yes}} */
.endorsements-box {
	width: 100%;
	margin-right: auto;
	margin-top: 0.2em;
	font-size: 88%;
	background: #fdfdfd;
	text-align: left;
	border: solid 1px silver;
}

.endorsements-box-title {
	border-bottom: solid 1px silver;
	background: #eee;
	font-weight: bold;
	padding: 0.3em;
}

.endorsements-box-list {
	padding: 0.5em;
	background-color: transparent;
}

.endorsements-box-list-columns {
	margin-top: 0.3em;
	column-width: 20em;
}

.endorsements-box-list-columns dl,
.endorsements-box-list-columns ol,
.endorsements-box-list-columns ul {
	margin-top: 0;
}

/* Avoid elements breaking between columns */
.endorsements-box-list-columns li,
.endorsements-box-list-columns dd {
	page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */
	break-inside: avoid-column;
}