136 lines
2.2 KiB
SCSS
136 lines
2.2 KiB
SCSS
body.page-homepage {
|
|
min-height: 100vh;
|
|
|
|
@include tablet {
|
|
height: 100vh;
|
|
}
|
|
|
|
main {
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
background-position: center;
|
|
height: 100%;
|
|
color: $white;
|
|
margin-bottom: 0;
|
|
padding-bottom: 2rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-evenly;
|
|
}
|
|
|
|
.top-section {
|
|
min-width: 90%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 1rem;
|
|
|
|
@include mobile {
|
|
margin: 2rem;
|
|
}
|
|
}
|
|
|
|
h1 {
|
|
font-size: 5rem;
|
|
}
|
|
|
|
.heading-wrapper {
|
|
text-align: center;
|
|
min-width: 45%;
|
|
}
|
|
|
|
.box {
|
|
padding: 0.25rem 0.5rem;
|
|
margin-top: 2rem;
|
|
background-color: color.adjust($dark, $alpha: -0.2);
|
|
border-radius: $input-radius;
|
|
max-width: 75%;
|
|
overflow-x: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
|
|
&,
|
|
strong,
|
|
a {
|
|
color: $white !important;
|
|
}
|
|
}
|
|
|
|
input#search-input {
|
|
width: 85%;
|
|
margin-top: 15px;
|
|
text-align: center;
|
|
background-color: color.adjust($dark, $alpha: -0.2) !important;
|
|
color: $white !important;
|
|
|
|
&::placeholder {
|
|
color: rgba(214 210 205 / 80%) !important;
|
|
}
|
|
|
|
&:focus {
|
|
border-color: initial !important;
|
|
}
|
|
}
|
|
|
|
#to-top {
|
|
display: none;
|
|
}
|
|
|
|
.content-list {
|
|
width: 100%;
|
|
|
|
.card-image {
|
|
overflow: hidden;
|
|
}
|
|
|
|
img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
position: absolute;
|
|
transition: filter 0.25s;
|
|
filter: brightness(0.9);
|
|
}
|
|
|
|
p {
|
|
position: absolute;
|
|
bottom: 0;
|
|
color: $white;
|
|
padding: 0.5rem;
|
|
transition: background-color 0.25s;
|
|
width: 100%;
|
|
background-color: rgb(0 0 0 / 50%);
|
|
}
|
|
|
|
figure {
|
|
margin: 0;
|
|
text-align: initial;
|
|
}
|
|
|
|
a:hover {
|
|
img {
|
|
filter: unset;
|
|
}
|
|
|
|
p {
|
|
background-color: rgb(0 0 0 / 70%);
|
|
}
|
|
}
|
|
}
|
|
|
|
.recent-posts {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
flex-grow: unset;
|
|
margin-top: 2rem;
|
|
|
|
.box {
|
|
margin: 0 auto;
|
|
display: inline-block;
|
|
}
|
|
}
|
|
}
|