Author | zPlus <zplus@peers.community> 2024-04-15 09:16:35 |
Committer | zPlus <zplus@peers.community> 2024-04-15 09:16:35 |
Commit | 942f017 (patch) |
Tree | 100c4ce |
Parent(s) |
-rw-r--r-- | freepost/static/css/freepost.css | 8 |
index 7f208cd..fab0814 | |||
old size: 23K - new size: 23K | |||
@@ -822,11 +822,17 @@ a.logo:visited { | |||
822 | 822 | word-wrap: break-word; | |
823 | 823 | } | |
824 | 824 | ||
825 | - | /* Give the comment that's linked to in the URL location hash a lightyellow background color */ | |
825 | + | /* Highlight a comment when targeted by URL (eg. freepo.st/post/<post_id>#<comment_id>) */ | |
826 | 826 | .container > .content > .post > .comments > .comment:target { | |
827 | 827 | background-color: lightyellow; | |
828 | 828 | } | |
829 | 829 | ||
830 | + | @media (prefers-color-scheme: dark) { | |
831 | + | .container > .content > .post > .comments > .comment:target { | |
832 | + | background-color: slategray; | |
833 | + | } | |
834 | + | } | |
835 | + | ||
830 | 836 | .container > .content > .search { | |
831 | 837 | margin-bottom: 3rem; | |
832 | 838 | } |