Vorlage:CSS/webtrees-handbuch.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
K (Anmerkung) |
(Druckoptimierung) |
||
Zeile 26: | Zeile 26: | ||
#content h6:before {content: counter(ebene1) "." counter(ebene2) "." counter(ebene3) "." counter(ebene4) "." counter(ebene5) " "; counter-increment: ebene5;} | #content h6:before {content: counter(ebene1) "." counter(ebene2) "." counter(ebene3) "." counter(ebene4) "." counter(ebene5) " "; counter-increment: ebene5;} | ||
#content h6 {border-bottom: 1px solid gray;} | #content h6 {border-bottom: 1px solid gray;} | ||
@media print { | |||
p, ul li, ol li, #bodyContent, th, td { font-family: sans-serif; font-size:12px !important;} | |||
table.toccolours, #contentSub { display:none;} | |||
.gallerytext, .thumbcaption {font-style:italic; color:#666; font-size:12px;} | |||
} | |||
/*</syntaxhighlight>*/ | /*</syntaxhighlight>*/ |
Version vom 1. Februar 2023, 22:42 Uhr
/*
zusätzliches Styling fürs Webtrees Handbuch
- WT-Icon vor Seitentitel,
- Nummerierung der Überschriften analog zu Inhaltsverzeichnis (Überschriftebene 2 bis 6)
- Hervorhebung der Gliederung durch Anpassung der Überschriften
Durch die Vorlage:WT-Seitenkopf kann die Einbindung auf der betreffenden Seite erfolgen.
/* */
#wthbicon > img { width:20px !important; height: 20px !important;}
#wthbicon { position: absolute; top: -40px;}
#content h1 {counter-reset: ebene1; padding-left:25px;}
#content h2:before {content: counter(ebene1) " "; counter-increment: ebene1;}
#content h2 {counter-reset: ebene2; font: bold 1.4em Sans-Serif; border-bottom: 3px solid black;}
#content #mw-toc-heading {font-size:100%; counter-reset:none; border-bottom: unset;}
#content #mw-toc-heading:before {content: none; counter-increment:unset;}
#content h3:before {content: counter(ebene1) "." counter(ebene2) " "; counter-increment: ebene2;}
#content h3 {counter-reset: ebene3; border-bottom: 2px solid black;}
#content h4:before {content: counter(ebene1) "." counter(ebene2) "." counter(ebene3) " "; counter-increment: ebene3;}
#content h4 {counter-reset: ebene4; border-bottom: double gray;}
#content h5:before {content: counter(ebene1) "." counter(ebene2) "." counter(ebene3) "." counter(ebene4) " "; counter-increment: ebene4;}
#content h5 {counter-reset: ebene5; border-bottom: 1px solid gray;}
#content h6:before {content: counter(ebene1) "." counter(ebene2) "." counter(ebene3) "." counter(ebene4) "." counter(ebene5) " "; counter-increment: ebene5;}
#content h6 {border-bottom: 1px solid gray;}
@media print {
p, ul li, ol li, #bodyContent, th, td { font-family: sans-serif; font-size:12px !important;}
table.toccolours, #contentSub { display:none;}
.gallerytext, .thumbcaption {font-style:italic; color:#666; font-size:12px;}
}
/*
*/