잔글 (Pika님이 틀:세로단/styles.css 문서를 넘겨주기를 만들지 않고 틀:세로목록/styles.css 문서로 이동했습니다) |
편집 요약 없음 |
||
1번째 줄: | 1번째 줄: | ||
.div-col { | .div-col { | ||
margin-top: 0 | margin-top: 0; | ||
column-width: 30em; | column-width: 30em; | ||
} | } |
2021년 2월 9일 (화) 13:35 판
.div-col {
margin-top: 0;
column-width: 30em;
}
/* Reset top margin for lists in div col */
.div-col dl,
.div-col ol,
.div-col ul {
margin-top: 0;
}
/* Avoid elements breaking between columns
See also Template:No col break */
.div-col li,
.div-col dd {
page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */
break-inside: avoid-column;
}