first commit
Some checks are pending
Deploy / Deploy to Production (push) Waiting to run

This commit is contained in:
isUnknown 2025-12-10 15:12:06 +01:00
commit a3620a1f5f
1042 changed files with 226722 additions and 0 deletions

View file

@ -0,0 +1,176 @@
[data-template="support"]{
section{
display: flex;
flex-direction: column;
margin: 0 auto;
padding-bottom: calc(var(--spacing)*0.75);
margin-bottom: calc(var(--spacing)*0.75);
border-bottom: var(--border-light);
}
#section__hero{
margin-top: calc(var(--spacing)*1);
display: block;
}
#section__questions{
border-bottom: none;
}
#section__donation:target{
padding-top: calc(var(--header-h)*1.25);
}
#section__video{
display: flex;
flex-direction: column;
align-items: center;
.video-container{
display: flex;
}
video{
width: 100%;
border: 1px solid var(--grey-800);
max-height: 90vh;
display: flex;
}
}
@media #{$medium-up}{
main{
display: grid;
grid-template-columns: 50% 50%;
grid-template-rows: repeat(4, auto);
max-width: 1200px;
margin: 0 auto;
padding-bottom: 0;
}
#section__donation{
padding-top: calc(var(--spacing)*1);
}
#section__donation,
#section__comments{
border: none;
}
#section__baseline{
padding: calc(var(--spacing)*0.5) 0;
}
.gauge__container{
padding-top: calc(var(--spacing)*1);
}
.col-left,
.col-right{
padding-top: calc(var(--spacing)*1);
}
.col-left{
grid-column: 1;
grid-row: 1/5;
}
.col-right{
position: sticky;
top: calc(var(--spacing)*2.5);
grid-column: 2;
grid-row: 1;
overflow: hidden;
}
}
@media #{$medium}{
main{
display: flex;
flex-direction: column;
align-items: stretch;
justify-content: stretch;
max-width: 600px;
margin: 0 auto;
}
section{
width: 100%;
}
.col-left,
.col-right{
display: contents;
}
#section__hero{
order: 1;
}
#section__donation{
order: 2;
}
#section__baseline{
order: 3;
}
#section__video{
order: 4;
}
#section__comments{
order: 5;
}
#section__questions{
order: 6;
}
}
@media #{$paysage}{
.col-left,
.col-right{
display: contents;
}
section{
width: 100%;
}
#section__donation{
grid-row: 1;
grid-column: 2;
position: sticky;
top: calc(var(--spacing)*3.75);
}
#section__hero{
grid-row: 1;
grid-column: 1;
}
#section__baseline{
grid-row: 2;
grid-column: 1;
}
#section__video{
grid-row: 3;
grid-column: 1;
}
#section__comments{
grid-row: 4;
grid-column: 1;
border-bottom: var(--border-light);
}
#section__questions{
grid-row: 5;
grid-column: 1;
}
}
}

View file

@ -0,0 +1,55 @@
.comment__text{
font-size: var(--fs-medium);
font-weight: var(--fw-medium);
line-height: var(--leading-tight);
line-height: 1.1;
max-width: 28ch;
text-align: center;
}
.comment__name {
margin-top: calc(var(--spacing)*0.5);
text-align: center;
}
.swiper {
width: 100%;
max-width: 700px;
height: auto;
position: relative;
padding-bottom: 40px; /* espace réservé pour les dots */
.swiper-slide{
display: flex;
flex-direction: column;
align-items: center;
}
.comments-slider__dots{
position: absolute;
bottom: 10px; /* espace du bas */
left: 0;
width: 100%;
text-align: center;
.swiper-pagination-bullet{
background-color: var(--grey-600);
opacity: 1;
}
.swiper-pagination-bullet-active{
background-color: var(--color-txt);
opacity: 1;
}
}
}

View file

@ -0,0 +1,63 @@
#section__donation{
display: flex;
align-items: center;
.btn--donation__container{
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: calc(var(--padding-body)*0.75);
@media #{$medium-up}{
width: 420px;
}
@media #{$medium}{
width: 100%;
max-width: 420px;
}
.btn--donation__grow-2{
grid-column: span 2;
}
display: none;
&.is-selected{
display: grid;
}
}
.btn--donation{
background-color: var(--color-txt);
color: var(--color-bg);
border-radius: var(--radius-small);
height: calc(var(--h-block)*2);
.bold{
font-family: var(--title);
font-size: var(--fs-medium);
font-weight: var(--fw-bold);
margin-bottom: 0.25em;
}
.small{
font-family: var(--font);
font-weight: var(--fw-medium);
font-size: var(--fs-small);
}
&:hover{
outline: 4px solid var(--color-accent);
cursor: pointer;
}
}
}

View file

@ -0,0 +1,48 @@
#section__questions{
max-width: 700px;
summary::marker{
content: "";
display: none;
}
summary::-webkit-details-marker{
content: "";
display: none;
}
details{
border-bottom: var(--border);
&:first-of-type{
border-top: var(--border);
}
summary{
padding-top: calc(var(--spacing)*0.25 + 2px);
padding-bottom: calc(var(--spacing)*0.25);
cursor: pointer;
position: relative;
padding-right: 2ch;
}
&[open] summary::after{
content: "";
position: absolute;
right: 0;
}
p{
margin: calc(var(--spacing)*0.5) 0;
}
ul, ol{
margin-bottom: calc(var(--spacing)*0.5);
}
}
}

View file

@ -0,0 +1,120 @@
#section__video{
margin-bottom: calc(var(--spacing)*2);
.btn__deploy{
margin-top: calc(var(--spacing)*1);
--size: var(--h-block);
font-family: var(--font);
font-size: var(--fs-small);
font-weight: var(--fw-normal);
line-height: 1;
border: var(--border-light);
height: var(--size);
border-radius: calc(var(--size)/2);
padding-left: 1.5ch;
padding-right: 2ch;
padding-top: 1px;
position: relative;
cursor: pointer;
display: flex;
align-items: center;
gap: 1ch;
// padding-right: 0.5ch;
font-weight: var(--fw-medium);
text-decoration: none;
cursor: pointer;
svg{
fill: var(--color-txt);
width: 10px;
position: relative;
top: 1px;
left: 1px;
}
}
.videos__ul{
list-style: none;
width: 100%;
margin-top: calc(var(--spacing)*1);
display: none;
.videos__li{
display: flex;
align-items: center;
justify-content: flex-start;
gap: 1ch;
margin-bottom: calc(var(--spacing)*0.5);
cursor: pointer;
.icon{
--size: 20px;
width: var(--size);
height: var(--size);
border-radius: calc(var(--size)/2);
border: var(--border);
display: flex;
align-items: center;
justify-content: center;
}
svg{
fill: var(--color-txt);
width: 7px;
}
}
}
#videos__input{ display: none }
#videos__input:checked ~ .videos__ul{
display: block;
}
}
#video__fullscreen{
width: 100vw;
height: 100vh;
background-color: var(--color-bg);
padding: var(--padding-body);
position: fixed;
top: 0px;
left: 0;
z-index: 3000;
iframe{
width: 90%;
height: 100%;
border: var(--border);
}
#video__close{
height: 10%;
font-size: 20px;
width: 100%;
font-weight: bold;
display: flex;
align-items: top;
justify-content: flex-end;
}
}
body.is-fullscreen{
overflow: hidden;
}