Skip to content

Commit

Permalink
Merge pull request #994 from WofWca/nav-chapters-style
Browse files Browse the repository at this point in the history
ui: Improve next/prev chapter links' style
  • Loading branch information
ehuss authored Aug 7, 2019
2 parents f37a89c + 1c5dc1e commit a8d6337
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/theme/css/chrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ html:not(.sidebar-visible) #menu-bar:not(:hover).folded > #menu-bar-sticky-conta
text-decoration: none;

position: fixed;
top: 50px; /* Height of menu-bar */
top: 0;
bottom: 0;
margin: 0;
max-width: 150px;
Expand All @@ -137,10 +137,14 @@ html:not(.sidebar-visible) #menu-bar:not(:hover).folded > #menu-bar-sticky-conta
align-content: center;
flex-direction: column;

transition: color 0.5s;
transition: color 0.5s, background-color 0.5s;
}

.nav-chapters:hover { text-decoration: none; }
.nav-chapters:hover {
text-decoration: none;
background-color: var(--theme-hover);
transition: background-color 0.15s, color 0.15s;
}

.nav-wrapper {
margin-top: 50px;
Expand Down

0 comments on commit a8d6337

Please sign in to comment.