Meryam Sahin (talk | contribs) Update pdf template |
Meryam Sahin (talk | contribs) Update pdf template |
||
| (9 intermediate revisions by the same user not shown) | |||
| pdfcreator_template_intro | |||
|---|---|---|---|
| Line 2: | Line 2: | ||
<div class="pdfcreator-intro-cover-cnt"> | <div class="pdfcreator-intro-cover-cnt"> | ||
<div class="pdfcreator-intro-title">{{{book-title}}}</div> | <div class="pdfcreator-intro-title">{{{book-title}}}</div> | ||
<div class="pdfcreator-intro-text"></div> | <div class="pdfcreator-intro-text">{{{book-subtitle}}}</div> | ||
</div> | </div> | ||
</div> | </div> | ||
| pdfcreator_template_header | |||
| Line 2: | Line 2: | ||
<table> | <table> | ||
<tr> | <tr> | ||
<td> | <td><div class="pdfcreator-runningheader-logo">{{{logo}}}</div></td> | ||
<td><h1 class="title">{{{title}}}</h1></td> | |||
<td> | |||
</tr> | </tr> | ||
</table> | </table> | ||
</div> | </div> | ||
| pdfcreator_template_footer | |||
| Line 2: | Line 2: | ||
<table> | <table> | ||
<tr> | <tr> | ||
<td> | <td><span>{{int:pdfcreator-pdf-export-time}}: {{#time: d.m.Y|now}}</span></td> | ||
<td><span></span></td> | |||
<td><span>{{int:pdfcreator-pdf-param-currentpagenumber-label}} {{{currentpagenumber}}} {{int:pdfcreator-pdf-param-totalpagescount-label}} {{{totalpagescount}}}</span></td> | |||
<td> | |||
<td> | |||
</tr> | </tr> | ||
</table> | </table> | ||
</div> | </div> | ||
| pdfcreator_template_outro | |||
| Line 1: | Line 1: | ||
| pdfcreator_template_styles | |||
| Line 150: | Line 150: | ||
background-size: 21cm; | background-size: 21cm; | ||
width: 21cm; | width: 21cm; | ||
height: | height: 21cm; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
} | } | ||
| Line 156: | Line 156: | ||
.pdfcreator-intro-cover-cnt { | .pdfcreator-intro-cover-cnt { | ||
position: absolute; | position: absolute; | ||
top: | top: 23cm; | ||
left: | left: 0cm; | ||
width: | width: 21cm; | ||
text-align: center; | |||
} | } | ||
.pdfcreator-intro-title { | .pdfcreator-intro-title { | ||
font-size: | font-size: 34px; | ||
color: # | color: #3f6f9f; | ||
font-weight: 900; | font-weight: 900; | ||
border-top: 2px solid #CCDBEB; | |||
padding-top: 1cm; | |||
width: 15cm; | |||
margin: 0 auto; | |||
} | } | ||
.pdfcreator-intro-text { | .pdfcreator-intro-text { | ||
font-size: | font-size: 20px; | ||
font-weight: | font-weight: 500; | ||
line-height: 1.3em; | line-height: 1.3em; | ||
color: #3f6f9f; | |||
margin-top: 0.35cm; | |||
opacity: 0.90; | |||
} | |||
/*** 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 h2 headings */ | |||
.pdfcreator-page-content h2 { | |||
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; | |||
} | } | ||
| pdfcreator_template_options | |||
| Line 1: | Line 1: | ||
{ | { | ||
"embed-page-toc": true, | "embed-page-toc": true, | ||
"nsPrefix": true, | |||
"attachments": true, | "attachments": true, | ||
"suppress-links": false | "suppress-links": false, | ||
"no-redirect": false, | |||
"coverBackground": "" | |||
} | } | ||
You are viewing an old version of this page. Return to the latest version.
This is the version of 17 June 2026, 07:24 by Meryam Sahin