From d5a3499301dfca9771a210197877eed0b8170fa4 Mon Sep 17 00:00:00 2001 From: Anton Burnashev Date: Wed, 20 Nov 2024 13:21:14 +0100 Subject: [PATCH] Docs: improve links visibility (#2078) --- docs/website/src/css/custom.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/website/src/css/custom.css b/docs/website/src/css/custom.css index cfb5c1f1da..826fe1bdb7 100644 --- a/docs/website/src/css/custom.css +++ b/docs/website/src/css/custom.css @@ -84,6 +84,14 @@ html[data-theme='dark'] .prism-code { } /* Body link styles */ +.markdown a { + text-decoration: underline; +} + +.markdown a:hover { + text-decoration: none; +} + html[data-theme='dark'] .markdown a { color: #ffffff; text-decoration: underline; @@ -91,7 +99,7 @@ html[data-theme='dark'] .markdown a { html[data-theme='dark'] .markdown a:hover { color: var(--ifm-link-color); - text-decoration: underline; + text-decoration: none; } /* No underline for cards */