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
