Skip to content

Commit

Permalink
doc: make table alignment on both doc and website/www
Browse files Browse the repository at this point in the history
Make doc generation use same table alignment.

Make the style.css files as identical as
possible. website/www/_statis/style.css has more in it, but
doc/_static/style.css is a prefix of www.
  • Loading branch information
rouilj committed Feb 5, 2024
1 parent 3ed9acd commit 388f971
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions doc/_static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,8 @@ div.file_insert { /* use to insert COPYING into license.txt */
padding-inline: 0.5em;
}

table.valign-top tbody td { vertical-align: top; }

/* consider highlighting header element that is a target */
/*
:target > :is(h1,h2,h3,h4,h5,h6) {
Expand Down
4 changes: 2 additions & 2 deletions website/www/_static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,8 @@ div.file_insert { /* use to insert COPYING into license.txt */
padding-inline: 0.5em;
}

table.valign-top tbody td { vertical-align: top; }

/* consider highlighting header element that is a target */
/*
:target > :is(h1,h2,h3,h4,h5,h6) {
Expand Down Expand Up @@ -564,5 +566,3 @@ div#contact table td {
white-space: nowrap;
padding: 1pt 1em;
}

table.valign-top tbody td { vertical-align: top; }

0 comments on commit 388f971

Please sign in to comment.