hugo-theme-termlite/assets/css
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
..
000_reset.css Render blockquotes in a figure 2024-11-06 09:31:16 -08:00
010_anchors.css
010_colors.css Tweak <hr> so it looks good in dark mode 2024-11-19 20:53:28 -08:00
010_spacing.css Simplify figure styles and markup 2024-11-25 15:48:04 -08:00
010_structure.css Simplify figure styles and markup 2024-11-25 15:48:04 -08:00
010_typography.css Spacing refinements for lists and paragraphs 2024-11-16 09:38:53 -08:00
040_content.css Add <header> to the list of elements that span the main content area 2024-10-27 07:24:19 -06:00
050_codeblocks.css Style plain text code blocks 2024-11-06 09:03:36 -08:00
050_figures.css Simplify figure styles and markup 2024-11-25 15:48:04 -08:00
050_images.css Add a .img--circular class that makes a circular image with clip-path and shape-outside 2024-10-10 23:02:59 -07:00
050_lists.css Reformat definition list definitions 2024-11-16 09:40:01 -08:00
050_quotations.css Render blockquotes in a figure 2024-11-06 09:31:16 -08:00
050_tags.css Remove the interstitial .tag__value__list-item 2024-11-24 10:19:26 -08:00
080_site_header_footer.css Make sure border color of site header and footer match 2024-10-31 10:53:59 -07:00
090_content_headers.css
099_footnotes.css A few miscellaneous style fixes 2024-10-31 08:02:50 -07:00
099_page_footer.css Fix vertical spacing of a handful of elements 2024-10-13 23:14:28 -07:00
099_page_header.css Finally adjust the spacing of the date relative to the page title 2024-11-16 09:40:50 -08:00
099_page_navigation.css Restyle <ol> and <ul> 2024-10-07 21:02:29 -07:00
099_page_summary.css Downgrade page_summary headings from <h2> to <h3> 2024-10-23 11:31:30 -07:00
099_table_of_contents.css