"틀:세로목록/styles.css"의 두 판 사이의 차이

(새 문서: .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; } /* Avoi...)
 
(Poopki님이 틀:세로목록/styles.css 문서의 콘텐츠 모델을 "위키텍스트"에서 "세니타이즈드 CSS"(으)로 바꾸었습니다)
태그: 콘텐츠 모델 변경
 
(같은 사용자의 중간 판 5개는 보이지 않습니다)
5번째 줄: 5번째 줄:
 
}
 
}
  
/* Reset top margin for lists in div col */
 
 
.div-col dl,
 
.div-col dl,
 
.div-col ol,
 
.div-col ol,
12번째 줄: 11번째 줄:
 
}
 
}
  
/* Avoid elements breaking between columns
 
  See also Template:No col break */
 
 
.div-col li,
 
.div-col li,
 
.div-col dd {
 
.div-col dd {
page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */
+
page-break-inside: avoid;
 
break-inside: avoid-column;
 
break-inside: avoid-column;
 
}
 
}

2022년 8월 13일 (토) 23:40 기준 최신판

.div-col {
	margin-bottom: 1em;
	padding-top: 0;
	column-width: 30em;
}

.div-col dl,
.div-col ol,
.div-col ul {
	margin-top: 0;
}

.div-col li,
.div-col dd {
	page-break-inside: avoid;
	break-inside: avoid-column;
}