Merge pull request #994 from WofWca/nav-chapters-style
ui: Improve next/prev chapter links' style
This commit is contained in:
commit
a8d6337ac6
|
@ -126,7 +126,7 @@ html:not(.sidebar-visible) #menu-bar:not(:hover).folded > #menu-bar-sticky-conta
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 50px; /* Height of menu-bar */
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
max-width: 150px;
|
max-width: 150px;
|
||||||
|
@ -137,10 +137,14 @@ html:not(.sidebar-visible) #menu-bar:not(:hover).folded > #menu-bar-sticky-conta
|
||||||
align-content: center;
|
align-content: center;
|
||||||
flex-direction: column;
|
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 {
|
.nav-wrapper {
|
||||||
margin-top: 50px;
|
margin-top: 50px;
|
||||||
|
|
Loading…
Reference in New Issue