diff options
| author | 2022-01-31 11:51:55 +0100 | |
|---|---|---|
| committer | 2022-01-31 11:52:12 +0100 | |
| commit | 8726a61b965988b30a7f28416a22d8c807177436 (patch) | |
| tree | 3de882e0a9a91db0f82e87ff23caf53ccfdb9673 /pydis_site/static/css | |
| parent | Merge branch 'main' into swfarnsworth/smarter-resources/merge-with-main (diff) | |
Shrink and center the duck pond 404.
Diffstat (limited to 'pydis_site/static/css')
| -rw-r--r-- | pydis_site/static/css/resources/resources.css | 10 | 
1 files changed, 5 insertions, 5 deletions
diff --git a/pydis_site/static/css/resources/resources.css b/pydis_site/static/css/resources/resources.css index b24fcb5b..55284605 100644 --- a/pydis_site/static/css/resources/resources.css +++ b/pydis_site/static/css/resources/resources.css @@ -64,15 +64,15 @@ display: block;  /* Center the 404 div */  .no-resources-found { -    display: flex; +    display: none;      flex-direction: column;      align-items: center; +    margin-top: 1em;  } -/* Hide the no resources h2 by default */ -.no-resources-found { -    display: none; -    margin-top: 1em; +/* Make sure jQuery will use flex when setting `show()` again. */ +.no-resources-found[style*='display: block'] { +    display: flex !important;  }  /* Disable clicking on the checkbox itself. */  |