diff options
| author | Nihaal Sangha <[email protected]> | 2020-09-01 20:24:03 +0100 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-12-18 21:18:58 -0500 |
| commit | 0559d77e5a733f34f8802bf553e28f34bdf4c8b5 (patch) | |
| tree | 3d2d35e84c952f4ee703e860819aecaded037a32 /docs/_static/style.css | |
| parent | Thicken admonition borders a little (diff) | |
| download | discord.py-0559d77e5a733f34f8802bf553e28f34bdf4c8b5.tar.xz discord.py-0559d77e5a733f34f8802bf553e28f34bdf4c8b5.zip | |
Add sidebar animation when collapsing
Diffstat (limited to 'docs/_static/style.css')
| -rw-r--r-- | docs/_static/style.css | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/_static/style.css b/docs/_static/style.css index 99553296..6cd061fa 100644 --- a/docs/_static/style.css +++ b/docs/_static/style.css @@ -361,6 +361,13 @@ aside h3 { user-select: none; position: relative; line-height: 0.5em; + transition: transform 0.4s; + transform: rotate(0deg); +} + +.expanded { + transition: transform 0.4s; + transform: rotate(-90deg); } .ref-internal-padding { |