[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8734cegndo.fsf@trenco.lwn.net>
Date: Thu, 05 Jun 2025 10:32:35 -0600
From: Jonathan Corbet <corbet@....net>
To: NĂcolas F. R. A. Prado <nfraprado@...labora.com>
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
NĂcolas F. R. A. Prado <nfraprado@...labora.com> writes:
> 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.
Sigh. Of course, making it exactly the same doesn't work well due to
the shading that we already use in the sidebar. Since we know
everything in the sidebar is a link, I suggest something like this:
a.sphinxsidebar a { border-bottom: none; }
a.sphinxsidebar a:hover {
border-bottom: none;
text-decoration: underline;
text-underline-offset: 0.3em;
}
That makes the sidebar relatively uncluttered, but still lights up the
links in a visible way when the pointer passes over them.
Thanks,
jon
Powered by blists - more mailing lists