Skip to content

Commit

Permalink
More aggressive z-index
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed Oct 23, 2020
1 parent 9963678 commit 7c214fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/insipid_sphinx_theme/insipid/static/insipid.css_t
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ div.sphinxsidebar {
overflow-y: auto;
float: unset;
margin-left: unset; /* override basic.css */
z-index: 99;
z-index: 390;
color: #333;
background-color: #f5f5f5;
overscroll-behavior: contain;
Expand Down Expand Up @@ -839,7 +839,7 @@ div.sphinxsidebar input {
/* -- topbar ---------------------------------------------------------------- */

#topbar-placeholder {
z-index: 123;
z-index: 500;
}

body.js #topbar-placeholder {
Expand Down Expand Up @@ -1087,7 +1087,7 @@ div.viewcode-block:target {
opacity: 0;
background-color: rgba(100%, 100%, 100%, 80%);
transition: opacity {{ theme_sidebar_transition }}, visibility 0s {{ theme_sidebar_transition }};
z-index: 42;
z-index: 380;
}

body.js.sidebar-visible #overlay {
Expand Down

0 comments on commit 7c214fc

Please sign in to comment.