aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static/css/resources
diff options
context:
space:
mode:
authorGravatar hedy <[email protected]>2024-02-02 20:52:51 +0800
committerGravatar hedy <[email protected]>2024-02-02 20:52:51 +0800
commit986c423246349d03dccf7d4f6d919f9bd693de04 (patch)
tree7e95b4e13bf49c6777d91e0bdfdf1e6aaf45cdc5 /pydis_site/static/css/resources
parentEvents: Adjust phrasing in description (diff)
parentMerge pull request #1219 from python-discord/dependabot/pip/sentry-sdk-1.40.0 (diff)
Fix conflicts
Diffstat (limited to 'pydis_site/static/css/resources')
-rw-r--r--pydis_site/static/css/resources/resources.css28
1 files changed, 18 insertions, 10 deletions
diff --git a/pydis_site/static/css/resources/resources.css b/pydis_site/static/css/resources/resources.css
index 96d06111..3bf5ade4 100644
--- a/pydis_site/static/css/resources/resources.css
+++ b/pydis_site/static/css/resources/resources.css
@@ -37,7 +37,7 @@ i.has-icon-padding {
display: none;
}
#tab-content p.is-active {
-display: block;
+ display: block;
}
/* Disable highlighting for all text in the filters. */
@@ -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;
@@ -195,22 +199,26 @@ button.delete {
}
/* Colors for delete button x's */
-button.delete.is-primary::before,
-button.delete.is-primary::after {
+[data-theme="light"] button.delete.is-primary::before,
+[data-theme="light"] button.delete.is-primary::after {
background-color: #2a45a2;
}
-button.delete.is-success::before,
-button.delete.is-success::after {
+[data-theme="light"] button.delete.is-success::before,
+[data-theme="light"] button.delete.is-success::after {
background-color: #2c9659;
}
-button.delete.is-danger::before,
-button.delete.is-danger::after {
+[data-theme="light"] button.delete.is-danger::before,
+[data-theme="light"] button.delete.is-danger::after {
background-color: #c32841;
}
-button.delete.is-info::before,
-button.delete.is-info::after {
+[data-theme="light"] button.delete.is-info::before,
+[data-theme="light"] button.delete.is-info::after {
background-color: #237fbd;
}
+[data-theme="dark"] button.delete::before,
+[data-theme="dark"] button.delete::after {
+ background-color: #FFFFFF;
+}
/* Give outlines to active tags */
span.filter-box-tag,