From 0e70fcd2381f5e061129a559357e75412ab5863a 2022-06-27 13:40:17 From: Ben Sturmfels Date: 2022-06-27 13:40:17 Subject: [PATCH] Don't set up for animation when no JavaScript available. --- diff --git a/themes/next.copyleft.org/templates/base.html b/themes/next.copyleft.org/templates/base.html index 5d41916c04b407017d3dbe9bd1d83eed7583331c..a22263b17c3af0edb76643994443e9d9f08c980b 100644 --- a/themes/next.copyleft.org/templates/base.html +++ b/themes/next.copyleft.org/templates/base.html @@ -73,7 +73,22 @@ header a.active { text-decoration: underline; } + + /* Set up the home page title animation */ + header h1#title { + opacity: 0; + translate: 0 -10px; + } + {% endblock head %} @@ -102,7 +117,7 @@ {% if output_file == 'index.html' %} -

> {{ SITENAME }}

+

> {{ SITENAME }}

{% if SITESUBTITLE %}{{ SITESUBTITLE }}{% endif %}

{% endif %}