diff options
| author | 2024-01-13 19:46:17 +0800 | |
|---|---|---|
| committer | 2024-01-13 19:52:58 +0800 | |
| commit | 0a35f6c84096d48866953c6c099f9b7d20b003eb (patch) | |
| tree | 8c5f4c7c3963d29b111a40fb692e018cb4663ccd /pydis_site/static/css/resources/resources.css | |
| parent | Dark: Fix timeline color for borders (diff) | |
Dark: Use link color of better contrast
Diffstat (limited to 'pydis_site/static/css/resources/resources.css')
| -rw-r--r-- | pydis_site/static/css/resources/resources.css | 6 | 
1 files changed, 5 insertions, 1 deletions
diff --git a/pydis_site/static/css/resources/resources.css b/pydis_site/static/css/resources/resources.css index 96d06111..ee5954da 100644 --- a/pydis_site/static/css/resources/resources.css +++ b/pydis_site/static/css/resources/resources.css @@ -154,11 +154,15 @@ i.is-primary {  }  /* When hovering title anchors, just make the color a lighter primary, not black. */ -.resource-box a:hover { +[data-theme="light"] .resource-box a:hover {      filter: brightness(120%);      color: #7289DA;  } +[data-theme="dark"] .resource-box a:hover { +    color: white; +} +  /* Set default display to inline-flex, for centering. */  span.filter-box-tag {      display: none;  |