font-size in responsive

This commit is contained in:
Silke Pisulla 2017-01-05 15:55:17 +01:00
commit 56e5a149e0

View file

@ -11,6 +11,7 @@
/* + + + + + nav main + + + + + */ /* + + + + + nav main + + + + + */
.nav-main { .nav-main {
padding-bottom: 1.8rem; padding-bottom: 1.8rem;
> ul { > ul {
@icon-size: 2rem; @icon-size: 2rem;
@ -35,6 +36,7 @@
display: list-item; display: list-item;
list-style-type: square; list-style-type: square;
color: @color-nav; color: @color-nav;
font-weight: normal;
padding-top: .1em; padding-top: .1em;
padding-bottom: .1em; padding-bottom: .1em;
transition: @transition color; transition: @transition color;
@ -73,6 +75,10 @@
margin-top: -1px; margin-top: -1px;
padding: .5em 0 .5em (@icon-size + 1); padding: .5em 0 .5em (@icon-size + 1);
&[class="li"] {
border-bottom: solid 1px @color-border;
}
&::before { &::before {
content: counter(nav-counter); content: counter(nav-counter);
position: absolute; position: absolute;
@ -222,8 +228,12 @@
@media @screen_min-xlg { @media @screen_min-xlg {
#dokuwiki__aside.main-sidebar { #dokuwiki__aside.main-sidebar {
.nav-main { .nav-main {
> ul > li > .li * { > ul > li > .li {
font-size: .9rem; font-size: .9rem;
* {
font-size: inherit;
}
} }
.li { .li {
@ -231,7 +241,7 @@
padding: .1em 0; padding: .1em 0;
* { * {
font-size: inherit; font-size: .8rem;
font-weight: inherit; font-weight: inherit;
} }
} }
@ -251,7 +261,7 @@
padding: .15em .25rem; padding: .15em .25rem;
> * { > * {
font-size: 1rem; font-size: inherit;
} }
} }
} }