aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static/css/resources
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2022-01-29 12:39:21 +0100
committerGravatar Leon Sandøy <[email protected]>2022-01-29 12:39:21 +0100
commit72ca8758da4b80b638a83093a35a031210a8d9f2 (patch)
tree9c0f585dda0ba2a6745bc63f681d28f34dbfebfb /pydis_site/static/css/resources
parentMake all tags interactive. (diff)
Let the user know when there are no matches.
Diffstat (limited to 'pydis_site/static/css/resources')
-rw-r--r--pydis_site/static/css/resources/resources.css6
1 files changed, 6 insertions, 0 deletions
diff --git a/pydis_site/static/css/resources/resources.css b/pydis_site/static/css/resources/resources.css
index c6347eab..218d9a59 100644
--- a/pydis_site/static/css/resources/resources.css
+++ b/pydis_site/static/css/resources/resources.css
@@ -15,6 +15,12 @@
padding:0
}
+/* Hide the no resources h2 by default */
+h2.no-resources-found {
+ display: none;
+ margin-top: 1em;
+}
+
/* Disable clicking on the checkbox itself. */
/* Instead, we want to let the anchor tag handle clicks. */
.filter-checkbox {