diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-06-02 15:21:43 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-06-02 15:21:43 +0100 |
| commit | 8ea9ae28981761ba32861f5f1b9c74b7aca62a2c (patch) | |
| tree | 74f2b79e36956846e9009997ae14154c285805ac | |
| parent | fcbb0d24724c97a39b222240d0f45e343fa60c53 (diff) | |
| download | themes-8ea9ae28981761ba32861f5f1b9c74b7aca62a2c.tar.gz themes-8ea9ae28981761ba32861f5f1b9c74b7aca62a2c.tar.bz2 themes-8ea9ae28981761ba32861f5f1b9c74b7aca62a2c.zip | |
base.css: add tr.odd/tr.even for multi-row listing striping
nth-of-type striping cannot alternate correctly when listings emit
multiple <tr> per logical row; explicit class-based rules handle it.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
| -rwxr-xr-x | css/base.css | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/css/base.css b/css/base.css index 6ee09bc..7774089 100755 --- a/css/base.css +++ b/css/base.css @@ -307,4 +307,10 @@ transition: all .2s ease; @media print { a[href]:after { content: none !important; } } + +/* Explicit odd/even row classes — for listings with multi-row entries + where nth-of-type striping cannot distinguish visual pairs */ +tr.odd { background-color: #f9f9f9; } +tr.even { background-color: #ffffff; } + /* vim: set ts=40: */ |
