MediaWiki:PDFCreator/StandardPDF: Unterschied zwischen den Versionen

Default pdf template content
 
Margit Link-Rodrigue (Diskussion | Beiträge)
Update pdf template
Markierung: Manuelle Zurücksetzung
 
(48 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
pdfcreator_template_footer
Zeile 3: Zeile 3:
<tr>
<tr>
<td>
<td>
<span>{{int:pdfcreator-pdf-disclaimer}}</span>
<span>{{int:pdfcreator-pdf-export-time}}:{{#time: d.m.Y|now}}</span>
</td>
</td>
<td>
<td>
<span>{{int:pdfcreator-pdf-export-time}}:{{#time: d.m.Y|now}}</span>
<span></span>
</td>
</td>
<td>
<td>
pdfcreator_template_styles
Zeile 2: Zeile 2:
  * Running header styles.
  * Running header styles.
  */
  */
.pdfcreator-runningheaderfix {
.pdfcreator-runningheaderfix {
position: running( topleft );
position: running( topleft );
margin: 0 -1.75cm 0 -1.75cm;
margin: 0 -1.75cm 0 -1.75cm;
padding: 0 1.75cm 0 1.75cm;
padding: 0 1.75cm 0 1.75cm;
height: 2.3cm;
height: 2.3cm;
}
}
.pdfcreator-runningheaderfix > table {
.pdfcreator-runningheaderfix > table {
Zeile 12: Zeile 14:
max-height: 99%;
max-height: 99%;
background: transparent;
background: transparent;
border-bottom: 0.1mm solid black;
border-bottom: none;
}
}
.pdfcreator-runningheaderfix > table td {
.pdfcreator-runningheaderfix > table td {
Zeile 30: Zeile 32:
width: 100%;
width: 100%;
height: 2cm;
height: 2cm;
padding-top:0.5cm;
}
}
.pdfcreator-runningheaderfix > table .pdfcreator-runningheader-logo p {
.pdfcreator-runningheaderfix > table .pdfcreator-runningheader-logo p {
Zeile 37: Zeile 40:
}
}
.pdfcreator-runningheaderfix > table .pdfcreator-runningheader-logo img {
.pdfcreator-runningheaderfix > table .pdfcreator-runningheader-logo img {
width: auto;
width: auto!important;
height: 1.5cm;
height: 1cm!important;
}
}
.pdfcreator-runningheaderfix > table h1.title {
.pdfcreator-runningheaderfix > table h1.title {
Zeile 88: Zeile 91:
@page {
@page {
size: A4 portrait;
size: A4 portrait;
margin: 2.5cm 1.75cm 1.5cm 1.75cm;
margin: 2.5cm 1.75cm 1.2cm 1.75cm;


@top-left {
@top-left {
Zeile 165: Zeile 168:
font-weight: 900;
font-weight: 900;
line-height: 1.3em;
line-height: 1.3em;
}
/*** CUSTOMIZINGS *** /
/* position and resize logo */
.pdfcreator-runningheaderfix>table .pdfcreator-runningheader-logo img {
width: auto !important;
height: 1cm !important;
margin-top: 0.5cm;
}
/* remove border of header */
.pdfcreator-runningheaderfix>table {
border-bottom: none !important;
}
/*smaller font sizes and larger line-height in content */
.pdfcreator-page-content th,
.pdfcreator-page-content td,
.pdfcreator-page-content div,
.pdfcreator-page-content li,
.pdfcreator-page-content pre,
.pdfcreator-page-content p {
font-size: 9.5pt;
line-height: 1.8em;
}
/* smaller bullet points in lists*/
.pdfcreator-page-content ul {
list-style-type: none !important;
list-style: none !important;
padding-left: 1.2em;
}
.pdfcreator-page-content ul li {
list-style-type: none !important;
position: relative;
}
.pdfcreator-page-content ul li::before {
content: "\2022";
/* Unicode bullet (•) */
position: absolute;
left: -1em;
font-size: 1em;
/* fully controllable */
}
.pdfcreator-page-content .toc ul li::before {
content: "";
/* remove custom bullet from TOC */
}
/* style h1 page title */
.pdfcreator-page-content .firstHeading {
margin-bottom: -2em!important;
}
/* style h2 headings */
.pdfcreator-page-content h2 {
    font-size:1.2em;
border-bottom: none;
margin: 2em 0;
}
/* TOC styling */
.toc {
border: none;
padding: 0;
margin: 1em 0;
}
/* syntaxhighlight and preformatted text with smaller font size */
.mw-highlight pre,
pre {
font-size: 8.5pt !important;
line-height: 1.5em !important;
}
/*wikitable print color white */
.wikitable {
background-color: #fff
}
.wikitable tr th {
background-color: #f1f3f9
}
/*avoid orphans */
h2,
h3,
h4 {
-fs-keep-with-next: always;
margin-top: 1.2em;
}
p {
-fs-page-break-min-height: 5em;
line-height: 1.5;
}
}

Aktuelle Version vom 29. Juli 2026, 10:41 Uhr