Sjabloon:Kolommen/styles.css
Uit Wiki Raamsdonks Erfgoed
.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 h1,
.kolom h2,
.kolom h3,
.kolom h4 {
display: flex;
flex-direction: column;
padding: 0;
}
.kolom h1:first-of-type,
.kolom h2:first-of-type,
.kolom h3:first-of-type,
.kolom h4:first-of-type {
margin-top: 0;
}
.kolom .mw-editsection {
margin: 0 0 0.5em 0;
line-height: unset;
}
body.skin-minerva .kolom h1,
body.skin-minerva .kolom h2,
body.skin-minerva .kolom h3,
body.skin-minerva .kolom h4 {
display: inherit;
padding: inherit;
}
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]] */