Skip to content

Commit

Permalink
Improve contrast of bit-descrs borders (#531)
Browse files Browse the repository at this point in the history
Align the borders' colour with the header's.
High-contrast borders are important here, since those tables have a lot of `colspan`s,
and their primary purpose is to describe *layout*.
  • Loading branch information
vizigr0u authored Jan 4, 2024
1 parent 27dc982 commit 6af9e01
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions custom/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@ mfrac msup :not(:first-child) {
text-align: center;
}

/* Improve contrast on bit-descrs borders */
.bit-descrs {
--table-border-color: var(--table-header-bg);
}

p, .table-wrapper {
margin-block-start: 1em;
margin-block-end: 1em;
Expand Down

0 comments on commit 6af9e01

Please sign in to comment.