njpma/app/templates/index-alt.html

130 lines
2.6 KiB
HTML
Raw Normal View History

2021-10-23 12:23:09 +00:00
{% extends "base.html" %}
{% block body_class%}body--home{% endblock %}
{% block head %}
<style type="text/css">
.body--home {
display: flex;
flex-direction: column;
background-color: #000;
min-height: 100vh;
}
.body--home main {
margin: auto;
}
.body--home h2 {
font-size: 20px;
color: #fff;
}
@font-face {
font-family: "wrong font";
src: url("https://files.pad.ma/ttf/wrongfont.woff") format("woff");
}
h1 {
font-family: "wrong font";
margin: auto;
font-weight: normal;
color: yellow;
font-size: 52px;
font-weight: bold;
}
.h1-en-home {
line-height: 1.2;
}
.h1-zh-home {
font-size: 42px;
}
@media screen and (min-width: 800px) {
h1 {
font-size: 66px;
}
.h1-zh-home {
font-size: 50px;
}
}
@keyframes rainbow_animation {
0%,100% {
background-position: 0 0;
}
50% {
background-position: 100% 0;
}
}
.topnav {
background-color: transparent;
order: 10;
font-weight: 700;
}
.topnav a.title {
display: none;
}
.topnav nav {
margin: auto;
}
.topnav nav .text .hide-mobile {
display: none;
}
.topnav a {
font-size: 16px;
border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
@media screen and (min-width: 800px) {
2021-10-23 12:24:31 +00:00
.topnav a {
font-size: 20px;
}
2021-10-23 12:23:09 +00:00
}
main > .index {
font-size: 18px;
line-height: 1.5;
padding: 0 16px;
}
.rainbow_text_animated {
background: linear-gradient(to right, #6666ff, #0099ff , #00ff00, #ff3399, #6666ff);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
animation: rainbow_animation 6s ease-in-out infinite;
background-size: 400% 100%;
}
</style>
{% endblock head %}
{% block main %}
<div class="index">
<h1 class="h1-en-home rainbow rainbow_text_animated">Phantasmapolis</h1>
<h2>Looking back to the future</h2><br>
<h1 class="h1-zh-home rainbow rainbow_text_animated">未至之城</h1>
<div>回望未來</div>
<br>
<h2 class="font-bold">Video art program</h2>
Curated by Anushka Rajendran<br>
Presented by Pad.ma<br><br>
<div class="font-bold">錄像計畫</div>
策展人 安努舒卡.拉堅德蘭<br>
藝術家 Pad.ma<br>
<br>
<h2 class="font-bold">2021 Asian Art Biennale</h2>
Oct 30, 2021 Mar 6, 2022<br><br>
<div class="font-bold">2021亞洲藝術雙年展</div>
2021.10.30 - 2022.3.6<br>
</div>
{% endblock %}