Skip to content

Commit

Permalink
💄 Add table styles
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Oct 16, 2019
1 parent fcbaab0 commit 002c9d9
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@staart/site",
"version": "0.9.21",
"version": "0.9.22",
"main": "dist/index.js",
"repository": "[email protected]:staart/site",
"author": "Anand Chowdhary <[email protected]>",
Expand Down
23 changes: 23 additions & 0 deletions src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,29 @@ pre {
font-size: 80%;
}

table th {
font-weight: 600;
}

table td,
table th {
border-top: 1px solid rgba(0, 0, 0, 0.1);
padding: 0.5rem 1rem;
}

table tr {
border-top: 1px solid rgba(0, 0, 0, 0.1);
}

table tr:nth-child(2n) {
background-color: rgba(0, 0, 0, 0.05);
}

img {
box-sizing: content-box;
max-width: 100%;
}

@media (max-width: 500px) {
main,
div {
Expand Down

0 comments on commit 002c9d9

Please sign in to comment.