1
1
Fork 0

.dokuteaser fixes; less box-shadow

This commit is contained in:
Vrifox 2020-10-17 18:39:10 +02:00
parent 41c8ebf490
commit 8b7ed5fc13

View file

@ -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;
}
}
}
}
}
}