diff --git a/css/smpte.css b/css/smpte.css index 9cd5457..e1d9cea 100644 --- a/css/smpte.css +++ b/css/smpte.css @@ -412,6 +412,19 @@ td.top-cell { vertical-align: top; } width: 20rem; } +/* xwide (fits an 80-character listing) */ + + table.col-1-xwide tr td:nth-child(1), table.col-1-xwide tr th:nth-child(1), + table.col-2-xwide tr td:nth-child(2), table.col-2-xwide tr th:nth-child(2), + table.col-3-xwide tr td:nth-child(3), table.col-3-xwide tr th:nth-child(3), + table.col-4-xwide tr td:nth-child(4), table.col-4-xwide tr th:nth-child(4), + table.col-5-xwide tr td:nth-child(5), table.col-5-xwide tr th:nth-child(5), + table.col-6-xwide tr td:nth-child(6), table.col-6-xwide tr th:nth-child(6), + table.col-7-xwide tr td:nth-child(7), table.col-7-xwide tr th:nth-child(7), + table.col-8-xwide tr td:nth-child(8), table.col-8-xwide tr th:nth-child(8) { + min-width: 35rem; + } + /* cell width utilities */ th.col-xsmall, td.col-xsmall { @@ -430,6 +443,10 @@ th.col-wide, td.col-wide { width: 20rem; } +th.col-xwide, td.col-xwide { + min-width: 35rem; +} + table > caption { margin-top: 2em; margin-bottom: 1em; diff --git a/doc/main.html b/doc/main.html index 3bbcf61..26abfc4 100644 --- a/doc/main.html +++ b/doc/main.html @@ -14,7 +14,7 @@ - + Tooling and documentation for HTML documents @@ -1536,14 +1536,16 @@

Using class attributes

col-xsmall;
col-small;
col-medium;
-
col-wide
-
Applied to th or td elements to suggest a relative column width for that cell. These classes provide extra-narrow, narrow, medium, or wide column layouts without using inline style attributes. See
+
col-wide;
+
col-xwide
+
Applied to th or td elements to suggest a relative column width for that cell. These classes provide extra-narrow, narrow, medium, wide, or extra-wide column layouts without using inline style attributes. col-xwide is sized to fit an 80-character listing. See
col-1-xsmall through col-8-xsmall;
col-1-small through col-8-small;
col-1-medium through col-8-medium;
-
col-1-wide through col-8-wide
-
Applied to a table element to suggest relative widths for specific columns. See
+
col-1-wide through col-8-wide;
+
col-1-xwide through col-8-xwide
+
Applied to a table element to suggest relative widths for specific columns. The col-1-xwide through col-8-xwide classes are sized to fit an 80-character listing. See
col-1-center through col-8-center;
col-1-right through col-8-right;