From 1c83ce4d8d45a9eda2858f9ae3904439703b24cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kukie=C5=82a?= <53443372+kukimik@users.noreply.github.com> Date: Tue, 7 Jan 2025 17:40:51 +0100 Subject: [PATCH] Mark :target entry using border MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit a3762f60ad1dbac3e40faa3db8f104bbd92d38d9 marked the current (:target) entry using background color. But then 11e736f3e8993ee39a7733bcb99c79c04a8857e5 set the background color for all entries. Thus we need another way to highlight the entry pointed at by the URL fragment. Signed-off-by: Michał Kukieła <53443372+kukimik@users.noreply.github.com> --- crates/docs/src/static/styles.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/docs/src/static/styles.css b/crates/docs/src/static/styles.css index a188e7f0a5..e34bbb034f 100644 --- a/crates/docs/src/static/styles.css +++ b/crates/docs/src/static/styles.css @@ -90,7 +90,7 @@ table tr td { } .entry-name:target { - background-color: var(--violet-bg); + border: 4px solid var(--violet); } .entry-name a {