:Div col/styles.css

< 틀:Div col
젊은리버럴 (토론 | 기여)님의 2024년 2월 12일 (월) 04:04 판 (새 문서: .div-col { margin-top: 0.3em; column-width: 30em; } .div-col-small { font-size: 90%; } .div-col-rules { column-rule: 1px solid #aaa; } →‎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; } /* Unbulleted li...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)
.div-col {
	margin-top: 0.3em;
	column-width: 30em;
}

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

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

/* 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;
}

/* Unbulleted lists */
	
.plainlist ol,
.plainlist ul {
	line-height: inherit;
	list-style: none;
	margin: 0;
}
	
.plainlist ol li,
.plainlist ul li {
	margin-bottom: 0;
}