From 3544632302049113b469fbec3a5cbe2c366beed2 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Mon, 28 Mar 2022 02:50:01 -0600 Subject: [PATCH] set color inherit on all links in nav --- src/css/nav.css | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/css/nav.css b/src/css/nav.css index c8c2b40..b027e80 100644 --- a/src/css/nav.css +++ b/src/css/nav.css @@ -50,6 +50,10 @@ } } +.nav a { + color: inherit; +} + .nav .panels { display: flex; flex-direction: column; @@ -96,10 +100,6 @@ html.is-clipped--nav { padding: 0.25em 0 0.125em; } -.nav-menu a { - color: inherit; -} - .nav-list { margin: 0 0 0 0.75rem; padding: 0; @@ -222,7 +222,6 @@ html.is-clipped--nav { .nav-panel-explore .component .title { font-weight: var(--body-font-weight-bold); - color: inherit; } .nav-panel-explore .versions { @@ -242,7 +241,6 @@ html.is-clipped--nav { .nav-panel-explore .component .version a { border: 1px solid var(--nav-border-color); border-radius: 0.25rem; - color: inherit; opacity: 0.75; white-space: nowrap; padding: 0.125em 0.25em; -- 2.11.0