Difference between revisions of "Template:Col head/styles.css"

From blackwiki
Jump to navigation Jump to search
imported>IagoQnsi
(avoid --> avoid-column)
imported>IagoQnsi
m (probably would want to avoid page/region breaks as well)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
.col-head-head {
 
.col-head-head {
 
display: block;
 
display: block;
break-inside: avoid-column;
+
break-inside: avoid;
 
}
 
}
 
.col-head-head::after {
 
.col-head-head::after {
 
content: "";
 
content: "";
 
display: block;
 
display: block;
height: 50%;
+
height: 5em;
margin-bottom: -50%;
+
margin-bottom: -5em;
 
}
 
}

Latest revision as of 19:51, 20 June 2020

.col-head-head {
	display: block;
	break-inside: avoid;
}
.col-head-head::after {
	content: "";
	display: block;
	height: 5em;
	margin-bottom: -5em;
}