MediaWiki:PDFCreator/TrainingBookPDF: Difference between revisions

Update pdf template
Update pdf template
 
(13 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_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: 9pt;
font-size: 8pt;
}
}
.pdfcreator-runningheaderfix > table {
.pdfcreator-runningheaderfix > table {
Line 16: 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 32: Line 34:
}
}
.pdfcreator-runningheaderfix > table h1.title {
.pdfcreator-runningheaderfix > table h1.title {
font-size: 9pt;
font-size: 7.5pt!important;
font-weight: normal;
font-weight: normal;
overflow: hidden;
overflow: hidden;
Line 46: Line 48:
padding: 0 1.75cm 0 1.75cm;
padding: 0 1.75cm 0 1.75cm;
height: 1.3cm;
height: 1.3cm;
font-size: 9pt;
font-size: 8pt;
}
}
.pdfcreator-runningfooterfix > table {
.pdfcreator-runningfooterfix > table {
Line 61: 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 159: Line 161:


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


h1 {
h1 {
     font-size: 1.2em!important;
     font-size: 1.2em!important;
     padding 0!important;
     padding 0!important;
     margin:-0.3em 0 0.1em 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}
figure[typeof~='mw:File/Thumb'].mw-halign-center, figure[typeof~='mw:File/Frame'].mw-halign-center {border:none}


h2 {font-size:1.1em; text-decoration:none; border:none; margin-top:14pt; margin-bottom:8pt;font-weight:600}
h2 {font-size:1.3em; text-decoration:none; border:none; margin-top:9pt; margin-bottom:11pt;font-weight:500}


h3 {font-size:1em; text-decoration:none; border:none; font-weight:600}
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 > ul {margin-bottom:10pt; margin-top:10pt}
Line 214: Line 221:


img {max-width:100%}
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