diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-23 21:49:45 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-23 21:49:45 +0200 |
| commit | 8901ea8899d9a98d3cb53642fafafbc399ed2096 (patch) | |
| tree | 4a696f1dccccb8adf73ec2ba96bbc0f1bf73216b /public | |
| parent | de879a6b1dd248d0dba8de12a290671509839f42 (diff) | |
Add miniscule highlight line around pdf cards, so they read better against dark background
Diffstat (limited to 'public')
| -rw-r--r-- | public/stylesheets/ccc.css | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/public/stylesheets/ccc.css b/public/stylesheets/ccc.css index a8d29459..b421684a 100644 --- a/public/stylesheets/ccc.css +++ b/public/stylesheets/ccc.css | |||
| @@ -791,6 +791,14 @@ div.teaser_ruler { | |||
| 791 | height: auto; | 791 | height: auto; |
| 792 | } | 792 | } |
| 793 | 793 | ||
| 794 | @media (prefers-color-scheme: dark) { | ||
| 795 | .headline_document_card_thumb { | ||
| 796 | border-color: rgba(200, 200, 200, 0.35); | ||
| 797 | box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), | ||
| 798 | 4px 6px 16px rgba(0, 0, 0, 0.8); | ||
| 799 | } | ||
| 800 | } | ||
| 801 | |||
| 794 | .headline_document_card_info { | 802 | .headline_document_card_info { |
| 795 | display: flex; | 803 | display: flex; |
| 796 | flex-direction: column; | 804 | flex-direction: column; |
