website/static/src/scss/_homepage.scss

60 lines
1 KiB
SCSS
Raw Normal View History

body.page-homepage {
2022-06-12 21:08:11 +01:00
main {
background-repeat: no-repeat;
background-size: cover;
background-position: center;
2022-06-12 21:08:11 +01:00
height: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
color: $white;
2022-07-04 20:06:04 +01:00
margin-bottom: 0;
2022-06-12 21:08:11 +01:00
}
h1 {
2022-06-15 14:23:06 +01:00
font-size: 5rem;
}
.heading-wrapper {
text-align: center;
2022-06-12 21:08:11 +01:00
}
.latest {
padding: 0.25rem 0.5rem;
margin-top: 2rem;
2022-07-20 21:42:58 +01:00
background-color: transparentize($dark, 0.2);
2022-06-15 14:23:06 +01:00
border-radius: $input-radius;
max-width: 75%;
overflow-x: hidden;
white-space: nowrap;
text-overflow: ellipsis;
2022-06-12 21:08:11 +01:00
&,
strong,
a {
color: $white !important;
}
}
input#search-input {
2022-06-15 14:23:06 +01:00
width: 85%;
2022-06-12 21:08:11 +01:00
margin-top: 15px;
text-align: center;
2022-07-20 21:42:58 +01:00
background-color: transparentize($dark, 0.2) !important;
2022-06-12 21:08:11 +01:00
color: $white !important;
&::placeholder {
color: rgba(214, 210, 205, 0.8) !important;
}
&:focus {
border-color: initial !important;
}
}
#to-top {
display: none;
}
}