From 9b9346d5e54244f3e2859c3f80e47f2de345a2ad Mon Sep 17 00:00:00 2001
From: Prefetch
Date: Tue, 14 Mar 2023 15:45:35 +0100
Subject: I did an oopsie (God I hate CSS)
---
source/_includes/preamble.html | 2 +-
source/infra/css/main.css | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
(limited to 'source')
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 %}
{% endif %}
-
+
{% if jekyll.environment == "production" %}
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' */
--
cgit v1.2.3