From ab80297a30fc5942b811e9b6287230894361466e Mon Sep 17 00:00:00 2001 From: Felix Mulder Date: Thu, 12 Jan 2017 13:44:49 +0100 Subject: Add blog layout --- doc-tool/resources/css/dottydoc.css | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'doc-tool/resources/css') diff --git a/doc-tool/resources/css/dottydoc.css b/doc-tool/resources/css/dottydoc.css index c3d122892..2dd9bf618 100644 --- a/doc-tool/resources/css/dottydoc.css +++ b/doc-tool/resources/css/dottydoc.css @@ -33,10 +33,16 @@ div#content-body { min-height: 100vh; } -a#menu-toggle:focus, -a#menu-toggle { +div#menu-toggle { color: #837F84; outline: none; + padding-left: 20px; + padding-top: 10px; +} + +div#menu-toggle:hover { + color: rgba(0, 0, 0, 0.4); + cursor: pointer; } ul.index-entities { @@ -67,6 +73,17 @@ li.index-entity > a { padding: 0 24px; color: rgba(0,0,0,.87); background: transparent; + cursor: pointer; +} + +ul.toc > li > ul.show { + display: block; + list-style-type: none; + font-size: 13px; +} + +ul.toc > li > ul.hide { + display: none; } li.index-entity > a.title { @@ -78,7 +95,7 @@ li.index-entity > a:focus { text-decoration: none; } -li.index-entity > a:hover { +ul.toc > li > a:hover { text-decoration: none; background-color: rgba(0, 0, 0, 0.2); } -- cgit v1.2.3