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
 
(27 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: 10pt;
font-size: 9pt;
font-weight: normal;
font-weight: normal;
overflow: hidden;
overflow: hidden;
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 156: Zeile 152:




/*Custom */
/*** CUSTOMIZINGS *** /
p,  td, th, div, ul, li, pre  {font-size: 8.5pt !important;}


h1 {
/* cover logo */
    font-size: 1.3em!important;
.pdfcreator-covertop .logo img {
    padding 0!important;
width: auto !important;
    margin:-0.3em 0 0.1em 0!important
height: 1cm !important;
margin-top: 0.5cm;
margin-left:1.75cm
}
}


figure[typeof~='mw:File/Thumb'].mw-halign-center, figure[typeof~='mw:File/Frame'].mw-halign-center {border:none}
/* position and resize logo */
.pdfcreator-runningheaderfix>table .pdfcreator-runningheader-logo img {
width: auto !important;
height: 0.8cm !important;
margin-top: 0.1cm;
}


h2 {font-size:1.2em; text-decoration:none; border:none; margin-top:10pt; margin-bottom:10pt;font-weight:600}
/* remove border of header */
.pdfcreator-runningheaderfix>table {
border-bottom: none !important;
}


h3 {font-size:10pt; text-decoration:none; border:none; font-weight:600}
/*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: 9pt;
line-height: 1.8em;
}


.pdfcreator-page-content > ul {margin-bottom:10pt; margin-top:10pt}
/*larger margin between paragraphs*/
.pdfcreator-page-content p {
margin-bottom:1.2em
}


.pdfcreator-page-content li {margin-left:12pt; margin-bottom:4pt}
/* 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 .takeaway li { margin-bottom:0}
.pdfcreator-page-content ul li {
list-style-type: none !important;
position: relative;
}


.pdfcreator-page-content table caption {margin-top:0.5cm; font-size:0.8em; font-weight:normal!important; text-align:left}
.pdfcreator-page-content ul li::before {
content: "\2022";
/* Unicode bullet (•) */
position: absolute;
left: -1em;
font-size: 1em;
/* fully controllable */
}


.pdfcreator-page-content table caption:before {content:'Tabelle: '}
.pdfcreator-page-content .toc ul li::before {
content: "";
/* remove custom bullet from TOC */
}


.pdfcreator-page-content table td ul {margin-bottom:0}
/* style h1 page title */
.pdfcreator-page-content .firstHeading {
display:none
}


.pdfcreator-page-content td, .pdfcreator-page-content, .wikitable td {padding:0.2cm!important; vertical-align:top}
/* style h2 headings */
.pdfcreator-page-content h2 {
    font-size:1.4em;
border-bottom: none;
margin: 2em 0;
}


.pdfcreator-page-content p {
/* style h3, h4, */
margin: 2pt 0!important;
.pdfcreator-page-content h3, .pdfcreator-page-content h4 {
padding: 0;
    font-size:1.2em;
}  
border-bottom: none;
margin: 2em 0;
}


.pdfcreator-bgcover {margin-top:4cm}
/* style h5, h6 headings */
.pdfcreator-page-content h5, .pdfcreator-page-content h6 {
    font-size:1em;
border-bottom: none;
margin: 2em 0;
}


.logo {margin:1cm}
/* TOC styling */
.toc {
border: none;
padding: 0;
margin: 1em 0;
}


/* syntaxhighlight and preformatted text with smaller font size */
.mw-highlight pre,
pre, code {
font-size: 8.5pt !important;
line-height: 1.5em !important;
}


/*TOC
/*wikitable print color white */
/*Umrandung entfernen
.wikitable {
.toc {
background-color: #fff;
    border:none
width:98%
}
}


/*Schriftgröße und Textfarbe */
.wikitable tr th {
.toc span.tocnumber,
background-color: #f1f3f9
.toc span.toctext {
font-size: 7.5pt;
line-height:1.5em;
}
}


.mw-lingo-term {color:black}
.wikitable > caption {
font-weight:normal;
font-size:0.85em;
text-align:left}


/*avoid orphans */
h2,
h3,
h4 {
-fs-keep-with-next: always;
margin-top: 1.2em;
}


img {max-width:100%}
p {
-fs-page-break-min-height: 5em;
line-height: 1.5;
}

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