update home page styles

This commit is contained in:
imohkay 2021-10-24 19:13:02 +05:30
commit 394df9263c
7 changed files with 132 additions and 35 deletions

View file

@ -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 {

View 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;
}
}

View file

@ -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;
}