hugo-theme-termlite/layouts/partials
Eryn Wells efae2acdea Simplify figure styles and markup
Remove the .figure__container element. According to Tess, putting a <figcaption>
inside a child of a <figure> "doesn't obey the content model" or some shit.
Fiiiiine.

Getting small figures to lay out the way I want them to without the container
was a bit of a trick. Instead of letting the figure span the entire width of the
grid column, let it fit the size of its contents, and then set margin-inline to
auto so it centers.

Doing this also allowed me to remove the .figure--image, etc styles because the
styles and markup are a lot more similar among figures containing different
kinds of elements. Nice!
2024-11-25 15:48:04 -08:00
..
base Add body-extras and head-extras partials to the baseof template 2024-11-13 17:02:42 -08:00
page Simplify figure styles and markup 2024-11-25 15:48:04 -08:00
site Clean up the site footer 2024-07-23 08:49:38 -07:00
menu.html Allow the menu to specify a style for the item 2024-10-20 09:18:34 -07:00
page_header.html Use .PublishDate for the page header date 2024-11-16 09:41:22 -08:00