MediaWiki:PDFCreator/StandardPDF: Unterschied zwischen den Versionen

Margit Link-Rodrigue (Diskussion | Beiträge)
Update pdf template
Update pdf template
 
pdfcreator_template_styles
Zeile 3: Zeile 3:
  */
  */
  .pdfcreator-runningheaderfix {
  .pdfcreator-runningheaderfix {
position: running( topleft );
  position: running( topleft );
margin: 0 -1.75cm 0 -1.75cm;
  margin: 0 -1.75cm 0 -1.75cm;
padding: 0 1.75cm 0 1.75cm;
  padding: 0 1.75cm 0 1.75cm;
height: 2.3cm;
  height: 2.3cm;




}
}
.pdfcreator-runningheaderfix > table {
.pdfcreator-runningheaderfix > table {
width: 100%;
  width: 100%;
max-height: 99%;
  max-height: 99%;
background: transparent;
  background: transparent;
border-bottom: none;
  border-bottom: none;
}
}
.pdfcreator-runningheaderfix > table td {
.pdfcreator-runningheaderfix > table td {
vertical-align: center;
  vertical-align: center;
text-align: center;
  text-align: center;
}
}
.pdfcreator-runningheaderfix > table td:first-child {
.pdfcreator-runningheaderfix > table td:first-child {
width: 25%;
  width: 25%;
text-align: left;
  text-align: left;
}
}
.pdfcreator-runningheaderfix > table td:last-child {
.pdfcreator-runningheaderfix > table td:last-child {
width: 75%;
  width: 75%;
text-align: right;
  text-align: right;
}
}
.pdfcreator-runningheaderfix > table .pdfcreator-runningheader-logo {
.pdfcreator-runningheaderfix > table .pdfcreator-runningheader-logo {
display: block;
  display: block;
width: 100%;
  width: 100%;
height: 2cm;
  height: 2cm;
padding-top:0.5cm;
  padding-top:0.5cm;
}
}
.pdfcreator-runningheaderfix > table .pdfcreator-runningheader-logo p {
.pdfcreator-runningheaderfix > table .pdfcreator-runningheader-logo p {
padding: 0;
  padding: 0;
margin: 0;
  margin: 0;
line-height: 0;
  line-height: 0;
}
}
.pdfcreator-runningheaderfix > table .pdfcreator-runningheader-logo img {
.pdfcreator-runningheaderfix > table .pdfcreator-runningheader-logo img {
width: auto!important;
  width: auto!important;
height: 1cm!important;
  height: 1cm!important;
}
}
.pdfcreator-runningheaderfix > table h1.title {
.pdfcreator-runningheaderfix > table h1.title {
font-size: 9pt;
  font-size: 9pt;
font-weight: normal;
  font-weight: normal;
max-height: 2.4em;
  max-height: 2.4em;
line-height: 1.2em;
  line-height: 1.2em;
overflow: hidden;
  overflow: hidden;
text-align: right;
  text-align: right;
}
}


Zeile 56: Zeile 56:
  */
  */
.pdfcreator-runningfooterfix {
.pdfcreator-runningfooterfix {
position: running( bottomleft );
  position: running( bottomleft );
margin: 0 -1.75cm 0 -1.75cm;
  margin: 0 -1.75cm 0 -1.75cm;
padding: 0 1.75cm 0 1.75cm;
  padding: 0 1.75cm 0 1.75cm;
height: 1.3cm;
  height: 1.3cm;
}
}
.pdfcreator-runningfooterfix > table {
.pdfcreator-runningfooterfix > table {
width: 100%;
  width: 100%;
background: transparent;
  background: transparent;
max-height: 99%;
  max-height: 99%;
border-top: 0.1mm solid black;
  border-top: 0.1mm solid black;
}
}
.pdfcreator-runningfooterfix > table td {
.pdfcreator-runningfooterfix > table td {
width: 32%;
  width: 32%;
padding-top: 0.1cm;
  padding-top: 0.1cm;
vertical-align: top;
  vertical-align: top;
text-align: center;
  text-align: center;
}
}
.pdfcreator-runningfooterfix > table td p {
.pdfcreator-runningfooterfix > table td p {
font-size: 9pt !important;
  font-size: 9pt !important;
line-height: 1.2em;
  line-height: 1.2em;
}
}
.pdfcreator-runningfooterfix > table td:first-child {
.pdfcreator-runningfooterfix > table td:first-child {
width: 32%;
  width: 32%;
text-align: left;
  text-align: left;
}
}
.pdfcreator-runningfooterfix > table td:last-child {
.pdfcreator-runningfooterfix > table td:last-child {
width: 32%;
  width: 32%;
text-align: right;
  text-align: right;
}
}


Zeile 90: Zeile 90:
  */
  */
@page {
@page {
size: A4 portrait;
  size: A4 portrait;
margin: 2.5cm 1.75cm 1.2cm 1.75cm;
  margin: 2.5cm 1.75cm 1.2cm 1.75cm;


@top-left {
  @top-left {
content: element( topleft );
    content: element( topleft );
}
  }


@top-center {
  @top-center {
content: element( topcenter );
    content: element( topcenter );
}
  }


@top-right {
  @top-right {
content: element( topright );
    content: element( topright );
}
  }


@bottom-left {
  @bottom-left {
content: element( bottomleft );
    content: element( bottomleft );
}
  }


@bottom-center {
  @bottom-center {
content: element( bottomcenter );
    content: element( bottomcenter );
}
  }


@bottom-right {
  @bottom-right {
content: element( bottomright );
    content: element( bottomright );
}
  }
}
}


Zeile 122: Zeile 122:
  */
  */
@page coverpage {
@page coverpage {
margin: 0cm 0cm 0cm 0cm;
  margin: 0cm 0cm 0cm 0cm;


@top-left {
  @top-left {
content: none;
    content: none;
}
  }


@top-center {
  @top-center {
content: none;
    content: none;
}
  }


@top-right {
  @top-right {
content: none;
    content: none;
}
  }


@bottom-left {
  @bottom-left {
content: none;
    content: none;
}
  }


@bottom-center {
  @bottom-center {
content: none;
    content: none;
}
  }


@bottom-right {
  @bottom-right {
content: none;
    content: none;
}
  }
}
}


.pdfcreator-type-intro {
.pdfcreator-type-intro {
page: coverpage;
  page: coverpage;
background-size: 21cm;
  background-size: 21cm;
width: 21cm;
  width: 21cm;
height: 29.7cm;
  height: 29.7cm;
background-repeat: no-repeat;
  background-repeat: no-repeat;
}
}


.pdfcreator-intro-title {
.pdfcreator-intro-title {
position: absolute;
  position: absolute;
top: 17.5cm;
  top: 17.5cm;
left: 1.75cm;
  left: 1.75cm;
width: 17.5cm;
  width: 17.5cm;
max-height: 6.5cm;
  max-height: 6.5cm;
overflow: hidden;
  overflow: hidden;
font-size: 40px;
  font-size: 40px;
color: #3E5389;
  color: #3E5389;
font-weight: 900;
  font-weight: 900;
line-height: 1.3em;
  line-height: 1.3em;
}
}


Zeile 175: Zeile 175:
/* 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: 1cm !important;
margin-top: 0.5cm;
  margin-top: 0.5cm;
}
}


/* remove border of header */
/* remove border of header */
.pdfcreator-runningheaderfix>table {
.pdfcreator-runningheaderfix>table {
border-bottom: none !important;
  border-bottom: none !important;
}
}


Zeile 192: Zeile 192:
.pdfcreator-page-content pre,
.pdfcreator-page-content pre,
.pdfcreator-page-content p {
.pdfcreator-page-content p {
font-size: 9.5pt;
  font-size: 9.5pt;
line-height: 1.8em;
  line-height: 1.8em;
}
}


/* smaller bullet points in lists*/
/* smaller bullet points in lists*/
.pdfcreator-page-content ul {
.pdfcreator-page-content ul {
list-style-type: none !important;
  list-style-type: none !important;
list-style: none !important;
  list-style: none !important;
padding-left: 1.2em;
  padding-left: 1.2em;
}
}


.pdfcreator-page-content ul li {
.pdfcreator-page-content ul li {
list-style-type: none !important;
  list-style-type: none !important;
position: relative;
  position: relative;
}
}


.pdfcreator-page-content ul li::before {
.pdfcreator-page-content ul li::before {
content: "\2022";
  content: "\2022";
/* Unicode bullet (•) */
  /* Unicode bullet (•) */
position: absolute;
  position: absolute;
left: -1em;
  left: -1em;
font-size: 1em;
  font-size: 1em;
/* fully controllable */
  /* fully controllable */
}
}


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


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


Zeile 230: Zeile 230:
.pdfcreator-page-content h2 {
.pdfcreator-page-content h2 {
     font-size:1.2em;
     font-size:1.2em;
border-bottom: none;
  border-bottom: none;
margin: 2em 0;
  margin: 2em 0;
}
}


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


Zeile 244: Zeile 244:
.mw-highlight pre,
.mw-highlight pre,
pre {
pre {
font-size: 8.5pt !important;
  font-size: 8.5pt !important;
line-height: 1.5em !important;
  line-height: 1.5em !important;
}
}


/*wikitable print color white */
/*wikitable print color white */
.wikitable {
.wikitable {
background-color: #fff
  background-color: #fff
}
}


.wikitable tr th {
.wikitable tr th {
background-color: #f1f3f9
  background-color: #f1f3f9
}
}


Zeile 261: Zeile 261:
h3,
h3,
h4 {
h4 {
-fs-keep-with-next: always;
  -fs-keep-with-next: always;
margin-top: 1.2em;
  margin-top: 1.2em;
}
}


p {
p {
-fs-page-break-min-height: 5em;
  -fs-page-break-min-height: 5em;
line-height: 1.5;
  line-height: 1.5;
}
}


Zeile 278: Zeile 278:
code,
code,
pre {
pre {
font-size: 8pt!important;
  font-size: 8pt!important;
line-height: 1.5em!important;
  line-height: 1.5em!important;
}
 
.contentstabilization-export-information {
  position: relative;
  top: 1rem;
}
}

Aktuelle Version vom 14. Oktober 2026, 11:03 Uhr