From b4bfe432ce7047c3f5a3242ea16568cdac344d60 Mon Sep 17 00:00:00 2001 From: egrace479 Date: Fri, 12 Dec 2025 20:28:46 -0500 Subject: [PATCH 1/2] fix #87: set gh panel color to match on mobile/small screens --- docs/stylesheets/extra.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index d38ac35..da7edc4 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -47,6 +47,15 @@ Adjust admonitions and links to match (where otherwise clashed) --md-accent-fg-color: #9bcb5e; } +/* GitHub panel color (mobile and small screen, issue 87) */ +.md-nav__source { + background-color: var(--md-primary-fg-color); +} + +.md-source { + background-color: var(--md-primary-fg-color); +} + /* Set admonition (Note) colors to match Dark Teal used for URLs */ /* border color */ .md-typeset .admonition.note, .md-typeset details.note { From 49e86abef34978c144db9aad270e6beaf5f5fd31 Mon Sep 17 00:00:00 2001 From: egrace479 Date: Fri, 12 Dec 2025 20:37:23 -0500 Subject: [PATCH 2/2] fix menu sidbar links in darkmode mobile/narrow screen --- docs/stylesheets/extra.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index da7edc4..43ec4f7 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -107,3 +107,8 @@ Adjust admonitions and links to match (where otherwise clashed) --md-primary-fg-color: #5d8095; --md-accent-fg-color: #92991c; } + +/* Dark mode active link color set separately for menu links on mobile/narrow screens */ +[data-md-color-scheme="slate"] .md-nav .md-nav__link--active { + color: #0097b2; +}