initial commit css gitlab wiki

This commit is contained in:
Adrian 2017-03-01 09:35:31 +00:00
parent ed9802f0f1
commit c3ee890187

View File

@ -0,0 +1,33 @@
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("git.dev-digitalmobil.com") {
/*
Abstände für Überschriften
*/
.wiki h1, .wiki h2 {
margin-top: 4rem;
}
.wiki h3, .wiki h4, .wiki h5, .wiki h6 {
/* todo */
}
/*
Überschriften durchnummerieren
*/
body .wiki {counter-reset: h2}
.wiki h2 {counter-reset: h3}
.wiki h3 {counter-reset: h4}
.wiki h4 {counter-reset: h5}
.wiki h5 {counter-reset: h6}
.wiki h2:before {counter-increment: h2; content: counter(h2) ". "}
.wiki h3:before {counter-increment: h3; content: counter(h2) "." counter(h3) ". "}
.wiki h4:before {counter-increment: h4; content: counter(h2) "." counter(h3) "." counter(h4) ". "}
.wiki h5:before {counter-increment: h5; content: counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) ". "}
.wiki h6:before {counter-increment: h6; content: counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) "." counter(h6) ". "}
.wiki h2.nocount:before, .wiki h3.nocount:before, .wiki h4.nocount:before, .wiki h5.nocount:before, .wiki h6.nocount:before { content: ""; counter-increment: none }
}