Fixed header action background color for smaller screens

closes #934

- the accent color is used for the header background, so we don't need to add explicit dark mode color to the action on mobile screens
This commit is contained in:
Sodbileg Gansukh 2023-04-10 13:24:11 +08:00
parent 0c4164c5bd
commit b56bec2cb8
3 changed files with 2 additions and 14 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

@ -2285,12 +2285,6 @@ html.dark-mode .footer-cta-title {
color: #fff; color: #fff;
} }
@media (max-width: 767px) {
html.dark-mode .gh-head-open #gh-head .gh-head-actions {
background-color: var(--color-darkmode);
}
}
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
html.auto-color body { html.auto-color body {
color: rgba(255, 255, 255, 0.75); color: rgba(255, 255, 255, 0.75);
@ -2475,12 +2469,6 @@ html.dark-mode .footer-cta-title {
html.auto-color .footer-cta-title { html.auto-color .footer-cta-title {
color: #fff; color: #fff;
} }
@media (max-width: 767px) {
html.auto-color .gh-head-open #gh-head .gh-head-actions {
background-color: var(--color-darkmode);
}
}
} }
/* /*