From 2df5dad7bd7e7d5fda3e58c1100f0b52a7b1bce9 Mon Sep 17 00:00:00 2001 From: harshitkandpal Date: Sat, 27 Jun 2026 21:36:51 +0530 Subject: [PATCH 1/5] style: Enhance active navigation link appearance in extra.css --- docs/theme/stylesheets/extra.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/theme/stylesheets/extra.css b/docs/theme/stylesheets/extra.css index a963a0c221..97e804780e 100644 --- a/docs/theme/stylesheets/extra.css +++ b/docs/theme/stylesheets/extra.css @@ -79,4 +79,10 @@ body::before { background: url(../img/grid.png) repeat-x; will-change: transform; z-index: -1; +} + + +a.md-nav__link.md-nav__link--active { + font-weight: 700 !important; + color: var(--md-accent-fg-color) !important; } \ No newline at end of file From b1a74516d1fb120d4f00b6e930c4d7e9cb265f09 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Wed, 1 Jul 2026 07:57:45 +0100 Subject: [PATCH 2/5] Remove `!important` --- docs/theme/stylesheets/extra.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/theme/stylesheets/extra.css b/docs/theme/stylesheets/extra.css index 97e804780e..cbbe7e9922 100644 --- a/docs/theme/stylesheets/extra.css +++ b/docs/theme/stylesheets/extra.css @@ -83,6 +83,6 @@ body::before { a.md-nav__link.md-nav__link--active { - font-weight: 700 !important; - color: var(--md-accent-fg-color) !important; + font-weight: 700; + color: var(--md-accent-fg-color); } \ No newline at end of file From 0fd17e354f0b95cb079105c75e67829d3e1baf90 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Wed, 1 Jul 2026 07:59:46 +0100 Subject: [PATCH 3/5] Adjust newlines --- docs/theme/stylesheets/extra.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/theme/stylesheets/extra.css b/docs/theme/stylesheets/extra.css index cbbe7e9922..b611614215 100644 --- a/docs/theme/stylesheets/extra.css +++ b/docs/theme/stylesheets/extra.css @@ -81,8 +81,7 @@ body::before { z-index: -1; } - a.md-nav__link.md-nav__link--active { font-weight: 700; color: var(--md-accent-fg-color); -} \ No newline at end of file +} From a210eaeed90da43cb2cda0d3cbd7afe0aac2316a Mon Sep 17 00:00:00 2001 From: harshitkandpal Date: Wed, 1 Jul 2026 15:42:38 +0530 Subject: [PATCH 4/5] style: Refactor CSS formatting and improve dark theme accent color --- docs/theme/stylesheets/extra.css | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/docs/theme/stylesheets/extra.css b/docs/theme/stylesheets/extra.css index b611614215..e7738c58a1 100644 --- a/docs/theme/stylesheets/extra.css +++ b/docs/theme/stylesheets/extra.css @@ -1,4 +1,4 @@ -:root > * { +:root>* { /* primary */ --md-primary-fg-color: #2c2c2c; --md-primary-fg-color--light: #a8a8a8; @@ -13,8 +13,7 @@ } /* Dark theme customisation */ -[data-md-color-scheme="slate"] -{ +[data-md-color-scheme="slate"] { --md-accent-fg-color--dark: #F25757; } @@ -69,19 +68,19 @@ body hr { /* Replacement for `body { background-attachment: fixed; }`, which has performance issues when scrolling on large displays. */ body::before { - content: ' '; - position: fixed; - width: 100%; - height: 100%; - top: 0; - left: 0; - background-color: #f8f8f8; - background: url(../img/grid.png) repeat-x; - will-change: transform; - z-index: -1; + content: ' '; + position: fixed; + width: 100%; + height: 100%; + top: 0; + left: 0; + background-color: #f8f8f8; + background: url(../img/grid.png) repeat-x; + will-change: transform; + z-index: -1; } a.md-nav__link.md-nav__link--active { font-weight: 700; - color: var(--md-accent-fg-color); -} + color: var(--md-accent-fg-color--dark); +} \ No newline at end of file From 701cfb16a5518b5003694031b6d17a3146cbd002 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Wed, 1 Jul 2026 14:05:35 +0100 Subject: [PATCH 5/5] End of file line --- docs/theme/stylesheets/extra.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/theme/stylesheets/extra.css b/docs/theme/stylesheets/extra.css index e7738c58a1..e4ad477104 100644 --- a/docs/theme/stylesheets/extra.css +++ b/docs/theme/stylesheets/extra.css @@ -83,4 +83,4 @@ body::before { a.md-nav__link.md-nav__link--active { font-weight: 700; color: var(--md-accent-fg-color--dark); -} \ No newline at end of file +}