mirror of
https://github.com/isaqb-org/html-theme.git
synced 2026-08-03 04:30:13 +02:00
Mirror of https://github.com/isaqb-org/html-theme
- CSS 92%
- JavaScript 7.9%
- HTML 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| fonts | ||
| docinfo-footer.html | ||
| favicon.png | ||
| isaqb-theme.css | ||
| isaqb-theme.js | ||
| README.md | ||
html-theme
HTML Theme for all asciidoc files
Themed images
Add role=theme-swap (AsciiDoc) or class="theme-swap" (HTML) to an image and
provide a dark variant named <name>-dark.<ext> next to it. In dark mode the
theme loads the dark variant automatically.
This works for link-based image builds only. Curriculum HTML built with
-a data-uri inlines images as base64, so there is no filename to rewrite and
the swap is a no-op.