Skip to content

Commit 215be05

Browse files
committed
fixed the background color
1 parent 7e1c142 commit 215be05

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/components/header/header.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
align-items: center;
55
overflow: hidden;
66
padding: 3rem auto;
7-
background-color: #FAFAF8 !important;
7+
background-color: #FAFAF8;
88
color: #111827;
99
transition:
1010
background 0.4s ease,

src/css/custom.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -624,10 +624,10 @@ html[data-theme="dark"] article blockquote {
624624
}
625625
}
626626

627-
:root {
627+
:root, html[data-theme="light"] {
628628
--ifm-background-color: #FAFAF8;
629629
--ifm-background-surface-color: #FAFAF8;
630-
--ifm-navbar-background-color: #FAFAF8 !important;
630+
--ifm-navbar-background-color: #FAFAF8;
631631
--ifm-footer-background-color: #FAFAF8;
632632
--ifm-color-primary: #2e8555;
633633
--ifm-color-primary-dark: #29784c;
@@ -689,7 +689,7 @@ body {
689689
text-decoration: none;
690690
}
691691

692-
[data-theme="dark"] {
692+
html[data-theme="dark"] {
693693
--ifm-background-color: #000000;
694694
--ifm-background-surface-color: #0a0a0a;
695695
--ifm-navbar-background-color: #000000;

0 commit comments

Comments
 (0)