animated title

This commit is contained in:
j 2021-10-21 17:10:13 +01:00
commit 84eede76f5
5 changed files with 42 additions and 11 deletions

View file

@ -13,23 +13,24 @@
</head>
<body class="{% block body_class%}{% endblock %}">
<div class="topnav">
<a href="/polis" class="title">
<div class="title-text">
<a href="/polis" class="title animated-title">
<div class="title-text text">
Phantas.ma/polis<span class="hide-mobile">: Looking Back to the Future</span>
</div>
<div>
<div class="text">
未之至城<span class="hide-mobile">:回顧未來</span>
</div>
</a>
<nav>
<a href="{% url 'films'%}">films <span class="hide-mobile">-</span> 影片</a>
<a href="{% url 'texts' %}">assemblies <span class="hide-mobile">-</span> 组件</a>
<a href="{% url 'about' %}">about <span class="hide-mobile">-</span> 關於</a>
<a href="{% url 'films'%}" class="animated-title"><span class="text">films <span class="hide-mobile">-</span> 影片</span></a>
<a href="{% url 'texts' %}" class="animated-title"><span class="text">assemblies <span class="hide-mobile">-</span> 组件</span></a>
<a href="{% url 'about' %}" class="animated-title"><span class="text">about <span class="hide-mobile">-</span> 關於</span></a>
</nav>
</div>
<main>
{% block main %}{% endblock main %}
</main>
{% block end %}{% endblock end %}
<script src="{% static 'js/animation.js' %}"></script>
</body>
</html>