diff --git a/scss/import/wiki.scss b/scss/import/wiki.scss index cf94844..65e40f2 100644 --- a/scss/import/wiki.scss +++ b/scss/import/wiki.scss @@ -2,6 +2,7 @@ @media screen { body { + background: rgb(245, 245, 245); #dokuwiki__site { .site { .topbar { // _old_ topbar (pre ~2015; plugin) @@ -101,8 +102,44 @@ } #dokuwiki__content { .pad { + .pageId { + span { + box-shadow: 0 0 5px rgb(200, 200, 200); + } + } .page { + box-shadow: 0 0 5px rgb(200, 200, 200); counter-reset: level1; // content only + h1 { + counter-reset: level2; + } + h2 { + counter-reset: level3; + &:before { + content: counter(level2) " "; + counter-increment: level2; + } + } + h3 { + counter-reset: level4; + &:before { + content: counter(level2) "." counter(level3) " "; + counter-increment: level3; + } + } + h4 { + counter-reset: level5; + &:before { + content: counter(level2) "." counter(level3) "." counter(level4) " "; + counter-increment: level4; + } + } + h5 { + &:before { + content: counter(level2) "." counter(level3) "." counter(level4) "." counter(level5) " "; + counter-increment: level5; + } + } #dw__toc { // Inhaltsverzeichnis &:after, &:before { // toc only; Vor und nach Inhaltsverzeichnis Counter reset machen @@ -152,34 +189,21 @@ } } } - h1 { - counter-reset: level2; - } - h2 { - counter-reset: level3; - &:before { - content: counter(level2) " "; - counter-increment: level2; - } - } - h3 { - counter-reset: level4; - &:before { - content: counter(level2) "." counter(level3) " "; - counter-increment: level3; - } - } - h4 { - counter-reset: level5; - &:before { - content: counter(level2) "." counter(level3) "." counter(level4) " "; - counter-increment: level4; - } - } - h5 { - &:before { - content: counter(level2) "." counter(level3) "." counter(level4) "." counter(level5) " "; - counter-increment: level5; + div { + .dokuteaser { + p { + .media { + .mediaright { + margin-top: 0; + } + } + .wikilink1 { + display: initial; + &:last-child { + display: block; + } + } + } } } }