MediaWiki:Common.css: verschil tussen versies
Uiterlijk
Geen bewerkingssamenvatting |
Geen bewerkingssamenvatting |
||
| Regel 3: | Regel 3: | ||
/* ===== Print stylesheet for PDF export ===== */ | /* ===== Print stylesheet for PDF export ===== */ | ||
@media print { | @media print { | ||
/* Page box margins | /* Page box margins */ | ||
@page { | @page { | ||
margin-top: 2cm; | margin-top: 2cm; | ||
| Regel 10: | Regel 10: | ||
margin-right: 1.5cm; | margin-right: 1.5cm; | ||
/* | /* Footer with page numbers */ | ||
@bottom-center { | @bottom-center { | ||
content: "Page " counter(page); | content: "Page " counter(page); | ||
| Regel 36: | Regel 29: | ||
#mw-panel, #footer, .mw-editsection, .noprint { | #mw-panel, #footer, .mw-editsection, .noprint { | ||
display: none !important; | display: none !important; | ||
} | |||
/* Header logo + club name positioned absolutely */ | |||
.print-header { | |||
position: fixed; | |||
top: 0.5cm; | |||
left: 0; | |||
right: 0; | |||
text-align: right; | |||
font-size: 10pt; | |||
} | |||
.print-header img { | |||
float: left; | |||
height: 30px; | |||
margin-right: 1em; | |||
} | } | ||
Versie van 10 dec 2025 15:38
/** CSS die hier wordt geplaatst heeft invloed op alle vormgevingen */
/* ===== Print stylesheet for PDF export ===== */
@media print {
/* Page box margins */
@page {
margin-top: 2cm;
margin-bottom: 2cm;
margin-left: 1.5cm;
margin-right: 1.5cm;
/* Footer with page numbers */
@bottom-center {
content: "Page " counter(page);
font-size: 10pt;
}
}
/* Reset body margin so @page takes effect */
body {
margin: 0;
font-family: "Liberation Serif", Georgia, serif;
font-size: 12pt;
line-height: 1.4;
color: #000;
}
/* Hide navigation, sidebar, edit links, and footer clutter */
#mw-panel, #footer, .mw-editsection, .noprint {
display: none !important;
}
/* Header logo + club name positioned absolutely */
.print-header {
position: fixed;
top: 0.5cm;
left: 0;
right: 0;
text-align: right;
font-size: 10pt;
}
.print-header img {
float: left;
height: 30px;
margin-right: 1em;
}
/* Headings styling */
h1, h2, h3 {
color: #003366;
border-bottom: 1px solid #ccc;
padding-bottom: 0.2em;
}
/* References formatting */
.references {
font-size: 10pt;
line-height: 1.2;
}
/* Optional: force page breaks before major sections */
h1 {
page-break-before: always;
}
}
/* ===== End print stylesheet ===== */