[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: styling flexibility for definitions
From: |
Gavin Smith |
Subject: |
Re: styling flexibility for definitions |
Date: |
Sun, 1 Nov 2020 17:47:36 +0000 |
User-agent: |
Mutt/1.9.4 (2018-02-28) |
On Sat, Oct 31, 2020 at 09:26:30PM +0000, Gavin Smith wrote:
> I read an explanation online of how it worked a few days ago; unfortunately
> I cannot find it again now.
Found it:
https://django-sphinxdoc.readthedocs.io/en/latest/change_appearance.html
> To only show the headings’ “¶” sign if you hover above the heading, add
> something like this to your CSS:
>
> #content .sphinx a.headerlink {
> font-size: 0.8em;
> padding: 0 4px 0 4px;
> text-decoration: none;
> visibility: hidden;
> }
> #content .sphinx *:hover > a.headerlink { visibility: visible; }
(The link glyph appears to be added using the CSS :after selector. It is
not a real Unicode character.)
- Re: styling flexibility for definitions, (continued)
- Re: styling flexibility for definitions, Gavin Smith, 2020/11/01
- Re: HTML self links to anchor points, Raymond Toy, 2020/11/02
- Re: HTML self links to anchor points, Raymond Toy, 2020/11/03
- Re: HTML self links to anchor points, Gavin Smith, 2020/11/03
- Re: HTML self links to anchor points, Raymond Toy, 2020/11/03
Re: styling flexibility for definitions,
Gavin Smith <=