Template:Column/styles.css: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
m (1 revision imported)
(remove overspecification, remove 100% default width)
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%;
}
}
}
}

Revision as of 03:44, 21 May 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%;
	}
}