From f858f002cb4a99dd9cd9e73cd067a53942744920 Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Tue, 13 Oct 2020 11:39:30 +0200 Subject: [PATCH] Partial fix for guides colors in dark theme This commit partially fixes regressions introduced while rewriting Thymeleaf templates for the Thymeleaf 3 upgrade. We're updating CSS selectors to reapply dark mode styles on the guides page. The "Go to repo" and "Projects" sections are yet to be fixed. See gh-1002 --- sagan-client/src/css/dark.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sagan-client/src/css/dark.scss b/sagan-client/src/css/dark.scss index e9f2f2e84..9adfa7fc7 100644 --- a/sagan-client/src/css/dark.scss +++ b/sagan-client/src/css/dark.scss @@ -28,7 +28,7 @@ body.dark { h2, h3, h4, h5, html, p strong, a.link-darken:focus, a.link-darken:hover, .compass .project-content a:hover, .compass .project-content .nav-tabs > .active > a, .compass .project-content .nav-tabs a, .compass .project-content .nav-tabs a:hover, .team-member--sub-info p, .team-member--social--icon.github-lg .fab, - &.guide main p code, .guide main p pre, &.guide main table code, &.guide main table pre, + &#guide main p code, #guide main p pre, &#guide main table code, &#guide main table pre, .compass .project-content .project--list-links li a:hover strong { color: $dark-color; } @@ -451,7 +451,7 @@ body.dark { } } - &.guide main p code a, &.guide main p pre a { + &#guide main p code a, &#guide main p pre a { color: #abd8ff; &:hover {