MediaWiki:Common.css: verschil tussen versies
Naar navigatie springen
Naar zoeken springen
Geen bewerkingssamenvatting |
Geen bewerkingssamenvatting |
||
Regel 53: | Regel 53: | ||
width: 100% !important; | width: 100% !important; | ||
max-width: 100% !important; | max-width: 100% !important; | ||
font-size: 90% !important; | font-size: 90% !important; | ||
} | } | ||
/* Gallery | /* Gallery naar 3 kolommen */ | ||
.gallery { | .gallery { | ||
display: grid !important; | display: grid !important; | ||
grid-template-columns: repeat(3, 1fr) !important; | grid-template-columns: repeat(3, 1fr) !important; | ||
gap: 10px !important; /* | gap: 10px !important; | ||
width: 100% !important; | |||
} | |||
/* Zorg dat elke gallerybox een echt grid item is */ | |||
.gallerybox { | |||
display: block !important; | |||
width: 100% !important; | width: 100% !important; | ||
margin: 0 !important; | margin: 0 !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
} | } | ||
.gallerybox .thumb, | .gallerybox .thumb, | ||
.gallerybox .thumbinner { | .gallerybox .thumbinner { | ||
display: block !important; | |||
width: 100% !important; | width: 100% !important; | ||
margin: 0 !important; | margin: 0 !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
Regel 83: | Regel 86: | ||
.gallerybox .thumbimage { | .gallerybox .thumbimage { | ||
display: block !important; | display: block !important; | ||
width: 100% !important; | width: 100% !important; | ||
height: auto !important; | height: auto !important; | ||
page-break-inside: avoid; | page-break-inside: avoid; | ||
Regel 91: | Regel 94: | ||
#mw-panel { | #mw-panel { | ||
display: none !important; | display: none !important; | ||
} | } | ||
} | } |
Versie van 2 okt 2025 07:40
/** CSS die hier wordt geplaatst heeft invloed op alle vormgevingen */ #ca-history { display: none !important;} #ca-talk { display: none !important; } /* Content links uitlijnen naast de sidebar */ #content { max-width: 900px; /* smalle kolom */ margin-left: 11em; /* ruimte voor de sidebar (pas eventueel aan) */ margin-right: auto; /* rechts witruimte */ } /* Forceer logo zichtbaar in Vector 2011 */ #p-logo, #p-logo a.mw-wiki-logo { display:block !important; width: 10em !important; height: 160px !important; background-size: contain !important; background-repeat: no-repeat !important; background-position: left center !important; } /* En voor Vector 2022 */ .vector-header .mw-logo-wordmark img, .vector-header .mw-logo-wordmark { display:block !important; max-width: 160px !important; height: 18px !important; } .vector-header .mw-logo-icon { display:block !important; } /* Maak thumbnails in categoriepagina's groter */ .category-gallery img { width: 350px !important; height: auto !important; } @media print { /* A4 forceren */ @page { size: A4 portrait; margin: 15mm; } /* Hele inhoud volle breedte */ #content, #bodyContent, #mw-content-text { margin: 0 !important; padding: 0 !important; width: 100% !important; max-width: 100% !important; font-size: 90% !important; } /* Gallery naar 3 kolommen */ .gallery { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 10px !important; width: 100% !important; } /* Zorg dat elke gallerybox een echt grid item is */ .gallerybox { display: block !important; width: 100% !important; margin: 0 !important; padding: 0 !important; } .gallerybox .thumb, .gallerybox .thumbinner { display: block !important; width: 100% !important; margin: 0 !important; padding: 0 !important; border: none !important; background: none !important; box-shadow: none !important; } .gallerybox img, .gallerybox .thumbimage { display: block !important; width: 100% !important; height: auto !important; page-break-inside: avoid; } /* Menu verbergen */ #mw-panel { display: none !important; } }