aboutsummaryrefslogtreecommitdiff
path: root/default.css
AgeCommit message (Collapse)Author
2026-03-30all: move the sect anchor element to the rightShulhan
Previously, we try to fix the anchor position by using "flex-direction: row-reverse". This cause the formatted text inside title also become reversed. For example, == With `mono` Will rendered as mono With $ This is not as expected. This changes fix this by rendering the anchor on the right after title.
2026-03-26all: make the anchor symbol position on the right side of headersShulhan
In Asciidoctor, when `:sectanchors:` is set, the default anchor symbol position is absolute on the left side of heading text with block display option (the symbol located outside of box area of headers). In special case, this cause an overflow when the generated HTML are rendered inside flex with fixed height (the body is scrollable with empty content on bottom). This module changes the anchor symbol position to the right side of heading text to prevent scroll on such layout, without absolute position and normal inline layout.
2026-01-23all: update default CSS to asciidoctor v2.0.26Shulhan
2026-01-23all: use separate file with go:embed for default CSSShulhan
Using separate file allow tracking and modifying the style as needed.