diff --git a/index.bs b/index.bs index 51fcec57e..6dbd5b248 100644 --- a/index.bs +++ b/index.bs @@ -55,6 +55,37 @@ ul.brief li:last-child::after { content: "" } /* dl.subcategories when the definition list subdivides a definition */ dl.subcategories { margin-left: 2em } + +/* table.simple for more readable tables + Source: https://github.com/w3c/respec/blob/7faae154e57d4af864a83b50adf744029fbd7496/assets/respec.css */ +table.simple { + border-spacing: 0; + border-collapse: collapse; + border-bottom: 3px solid #005a9c; +} +.simple th { + background: #005a9c; + color: #fff; + padding: 3px 5px; + text-align: left; +} +.simple th a { + color: #fff; + padding: 3px 5px; + text-align: left; +} +.simple th[scope="row"] { + background: inherit; + color: inherit; + border-top: 1px solid #ddd; +} +.simple td { + padding: 3px 10px; + border-top: 1px solid #ddd; +} +.simple tr:nth-child(even) { + background: #f0f6ff; +}