Fixed main nav background color in dark mode

closes https://github.com/TryGhost/Casper/issues/942
This commit is contained in:
Sodbileg Gansukh 2023-06-20 12:09:08 +08:00
parent ba0b3d08cc
commit aa8ca0794b
3 changed files with 8 additions and 10 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2119,8 +2119,7 @@ html.dark-mode figcaption a {
color: #fff; color: #fff;
} }
html.dark-mode .gh-head, html.dark-mode body:not(.has-cover) .gh-head {
html.dark-mode .has-cover:not(.home-template) .gh-head {
background: var(--color-darkmode); background: var(--color-darkmode);
color: #fff; color: #fff;
} }
@ -2288,8 +2287,8 @@ html.dark-mode .footer-cta-title {
} }
@media (max-width: 767px) { @media (max-width: 767px) {
html.dark-mode .gh-head-open #gh-head, html.dark-mode .gh-head-open:not(.has-cover) #gh-head,
html.dark-mode .gh-head-open #gh-head .gh-head-actions { html.dark-mode .gh-head-open:not(.has-cover) #gh-head .gh-head-actions {
background: var(--color-darkmode); background: var(--color-darkmode);
} }
} }
@ -2312,8 +2311,7 @@ html.dark-mode .footer-cta-title {
color: #fff; color: #fff;
} }
html.auto-color .gh-head, html.auto-color body:not(.has-cover) .gh-head {
html.auto-color .has-cover:not(.home-template) .gh-head {
background: var(--color-darkmode); background: var(--color-darkmode);
color: #fff; color: #fff;
} }
@ -2481,8 +2479,8 @@ html.dark-mode .footer-cta-title {
} }
@media (max-width: 767px) { @media (max-width: 767px) {
html.auto-color .gh-head-open #gh-head, html.auto-color .gh-head-open:not(.has-cover) #gh-head,
html.auto-color .gh-head-open #gh-head .gh-head-actions { html.auto-color .gh-head-open:not(.has-cover) #gh-head .gh-head-actions {
background: var(--color-darkmode); background: var(--color-darkmode);
} }
} }