From ee5d547f1728d87331cb3e8def517b93793627dc Mon Sep 17 00:00:00 2001 From: lonkaars Date: Fri, 26 Mar 2021 23:06:24 +0100 Subject: more chapter hierarchy but better --- styles/navbar.css | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'styles') diff --git a/styles/navbar.css b/styles/navbar.css index 456c2c3..97986e9 100644 --- a/styles/navbar.css +++ b/styles/navbar.css @@ -46,6 +46,16 @@ margin-top: 1px; } +.navbarItem.chapter .chapterChildren { + transition-property: height; + transition-duration: .3s; + + overflow: hidden; +} +.navbarItem.chapter .chapterChildren.collapsed { + height: 0; +} + .navbarItem .inner { height: 24px; } -- cgit v1.2.3