main nav counter fallback
This commit is contained in:
parent
605f78d818
commit
5cbfd9f86e
2 changed files with 9 additions and 5 deletions
|
@ -6,10 +6,11 @@
|
|||
|
||||
|
||||
#dokuwiki__aside.main-sidebar {
|
||||
|
||||
counter-reset: nav-counter;
|
||||
/* + + + + + nav main + + + + + */
|
||||
.nav-main {
|
||||
> ul {
|
||||
|
||||
@icon-size: 2rem;
|
||||
|
||||
margin: 0;
|
||||
|
@ -42,13 +43,16 @@
|
|||
border-bottom: solid 1px @color-border;
|
||||
margin: 0;
|
||||
padding: 0 0 .3rem 0;
|
||||
counter-increment: nav-counter;
|
||||
|
||||
> .li { //background-color: pink;// hier activ !!!
|
||||
position: relative;
|
||||
padding: .5rem 0 .5rem (@icon-size + 1);
|
||||
|
||||
&::before { background-color: gold;// test
|
||||
content: '?';
|
||||
&::before {
|
||||
//background-color: @color-link;
|
||||
color: @color-nav;
|
||||
content: counter(nav-counter);
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
padding: .5rem 0 .5rem (@icon-size + 1);
|
||||
|
||||
&::before {
|
||||
background-color: gold;
|
||||
content: '?';
|
||||
//background-color: gold;
|
||||
content: 'A';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue