f29f409642
A few miscellaneous style fixes
...
- Add some padding to the top of the footnotes block
- Add .figure--video to the list of elements that get XL block margins
2024-10-31 08:02:50 -07:00
b51aca950c
Add the .figure class to image figures
2024-10-12 09:23:07 -07:00
2a2025bd9f
Clean up the codeblock render template
2024-10-07 20:56:47 -07:00
cb8ad426d5
Headings: Move the anchor #
...
Draw only one hash for headings, and place them in the gutter in wide layouts,
or trailing the heading text in narrow layouts. Do this with grid in the wide
version, and flexbox in the narrow layout.
Add a --text-color-light CSS variable for content that should be lighter than
--text-color-secondary.
2024-07-27 09:30:03 -07:00
2da54f09e3
Layouts: Remove whitespace between <pre> and <code> elements in codeblocks
2024-07-25 13:12:10 -07:00
04ebd4f10a
Add a <code> inside the <pre> codeblocks
...
Tess suggested I do this.
2024-07-23 08:41:22 -07:00
cce432fe0b
RenderHooks: Reconfigure the heading hashes
...
Instead of a single hash in the left gutter, draw <n> hashes where <n> is the
heading level. All of these hashes are part of the anchor text.
2024-07-20 17:29:49 -07:00
c30805127c
RenderHooks: Fix up some whitespace
2024-07-20 17:08:32 -07:00
576e7cb485
Allow disabling header anchors with page and element params
...
Set params.renderHeadingAnchors = false to disable for a whole page.
Set the element attribute anchor = false to disable for a single heading.
2024-07-06 10:18:51 -07:00
3597b59fa5
render-image.html: Add the figure--image class
...
Add the `figure--image` class to <figure> elements with <img> contents.
2024-07-03 07:41:23 -07:00
32b04bc184
Replace bespoke codeblock theme with Dracula theme
...
https://draculatheme.com
2024-07-03 07:30:39 -07:00
d73c779508
Add render hooks for codeblocks, headings, and images
2024-06-28 09:04:37 -07:00