Skip to content

Commit

Permalink
Table styling (#191)
Browse files Browse the repository at this point in the history
* add: table css styling

* fix: remove empty table rows
  • Loading branch information
leclairm authored Aug 19, 2024
1 parent b16fe11 commit a1dfa67
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/alps/vclusters.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ List of currently supported Uenvs on Daint:
|-------------|-------------------------------|
| icon-vx:rcy | build and run icon |
| prepost-vx | pre and post processing tools |
| | |

### Storage

Expand All @@ -65,7 +64,6 @@ Santis is dedicated to Weather and Climate and is deployed on ~400 Grace-Hopper
|-------------|-------------------------------|
| icon-vx:rcy | build and run icon |
| prepost-vx | pre and post processing tools |
| | |

### Storage

Expand Down
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 a1dfa67

Please sign in to comment.