Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Commit

Permalink
feat(Stencila): Style table rows for better readability
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-ketch committed Jul 8, 2020
1 parent e4dfafd commit 876c87d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/themes/stencila/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,23 @@ h4:--Heading {
font-size: var(--font-size-h4);
}

:--Table {
border-collapse: collapse;
border: 1px solid var(--color-neutral-400);
}

:--TableRow {
border: 1px solid var(--color-neutral-300);

&:nth-child(even) {
background-color: var(--color-neutral-100);
}
}

:--TableCell {
padding: 8px;
}

:--references ol li {
list-style-type: number;
}

0 comments on commit 876c87d

Please sign in to comment.