diff options
author | 2022-01-30 13:04:58 +0100 | |
---|---|---|
committer | 2022-01-30 13:04:58 +0100 | |
commit | 2cbaeb129b793fa3dc162258dd4e60781e35d5f1 (patch) | |
tree | ee38ba94221c08d1d33f03b948f1fbdf0838341b /pydis_site/static | |
parent | Ensure "Other" is always the bottom topic. (diff) |
Show a duck pond when no filters match.
Diffstat (limited to 'pydis_site/static')
-rw-r--r-- | pydis_site/static/css/resources/resources.css | 7 | ||||
-rw-r--r-- | pydis_site/static/images/resources/duck_pond_404.png | bin | 0 -> 2371374 bytes |
2 files changed, 7 insertions, 0 deletions
diff --git a/pydis_site/static/css/resources/resources.css b/pydis_site/static/css/resources/resources.css index 7038d0d7..b48beca6 100644 --- a/pydis_site/static/css/resources/resources.css +++ b/pydis_site/static/css/resources/resources.css @@ -93,6 +93,13 @@ span.filter-box-tag { user-select: none; } +/* Center the 404 div */ +.no-resources-found { + display: flex; + flex-direction: column; + align-items: center; +} + /* Make resource tags clickable */ .resource-tag { cursor: pointer; diff --git a/pydis_site/static/images/resources/duck_pond_404.png b/pydis_site/static/images/resources/duck_pond_404.png Binary files differnew file mode 100644 index 00000000..3aed4d62 --- /dev/null +++ b/pydis_site/static/images/resources/duck_pond_404.png |