Skip to content

Commit

Permalink
Add whatwg.org style sheet for tables
Browse files Browse the repository at this point in the history
Needed for whatwg/sg#227.

Also update .gitignore while here.
  • Loading branch information
annevk authored Mar 4, 2024
1 parent b56a26e commit b24feb2
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
whatwg.org/ipr-policy
whatwg.org/workstream-policy
whatwg.org/sg-agreement
whatwg.org/invitation-policy
whatwg.org/sg-policy
whatwg.org/code-of-conduct
whatwg.org/principles
whatwg.org/privacy-policy
whatwg.org/policies
whatwg.org/working-mode
whatwg.org/stages

# Ignore files generated by convert_sg_db.py
__pycache__/
Expand Down
23 changes: 23 additions & 0 deletions whatwg.org/style/subpages.css
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,26 @@ a.self-link::before {
padding-left: 0.5em;
}
}

/* TABLES (on /stages) */

table {
border-collapse: collapse;
background-color: white;
}
table thead tr {
background: rgb(250, 250, 250);
}
table td {
vertical-align: top;
}
table td, table th {
border: 1px solid #aaa;
padding: 0.25em;
}
table td > :first-child {
margin-top: 0;
}
table td > :last-child {
margin-bottom: 0;
}

0 comments on commit b24feb2

Please sign in to comment.