use dimmed background for table headers #24

Merged
jkimmel merged 1 commits from jkimmel/docs:table-background into master 2023-02-26 21:56:06 +01:00

1 Commits

Author SHA1 Message Date
a74cde38db use dimmed background for table headers
All checks were successful
01-env build environment
02-git-checkout git checkout
03-hugo-version hugo version
04-hugo-build hugo build
05-preview website preview
ci/woodpecker/push/woodpecker Pipeline was successful
Currently all even table rows are dimmed down to help the reader's
orientation. The problem is that <tr> elements within a table are
further split into sections of <thead> and <tbody>. As a result, the
counter is not the some for all <tr> in the table, but there are two
separate counters for elements within <thead> and <tbody> respectively.

This can be visually distracting since the table appears to start with 2
light rows and only then the pattern of alternating backgrounds begins.

For most cases dimming the table headers works fine to help with this
issue.

Fixes: #23
2023-02-26 21:54:36 +01:00