diff --git a/docs/higlass_theme/static/higlass.css b/docs/higlass_theme/static/higlass.css index af8eba0..d17309c 100644 --- a/docs/higlass_theme/static/higlass.css +++ b/docs/higlass_theme/static/higlass.css @@ -670,3 +670,25 @@ div.document { display: none; } } + +@media screen and (min-width: 940px) { + div.sphinxsidebar { + max-height: 100%; + overflow-y: auto; + position: absolute; + top: 100px; + } +} + +@media screen and (max-width: 940px) { + div.sphinxsidebar { + display: block; + float: none; + width: unset; + margin: 50px -30px -20px -30px; + padding: 10px 20px; + background: #333; + color: #fff; + position: static; + } +}