Introduce counter for tasks
This commit is contained in:
parent
36009a75aa
commit
e35cf64e90
@ -549,3 +549,17 @@ p a:link, p a:hover, p a:active, p a:visited {
|
|||||||
|
|
||||||
p a:hover::before {
|
p a:hover::before {
|
||||||
height: 110%; }
|
height: 110%; }
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Counters for Tasks
|
||||||
|
* ==================
|
||||||
|
*/
|
||||||
|
body {
|
||||||
|
counter-reset: tasks; }
|
||||||
|
|
||||||
|
[data-category^=Aufgabe] {
|
||||||
|
counter-increment: tasks; }
|
||||||
|
|
||||||
|
.layout-content-only h2[data-category^=Aufgabe]::after,
|
||||||
|
.layout-wide-content h2[data-category^=Aufgabe]::after {
|
||||||
|
content: counter(tasks); }
|
||||||
|
|||||||
@ -679,3 +679,20 @@ p a {
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Counters for Tasks
|
||||||
|
* ==================
|
||||||
|
*/
|
||||||
|
body {
|
||||||
|
counter-reset: tasks;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-category^=Aufgabe] {
|
||||||
|
counter-increment: tasks;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layout-content-only h2[data-category^=Aufgabe]::after,
|
||||||
|
.layout-wide-content h2[data-category^=Aufgabe]::after {
|
||||||
|
content: counter(tasks);
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user