MediaWiki:Common.css: verschil tussen versies
Uiterlijk
Geen bewerkingssamenvatting |
Geen bewerkingssamenvatting |
||
| Regel 80: | Regel 80: | ||
} | } | ||
/* ===== End print stylesheet ===== */ | /* ===== End print stylesheet ===== */ | ||
/* =====adaptation for infobox in darkmode ===========*/ | |||
/* Journal infobox: light/dark friendly */ | |||
.journal-infobox { | |||
width: 300px; | |||
border: 1px solid #aaa; | |||
border-collapse: collapse; | |||
} | |||
.journal-infobox th, | |||
.journal-infobox td { | |||
padding: 4px 6px; | |||
} | |||
.journal-infobox th { | |||
text-align: center; | |||
font-weight: bold; | |||
} | |||
/* Optional: subtle header styling that works in light and dark skins */ | |||
@media (prefers-color-scheme: dark) { | |||
.journal-infobox th { | |||
background-color: rgba(255,255,255,0.08); | |||
} | |||
} | |||
@media (prefers-color-scheme: light) { | |||
.journal-infobox th { | |||
background-color: rgba(0,0,0,0.06); | |||
} | |||
} | |||
/* =====end of adaptation for infobox in darkmode ===========*/ | |||
Versie van 10 dec 2025 18:47
/** CSS die hier wordt geplaatst heeft invloed op alle vormgevingen */
/* ===== Print stylesheet for clean PDF export ===== */
@media print {
/* Page margins (browser respects @page, not body margin) */
@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;
}
/* Table styling for clean PDF output */
table {
border-collapse: collapse;
width: 100%;
margin: 1em 0;
}
table, th, td {
border: 1px solid #666;
padding: 6px;
}
th {
background-color: #f0f0f0;
font-weight: bold;
}
}
/* ===== End print stylesheet ===== */
/* =====adaptation for infobox in darkmode ===========*/
/* Journal infobox: light/dark friendly */
.journal-infobox {
width: 300px;
border: 1px solid #aaa;
border-collapse: collapse;
}
.journal-infobox th,
.journal-infobox td {
padding: 4px 6px;
}
.journal-infobox th {
text-align: center;
font-weight: bold;
}
/* Optional: subtle header styling that works in light and dark skins */
@media (prefers-color-scheme: dark) {
.journal-infobox th {
background-color: rgba(255,255,255,0.08);
}
}
@media (prefers-color-scheme: light) {
.journal-infobox th {
background-color: rgba(0,0,0,0.06);
}
}
/* =====end of adaptation for infobox in darkmode ===========*/