Go back to inline links for now, add menu backgroudn color only on mobile view
This commit is contained in:
+4
-2
@@ -26,7 +26,6 @@ h6 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
display: inline-flex;
|
|
||||||
flex: auto;
|
flex: auto;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: .5em;
|
gap: .5em;
|
||||||
@@ -113,7 +112,6 @@ a .book-icon {
|
|||||||
.book-menu-content {
|
.book-menu-content {
|
||||||
width: $menu-width;
|
width: $menu-width;
|
||||||
padding: $padding-16;
|
padding: $padding-16;
|
||||||
background: var(--body-background);
|
|
||||||
|
|
||||||
@include fixed;
|
@include fixed;
|
||||||
}
|
}
|
||||||
@@ -358,6 +356,10 @@ body[dir="rtl"] .book-menu {
|
|||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
margin-inline-start: -$menu-width;
|
margin-inline-start: -$menu-width;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
|
||||||
|
.book-menu-content {
|
||||||
|
background: var(--body-background);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.book-toc {
|
.book-toc {
|
||||||
|
|||||||
@@ -46,7 +46,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
display: unset;
|
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
||||||
&[href]:hover {
|
&[href]:hover {
|
||||||
|
|||||||
Reference in New Issue
Block a user