Skip to content

Commit

Permalink
fix: lisght mode issues in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Elue-dev committed Oct 5, 2024
1 parent 0d4f781 commit 0253756
Showing 1 changed file with 13 additions and 26 deletions.
39 changes: 13 additions & 26 deletions docs/src/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,32 +1,24 @@
html[data-theme="dark"] {
[data-theme="light"] {
--ifm-background-color: #ffffff;
--ifm-navbar-background-color: #ffffff;
--ifm-navbar-color: #000000;
}

[data-theme="dark"] {
--ifm-background-color: #000000;
--ifm-navbar-background-color: #000000;
--ifm-navbar-color: #ffffff;

body {
background-color: #000 !important;
}

body::before {
content: "";
position: fixed;
top: 0;
left: 0;
right: 0;
height: 5px;
background-image: url("/img/pattern.avif");
background-repeat: repeat-x;
z-index: 9999;
}

.navbar {
background-color: #000 !important;
}

.navbar__item {
color: white !important;
}

.navbar__title {
color: white !important;
}

.navbar__item,
.navbar__title,
.navbar__toggle {
color: white !important;
}
Expand All @@ -38,11 +30,6 @@ html[data-theme="dark"] {
footer {
background-color: #1c1e21 !important;
}

/* For dark mode */
[data-theme="dark"] footer {
background-color: darkred !important;
}
}

:root {
Expand Down

0 comments on commit 0253756

Please sign in to comment.