docs: fix install slug and navbar style (#2306)
docs: fix install slug and navbar style (#2306)
This commit is contained in:
commit
f5786a85a5
@ -1,6 +1,5 @@
|
|||||||
// @ts-check
|
// @ts-check
|
||||||
// Note: type annotations allow type checking and IDEs autocompletion
|
// Note: type annotations allow type checking and IDEs autocompletion
|
||||||
|
|
||||||
require("dotenv").config();
|
require("dotenv").config();
|
||||||
|
|
||||||
const darkCodeTheme = require("prism-react-renderer/themes/dracula");
|
const darkCodeTheme = require("prism-react-renderer/themes/dracula");
|
||||||
@ -105,6 +104,9 @@ const config = {
|
|||||||
{
|
{
|
||||||
from: "/troubleshooting/undefined-issue/",
|
from: "/troubleshooting/undefined-issue/",
|
||||||
to: "/guides/error-codes/undefined-issue/",
|
to: "/guides/error-codes/undefined-issue/",
|
||||||
|
}, {
|
||||||
|
from: "/install/",
|
||||||
|
to: "/guides/install/",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
@ -33,16 +33,24 @@
|
|||||||
|
|
||||||
/* Dark mode styles based on Docusaurus dark theme */
|
/* Dark mode styles based on Docusaurus dark theme */
|
||||||
[data-theme='dark'] .head_Menu div {
|
[data-theme='dark'] .head_Menu div {
|
||||||
|
font-weight: bold;
|
||||||
background-color: var(--ifm-background-color);
|
background-color: var(--ifm-background-color);
|
||||||
color: var(--ifm-font-color-base);
|
color: var(--ifm-font-color-base);
|
||||||
|
margin-left: 0.7rem;
|
||||||
|
font-size: larger;
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-theme='dark'] .head_Menu li {
|
[data-theme='dark'] .head_Menu li {
|
||||||
|
font-weight: normal;
|
||||||
background-color: var(--ifm-background-color);
|
background-color: var(--ifm-background-color);
|
||||||
|
margin-bottom: 5px;
|
||||||
color: var(--ifm-font-color-base);
|
color: var(--ifm-font-color-base);
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-theme='dark'] .head_SubMenu div {
|
[data-theme='dark'] .head_SubMenu div {
|
||||||
|
font-weight: normal;
|
||||||
background-color: var(--ifm-background-color);
|
background-color: var(--ifm-background-color);
|
||||||
color: var(--ifm-font-color-base);
|
color: var(--ifm-font-color-base);
|
||||||
|
margin-left: 0rem;
|
||||||
|
font-size: medium;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user