summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrefetch2023-03-14 15:45:35 +0100
committerPrefetch2023-03-14 16:03:05 +0100
commit9b9346d5e54244f3e2859c3f80e47f2de345a2ad (patch)
treeb61d5b32cd338a34d5a277281906621de1e98db3
parent7edaa33d1b9aef05fedc82375ca010461c009edf (diff)
I did an oopsie (God I hate CSS)
-rw-r--r--source/_includes/preamble.html2
-rw-r--r--source/infra/css/main.css2
2 files changed, 3 insertions, 1 deletions
diff --git a/source/_includes/preamble.html b/source/_includes/preamble.html
index 8104e6b..a3a37d7 100644
--- a/source/_includes/preamble.html
+++ b/source/_includes/preamble.html
@@ -17,7 +17,7 @@
{% if page.layout == "concept" or page.maths %}
<link rel="stylesheet" href="/infra/css/katex.min.css?v=20221008">
{% endif %}
-<link rel="stylesheet" href="/infra/css/main.css?v=20230303">
+<link rel="stylesheet" href="/infra/css/main.css?v=20230314">
{% if jekyll.environment == "production" %}
<script data-goatcounter="https://prefetch.goatcounter.com/count" async src="/infra/js/count.js?v=20221103"></script>
diff --git a/source/infra/css/main.css b/source/infra/css/main.css
index 898b56e..02a4d89 100644
--- a/source/infra/css/main.css
+++ b/source/infra/css/main.css
@@ -167,6 +167,7 @@ hr {
* Delay disappearance to hide flicker on mobile Firefox. */
#nav-list {
visibility: hidden;
+ max-height: 0;
transition-delay: 0.3s;
position: relative;
z-index: 1;
@@ -181,6 +182,7 @@ hr {
#nav-show:focus + #nav-list,
#nav-show:active + #nav-list {
visibility: visible;
+ max-height: 9999px;
transition-delay: 0s;
}
/* For the entries in `#nav-list' */