[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: |
Sat, 31 Oct 2020 21:26:31 +0000 |
User-agent: |
Mutt/1.9.4 (2018-02-28) |
On Thu, Oct 29, 2020 at 03:46:23PM -0700, Per Bothner wrote:
> The html output for definitions only allows for very limited css styling.
>
> As an example of the kind of styling it would be nice to enable, in my Kawa
> and
> DomTerm manuals I move the "category" to the right margin,
> as you can see examples of here:
> https://www.gnu.org/software/kawa/Composable-pictures.html
Feel free not to consider it if you find implementing your desired
functionality enough, but there has also been discussion of outputting
an "anchor" at def items to provide a link that could be copied:
https://lists.gnu.org/archive/html/bug-texinfo/2020-09/msg00022.html
It would be good if this could be implemented with CSS too.
The CSS implementation of this on Sphinx-generated pages is
in a large, incomprehensible CSS file so I can't tell how it works.
It is something to do with the CSS hover property.
Although when you look at the source code of
https://docs.readthedocs.io/en/stable/intro/getting-started-with-sphinx.html
the permalink label is ΒΆ (pilcrow sign), it is displayed as some
chain symbol which you can't select with the mouse.
I read an explanation online of how it worked a few days ago; unfortunately
I cannot find it again now.
I also found this old discussion:
https://lists.gnu.org/archive/html/help-texinfo/2019-02/msg00005.html