MediaWiki:Common.css: verschil tussen versies
Naar navigatie springen
Naar zoeken springen
Geen bewerkingssamenvatting Label: Handmatige ongedaanmaking |
Geen bewerkingssamenvatting |
||
Regel 40: | Regel 40: | ||
@media print { | @media print { | ||
/* Portrait A4 forceren */ | |||
@page { | |||
size: A4 portrait; | |||
margin: 15mm; | |||
} | |||
/* Gallery in print netjes op 3 kolommen */ | /* Gallery in print netjes op 3 kolommen */ | ||
Regel 74: | Regel 79: | ||
height: auto !important; | height: auto !important; | ||
page-break-inside: avoid; | page-break-inside: avoid; | ||
break-inside: avoid; | |||
} | } | ||
Regel 79: | Regel 85: | ||
#mw-panel { | #mw-panel { | ||
display: none !important; | display: none !important; | ||
} | |||
/* Inhoud centreren met witruimte links/rechts */ | |||
#content, | |||
#bodyContent, | |||
#mw-content-text { | |||
margin: 0 auto !important; /* centreren */ | |||
padding: 0 !important; | |||
width: 85% !important; /* iets smaller voor marge */ | |||
max-width: 85% !important; | |||
font-size: 90% !important; /* tekst iets kleiner */ | |||
} | } | ||
Regel 89: | Regel 106: | ||
height: auto !important; | height: auto !important; | ||
page-break-inside: avoid; | page-break-inside: avoid; | ||
break-inside: avoid; | |||
} | } | ||
Regel 97: | Regel 115: | ||
word-wrap: break-word; | word-wrap: break-word; | ||
page-break-inside: avoid; | page-break-inside: avoid; | ||
break-inside: avoid; | |||
} | } | ||
Versie van 2 okt 2025 14:19
/** 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 { /* Portrait A4 forceren */ @page { size: A4 portrait; margin: 15mm; } /* Gallery in print netjes op 3 kolommen */ .gallery { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 10px !important; width: 100% !important; max-width: 100% !important; } .gallerybox { display: block !important; /* zorgt dat grid goed werkt */ 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; break-inside: avoid; } /* Linker menu weglaten */ #mw-panel { display: none !important; } /* Inhoud centreren met witruimte links/rechts */ #content, #bodyContent, #mw-content-text { margin: 0 auto !important; /* centreren */ padding: 0 !important; width: 85% !important; /* iets smaller voor marge */ max-width: 85% !important; font-size: 90% !important; /* tekst iets kleiner */ } /* Afbeeldingen buiten galleries */ img, .thumb, .thumbinner, .thumbimage { max-width: 100% !important; height: auto !important; page-break-inside: avoid; break-inside: avoid; } /* Tabellen netjes laten breken */ table { max-width: 100% !important; table-layout: auto !important; word-wrap: break-word; page-break-inside: avoid; break-inside: avoid; } /* Lange woorden/links afbreken */ * { word-wrap: break-word; overflow-wrap: break-word; } }