diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-03-26 23:06:24 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-03-26 23:06:24 +0100 |
commit | ee5d547f1728d87331cb3e8def517b93793627dc (patch) | |
tree | aad1b214cfbdc037e3d093c48c400f033e29264f /styles | |
parent | edba91f524455dcbb108da56d893290013816087 (diff) |
more chapter hierarchy but better
Diffstat (limited to 'styles')
-rw-r--r-- | styles/navbar.css | 10 |
1 files changed, 10 insertions, 0 deletions
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; } |