PreTeXtBook / pretext

PreTeXt: an authoring and publishing system for scholarly documents
https://pretextbook.org
Other
254 stars 203 forks source link

styling for th in HTML #2060

Closed Alex-Jordan closed 8 months ago

Alex-Jordan commented 8 months ago

There are various classes we put on td, for example l for left-aligned, but several more. Relatively recently (about a year ago?) we started also having th in tables too. They are written with these classes, but the CSS is only acting on the td, not the th. Can we (as carefully as need be) extend these CSS selectors to include th?

rbeezer commented 8 months ago

This is a pure CSS proposal, no?

If so, should it be against the "css_core" reposirory?

On September 6, 2023 7:10:47 PM PDT, Alex Jordan @.***> wrote:

There are various classes we put on td, for example l for left-aligned, but several more. Relatively recently (about a year ago?) we started also having th in tables too. They are written with these classes, but the CSS is only acting on the td, not the th. Can we (as carefully as need be) extend these CSS selectors to include th?