MediaWiki:PDFCreator/TrainingBookPDF: Unterschied zwischen den Versionen

Margit Link-Rodrigue (Diskussion | Beiträge)
Update pdf template
Margit Link-Rodrigue (Diskussion | Beiträge)
Update pdf template
 
(19 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
pdfcreator_template_intro
Zeile 4: Zeile 4:
<td>
<td>
<div class="logo">
<div class="logo">
[[Datei:BlueSpice Logo v2020.png|alt=BlueSpice MediaWiki logo|150px]]
{{{logo}}}
</div>
</div>
</td>
</td>
pdfcreator_template_styles
Zeile 26: Zeile 26:
}
}


.pdfcreator-runningheaderfix > table .pdfcreator-runningheader-logo img {
width: auto;
height: 1cm;
}
.pdfcreator-runningheaderfix > table h1.title {
.pdfcreator-runningheaderfix > table h1.title {
font-size: 9pt;
font-size: 9pt;
Zeile 76: Zeile 72:
@page {
@page {
size: A4 portrait;
size: A4 portrait;
margin: 2.5cm 1.75cm 1.5cm 1.75cm;
margin: 2.2cm 1.75cm 1.5cm 1.75cm;


@top-left {
@top-left {
Zeile 144: Zeile 140:
.pdfcreator-intro-title {
.pdfcreator-intro-title {
position: absolute;
position: absolute;
top: 16.5cm;
top: 12.5cm;
left: 1.5cm;
left: 1.5cm;
width: 17.5cm;
width: 17.5cm;
Zeile 157: Zeile 153:


/*** CUSTOMIZINGS *** /
/*** CUSTOMIZINGS *** /
/* cover logo */
.pdfcreator-covertop .logo img {
width: auto !important;
height: 1cm !important;
margin-top: 0.5cm;
margin-left:1.75cm
}


/* position and resize logo */
/* position and resize logo */
.pdfcreator-runningheaderfix>table .pdfcreator-runningheader-logo img {
.pdfcreator-runningheaderfix>table .pdfcreator-runningheader-logo img {
width: auto !important;
width: auto !important;
height: 1cm !important;
height: 0.8cm !important;
margin-top: 0.5cm;
margin-top: 0.1cm;
}
}


Zeile 177: Zeile 181:
.pdfcreator-page-content pre,
.pdfcreator-page-content pre,
.pdfcreator-page-content p {
.pdfcreator-page-content p {
font-size: 9.5pt;
font-size: 9pt;
line-height: 1.8em;
line-height: 1.8em;
}
/*larger margin between paragraphs*/
.pdfcreator-page-content p {
margin-bottom:1.2em
}
}


Zeile 209: Zeile 218:
/* style h1 page title */
/* style h1 page title */
.pdfcreator-page-content .firstHeading {
.pdfcreator-page-content .firstHeading {
margin-bottom: -2em!important;
display:none
}
}


/* style h2 headings */
/* style h2 headings */
.pdfcreator-page-content h2 {
.pdfcreator-page-content h2 {
    font-size:1.4em;
border-bottom: none;
margin: 2em 0;
}
/* style h3, h4, */
.pdfcreator-page-content h3, .pdfcreator-page-content h4 {
     font-size:1.2em;
     font-size:1.2em;
border-bottom: none;
margin: 2em 0;
}
/* style h5, h6 headings */
.pdfcreator-page-content h5, .pdfcreator-page-content h6 {
    font-size:1em;
border-bottom: none;
border-bottom: none;
margin: 2em 0;
margin: 2em 0;
Zeile 228: Zeile 251:
/* syntaxhighlight and preformatted text with smaller font size */
/* syntaxhighlight and preformatted text with smaller font size */
.mw-highlight pre,
.mw-highlight pre,
pre {
pre, code {
font-size: 8.5pt !important;
font-size: 8.5pt !important;
line-height: 1.5em !important;
line-height: 1.5em !important;
Zeile 235: Zeile 258:
/*wikitable print color white */
/*wikitable print color white */
.wikitable {
.wikitable {
background-color: #fff
background-color: #fff;
width:98%
}
}


Zeile 241: Zeile 265:
background-color: #f1f3f9
background-color: #f1f3f9
}
}
.wikitable > caption {
font-weight:normal;
font-size:0.85em;
text-align:left}


/*avoid orphans */
/*avoid orphans */
pdfcreator_template_options
Zeile 1: Zeile 1:
{
{
"suppress-links": false,
"suppress-links": false,
"embed-page-toc": false
"embed-page-toc": true
}
}

Aktuelle Version vom 29. Juli 2026, 15:05 Uhr