잔글 (Pika님이 틀:세로단/styles.css 문서를 넘겨주기를 만들지 않고 틀:세로목록/styles.css 문서로 이동했습니다) |
편집 요약 없음 |
||
(같은 사용자의 중간 판 14개는 보이지 않습니다) | |||
1번째 줄: | 1번째 줄: | ||
.div-col { | .div-col { | ||
margin-top: 0 | margin-bottom: 1em; | ||
padding-top: 0; | |||
column-width: 30em; | column-width: 30em; | ||
} | } |
2021년 5월 27일 (목) 22:40 기준 최신판
.div-col {
margin-bottom: 1em;
padding-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;
}