added optional showcase section to home page

This commit is contained in:
Gabriele Musco 2021-07-06 20:19:13 +02:00
parent 38a8b48e8c
commit 3176229a6b
No known key found for this signature in database
GPG key ID: 8539FD3454380B83
4 changed files with 44 additions and 0 deletions

View file

@ -868,3 +868,28 @@ header.jumbotronContainer {
}
}
{{ end }}
.showcaseCard {
@extend article;
@extend .card;
margin-bottom: 24px;
display: flex;
flex-direction: row-reverse;
flex-wrap: wrap;
justify-content: center;
padding: 12px !important;
> img {
flex-basis: 30%;
width: 300px;
height: 250px;
object-fit: cover;
margin: 12px;
{{ if eq .Site.Params.navtype "circles" }}
border-radius: $border_radius;
{{ end }}
}
> div {
flex-basis: 60%;
}
}