Jump to content

Module:Flex columns/styles.css

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Evad37 (talk | contribs) at 03:29, 26 July 2018 (min-width: 360px; padding for columns except on small screens). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
.flex-columns-container {
	clear:both;
	width:100%;
	display: flex;
	flex-wrap: wrap;
}
.flex-columns-container > .flex-columns-column {
	float: left;
	width: 50%;
	min-width: 360px;
	padding: 0 0.5em;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}
@media screen and (max-width: 720px) {
	.flex-columns-container > .flex-columns-column {
		padding: 0;
	}
}
.flex-columns-container > .flex-columns-column > div {
	flex: 1 0 auto;
}
.flex-columns-container > .flex-columns-column > div.flex-columns-noflex {
	flex: 0;
}