fix(landing): minor style change

This commit is contained in:
Matthieu Bessat 2024-03-07 23:00:26 +01:00
parent e4574886bb
commit 010bf07f2b
4 changed files with 29 additions and 8 deletions

View file

@ -301,7 +301,7 @@ $height: 30rem;
.layout-grid-image { .layout-grid-image {
display: grid; display: grid;
grid-column-gap: 2rem; grid-column-gap: 2rem;
min-height: 25rem;
.image-container { .image-container {
margin-top: 1.5rem; margin-top: 1.5rem;

View file

@ -344,6 +344,18 @@
} }
} }
.organization-content {
display: grid;
grid-template-columns: 1fr 1fr;
column-gap: 2rem;
padding-top: 2rem;
padding-bottom: 2rem;
img {
border-radius: 3px;
}
}
@media (max-width: $md-breakpoint) { @media (max-width: $md-breakpoint) {
.cover__back { .cover__back {
background-position-y: 0; background-position-y: 0;

View file

@ -4,7 +4,7 @@
} }
.news-item { .news-item {
border-bottom: 1px solid $background; border-bottom: 1px solid rgba(0, 0, 0, 0.2);
padding: 1rem 0rem; padding: 1rem 0rem;
margin-bottom: 1rem; margin-bottom: 1rem;

View file

@ -295,7 +295,7 @@
</div> </div>
<div class="page-container end-action-container"> <div class="page-container end-action-container">
<a <a
href="/histoires" href="/documentation/histoire"
class="button button-sm button-light"> class="button button-sm button-light">
L'Histoire en détails L'Histoire en détails
</a> </a>
@ -441,7 +441,8 @@
<div class="separator news-separator"></div> <div class="separator news-separator"></div>
<div class="secondary-news"> <div class="secondary-news">
{{ range $index, $element := $news }}{{ if (and (gt $index 0) (lt $index 3)) }} {{ range $index, $element := $news }}
{{ if (and (gt $index 0) (lt $index 3)) }}
{{ $featuredImage := (resources.Get (printf "%s" ("cover/cover.jpg" | safeURL))) }} {{ $featuredImage := (resources.Get (printf "%s" ("cover/cover.jpg" | safeURL))) }}
{{ with $element.Params.featured_image }} {{ with $element.Params.featured_image }}
{{ $featuredImage = $element.Resources.GetMatch .src }} {{ $featuredImage = $element.Resources.GetMatch .src }}
@ -476,7 +477,15 @@
</div> </div>
</div> </div>
</div> </div>
{{ end }}{{ end }} {{ end }}
{{ end }}
</div>
<div class="end-action-container">
<a
href="/actualites"
class="button button-sm button-light">
Voir toutes les news
</a>
</div> </div>
</div> </div>
</section> </section>