Template:Col/styles.css

From Bradshaw, the companion guide to On Our Lines
Revision as of 21:31, 29 May 2022 by Jarley (talk | contribs) (Created page with ".col { margin-top: 0.3em; column-width: 30em; } .col-small { font-size: 90%; } .col-rules { column-rule: 1px solid #aaa; } →‎Reset top margin for lists: .col dl, .col ol, .col ul { margin-top: 0; } →‎Avoid elements breaking between columns: .col li, .col dd { page-break-inside: avoid; break-inside: avoid-column; }")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.col {
	margin-top: 0.3em;
	column-width: 30em;
}

.col-small {
	font-size: 90%;
}

.col-rules {
	column-rule: 1px solid #aaa;
}

/* Reset top margin for lists*/
.col dl,
.col ol,
.col ul {
	margin-top: 0;
}

/* Avoid elements breaking between columns */
.col li,
.col dd {
	page-break-inside: avoid;
	break-inside: avoid-column;
}