[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aEEISsfy-O3DwXMJ@archie.me>
Date: Thu, 5 Jun 2025 10:00:26 +0700
From: Bagas Sanjaya <bagasdotme@...il.com>
To: NĂcolas F. R. A. Prado <nfraprado@...labora.com>,
Jonathan Corbet <corbet@....net>
Cc: linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
Subject: Re: [PATCH v2 0/3] docs: some automarkup improvements
On Wed, Jun 04, 2025 at 06:05:06PM -0400, NĂcolas F. R. A. Prado wrote:
> The only other thing I noticed is that the links in the sidebar still use the
> old style, since they rely on a different CSS selector for some reason:
>
> div.sphinxsidebar a {
> text-decoration: none;
> border-bottom: 1px dotted #999;
> }
>
> That makes it a bit inconsistent style-wise, so I think it'd be sensible to
> update that selector as well to follow suit.
It can be done simply by also applying the same style to aforementioned
selector:
---- >8 ----
diff --git a/Documentation/sphinx-static/custom.css b/Documentation/sphinx-static/custom.css
index c9991566f91488..14e1bb9c4e63eb 100644
--- a/Documentation/sphinx-static/custom.css
+++ b/Documentation/sphinx-static/custom.css
@@ -137,8 +137,9 @@ div.language-selection ul li:hover {
background: #dddddd;
}
-/* Make xrefs more universally visible */
-a.reference, a.reference:hover {
+/* Make xrefs and sidebar links more universally visible */
+a.reference, a.reference:hover,
+div.sphinxsidebar a {
border-bottom: none;
text-decoration: underline;
text-underline-offset: 0.3em;
Thanks.
--
An old man doll... just what I always wanted! - Clara
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists