summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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' */