MediaWiki:Common.css: verschil tussen versies
Naar navigatie springen
Naar zoeken springen
Geen bewerkingssamenvatting |
Geen bewerkingssamenvatting |
||
Regel 39: | Regel 39: | ||
@media print { | @media print { | ||
/* Gallery in print: 1 kolom, grote foto's */ | |||
/* Gallery in print | |||
.gallery { | .gallery { | ||
display: grid !important; | display: grid !important; | ||
grid-template-columns: 1fr !important; | grid-template-columns: 1fr !important; | ||
gap: 15px !important; | gap: 15px !important; | ||
} | } | ||
.gallerybox, | .gallerybox, | ||
.gallerybox .thumb { | .gallerybox .thumb, | ||
.gallerybox .thumbinner { | |||
width: 100% !important; | width: 100% !important; | ||
max-width: none !important; | max-width: none !important; | ||
Regel 61: | Regel 56: | ||
} | } | ||
.gallerybox img | .gallerybox img, | ||
.gallerybox .thumbimage { | |||
width: 100% !important; /* neem volledige breedte */ | |||
width: 100% !important; | |||
/* | |||
max-width: 100% !important; | max-width: 100% !important; | ||
height: auto !important; | height: auto !important; | ||
page-break-inside: avoid; | page-break-inside: avoid; | ||
} | } | ||
} | } |
Versie van 2 okt 2025 07:32
/** 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 { /* Gallery in print: 1 kolom, grote foto's */ .gallery { display: grid !important; grid-template-columns: 1fr !important; gap: 15px !important; } .gallerybox, .gallerybox .thumb, .gallerybox .thumbinner { width: 100% !important; max-width: none !important; border: none !important; background: none !important; box-shadow: none !important; } .gallerybox img, .gallerybox .thumbimage { width: 100% !important; /* neem volledige breedte */ max-width: 100% !important; height: auto !important; page-break-inside: avoid; } }