Fix meta color for dark theme, fix scrollbar plugin for Firefox
This commit is contained in:
@@ -22,5 +22,5 @@ body {
|
|||||||
|
|
||||||
// Future
|
// Future
|
||||||
.book-menu nav {
|
.book-menu nav {
|
||||||
scrollbar-color: transparent var(--gray-500);
|
scrollbar-color: var(--gray-500) transparent;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ https://github.com/alex-shpak/hugo-book
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="description" content="{{ or .Description .Summary | plainify | htmlUnescape }}">
|
<meta name="description" content="{{ or .Description .Summary | plainify | htmlUnescape }}">
|
||||||
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#ffffff">
|
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#ffffff">
|
||||||
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#343a40">
|
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#2e3440">
|
||||||
<meta name="color-scheme" content="light dark">
|
<meta name="color-scheme" content="light dark">
|
||||||
|
|
||||||
{{- with .Page.Params.BookHref -}}
|
{{- with .Page.Params.BookHref -}}
|
||||||
|
|||||||
Reference in New Issue
Block a user