Document the css class used for popup footnotes

This commit is contained in:
Kovid Goyal 2024-01-21 12:59:24 +05:30
parent c7e1d937a0
commit 779183f71a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -424,6 +424,9 @@ the viewer will set the following classes on the ``body`` element:
``body.calibre-viewer-scrolling``
Set when in flow (non-paginated) mode
``body.calibre-footnote-container``
Set when displaying a popup footnote
Finally, you can use the calibre color scheme colors via `CSS variables
<https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties>`_.
The calibre viewer defines the following variables: