update home page styles
This commit is contained in:
parent
a457f2e68d
commit
394df9263c
7 changed files with 132 additions and 35 deletions
|
@ -118,6 +118,7 @@ main > .film {
|
|||
.summary-block {
|
||||
max-width: 1080px;
|
||||
margin-top: 60vh;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.bio-block {
|
||||
|
@ -150,10 +151,11 @@ main > .film {
|
|||
color: #fff;
|
||||
border: 4px solid rgba(#fff, 0.3);
|
||||
border-radius: 50%;
|
||||
box-sizing: border-box;
|
||||
font-size: 36px;
|
||||
text-decoration: none;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
width: 54px;
|
||||
height: 54px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
@ -162,7 +164,11 @@ main > .film {
|
|||
|
||||
.film-play-block {
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.film-play-padma {
|
||||
font-family: "wrong font";
|
||||
}
|
||||
|
||||
.film-play-spacer {
|
||||
|
|
51
app/static/css/partials/_index.scss
Executable file
51
app/static/css/partials/_index.scss
Executable file
|
@ -0,0 +1,51 @@
|
|||
.body--home {
|
||||
.topnav {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.index {
|
||||
padding: var(--spacing-2);
|
||||
|
||||
a {
|
||||
color: var(--color-link);
|
||||
text-decoration: none;
|
||||
font-weight: 700;
|
||||
|
||||
&:hover, &:focus {
|
||||
opacity: 0.7;
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: var(--spacing-2);
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: "wrong font";
|
||||
margin: auto;
|
||||
font-weight: normal;
|
||||
font-size: 44px;
|
||||
font-weight: bold
|
||||
}
|
||||
|
||||
.h1-en-home {
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.h1-zh-home {
|
||||
font-size: 34px;
|
||||
}
|
||||
|
||||
h2, .h2 {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin-top: var(--spacing-2);
|
||||
}
|
||||
|
||||
h3, .h3 {
|
||||
font-size: 21px;
|
||||
}
|
||||
}
|
|
@ -1,3 +1,10 @@
|
|||
// Font: Wrong Font
|
||||
|
||||
@font-face {
|
||||
font-family: "wrong font";
|
||||
src: url("https://files.pad.ma/ttf/wrongfont.woff") format("woff");
|
||||
}
|
||||
|
||||
// Font: Noto Sans
|
||||
|
||||
@font-face {
|
||||
|
@ -46,6 +53,10 @@ em {
|
|||
font-style: italic;
|
||||
}
|
||||
|
||||
.font-size-sm {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
main > .texts {
|
||||
box-sizing: border-box;
|
||||
|
||||
|
@ -74,8 +85,8 @@ main > .texts {
|
|||
|
||||
main > .index {
|
||||
text-align: center;
|
||||
padding-top: 48px;
|
||||
font-size: 26px;
|
||||
//padding-top: 48px;
|
||||
//font-size: 26px;
|
||||
line-height: 1.3;
|
||||
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
@import "partials/layout";
|
||||
@import "partials/titleanimation";
|
||||
@import "partials/menu";
|
||||
@import "partials/index";
|
||||
@import "partials/film";
|
||||
@import "partials/text";
|
||||
@import "partials/ascroll";
|
||||
|
|
|
@ -54,7 +54,7 @@ body {
|
|||
<div class="film-play-block">
|
||||
<div><a href="" id="play-fullscreen" class="icon-play"><span class="animated-title"><span class="text">▶</span></span></a></div>
|
||||
<div class="film-play-spacer">OR</div>
|
||||
<div><a href="https://pad.ma/{{ film.padma_id }}/info" target="_blank">watch on pad.ma</a></div>
|
||||
<div class="film-play-padma"><a href="https://pad.ma/{{ film.padma_id }}/info" target="_blank">View on Pad.ma</a></div>
|
||||
</div>
|
||||
</div>
|
||||
{% if film.related_texts.exists %}
|
||||
|
|
|
@ -111,19 +111,31 @@
|
|||
<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>
|
||||
<p>回望未來</p>
|
||||
|
||||
<div class="font-bold">Video art program</div>
|
||||
<p2>2021 Asian Art Biennale</p>
|
||||
|
||||
<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>
|
||||
<p>2021亞洲藝術雙年展</p>
|
||||
<p>2021.10.30 - 2022.3.6</p>
|
||||
|
||||
<div><a href="{% url 'films'%}" class="animated-title font-bold h3"><span class="text">Films</span></a></div>
|
||||
<p>21 films on subjects from animism to zoology</p>
|
||||
|
||||
<div><a href="{% url 'films'%}" class="animated-title h3">亞洲藝術雙年展</a></div>
|
||||
<p>回望未來<p>
|
||||
|
||||
<div><a href="{% url 'texts' %}" class="animated-title font-bold h3"><span class="text">Assemblies</span></a></div>
|
||||
<p>31 sequences of commentary on clips within or across film</p>
|
||||
|
||||
<div><a href="{% url 'texts'%}" class="animated-title h3">亞洲藝術雙年展</a></div>
|
||||
<p>回望未來<p>
|
||||
|
||||
<div><a href="{% url 'about' %}" class="animated-title font-bold h3"><span class="text">About</span></a></div>
|
||||
<p>phantas.ma/polis is a ...</p>
|
||||
|
||||
<div><a href="{% url 'about'%}" class="animated-title h3">亞洲藝術雙年展</a></div>
|
||||
<p>回望未來<p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,22 +1,38 @@
|
|||
{% extends "base.html" %}
|
||||
{% block body_class%}animated animated-text{% endblock %}
|
||||
{% block body_class%}animated animated-text body--home{% endblock %}
|
||||
{% block main %}
|
||||
<div class="index">
|
||||
Phantasmapolis<br>
|
||||
Looking back to the future<br>
|
||||
未至之城<br>
|
||||
回望未來<br>
|
||||
<br>
|
||||
Video art program<br>
|
||||
Curated by Anushka Rajendran<br>
|
||||
Presented by Pad.ma<br>
|
||||
錄像計畫<br>
|
||||
策展人 安努舒卡.拉堅德蘭<br>
|
||||
藝術家 Pad.ma<br>
|
||||
<br>
|
||||
2021 Asian Art Biennale<br>
|
||||
Oct 30, 2021 – Mar 6, 2022<br>
|
||||
2021亞洲藝術雙年展<br>
|
||||
2021.10.30 - 2022.3.6<br>
|
||||
<h1 class="h1-en-home">Phantasmapolis</h1>
|
||||
<p>Looking back to the future</p>
|
||||
|
||||
<h1 class="h1-zh-home">未至之城</h1>
|
||||
<p>回望未來<p>
|
||||
|
||||
<div class="font-bold">Video art program</div>
|
||||
<p>Asian Art Biennale 2021</p>
|
||||
|
||||
<div class="font-bold">錄像計畫</div>
|
||||
<p>2021亞洲藝術雙年展</p>
|
||||
<p>2021.10.30 - 2022.3.6<p>
|
||||
|
||||
<div class="font-size-sm">
|
||||
<div class="h3"><a href="{% url 'films'%}" class="font-bold">Films</a></div>
|
||||
<p>21 films on subjects from animism to zoology</p>
|
||||
|
||||
<div class="h3"><a href="{% url 'films'%}" class="font-bold">亞洲藝術雙年展</a></div>
|
||||
<p>回望未來<p>
|
||||
|
||||
<div class="h3"><a href="{% url 'texts' %}" class="font-bold">Assemblies</a></div>
|
||||
<p>31 sequences of commentary on clips within or across film</p>
|
||||
|
||||
<div class="h3"><a href="{% url 'texts'%}" class="font-bold">亞洲藝術雙年展</a></div>
|
||||
<p>回望未來<p>
|
||||
|
||||
<div class="h3"><a href="{% url 'about' %}" class="font-bold">About</a></div>
|
||||
<p>phantas.ma/polis is a ...</p>
|
||||
|
||||
<div class="h3"><a href="{% url 'about'%}" class="font-bold">亞洲藝術雙年展</a></div>
|
||||
<p>回望未來<p>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue