update home page styles
This commit is contained in:
parent
a457f2e68d
commit
394df9263c
7 changed files with 132 additions and 35 deletions
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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue