Skip to content

Commit

Permalink
docs: fix install slug and navbar style (janhq#2306)
Browse files Browse the repository at this point in the history
docs: fix install slug and navbar style (janhq#2306)
  • Loading branch information
0xHieu01 authored Mar 11, 2024
2 parents 1fac400 + 8a361d2 commit f5786a8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

require("dotenv").config();

const darkCodeTheme = require("prism-react-renderer/themes/dracula");
Expand Down Expand Up @@ -105,6 +104,9 @@ const config = {
{
from: "/troubleshooting/undefined-issue/",
to: "/guides/error-codes/undefined-issue/",
}, {
from: "/install/",
to: "/guides/install/",
},
],
},
Expand Down
8 changes: 8 additions & 0 deletions docs/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,24 @@

/* Dark mode styles based on Docusaurus dark theme */
[data-theme='dark'] .head_Menu div {
font-weight: bold;
background-color: var(--ifm-background-color);
color: var(--ifm-font-color-base);
margin-left: 0.7rem;
font-size: larger;
}

[data-theme='dark'] .head_Menu li {
font-weight: normal;
background-color: var(--ifm-background-color);
margin-bottom: 5px;
color: var(--ifm-font-color-base);
}

[data-theme='dark'] .head_SubMenu div {
font-weight: normal;
background-color: var(--ifm-background-color);
color: var(--ifm-font-color-base);
margin-left: 0rem;
font-size: medium;
}

0 comments on commit f5786a8

Please sign in to comment.