diff options
| Commit | 14ef028e688d17d272410431014067f7b911cb55 (patch) | |
|---|---|---|
| Author | 2025-11-07 20:41:20 +0200 | |
| Committer | 2025-11-07 20:41:20 +0200 | |
| Files | 2673f547297bcc070bf2ff43daa15b3bd96f6217 /src/styles.css | |
| syndamia.com-14ef028e688d17d272410431014067f7b911cb55.tar syndamia.com-14ef028e688d17d272410431014067f7b911cb55.tar.gz syndamia.com-14ef028e688d17d272410431014067f7b911cb55.zip | ||
| Parent | ffc492129d35c8bb837da2e8f139d9f75ecf1319 (diff) | |
feat!: Update dunbar and update tables syntax
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; } |