Skip to content

Commit

Permalink
add: table css styling
Browse files Browse the repository at this point in the history
  • Loading branch information
leclairm committed Aug 19, 2024
1 parent b16fe11 commit 1705d17
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,18 @@
-webkit-mask-image: var(--md-admonition-icon--construction);
mask-image: var(--md-admonition-icon--construction);
}

/* thead tr{ background-color: #00305d7f; } */
thead tr{ background-color: rgb(from var(--md-primary-fg-color)r g b / 70%); }
tbody tr:nth-child(even){ background-color: rgb(from var(--md-primary-fg-color)r g b / 50%); }
tbody tr:nth-child(odd){ background-color: rgb(from var(--md-primary-fg-color)r g b / 20%); }

table,
thead,
tbody,
tfoot,
tr,
th,
td {
border: none !important;
}

0 comments on commit 1705d17

Please sign in to comment.