.dokuteaser fixes; less box-shadow
This commit is contained in:
parent
41c8ebf490
commit
8b7ed5fc13
1 changed files with 52 additions and 28 deletions
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
@media screen {
|
@media screen {
|
||||||
body {
|
body {
|
||||||
|
background: rgb(245, 245, 245);
|
||||||
#dokuwiki__site {
|
#dokuwiki__site {
|
||||||
.site {
|
.site {
|
||||||
.topbar { // _old_ topbar (pre ~2015; plugin)
|
.topbar { // _old_ topbar (pre ~2015; plugin)
|
||||||
|
@ -101,8 +102,44 @@
|
||||||
}
|
}
|
||||||
#dokuwiki__content {
|
#dokuwiki__content {
|
||||||
.pad {
|
.pad {
|
||||||
|
.pageId {
|
||||||
|
span {
|
||||||
|
box-shadow: 0 0 5px rgb(200, 200, 200);
|
||||||
|
}
|
||||||
|
}
|
||||||
.page {
|
.page {
|
||||||
|
box-shadow: 0 0 5px rgb(200, 200, 200);
|
||||||
counter-reset: level1; // content only
|
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
|
#dw__toc { // Inhaltsverzeichnis
|
||||||
&:after,
|
&:after,
|
||||||
&:before { // toc only; Vor und nach Inhaltsverzeichnis Counter reset machen
|
&:before { // toc only; Vor und nach Inhaltsverzeichnis Counter reset machen
|
||||||
|
@ -152,34 +189,21 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
h1 {
|
div {
|
||||||
counter-reset: level2;
|
.dokuteaser {
|
||||||
}
|
p {
|
||||||
h2 {
|
.media {
|
||||||
counter-reset: level3;
|
.mediaright {
|
||||||
&:before {
|
margin-top: 0;
|
||||||
content: counter(level2) " ";
|
}
|
||||||
counter-increment: level2;
|
}
|
||||||
}
|
.wikilink1 {
|
||||||
}
|
display: initial;
|
||||||
h3 {
|
&:last-child {
|
||||||
counter-reset: level4;
|
display: block;
|
||||||
&: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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue