.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,35 +189,22 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
h1 {
|
div {
|
||||||
counter-reset: level2;
|
.dokuteaser {
|
||||||
}
|
p {
|
||||||
h2 {
|
.media {
|
||||||
counter-reset: level3;
|
.mediaright {
|
||||||
&:before {
|
margin-top: 0;
|
||||||
content: counter(level2) " ";
|
|
||||||
counter-increment: level2;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
h3 {
|
.wikilink1 {
|
||||||
counter-reset: level4;
|
display: initial;
|
||||||
&:before {
|
&:last-child {
|
||||||
content: counter(level2) "." counter(level3) " ";
|
display: block;
|
||||||
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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.thumb2 { // Bild ohne Rahmen
|
.thumb2 { // Bild ohne Rahmen
|
||||||
|
|
Reference in a new issue