Template:Column/styles.css: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
Wikipedia >Izno
(min width these at 20em)
 
m (1 revision imported: Templates and CSS files)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* {{pp-template}} */
/* {{pp-template}} */
@media (min-width: 720px) {
@media (min-width: 720px) {
.columns-start {
.columns-start .column {
width: 100%;
}
 
.columns-start div.column {
/* @noflip */
/* @noflip */
float: left;
float: left;
Line 11: Line 7:
}
}
.columns-2 div.column {
.columns-2 .column {
width: 50%;
width: 50%;
}
}
.columns-3 div.column {
.columns-3 .column {
width: 33.3%;
width: 33.3%;
}
}
.columns-4 div.column {
.columns-4 .column {
width: 25%;
width: 25%;
}
}
.columns-5 div.column {
.columns-5 .column {
width: 20%;
width: 20%;
}
}
}
}

Latest revision as of 19:27, 4 December 2022

/* {{pp-template}} */
@media (min-width: 720px) {
	.columns-start .column {
		/* @noflip */
		float: left;
		min-width: 20em;
	}
	
	.columns-2 .column {
		width: 50%;
	}
	
	.columns-3 .column {
		width: 33.3%;
	}
	
	.columns-4 .column {
		width: 25%;
	}
	
	.columns-5 .column {
		width: 20%;
	}
}