MediaWiki:PDFCreator/TrainingBookPDF: Difference between revisions

Update pdf template
 
Update pdf template
 
(16 intermediate revisions by the same user not shown)
pdfcreator_template_header
Line 8: Line 8:
</td>
</td>
<td>
<td>
<h1 class="title">{{{title}}}</h1>
<h1 class="title">Trainings & Workshops</h1>
</td>
</td>
</tr>
</tr>
</table>
</table>
</div>
</div>
pdfcreator_template_footer
Line 3: Line 3:
<tr>
<tr>
<td>
<td>
<span>Dieses Dokument wurde mit BlueSpice erstellt</span>
<span>This document was created with BlueSpice</span>
</td>
</td>
<td>
<td>
pdfcreator_template_intro
Line 4: Line 4:
<td>
<td>
<div class="logo">
<div class="logo">
[[Datei:BlueSpice Logo v2020.png|alt=BlueSpice MediaWiki logo|150px]]
[[File:BlueSpice Logo v2020.png|alt=BlueSpice MediaWiki logo|150px]]
</div>
</div>
</td>
</td>
Line 13: Line 13:
</table>
</table>
</div>
</div>
<div class="pdfcreator-bgcover">[[Datei:deckblatt.png]]</div>
<div class="pdfcreator-bgcover">[[File:deckblatt.png]]</div>
<div>
<div>
<div class="pdfcreator-intro-title">{{#if: {{#show:{{FULLPAGENAME}}|?Display title of}}| {{#show:{{FULLPAGENAME}}|?Display title of}}|{{{title}}}}}</div>
<div class="pdfcreator-intro-title">{{#if: {{#show:{{FULLPAGENAME}}|?Display title of}}| {{#show:{{FULLPAGENAME}}|?Display title of}}|{{{title}}}}}</div>
</div>
</div>
pdfcreator_template_styles
Line 7: Line 7:
padding: 0 1.75cm 0 1.75cm;
padding: 0 1.75cm 0 1.75cm;
height: 2.3cm;
height: 2.3cm;
font-size: 8pt;
}
}
.pdfcreator-runningheaderfix > table {
.pdfcreator-runningheaderfix > table {
Line 15: Line 16:
margin-top:0.5cm;
margin-top:0.5cm;
}
}
 
.pdfcreator-runningfooterfix > table td{
font-size: 8pt;
}
.pdfcreator-runningheaderfix > table td:first-child {
.pdfcreator-runningheaderfix > table td:first-child {
width: 30%;
width: 30%;
Line 31: Line 34:
}
}
.pdfcreator-runningheaderfix > table h1.title {
.pdfcreator-runningheaderfix > table h1.title {
font-size: 10pt;
font-size: 7.5pt!important;
font-weight: normal;
font-weight: normal;
overflow: hidden;
overflow: hidden;
Line 45: Line 48:
padding: 0 1.75cm 0 1.75cm;
padding: 0 1.75cm 0 1.75cm;
height: 1.3cm;
height: 1.3cm;
font-size: 8pt;
}
}
.pdfcreator-runningfooterfix > table {
.pdfcreator-runningfooterfix > table {
Line 59: Line 63:
}
}
.pdfcreator-runningfooterfix > table td p {
.pdfcreator-runningfooterfix > table td p {
font-size: 9pt !important;
font-size: 8pt !important;
line-height: 1.2em;
line-height: 1.2em;
}
}
Line 149: Line 153:
max-height: 6.5cm;
max-height: 6.5cm;
overflow: hidden;
overflow: hidden;
font-size: 32px;
font-size: 18pt !important;
color: #444;
color: #444;
font-weight: 700;
font-weight: 700;
Line 155: Line 159:
}
}


body, p,  td, td h3 {font-size: 9pt !important;}


#mw-content-text p {
/*Custom */
p,  td, th, div, ul, li, pre  {font-size: 8.5pt !important;}
 
h1 {
    font-size: 1.2em!important;
    padding 0!important;
    margin:0.3em 0 -1em 0!important
}
/*Page Title */
.firstHeading {
    font-size: 1.4em!important;
    line-height: 1.5em;
}
 
figure[typeof~='mw:File/Thumb'].mw-halign-center, figure[typeof~='mw:File/Frame'].mw-halign-center {border:none}
 
h2 {font-size:1.3em; text-decoration:none; border:none; margin-top:9pt; margin-bottom:11pt;font-weight:500}
 
h3 {font-size:1.2em; text-decoration:none; border:none; margin-top:9pt; margin-bottom:11pt; font-weight:600}
 
.pdfcreator-page-content > ul {margin-bottom:10pt; margin-top:10pt}
 
.pdfcreator-page-content li {margin-left:12pt; margin-bottom:4pt}
 
.pdfcreator-page-content .takeaway li  { margin-bottom:0}
 
.pdfcreator-page-content table caption {margin-top:0.5cm; font-size:0.8em; font-weight:normal!important; text-align:left}
 
.pdfcreator-page-content table caption:before {content:'Tabelle: '}
 
.pdfcreator-page-content table td ul {margin-bottom:0}
 
.pdfcreator-page-content td, .pdfcreator-page-content, .wikitable td {padding:0.2cm!important; vertical-align:top}
 
.pdfcreator-page-content p {
margin: 2pt 0!important;
margin: 2pt 0!important;
padding: 0;
padding: 0;
Line 165: Line 202:


.logo {margin:1cm}
.logo {margin:1cm}
/*TOC
/*Umrandung entfernen
.toc {
    border:none
}
/*Schriftgröße und Textfarbe */
.toc span.tocnumber,
.toc span.toctext {
font-size: 7.5pt;
line-height:1.5em;
}
.mw-lingo-term {color:black}
img {max-width:100%}
.smwtable-clean tr {
    border-top: 1px solid #dddddd;
}
.smwtable-clean tbody>tr:nth-child(even) {
    background-color: #f5f5f5;
}
.smwtable-clean tr>th {
    padding: 8px !important;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #dddddd;
    border-collapse: collapse;
    border-spacing: 0;
    text-align: center;
    vertical-align: middle;
}
.smwtable-clean tr>td {
    padding: 8px !important;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #dddddd;
    border-collapse: collapse;
    border-spacing: 0;
}
hr {
    height: 1px;
    background-color: #72777d;
    border: 0;
    margin: 0.2em 0;
}

Latest revision as of 15:34, 4 February 2026