From 56e5a149e06289998e4fe4e23e95097dfeee684e Mon Sep 17 00:00:00 2001 From: Silke Pisulla Date: Thu, 5 Jan 2017 15:55:17 +0100 Subject: [PATCH] font-size in responsive --- css/area_main-sidebar.less | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/css/area_main-sidebar.less b/css/area_main-sidebar.less index 922b1a9..6a47f20 100644 --- a/css/area_main-sidebar.less +++ b/css/area_main-sidebar.less @@ -11,6 +11,7 @@ /* + + + + + nav main + + + + + */ .nav-main { padding-bottom: 1.8rem; + > ul { @icon-size: 2rem; @@ -35,6 +36,7 @@ display: list-item; list-style-type: square; color: @color-nav; + font-weight: normal; padding-top: .1em; padding-bottom: .1em; transition: @transition color; @@ -73,6 +75,10 @@ margin-top: -1px; padding: .5em 0 .5em (@icon-size + 1); + &[class="li"] { + border-bottom: solid 1px @color-border; + } + &::before { content: counter(nav-counter); position: absolute; @@ -222,8 +228,12 @@ @media @screen_min-xlg { #dokuwiki__aside.main-sidebar { .nav-main { - > ul > li > .li * { + > ul > li > .li { font-size: .9rem; + + * { + font-size: inherit; + } } .li { @@ -231,7 +241,7 @@ padding: .1em 0; * { - font-size: inherit; + font-size: .8rem; font-weight: inherit; } } @@ -251,7 +261,7 @@ padding: .15em .25rem; > * { - font-size: 1rem; + font-size: inherit; } } }