diff --git a/css/_toc.css b/css/_toc.css index fcccf4f..5b71de3 100644 --- a/css/_toc.css +++ b/css/_toc.css @@ -11,45 +11,27 @@ float: right; margin: 0 0 1.4em 1.4em; width: 12em; + background-color: __background_alt__; + color: inherit; } /*____________ toc header ____________*/ .dokuwiki div.tocheader { padding: .2em .5em; - margin-bottom: .2em; font-weight: bold; - background-color: __background_alt__; - color: __text__; } -/* css arrow */ .dokuwiki .toc span.toc_open, .dokuwiki .toc span.toc_close { - border: .4em solid __background_alt__; float: right; - display: block; - margin: 0 .2em 0 0; -} -.dokuwiki .toc span.toc_open span, -.dokuwiki .toc span.toc_close span { - display: none; -} -.dokuwiki .toc span.toc_open { - margin-top: .4em; - border-top: .4em solid __text__; -} -.dokuwiki .toc span.toc_close { - margin-top: 0; - border-bottom: .4em solid __text__; + margin: 0 .2em; } /*____________ toc list ____________*/ .dokuwiki #toc__inside { padding: .2em .5em; - background-color: __background_alt__; - color: __text__; } .dokuwiki #toc__inside ul { padding: 0; @@ -59,6 +41,10 @@ list-style: none; padding: 0; margin: 0; + line-height: 1.1; +} +.dokuwiki #toc__inside ul li div.li { + padding: .15em 0; } .dokuwiki #toc__inside ul ul { padding-left: 1em;