Compare commits
No commits in common. "7f669cdd776095f7c390e3c4aa5abf5d112e8c98" and "c890ac388ed5f3d99f3827ca69944119165f5771" have entirely different histories.
7f669cdd77
...
c890ac388e
9 changed files with 12 additions and 163 deletions
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 72 KiB |
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 12 KiB |
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 16 KiB |
|
@ -103,14 +103,16 @@ $height: 30rem;
|
|||
position: relative;
|
||||
flex: 0 0 100%;
|
||||
width: 100%;
|
||||
background-color: #f99;
|
||||
counter-increment: item;
|
||||
}
|
||||
|
||||
// .carousel__slide:nth-child(even) {
|
||||
// background-color: #99f;
|
||||
// }
|
||||
.carousel__slide:nth-child(even) {
|
||||
background-color: #99f;
|
||||
}
|
||||
|
||||
.carousel__slide:before {
|
||||
content: counter(item);
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
|
@ -155,9 +157,10 @@ $height: 30rem;
|
|||
.carousel__navigation {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 1rem;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
text-align: center;
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
|
||||
.carousel__navigation-list,
|
||||
|
@ -170,7 +173,7 @@ $height: 30rem;
|
|||
display: inline-block;
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
background-color: rgba(51, 51, 51, 0.7);
|
||||
background-color: #333;
|
||||
background-clip: content-box;
|
||||
border: 0.25rem solid transparent;
|
||||
border-radius: 50%;
|
||||
|
@ -233,7 +236,6 @@ $height: 30rem;
|
|||
.carousel__navigation-item.enabled {
|
||||
.carousel__navigation-button {
|
||||
opacity: 0.5;
|
||||
background-color: #eeeeee;
|
||||
box-shadow: inset 0 0 2px black;
|
||||
background-color: white;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,16 +1,15 @@
|
|||
@import url('https://fonts.googleapis.com/css2?family=Bona+Nova:wght@400;700&family=Roboto:wght:300;400;500&display=swap');
|
||||
@import url('https://fonts.googleapis.com/css2?family=Bona+Nova:wght@400;700&family=Roboto&display=swap');
|
||||
|
||||
.serif-font {
|
||||
font-family: 'Bona Nova', serif;
|
||||
}
|
||||
|
||||
|
||||
body {
|
||||
// font-family: 'Trebuchet MS', Tahoma,sans-serif;
|
||||
// font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
|
||||
// font-family: "Open Sans","Segoe UI",HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-weight: 400;
|
||||
font-weight: 300;
|
||||
margin: 0;
|
||||
font-size: 17px;
|
||||
line-height: 1.6;
|
||||
|
|
|
@ -167,56 +167,3 @@
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
.partner-comment__container {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
background: rgba(1, 1, 1, 0.05);
|
||||
|
||||
.partner-comment {
|
||||
padding-bottom: 1rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.partner-comment__quote {
|
||||
width: 75%;
|
||||
text-align: center;
|
||||
margin: 3rem auto 0 auto;
|
||||
position: relative;
|
||||
display: block;
|
||||
font-style: italic;
|
||||
font-weight: 300;
|
||||
&::before, &::after {
|
||||
font-size: 8rem;
|
||||
color: rgba(0, 0, 0, 0.2);
|
||||
position: absolute;
|
||||
}
|
||||
&::before {
|
||||
content: "“";
|
||||
top: -6rem;
|
||||
}
|
||||
&::after {
|
||||
content: "”";
|
||||
right: -1rem;
|
||||
bottom: -9rem;
|
||||
}
|
||||
}
|
||||
.partner-comment__author {
|
||||
margin-top: 1rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.partner-comment__author-picture {
|
||||
width: 9rem;
|
||||
aspect-ratio: 1;
|
||||
// border-radius: 50%;
|
||||
}
|
||||
.partner-comment__author-name {
|
||||
margin-top: .5rem;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
people:
|
||||
- name: Jessica
|
||||
org:
|
||||
name: T'es pas cap
|
||||
intro: de
|
||||
website:
|
||||
image: tespascap.svg
|
||||
quote: |
|
||||
Soutenons l'association qui sauvegarde la chapelle de Bethléem à Aubevoye, témoignage précieux de notre histoire.
|
||||
|
||||
- name: Stéphane
|
||||
org:
|
||||
name: Brasserie Les Cottereaux
|
||||
intro: de la
|
||||
website: https://www.agglo-seine-eure.fr/equipements/brasserie-les-cottereaux/
|
||||
image: BLC_logo_color.png
|
||||
quote: |
|
||||
C'est tout naturellement que nous avons lancé le partenariat avec L'étoile de Bethléem dont la vocation est de rénover une pepite de notre patrimoine historique.
|
||||
|
||||
- name: null
|
||||
org:
|
||||
name: Crédit Mutuel de Normandie
|
||||
intro: du
|
||||
image: credit.svg
|
||||
quote: |
|
||||
Partenaire privilégié des associations comme l'Étoile de Bethléem, le crédit mutuel vous accompagne dans tous vos projets.
|
||||
|
||||
- name: Phillipe
|
||||
org:
|
||||
name: AMSE
|
||||
intro: de l'
|
||||
website: https://www.amse.asso.fr/
|
||||
image: amse.svg
|
||||
quote: |
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
<div class="cover__content">
|
||||
<div class="cover__title-container">
|
||||
<div class="page-container">
|
||||
<h1 class="cover__title">Relevons notre Bethléem Normand !</h1>
|
||||
<h1 class="cover__title">Relevons notre Bethléem Normand</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -227,7 +227,6 @@
|
|||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
{{ $slides_count := 6 }}
|
||||
<section class="carousel-container">
|
||||
<div class="carousel" aria-label="Gallery">
|
||||
|
@ -257,63 +256,6 @@
|
|||
</aside>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- {{ range $.Site.Data.partners.people }} -->
|
||||
<!-- <li class="move-item"> -->
|
||||
<!-- {{ .org }} -->
|
||||
<!-- {{ .name }} {{ .quote }} -->
|
||||
<!-- </li> -->
|
||||
<!-- {{ end }} -->
|
||||
|
||||
|
||||
{{ $slides_count := len $.Site.Data.partners.people }}
|
||||
<section class="partners-container">
|
||||
<div class="page-container">
|
||||
<h2>Ils nous soutiennent</h2>
|
||||
</div>
|
||||
<div class="carousel" aria-label="Partners">
|
||||
<ol class="carousel__viewport">
|
||||
{{ range $index, $comment := $.Site.Data.partners.people }}
|
||||
<li id="partners__slide{{ $index }}"
|
||||
tabindex="0"
|
||||
class="carousel__slide">
|
||||
<div class="slide-content partner-comment__container">
|
||||
<div class="partner-comment">
|
||||
{{ $image := resources.Get (printf "images/partners/%s" $comment.image) }}
|
||||
<a href="{{ $comment.org.website }}">
|
||||
<img class="partner-comment__author-picture" alt="Photo d'un de nos soutiens" src="{{ $image.RelPermalink }}" />
|
||||
</a>
|
||||
<p class="partner-comment__quote">
|
||||
{{ $comment.quote }}
|
||||
</p>
|
||||
<div class="partner-comment__author">
|
||||
<div class="partner-comment__author-name">
|
||||
{{ with $comment.name }}{{ . }}{{ end }} {{ with $comment.org.intro }}{{ . }}{{ end }} {{ $comment.org.name }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="carousel__snapper">
|
||||
<a href="#partners__slide{{ partial "fullmod" (slice (sub $index 1) $slides_count) }}"
|
||||
class="carousel__prev">Diapositive précédente</a>
|
||||
<a href="#partners__slide{{ partial "fullmod" (slice (add $index 1) $slides_count) }}"
|
||||
class="carousel__next">Diapositive suivante</a>
|
||||
</div>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ol>
|
||||
<aside class="carousel__navigation">
|
||||
<ol class="carousel__navigation-list">
|
||||
{{ range $index, $s := seq $slides_count }}
|
||||
<li class="carousel__navigation-item {{ if eq $index 0 }}enabled{{- end -}}">
|
||||
<a href="#partners__slide{{ $index }}"
|
||||
class="carousel__navigation-button">{{ $index }}ème diapositive</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ol>
|
||||
</aside>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<div class="separation-section secondary-bg">
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
{{ $c := mod (.Get 0) (.Get 1) }}
|
||||
{{ if lt $c 0 }}{{ add (.Get 1) $c }}{{ else }}{{ $c }}{{ end }}
|
Loading…
Reference in a new issue