MediaWiki:Common.css: verschil tussen versies
Uiterlijk
Geen bewerkingssamenvatting |
Geen bewerkingssamenvatting |
||
| Regel 1: | Regel 1: | ||
/** CSS die hier wordt geplaatst heeft invloed op alle vormgevingen */ | /** CSS die hier wordt geplaatst heeft invloed op alle vormgevingen */ | ||
/* Print stylesheet for | /* ===== Print stylesheet for PDF export ===== */ | ||
@media print { | @media print { | ||
/* | /* Page box margins (browser respects @page, not body margin) */ | ||
@page { | |||
margin-top: 2cm; | |||
margin-bottom: 2cm; | |||
margin-left: 1.5cm; | |||
margin-right: 1.5cm; | |||
/* Header and footer content */ | |||
@top-left { | |||
content: url("/images/club_logo.png"); | |||
} | |||
@top-right { | |||
content: "Historical Research Club"; | |||
font-size: 10pt; | |||
} | |||
@bottom-center { | |||
content: "Page " counter(page); | |||
font-size: 10pt; | |||
} | |||
} | } | ||
/* | /* Reset body margin so @page takes effect */ | ||
body { | body { | ||
margin: | margin: 0; | ||
font-family: "Liberation Serif", Georgia, serif; | font-family: "Liberation Serif", Georgia, serif; | ||
font-size: 12pt; | |||
line-height: 1.4; | line-height: 1.4; | ||
color: #000; | color: #000; | ||
} | } | ||
/* Headings */ | /* Hide navigation, sidebar, edit links, and footer clutter */ | ||
#mw-panel, #footer, .mw-editsection, .noprint { | |||
display: none !important; | |||
} | |||
/* Headings styling */ | |||
h1, h2, h3 { | h1, h2, h3 { | ||
color: #003366; | color: #003366; | ||
| Regel 30: | Regel 51: | ||
} | } | ||
/* | /* Optional: force page breaks before major sections */ | ||
h1 { | |||
page-break-before: always; | |||
} | } | ||
} | } | ||
/* ===== End print stylesheet ===== */ | |||
Versie van 10 dec 2025 15:35
/** CSS die hier wordt geplaatst heeft invloed op alle vormgevingen */
/* ===== Print stylesheet for PDF export ===== */
@media print {
/* Page box margins (browser respects @page, not body margin) */
@page {
margin-top: 2cm;
margin-bottom: 2cm;
margin-left: 1.5cm;
margin-right: 1.5cm;
/* Header and footer content */
@top-left {
content: url("/images/club_logo.png");
}
@top-right {
content: "Historical Research Club";
font-size: 10pt;
}
@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;
}
/* 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 ===== */