Skip to content

Commit

Permalink
updated table css design
Browse files Browse the repository at this point in the history
  • Loading branch information
vii33 committed Mar 26, 2022
1 parent 18dda0e commit 1953dc7
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions obsidian.css
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,30 @@ mark
border-bottom-right-radius: 4px !important;
}

th
{

table {
border: 1px solid var(--background-secondary) !important;
border-collapse: collapse;
}

th {
font-weight: 600 !important;
border: 0px !important;
text-align: left;
background-color: rgba(0, 0, 0, 0.12);
color: var(--inline-code);
}

td {
border-left: 0px !important;
border-right: 0px !important;
border-bottom: 1px solid var(--background-secondary) !important;
}

tr:nth-child(even){ background-color: #3b4252b0; }
tr:nth-child(odd){ background-color: rgba(0, 0, 0, 0.03) }
tr:hover { background-color: var(--background-secondary-alt); }

thead
{
border-bottom: 2px solid var(--background-modifier-border) !important;
Expand Down

0 comments on commit 1953dc7

Please sign in to comment.