Benutzer:Alois/monobook.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Alois (Diskussion | Beiträge) Die Seite wurde neu angelegt: „h3 { font-size: 132%; border-bottom: 1px dashed #aaa; font-weight: bold; }“ |
Alois (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| (4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
h3 { | @media screen { | ||
h3 { | |||
font-size: 132%; | |||
border-bottom: 1px dashed #aaa; | |||
font-weight: normal; | |||
} | |||
} | |||
@media print { | |||
/* automatic header numbering */ | |||
body { | |||
counter-reset:h1; | |||
/* counter-increment:h1 -1; // to start with 0 */ | |||
} | |||
h1:before { | |||
content:counter(h1) ". "; | |||
counter-increment:h1 ; | |||
} | |||
h1{ | |||
counter-reset:h2; | |||
} | |||
h2:before { | |||
content:counter(h1) "." counter(h2) ". "; | |||
counter-increment:h2 ; | |||
} | |||
h2{ | |||
counter-reset:h3; | |||
} | |||
h3:before { | |||
content:counter(h1) "." counter(h2) "." counter(h3) ". "; | |||
counter-increment:h3 ; | |||
} | |||
h3{ | |||
counter-reset:h4; | |||
} | |||
h4:before { | |||
content:counter(h1) "." counter(h2) "." counter(h3) "." counter(h4) ". "; | |||
counter-increment:h4 ; | |||
} | |||
} | } | ||
Aktuelle Version vom 15. Mai 2011, 14:21 Uhr
@media screen {
h3 {
font-size: 132%;
border-bottom: 1px dashed #aaa;
font-weight: normal;
}
}
@media print {
/* automatic header numbering */
body {
counter-reset:h1;
/* counter-increment:h1 -1; // to start with 0 */
}
h1:before {
content:counter(h1) ". ";
counter-increment:h1 ;
}
h1{
counter-reset:h2;
}
h2:before {
content:counter(h1) "." counter(h2) ". ";
counter-increment:h2 ;
}
h2{
counter-reset:h3;
}
h3:before {
content:counter(h1) "." counter(h2) "." counter(h3) ". ";
counter-increment:h3 ;
}
h3{
counter-reset:h4;
}
h4:before {
content:counter(h1) "." counter(h2) "." counter(h3) "." counter(h4) ". ";
counter-increment:h4 ;
}
}