Naar inhoud springen

Sjabloon:Kolommen/styles.css

Uit Wikipedia, de vrije encyclopedie
.kolommen {
	display: flex;
	flex-wrap: wrap;
	column-gap: 1em;
	row-gap: 0.3em;
	margin-top: 0.3em;
	clear: left;
}

.kolom {
	flex: 1 1 15em;
}

.infobox .kolom,
.thumbcaption .kolom {
	flex-basis: 0;
}

.kolommen-auto > .kolom {
	flex-basis: auto;
}

.kolommen-compact > .kolom {
	flex-grow: 0;
}

/* Bewerklinks onder de titel */
.kolom .mw-heading {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.kolom .mw-heading:first-of-type {
    margin-top: 0;
}

.kolom .mw-editsection {
    margin: 0 0 0.5em 0;
    line-height: unset;
}

body.skin-minerva .kolom .mw-heading {
	flex-direction: row;
}

body.skin-minerva .kolom .mw-editsection {
    margin: inherit;
}

/* Responsive */
@media screen and (max-width:640px) {
	.kolommen:not(.kolommen-compact) {
		flex-direction: column;
	}
	
	.kolom {
	    flex: 1 1 auto !important;
	}
	
	.kolommen-compact > .kolom {
		flex: 0 1 auto !important;
	}
	
	.kolom .wikitable {
		display: table;
		min-width: 100%;
		table-layout: fixed;
	}
}

/* [[Categorie:Wikipedia:TemplateStyles-pagina's]] */