diff --git a/app/static/css/partials/_film.scss b/app/static/css/partials/_film.scss index 756d39c..d5fd5ee 100755 --- a/app/static/css/partials/_film.scss +++ b/app/static/css/partials/_film.scss @@ -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 { diff --git a/app/static/css/partials/_index.scss b/app/static/css/partials/_index.scss new file mode 100755 index 0000000..464d808 --- /dev/null +++ b/app/static/css/partials/_index.scss @@ -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; + } +} diff --git a/app/static/css/partials/_text.scss b/app/static/css/partials/_text.scss index cb153bf..46c0fe9 100755 --- a/app/static/css/partials/_text.scss +++ b/app/static/css/partials/_text.scss @@ -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; } diff --git a/app/static/css/style.scss b/app/static/css/style.scss index 9e08ba6..4eee9b0 100755 --- a/app/static/css/style.scss +++ b/app/static/css/style.scss @@ -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"; diff --git a/app/templates/film.html b/app/templates/film.html index 8f88ad2..bca2be2 100755 --- a/app/templates/film.html +++ b/app/templates/film.html @@ -54,7 +54,7 @@ body {
{% if film.related_texts.exists %} diff --git a/app/templates/index-alt.html b/app/templates/index-alt.html index b7a428c..54dc438 100755 --- a/app/templates/index-alt.html +++ b/app/templates/index-alt.html @@ -111,19 +111,31 @@回望未來
+ +2021亞洲藝術雙年展
+2021.10.30 - 2022.3.6
+ + +21 films on subjects from animism to zoology
+ + +回望未來
+ +
+31 sequences of commentary on clips within or across film
+ + +回望未來
+ +
+phantas.ma/polis is a ...
+ + +回望未來
{% endblock %} diff --git a/app/templates/index.html b/app/templates/index.html index 221ea9d..5a3d656 100755 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -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 %}
Looking back to the future
+ +回望未來
+ +
Asian Art Biennale 2021
+ +2021亞洲藝術雙年展
+2021.10.30 - 2022.3.6
+ +