Skip to content

Commit

Permalink
fix: correct background color in code tables
Browse files Browse the repository at this point in the history
  • Loading branch information
jceb committed Jul 30, 2024
1 parent 73d4c57 commit 3402280
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
9 changes: 8 additions & 1 deletion identinet.css
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,14 @@ body {
}

:is(tbody, table) > tr:nth-child(odd) {
background: rgba(0, 0, 0, 0.0666666667);
/* background: #0001; */
background: rgb(240, 240, 240);
/* or #fff1 for dark themes */
}

:is(code) * :is(tbody, table) > tr:nth-child(odd) {
/* background: #0001; */
background: inherit;
/* or #fff1 for dark themes */
}

Expand Down
9 changes: 8 additions & 1 deletion identiops.css
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,14 @@ body {
}

:is(tbody, table) > tr:nth-child(odd) {
background: rgba(0, 0, 0, 0.0666666667);
/* background: #0001; */
background: rgb(240, 240, 240);
/* or #fff1 for dark themes */
}

:is(code) * :is(tbody, table) > tr:nth-child(odd) {
/* background: #0001; */
background: inherit;
/* or #fff1 for dark themes */
}

Expand Down
9 changes: 8 additions & 1 deletion source/identinet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,14 @@ body {
}

:is(tbody, table)>tr:nth-child(odd) {
background: #0001;
/* background: #0001; */
background: rgb(240, 240, 240);
/* or #fff1 for dark themes */
}

:is(code) * :is(tbody, table)>tr:nth-child(odd) {
/* background: #0001; */
background: inherit;
/* or #fff1 for dark themes */
}

Expand Down

0 comments on commit 3402280

Please sign in to comment.