From 3b57ed61a565b8526a7c8cb56537344f3bc1faef Mon Sep 17 00:00:00 2001 From: James Reid-Smith Date: Fri, 13 Dec 2024 14:12:25 -0500 Subject: [PATCH] Add background and drop shadow to navigation toggle --- lib/rdoc/generator/template/darkfish/css/rdoc.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/rdoc/generator/template/darkfish/css/rdoc.css b/lib/rdoc/generator/template/darkfish/css/rdoc.css index ed9b3e9c3b..9423f790e1 100644 --- a/lib/rdoc/generator/template/darkfish/css/rdoc.css +++ b/lib/rdoc/generator/template/darkfish/css/rdoc.css @@ -241,6 +241,10 @@ nav a:hover { top: 10px; left: 20px; cursor: pointer; + background: var(--background-color); + padding: 0.3rem; + border-radius: 4px; + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } #navigation-toggle[aria-expanded="true"] {