Template:Col/styles.css: Difference between revisions
Appearance
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; }" |
(No difference)
|
Latest revision as of 21:31, 29 May 2022
.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;
}