Skip to content

Commit

Permalink
Retain the table.simple style from ReSpec
Browse files Browse the repository at this point in the history
The licenses of both repos are the same.
  • Loading branch information
foolip committed Jun 4, 2020
1 parent 6569cda commit dca56f0
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
</style>

<section>
Expand Down

0 comments on commit dca56f0

Please sign in to comment.