docs: improve table readability
authorBenjamin Franzke <benjaminfranzke@googlemail.com>
Sat, 21 May 2022 14:28:32 +0000 (16:28 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sat, 21 May 2022 21:41:21 +0000 (22:41 +0100)
commitae00bafdf8d521a28d62b88c12e80f5eb7bfd8eb
tree031481d091bfad31b230359bb7d314f786221ace
parentebd4571e3142f9e1870302bc5bd29a5ff3a88423
docs: improve table readability

Let the table span more than the default content width,
if the table contains alot of data (controlled by width: auto)
(720px is very good for continuous text, but too narrow for tables).

The container class is therefore adapted to put the
width restriction on the elements itself, allowing for
exceptions for individual elements like <table> and
<h1> (which used an offset margin before and is now
streamlined to use a max-width as well).

Also add a striped background to ease reading rows
and allow for horizontal mobile scrolling without
overflowing the entire document, only the table itself.
docs/style.css