njpma/app/static/css/partials/_index.scss

66 lines
846 B
SCSS
Raw Normal View History

2021-10-24 13:43:02 +00:00
.body--home {
2021-10-25 06:52:03 +00:00
display: flex;
flex-direction: column;
background-color: #000;
min-height: 100vh;
2021-10-24 13:43:02 +00:00
.topnav {
display: none;
}
2021-10-25 06:52:03 +00:00
main {
margin: auto;
}
2021-10-24 13:43:02 +00:00
}
.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);
}
2021-10-25 06:52:03 +00:00
.margin-reset {
margin: 0;
}
2021-10-24 13:43:02 +00:00
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;
}
}