diff options
1 files changed, 4 insertions, 4 deletions
| -rw-r--r-- | src/styles.css | 8 |
diff --git a/src/styles.css b/src/styles.css index 422b8d5..185d252 100644 --- a/src/styles.css +++ b/src/styles.css @@ -453,9 +453,9 @@ pre > code { box-sizing: border-box; } -table code { - font-size: 0.7em; - white-space: normal; +table pre > code { + background-color: initial; + padding: 0.2em; } dd code { font-size: 0.8em; } @@ -490,7 +490,7 @@ table { } td, th { word-break: normal !important; padding: 0.5em; } tr { background-color: var(--tr-bg-color); } -thead > tr, tr:nth-child(2n) { background-color: var(--alternating-row-color); } +thead > tr, tr:nth-child(2n+1) { background-color: var(--alternating-row-color); } th { border: 1px solid var(--table-border-color); font-size: 1.1em; font-weight: bold; } td + td { border-left: 1px dashed var(--table-border-color); } td:empty { height: 1em; } |