hugo-theme-termlite/layouts/partials/page
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
..
figures Simplify figure styles and markup 2024-11-25 15:48:04 -08:00
date.html Use the page's .PublishDate as the date for the PUBLISHED tag 2024-11-15 20:44:16 -08:00
descendent_section.list.html Add a should_render.html partial 2024-11-13 17:03:17 -08:00
first_section.list.html Add a should_render.html partial 2024-11-13 17:03:17 -08:00
footer.html A more generic tag/value component 2024-10-12 10:45:52 -07:00
prev_next_navigation.html Omit drafts from the Prev/Next page navigation 2024-10-27 07:24:38 -06:00
section_year_nav.html Break section template into first and descendent sections 2024-10-23 11:17:30 -07:00
should_render.html Add a should_render.html partial 2024-11-13 17:03:17 -08:00
taxonomy_draft.html A more generic tag/value component 2024-10-12 10:45:52 -07:00
taxonomy_list.html Remove the interstitial .tag__value__list-item 2024-11-24 10:19:26 -08:00