MediaWiki:Common.css: verschil tussen versies
Naar navigatie springen
Naar zoeken springen
Geen bewerkingssamenvatting |
Geen bewerkingssamenvatting |
||
Regel 1: | Regel 1: | ||
/** CSS | /** CSS specifiek voor Vector 2011 **/ | ||
/* Tabbladen | /* Tabbladen verbergen */ | ||
#ca-history, | #ca-history, | ||
#ca-talk { | #ca-talk { | ||
Regel 7: | Regel 7: | ||
} | } | ||
/* Content naast | /* Content netjes naast het menu */ | ||
#content { | #content { | ||
margin-left: 12em; /* ruimte voor sidebar */ | |||
margin- | margin-right: 2em; /* wat witruimte rechts */ | ||
max-width: 900px; /* optioneel: beperk de breedte */ | |||
} | |||
/* Sidebar/menu altijd zichtbaar houden */ | |||
#mw-panel { | |||
display: block !important; | |||
visibility: visible !important; | |||
position: relative !important; | |||
z-index: 10 !important; | |||
} | } | ||
Regel 23: | Regel 31: | ||
background-repeat: no-repeat !important; | background-repeat: no-repeat !important; | ||
background-position: left center !important; | background-position: left center !important; | ||
} | } | ||
Regel 42: | Regel 39: | ||
} | } | ||
/* | /* ---------------- PRINT OPMAAK ---------------- */ | ||
@media print { | @media print { | ||
@page { | @page { | ||
size: A4 portrait; | size: A4 portrait; | ||
Regel 51: | Regel 47: | ||
} | } | ||
/* Menu | /* Menu weghalen bij print */ | ||
#mw-panel { | #mw-panel { | ||
display: none !important; | display: none !important; | ||
} | |||
/* Inhoud centreren en smaller */ | |||
#content, | |||
#bodyContent, | |||
#mw-content-text { | |||
margin: 0 auto !important; | |||
padding: 0 !important; | |||
width: 85% !important; | |||
max-width: 85% !important; | |||
font-size: 90% !important; | |||
} | } | ||
Regel 84: | Regel 91: | ||
page-break-inside: avoid; | page-break-inside: avoid; | ||
break-inside: avoid; | break-inside: avoid; | ||
} | } | ||
Regel 117: | Regel 113: | ||
} | } | ||
/* Lange woorden/links */ | /* Lange woorden/links afbreken */ | ||
* { | * { | ||
word-wrap: break-word; | word-wrap: break-word; |
Versie van 2 okt 2025 14:52
/** CSS specifiek voor Vector 2011 **/ /* Tabbladen verbergen */ #ca-history, #ca-talk { display: none !important; } /* Content netjes naast het menu */ #content { margin-left: 12em; /* ruimte voor sidebar */ margin-right: 2em; /* wat witruimte rechts */ max-width: 900px; /* optioneel: beperk de breedte */ } /* Sidebar/menu altijd zichtbaar houden */ #mw-panel { display: block !important; visibility: visible !important; position: relative !important; z-index: 10 !important; } /* Logo 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; } /* Thumbnails groter in categoriepagina’s */ .category-gallery img { width: 350px !important; height: auto !important; } /* ---------------- PRINT OPMAAK ---------------- */ @media print { @page { size: A4 portrait; margin: 20mm; margin-top: 35mm; } /* Menu weghalen bij print */ #mw-panel { display: none !important; } /* Inhoud centreren en smaller */ #content, #bodyContent, #mw-content-text { margin: 0 auto !important; padding: 0 !important; width: 85% !important; max-width: 85% !important; font-size: 90% !important; } /* Gallery in 3 kolommen */ .gallery { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 10px !important; width: 100% !important; max-width: 100% !important; } .gallerybox, .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; } /* Afbeeldingen buiten galleries */ img, .thumb, .thumbinner, .thumbimage { max-width: 100% !important; height: auto !important; page-break-inside: avoid; break-inside: avoid; } /* Tabellen netjes */ 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; } /* Kop en footer tonen */ #mw-head, #footer { display: block !important; } .printfooter { display: none !important; } }