This commit is contained in:
parent
522d975a3a
commit
48e7f21c71
37 changed files with 2595 additions and 1348 deletions
|
|
@ -5,7 +5,9 @@
|
|||
box-sizing: border-box;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-font-smoothing: antialiased;
|
||||
-o-font-smoothing: antialiased
|
||||
-o-font-smoothing: antialiased;
|
||||
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
a {
|
||||
color: currentColor;
|
||||
|
|
@ -27,15 +29,10 @@ body{
|
|||
|
||||
color: var(--color-txt);
|
||||
background-color: var(--color-bg);
|
||||
padding: 0px var(--padding-body);
|
||||
|
||||
width: 100vw;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//temp
|
||||
main{
|
||||
// padding-top: calc(var(--header-h-shrinked) - var(--padding-body));
|
||||
img{
|
||||
max-width: 100%;
|
||||
}
|
||||
|
|
@ -1,14 +1,12 @@
|
|||
$desktop: "screen and (min-width: 1200px)";
|
||||
$medium: "screen and (max-width: 1200px)";
|
||||
$small-up: "screen and (min-width: 720px)";
|
||||
$small: "screen and (max-width: 720px)";
|
||||
$x-small: "screen and (max-width: 560px)";
|
||||
$medium: "screen and (max-width: 1080px)";
|
||||
$medium-up: "screen and (min-width: 1080px)";
|
||||
|
||||
$small-up: "screen and (min-width: 768px)";
|
||||
$small: "screen and (max-width: 768px)";
|
||||
$x-small: "screen and (max-width: 560px)";
|
||||
$paysage: "screen and (max-height: 670px) and (min-width: 1080px)";
|
||||
|
||||
@media #{$medium}{
|
||||
:root{
|
||||
--padding: 16px;
|
||||
--padding-cards: 0.75rem;
|
||||
--padding-cards-small: 0.5rem;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,55 +1,90 @@
|
|||
:root{
|
||||
--font: Arial, sans-serif;
|
||||
:root {
|
||||
--font: 'Executive', Arial, sans-serif;
|
||||
--title: 'System', Arial, sans-serif;
|
||||
|
||||
// --fs-small: 9px;
|
||||
// --font-size: 12px;
|
||||
// --fs-medium: 18px;
|
||||
// --fs-big: 24px;
|
||||
// --fs-xsmall: 10px;
|
||||
// --fs-small: 12px;
|
||||
// --fs-normal: 16px;
|
||||
// --fs-medium: 22px;
|
||||
// --fs-big: 38px;
|
||||
|
||||
--fs-x-small: 9px;
|
||||
--fs-small: 13px;
|
||||
--fs-normal: 18px;
|
||||
--fs-medium: 22px;
|
||||
--fs-xsmall: 10px;
|
||||
--fs-small: 12px;
|
||||
--fs-normal: 16px;
|
||||
--fs-medium: 20px;
|
||||
--fs-big: 30px;
|
||||
--fs-xbig: 38px;
|
||||
|
||||
--fs-button-bold: 22px;
|
||||
|
||||
--max-w-content: 700px;
|
||||
|
||||
@media #{$small} {
|
||||
--fs-medium: 20px;
|
||||
--fs-big: 26px;
|
||||
}
|
||||
|
||||
--leading-tight: 1.05;
|
||||
--leading-normal: 1.2;
|
||||
// --leading-relaxed: 1.4;
|
||||
// --leading-loose: 1.8;
|
||||
|
||||
--fw-normal: 400;
|
||||
--fw-medium: 500;
|
||||
--fw-bold: 600;
|
||||
|
||||
|
||||
--grey-100: #d8d8d8;
|
||||
--grey-200: #c8c8c8;
|
||||
--grey-300: #b9b9b9;
|
||||
--grey-400: #969696;
|
||||
--grey-600: #6d6d6d;
|
||||
--grey-800: #383838;
|
||||
|
||||
--color-bg: #161616;
|
||||
--color-txt: #ffffff;
|
||||
--color-txt-light: var(--grey-400);
|
||||
--color-accent: #00ff00;
|
||||
--color-accent-50: #e9ffe9;
|
||||
--color-accent-100: #d8fdd8;
|
||||
--dark: black;
|
||||
|
||||
|
||||
|
||||
--border: 1px solid var(--color-txt);
|
||||
--border-light: 1px solid var(--grey-800);
|
||||
|
||||
|
||||
--header-h: 80px;
|
||||
--header-h-shrinked: 50px;
|
||||
--menu-w: 420px;
|
||||
--banner-medium: 220px;
|
||||
|
||||
|
||||
|
||||
|
||||
// responsive
|
||||
--padding-body: 26px;
|
||||
--padding-inner: 14px;
|
||||
|
||||
--radius-small: 4px;
|
||||
--radius-btn: 4px;
|
||||
--spacing: 30px;
|
||||
--h-block: 30px;
|
||||
|
||||
--curve: cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
||||
}
|
||||
|
||||
|
||||
@media #{$small}{
|
||||
:root {
|
||||
--fs-xsmall: 10px;
|
||||
--fs-small: 11px;
|
||||
--fs-normal: 14px;
|
||||
--fs-medium: 18px;
|
||||
--fs-big: 28px;
|
||||
--fs-x-big: 36px;
|
||||
--fs-xbig: 32px;
|
||||
|
||||
--leading-tight: 1;
|
||||
--leading-normal: 1.2;
|
||||
// --leading-relaxed: 1.4;
|
||||
// --leading-loose: 1.8;
|
||||
|
||||
--fw-normal: 400;
|
||||
--fw-medium: 600;
|
||||
|
||||
|
||||
--color-bg: #161616;
|
||||
--color-txt: #FFFFFF;
|
||||
--color-accent: #00FF00;
|
||||
--color-accent-50: #e9ffe9;
|
||||
--color-accent-100: #d8fdd8;
|
||||
|
||||
--grey-100: #d8d8d8;
|
||||
--grey-300: #B9B9B9;
|
||||
--grey-400: #969696;
|
||||
--grey-800: #383838;
|
||||
|
||||
--border: 1px solid var(--color-txt);
|
||||
|
||||
|
||||
--header-h: 140px;
|
||||
--header-h-shrinked: 60px;
|
||||
|
||||
|
||||
// responsive
|
||||
--padding-body: 16px;
|
||||
|
||||
|
||||
--radius-small: 4px;
|
||||
--spacing: 40px;
|
||||
--h-block: 40px;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
--header-h: 60px;
|
||||
}
|
||||
}
|
||||
60
assets/css/components/_btn--don.scss
Normal file
60
assets/css/components/_btn--don.scss
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
#btn--don__mobile {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
padding-top: calc(var(--spacing) * 0.5);
|
||||
padding-bottom: calc(var(--spacing) * 1.5);
|
||||
position: fixed;
|
||||
bottom: 0px;
|
||||
left: 0;
|
||||
z-index: 100;
|
||||
opacity: 0;
|
||||
transition: opacity ease-in 0.2s;
|
||||
|
||||
pointer-events: none;
|
||||
&.is-visible {
|
||||
pointer-events: all;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
&.is-sticky {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@media #{$small-up} {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.btn--don {
|
||||
--vertical-padding: 0.5ch;
|
||||
height: calc(var(--h-block) + var(--vertical-padding));
|
||||
border-radius: calc(var(--h-block) / 1);
|
||||
padding: var(--vertical-padding) 2ch;
|
||||
background-color: var(--color-accent);
|
||||
color: var(--color-bg);
|
||||
font-family: var(--font);
|
||||
font-size: var(--fs-medium);
|
||||
font-weight: var(--fw-bold);
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5ch;
|
||||
}
|
||||
|
||||
.icon {
|
||||
height: 28px;
|
||||
position: relative;
|
||||
top: 1px;
|
||||
}
|
||||
|
||||
svg {
|
||||
fill: var(--color-bg);
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,55 +1,157 @@
|
|||
.btn--bold .btn--bold__container{
|
||||
--size: 28px;
|
||||
font-size: var(--fs-big);
|
||||
height: var(--size);
|
||||
button {
|
||||
cursor: pointer;
|
||||
font-family: var(--font);
|
||||
font-size: var(--fons-normal);
|
||||
color: var(--color-txt);
|
||||
&:hover {
|
||||
color: var(--grey-100);
|
||||
}
|
||||
|
||||
position: relative;
|
||||
a {
|
||||
text-decoration: none;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
button:disabled {
|
||||
cursor: auto;
|
||||
}
|
||||
|
||||
.soutenir {
|
||||
a {
|
||||
color: var(--color-accent);
|
||||
&:hover {
|
||||
color: var(--color-accent) !important;
|
||||
text-decoration: underline !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.btn--bold,
|
||||
.btn--bold-inline {
|
||||
display: block;
|
||||
height: calc(var(--h-block) * 1);
|
||||
border: var(--border);
|
||||
border-radius: var(--radius-btn);
|
||||
font-size: var(--fs-small);
|
||||
text-transform: uppercase;
|
||||
line-height: 1;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75ch;
|
||||
padding-right: 1ch;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 0 2ch;
|
||||
padding-top: 4px;
|
||||
}
|
||||
&.no-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0 2ch;
|
||||
padding-top: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.btn--bold {
|
||||
background-color: var(--color-txt);
|
||||
color: var(--color-bg);
|
||||
&:hover {
|
||||
background-color: var(--color-accent);
|
||||
border-color: var(--color-accent);
|
||||
a {
|
||||
color: var(--color-bg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.btn--bold-inline {
|
||||
background-color: var(--color-bg);
|
||||
}
|
||||
|
||||
.btn--bold-inline:hover {
|
||||
background-color: var(--grey-800);
|
||||
color: var(--color-txt);
|
||||
a {
|
||||
background-color: var(--grey-800);
|
||||
color: var(--color-txt);
|
||||
}
|
||||
}
|
||||
|
||||
// DELETE ?
|
||||
|
||||
.btn__default {
|
||||
--size: calc(var(--h-block) - 8px);
|
||||
font-size: var(--fs-normal);
|
||||
font-weight: var(--fw-normal);
|
||||
height: var(--size);
|
||||
padding-right: 1.5ch;
|
||||
|
||||
position: relative;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0ch;
|
||||
// padding-right: 0.5ch;
|
||||
color: var(--color-accent);
|
||||
font-weight: var(--fw-medium);
|
||||
text-decoration: none;
|
||||
|
||||
cursor: pointer;
|
||||
|
||||
.icon,
|
||||
.txt {
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.icon {
|
||||
width: var(--size);
|
||||
height: var(--size);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--color-bg);
|
||||
text-align: center;
|
||||
|
||||
svg {
|
||||
fill: var(--color-bg);
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
|
||||
.txt {
|
||||
font-family: var(--font-title);
|
||||
color: var(--color-accent);
|
||||
|
||||
font-weight: var(--fw-medium);
|
||||
|
||||
text-decoration: none;
|
||||
font-size: var(--fs-normal);
|
||||
font-weight: var(--fw-bold);
|
||||
padding-left: 1ch;
|
||||
}
|
||||
|
||||
cursor: pointer;
|
||||
&::after {
|
||||
content: "";
|
||||
display: block;
|
||||
background-color: var(--color-accent);
|
||||
border-radius: calc(var(--size) / 2);
|
||||
width: var(--size);
|
||||
height: var(--size);
|
||||
position: absolute;
|
||||
left: 0;
|
||||
z-index: 0;
|
||||
transition: width 0.2s;
|
||||
}
|
||||
|
||||
.icon, .txt{ z-index: 10; }
|
||||
|
||||
.icon{
|
||||
width: var(--size);
|
||||
height: var(--size);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding-top: 1px;
|
||||
padding-left: 2px;
|
||||
|
||||
svg{
|
||||
width: 70%;
|
||||
fill: var(--color-bg);
|
||||
}
|
||||
&:hover {
|
||||
//
|
||||
.txt {
|
||||
color: var(--color-bg);
|
||||
display: block;
|
||||
}
|
||||
|
||||
&::before{
|
||||
content: '';
|
||||
display: block;
|
||||
background-color: var(--color-accent);
|
||||
border-radius: calc(var(--size)/2);
|
||||
width: var(--size);
|
||||
height: var(--size);
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
z-index: 0;
|
||||
transition: width .2s
|
||||
&::after {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&:hover{
|
||||
color: var(--color-bg);
|
||||
&::before{
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,74 +0,0 @@
|
|||
.comments-slider {
|
||||
display: flex;
|
||||
overflow-x: auto;
|
||||
scroll-snap-type: x mandatory;
|
||||
scroll-behavior: smooth;
|
||||
gap: 0;
|
||||
padding: 0;
|
||||
scrollbar-width: none; /* Firefox */
|
||||
|
||||
@media #{$small-up}{
|
||||
padding-left: 20%;
|
||||
flex: 0 0 40%;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.comments-slider::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.comment {
|
||||
scroll-snap-align: start;
|
||||
// background-color: #444;
|
||||
|
||||
@media #{$small}{
|
||||
flex: 0 0 calc(100vw - var(--padding-body)*2); /* mobile */
|
||||
padding: 0px 2ch;
|
||||
}
|
||||
@media #{$small-up}{
|
||||
flex: 0 0 40%;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
.comment__text{
|
||||
font-size: var(--fs-medium);
|
||||
font-weight: var(--fw-medium);
|
||||
line-height: 1;
|
||||
max-width: 40ch;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.comment__name {
|
||||
margin-top: calc(var(--spacing)*0.5);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* Dots */
|
||||
.comments-slider__dots {
|
||||
display: flex;
|
||||
@media #{$small-up}{ justify-content: center; }
|
||||
@media #{$small}{ justify-content: flex-end; }
|
||||
margin-top: 0.5rem;
|
||||
gap: 0.4rem;
|
||||
margin-top: calc(var(--spacing)*1.5);
|
||||
}
|
||||
.comments-slider__dots button {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
border: none;
|
||||
background: var(--grey-400);
|
||||
cursor: pointer;
|
||||
transition: background 0.3s;
|
||||
}
|
||||
.comments-slider__dots button.active {
|
||||
background: var(--color-txt);
|
||||
}
|
||||
|
||||
|
|
@ -4,26 +4,26 @@
|
|||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
|
||||
max-width: 36ch;
|
||||
|
||||
margin: calc(var(--spacing)*1) auto;
|
||||
margin-top: calc(var(--spacing)*1.5);
|
||||
|
||||
|
||||
input[type="email"]{
|
||||
|
||||
height: var(--h-block);
|
||||
height: calc(var(--h-block)*1.25);
|
||||
width: 100%;
|
||||
border-radius: calc(var(--h-block)*0.5);
|
||||
border-radius: calc(var(--h-block)*0.625);
|
||||
outline: none;
|
||||
border: none;
|
||||
padding: 0 1ch;
|
||||
padding: 0 2ch;
|
||||
font-family: var(--font);
|
||||
|
||||
font-size: var(--fs-medium);
|
||||
font-size: var(--fs-normal);
|
||||
z-index: 40;
|
||||
padding-top: 4px;
|
||||
&::placeholder{
|
||||
font-size: var(--fs-medium);
|
||||
font-family: var(--font);
|
||||
font-size: var(--fs-normal);
|
||||
}
|
||||
|
||||
&:focus{
|
||||
|
|
@ -33,49 +33,95 @@
|
|||
|
||||
}
|
||||
|
||||
|
||||
button[type="submit"].btn--bold{
|
||||
|
||||
z-index: 50;
|
||||
button[type="submit"].btn--newletter{
|
||||
position: absolute;
|
||||
right: 3px;
|
||||
right: 2px;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.btn--bold__container{
|
||||
z-index: 50;
|
||||
padding-right: 0;
|
||||
|
||||
&::before{
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
button[type="submit"].btn--newletter {
|
||||
|
||||
|
||||
.txt{
|
||||
font-size: var(--fs-medium);
|
||||
display: none;
|
||||
padding-left: 1ch;
|
||||
}
|
||||
--size: calc(var(--h-block)*1.25 - 4px);
|
||||
font-family: var(--font);
|
||||
font-size: var(--fs-button-bold);
|
||||
height: var(--size);
|
||||
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75ch;
|
||||
color: var(--color-accent);
|
||||
font-weight: var(--fw-medium);
|
||||
text-decoration: none;
|
||||
|
||||
&:hover{
|
||||
.txt{
|
||||
display: block;
|
||||
}
|
||||
cursor: pointer;
|
||||
|
||||
|
||||
.icon, .txt{ z-index: 10; }
|
||||
|
||||
.icon{
|
||||
width: var(--size);
|
||||
height: var(--size);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--color-bg);
|
||||
text-align: center;
|
||||
|
||||
svg{
|
||||
fill: var(--color-bg);
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// shadow on input
|
||||
&::before{
|
||||
.txt{
|
||||
position: relative;
|
||||
top: 2px;
|
||||
font-size: var(--fs-normal);
|
||||
display: none;
|
||||
padding-left: 1ch;
|
||||
}
|
||||
|
||||
&::after{
|
||||
content: '';
|
||||
display: block;
|
||||
width: 120px;
|
||||
height: 30px;
|
||||
background: linear-gradient(90deg,transparent 0%, var(--color-txt) 80%);
|
||||
position: absolute;
|
||||
left: -110px;
|
||||
z-index: 40;
|
||||
background-color: var(--color-accent);
|
||||
border-radius: calc(var(--size)/2);
|
||||
width: var(--size);
|
||||
height: var(--size);
|
||||
position: absolute;
|
||||
right: 0;
|
||||
z-index: 0;
|
||||
transition: width .2s
|
||||
}
|
||||
|
||||
&:hover{
|
||||
.txt{
|
||||
color: var(--color-bg);
|
||||
display: block;
|
||||
}
|
||||
&::after{
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
// @media #{$small}{
|
||||
// .txt{
|
||||
// color: var(--color-bg);
|
||||
// display: block;
|
||||
// }
|
||||
// &::after{
|
||||
// width: 100%;
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -1,51 +0,0 @@
|
|||
.gauge__container{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
#gauge{
|
||||
width: 100%;
|
||||
margin-bottom: calc(var(--spacing)*0.25);
|
||||
height: calc(var(--h-block)*0.5);
|
||||
border-radius: calc(var(--h-block)*0.25);
|
||||
background-color: var(--grey-400);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
&::before{
|
||||
content: '';
|
||||
display: block;
|
||||
height: calc(var(--h-block)*0.5);
|
||||
border-radius: calc(var(--h-block)*0.25);
|
||||
width: 0%;
|
||||
background-color: var(--color-txt);
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
animation: fillGauge 1s ease forwards;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@keyframes fillGauge {
|
||||
from {
|
||||
width: 0%;
|
||||
}
|
||||
to {
|
||||
width: var(--pourcent);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.gauge--infos{
|
||||
.property{
|
||||
font-size: var(--fs-small);
|
||||
padding-bottom: 3px;
|
||||
}
|
||||
|
||||
&:last-of-type{
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1 +0,0 @@
|
|||
|
||||
34
assets/css/components/_keywords.scss
Normal file
34
assets/css/components/_keywords.scss
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
.keywords{
|
||||
list-style: none;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 1ch;
|
||||
|
||||
li{
|
||||
height: var(--h-block);
|
||||
border-radius: calc(var(--h-block)*0.5);
|
||||
border: var(--border-light);
|
||||
font-size: var(--fs-normal);
|
||||
overflow: hidden;
|
||||
|
||||
a{
|
||||
text-decoration: none;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 1.5ch;
|
||||
line-height: 1;
|
||||
padding-top: 2px;
|
||||
|
||||
}
|
||||
|
||||
&:hover{
|
||||
border-color: var(--color-txt);
|
||||
a{
|
||||
color: currentColor;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,32 +1,57 @@
|
|||
.list-socials{
|
||||
list-style-type: none;
|
||||
|
||||
li {
|
||||
margin-bottom: calc(var(--spacing)*0.25);
|
||||
.link--external{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1ch;
|
||||
text-decoration: none;
|
||||
|
||||
|
||||
|
||||
.icon svg {
|
||||
width: 25px;
|
||||
fill: var(--color-txt);
|
||||
}
|
||||
|
||||
.arrow svg{
|
||||
position: relative;
|
||||
top: 3px;
|
||||
width: 12px;
|
||||
fill: var(--grey-400);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
.list-socials {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
max-width: 400px;
|
||||
a{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.icon{
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
position: relative;
|
||||
top: -2px;
|
||||
}
|
||||
svg{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
.text{ display: none; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
// with text
|
||||
@media #{$small-up}{
|
||||
.footer__socials .list-socials{
|
||||
|
||||
display: block;
|
||||
|
||||
li{
|
||||
margin-bottom: calc(var(--spacing)*0.5);
|
||||
break-inside: avoid;
|
||||
}
|
||||
|
||||
a{
|
||||
gap: 1ch;
|
||||
|
||||
height: calc(var(--spacing)*1);
|
||||
&::after{
|
||||
content: '↗';
|
||||
color: var(--grey-300);
|
||||
}
|
||||
}
|
||||
.text{
|
||||
display: block;
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
122
assets/css/components/_modal-share.scss
Normal file
122
assets/css/components/_modal-share.scss
Normal file
|
|
@ -0,0 +1,122 @@
|
|||
.modal--share{
|
||||
border: var(--border);
|
||||
border-radius: var(--radius-btn);
|
||||
background-color: var(--color-bg);
|
||||
padding: var(--padding-inner);
|
||||
padding-top: calc( var(--padding-inner)*0.5);
|
||||
padding-bottom: calc( var(--padding-inner)*1.5);
|
||||
|
||||
.modal-title{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.socials{
|
||||
display: block;
|
||||
list-style: none;
|
||||
|
||||
li{
|
||||
font-size: var(--fs-normal);
|
||||
padding-bottom: 6px;
|
||||
border-bottom: var(--border-light);
|
||||
padding-top: 6px;
|
||||
|
||||
a{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1ch;
|
||||
text-decoration: none;
|
||||
}
|
||||
.icon {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
svg{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
.text{
|
||||
position: relative;
|
||||
top: 2px;
|
||||
}
|
||||
&:hover{
|
||||
color: var(--color-accent);
|
||||
|
||||
.icon svg,
|
||||
.icon svg path,
|
||||
.icon svg rect{
|
||||
fill: var(--color-accent)!important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
.copy-link{
|
||||
display: flex;
|
||||
gap: 0.5ch;
|
||||
margin-top: calc(var(--spacing)*0.75);
|
||||
|
||||
.copy-link__field{
|
||||
flex-grow: 1;
|
||||
display: grid;
|
||||
grid-template-columns: var(--h-block) 1fr;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.icon{
|
||||
display: flex;
|
||||
width: var(--h-block);
|
||||
height: 100%;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
// top: -2px;
|
||||
grid-row: 1;
|
||||
grid-column: 1;
|
||||
}
|
||||
.icon svg{
|
||||
width: 12px;
|
||||
}
|
||||
input{
|
||||
font-size: var(--fs-small);
|
||||
font-family: var(--font);
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--color-txt);
|
||||
padding-top: 2px;
|
||||
grid-column: 1/end;
|
||||
grid-row: 1;
|
||||
padding-left: var(--h-block);
|
||||
padding-right: 0.5ch;
|
||||
border: var(--border-light);
|
||||
border-radius: var(--radius-btn);
|
||||
height: var(--h-block);
|
||||
&:focus{
|
||||
border-color: var(--color-txt);
|
||||
outline: none;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
button{
|
||||
background-color: var(--color-txt);
|
||||
color: var(--color-bg);
|
||||
border-radius: var(--radius-btn);
|
||||
padding: 0 1ch;
|
||||
font-size: var(--fs-small);
|
||||
padding-top: 2px;
|
||||
&:hover{
|
||||
background-color: var(--color-accent);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
.nav--tabs{
|
||||
height: var(--h-block);
|
||||
height: calc(var(--h-block)*1);
|
||||
width: auto;
|
||||
border: var(--border);
|
||||
border-radius: var(--radius-small);
|
||||
|
|
@ -14,8 +14,10 @@
|
|||
|
||||
|
||||
.nav--tabs__btn{
|
||||
font-family: var(--font);
|
||||
font-size: var(--fs-small);
|
||||
padding: 0 1ch;
|
||||
font-weight: var(--fw-medium);
|
||||
padding: 0 2ch;
|
||||
|
||||
&.is-selected{
|
||||
background-color: var(--color-txt);
|
||||
|
|
|
|||
|
|
@ -1,53 +0,0 @@
|
|||
.player__container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
|
||||
|
||||
.player__element {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
overflow: hidden;
|
||||
// display: none;
|
||||
|
||||
|
||||
.player__btn {
|
||||
svg {
|
||||
fill: var(--color-txt);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
position: absolute;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
img,
|
||||
video {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
.player__iframe {
|
||||
display: none;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
iframe{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -1,21 +1,47 @@
|
|||
#page-don{
|
||||
|
||||
// text -----------------------------------------
|
||||
[data-template="subscription-newsletter"],
|
||||
[data-template="thanks"],
|
||||
[data-template="support"],
|
||||
[data-template="store"]{
|
||||
|
||||
.p__baseline-big{
|
||||
font-family: var(--title);
|
||||
font-size: var(--fs-big);
|
||||
font-weight: var(--fw-medium);
|
||||
line-height: var(--leading-tight);
|
||||
font-weight: var(--fw-bold);
|
||||
line-height: 1.1;
|
||||
text-align: center;
|
||||
margin: calc(var(--spacing)*1.75) 0;
|
||||
margin: calc(var(--spacing)*1) 0;
|
||||
|
||||
strong{
|
||||
font-weight: var(--fw-bolf);
|
||||
color: var(--color-accent);
|
||||
}
|
||||
|
||||
.link-don{
|
||||
display: block;
|
||||
color: var(--color-accent);
|
||||
text-decoration: none;
|
||||
// &::after{
|
||||
// content: ' ↗';
|
||||
// font-size: 0.8em;
|
||||
// }
|
||||
&:hover{
|
||||
text-decoration: underline 2px;
|
||||
text-underline-offset: 4px;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.p__baseline{
|
||||
font-size: var(--fs-medium);
|
||||
font-weight: var(--fw-medium);
|
||||
line-height: var(--leading-tight);
|
||||
line-height: 1.1;
|
||||
text-align: center;
|
||||
margin: var(--spacing) 0;
|
||||
margin: calc(var(--spacing)*1) 0;
|
||||
@media #{$small}{
|
||||
text-align: center;
|
||||
margin: var(--spacing) 0;
|
||||
}
|
||||
}
|
||||
|
||||
.p__details{
|
||||
|
|
@ -24,42 +50,19 @@
|
|||
color: var(--grey-400);
|
||||
}
|
||||
|
||||
|
||||
// heading ---------------------------------------------
|
||||
|
||||
.hero-heading{
|
||||
font-size: var(--fs-x-big);
|
||||
line-height: var(--leading-tight);
|
||||
font-weight: var(--fw-medium);
|
||||
display: inline;
|
||||
background: var(--color-txt);
|
||||
color: var(--color-bg);
|
||||
padding: 0 0.3em;
|
||||
box-decoration-break: clone;
|
||||
-webkit-box-decoration-break: clone;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.section__heading{
|
||||
font-size: var(--fs-medium);
|
||||
font-weight: var(--fw-medium);
|
||||
line-height: 1;
|
||||
|
||||
height: calc(var(--spacing)*3);
|
||||
border-bottom: var(--border);
|
||||
text-align: center;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.subsection__heading{
|
||||
font-size: var(--fs-normal);
|
||||
font-weight: var(--fw-medium);
|
||||
line-height: 1;
|
||||
margin-top: calc(var(--spacing)*0.75);
|
||||
margin-bottom: calc(var(--spacing)*1);
|
||||
text-align: center;
|
||||
margin-top: calc(var(--spacing)*0.5);
|
||||
margin-bottom: calc(var(--spacing)*1);
|
||||
}
|
||||
|
||||
ul, ol{
|
||||
margin-left: 3ch;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,44 +0,0 @@
|
|||
#section__donation{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
|
||||
|
||||
.btn--donation__container{
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-gap: var(--padding-body);
|
||||
margin-bottom: calc(var(--spacing)*0.75);
|
||||
|
||||
.btn--donation__grow-2{
|
||||
grid-column: span 2;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.btn--donation{
|
||||
background-color: var(--color-txt);
|
||||
color: var(--color-bg);
|
||||
border-radius: var(--radius-small);
|
||||
height: calc(var(--h-block)*2);
|
||||
|
||||
.bold{
|
||||
font-size: var(--fs-medium);
|
||||
font-weight: var(--fw-medium);
|
||||
margin-bottom: 0.25em;
|
||||
}
|
||||
|
||||
.small{
|
||||
font-size: var(--fs-small);
|
||||
}
|
||||
|
||||
&:hover{
|
||||
background-color: var(--color-accent-50);
|
||||
// outline: 4px solid var(--color-accent);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
#section__hero{
|
||||
|
||||
|
||||
.hero-heading__container{
|
||||
text-align: center;
|
||||
margin-top: calc(var(--spacing)*1.5);
|
||||
margin-bottom: calc(var(--spacing)*1.5);
|
||||
}
|
||||
|
||||
|
||||
|
||||
.btn--bold{
|
||||
display: block;
|
||||
margin: var(--spacing) auto;
|
||||
margin-bottom: calc(var(--spacing)*1.5);
|
||||
}
|
||||
|
||||
.jauge__container{
|
||||
margin-top: calc(var(--spacing)*1.5);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
#section__player{
|
||||
|
||||
position: relative;
|
||||
left: calc(var(--padding-body)*-1);
|
||||
|
||||
@media #{$small}{
|
||||
width: 100vw;
|
||||
// aspect-ratio: 1/1;
|
||||
.player__container, .player__element, .player__iframe, iframe{
|
||||
width: 100%;
|
||||
height: 75vh;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media #{$small-up}{
|
||||
position: relative;
|
||||
width: 100vw;
|
||||
height: 60vh;
|
||||
.player__container, .player__element, .player__iframe, iframe{
|
||||
width: 100%;
|
||||
height: 60vh;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -1,78 +0,0 @@
|
|||
#section__questions{
|
||||
details{
|
||||
border-bottom: var(--border);
|
||||
|
||||
|
||||
summary{
|
||||
height: calc(var(--h-block)*1);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
cursor: pointer;
|
||||
|
||||
&::after{
|
||||
content: "▶";
|
||||
font-size: 0.8em;
|
||||
color: var(--grey-400);
|
||||
}
|
||||
}
|
||||
|
||||
p{
|
||||
padding-top: calc(var(--spacing)*0.25);
|
||||
margin-bottom: var(--spacing);
|
||||
border-top: var(--border);
|
||||
}
|
||||
|
||||
|
||||
&::details-content {
|
||||
|
||||
max-height: 0;
|
||||
transition: max-height ease-in .5s;
|
||||
overflow: hidden;
|
||||
|
||||
// display: grid;
|
||||
// grid-template-rows: 0fr;
|
||||
// overflow: hidden;
|
||||
// transition: grid-template-rows 1s;
|
||||
|
||||
}
|
||||
|
||||
&[open]{
|
||||
|
||||
|
||||
|
||||
&::details-content {
|
||||
max-height: 1000px;
|
||||
filter: none;
|
||||
}
|
||||
|
||||
|
||||
summary::after{
|
||||
transform: rotate(90deg);
|
||||
transform-origin: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
.btn--bold{
|
||||
display: block;
|
||||
margin: calc(var(--spacing) * 1.5) auto;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
// @keyframes fadeInDown {
|
||||
// 0% {
|
||||
// opacity: 0;
|
||||
// transform: translateY(-1.25em);
|
||||
// }
|
||||
// 100% {
|
||||
// opacity: 1;
|
||||
// transform: translateY(0);
|
||||
// }
|
||||
// }
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
#section__socials{
|
||||
|
||||
.list-socials{
|
||||
columns: 2;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
#section__store{
|
||||
|
||||
|
||||
.store__product{
|
||||
|
||||
|
||||
margin-top: calc(var(--spacing)*1.5);
|
||||
margin-bottom: calc(var(--spacing)*0.5);
|
||||
position: relative;
|
||||
|
||||
figure{
|
||||
aspect-ratio: 4/3;
|
||||
background-color: var(--color-bg);
|
||||
background-color: var(--data-bg);
|
||||
margin-bottom: calc(var(--spacing)*0.5);
|
||||
|
||||
|
||||
}
|
||||
img{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
a{
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.link-block{
|
||||
display: block;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
.section__page-don:not(#section__player), .subsection__page-don{
|
||||
border-bottom: var(--border);
|
||||
padding-bottom: calc(var(--spacing)*2);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@media #{$small}{
|
||||
|
||||
#section__hero, #section__comments{
|
||||
padding-bottom: calc(var(--spacing)*0.5)!important;
|
||||
}
|
||||
|
||||
}
|
||||
12
assets/css/partials/_main-layout.scss
Normal file
12
assets/css/partials/_main-layout.scss
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
body {
|
||||
min-height: 100dvh;
|
||||
min-height: 100vh;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
main {
|
||||
flex-grow: 1;
|
||||
padding: 0 var(--padding-body);
|
||||
}
|
||||
}
|
||||
94
assets/css/partials/_site-footer.scss
Normal file
94
assets/css/partials/_site-footer.scss
Normal file
|
|
@ -0,0 +1,94 @@
|
|||
#site-footer{
|
||||
|
||||
background-color: var(--dark);
|
||||
padding: calc(var(--padding-body)*2) var(--padding-body);
|
||||
|
||||
|
||||
.logo {
|
||||
margin-top: calc(var(--spacing)*0.25);
|
||||
margin-bottom: calc(var(--spacing)*1);
|
||||
svg{
|
||||
width: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
p{
|
||||
margin: calc(var(--spacing)*0.5) 0;
|
||||
a{
|
||||
text-decoration: none;
|
||||
&:hover{
|
||||
text-decoration: underline;
|
||||
color: currentColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.p__small{
|
||||
font-size: var(--fs-xsmall);
|
||||
color: var(--grey-600);
|
||||
}
|
||||
|
||||
.footer__mentions{
|
||||
p{
|
||||
font-size: var(--fs-small);
|
||||
color: var(--color-txt)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@media #{$small}{
|
||||
margin-top: calc(var(--spacing)*2);
|
||||
|
||||
|
||||
.footer__socials{
|
||||
margin-top: calc(var(--spacing)*0.75);
|
||||
padding-top: calc(var(--spacing)*0.25);
|
||||
border-top: var(--border-light);
|
||||
|
||||
.list-socials{
|
||||
margin-top: calc(var(--spacing)*0.5);
|
||||
margin-bottom: calc(var(--spacing)*0.75);
|
||||
}
|
||||
}
|
||||
.footer__mentions{
|
||||
|
||||
border-top: var(--border-light);
|
||||
padding-top: calc(var(--spacing)*0.25);
|
||||
p{
|
||||
font-size: var(--fs-small);
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@media #{$small-up}{
|
||||
|
||||
.site-footer__container{
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
column-gap: calc(var(--spacing)*2);
|
||||
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.footer__socials .container{
|
||||
max-width: 400px;
|
||||
columns: 2;
|
||||
margin-top: calc(var(--spacing)*1);
|
||||
}
|
||||
|
||||
.footer__mentions{
|
||||
grid-column: span 2;
|
||||
p{
|
||||
margin-top: calc(var(--spacing)*1);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -1,110 +1,150 @@
|
|||
#site-header{
|
||||
@keyframes add-border {
|
||||
from {
|
||||
border-bottom-color: transparent;
|
||||
}
|
||||
to {
|
||||
border-bottom: var(--grey-800);
|
||||
}
|
||||
}
|
||||
|
||||
position: fixed;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
z-index: 100000;
|
||||
#site-header {
|
||||
|
||||
width: 100vw;
|
||||
height: var(--header-h);
|
||||
padding: 0 var(--padding-body);
|
||||
z-index: 900;
|
||||
--gap: 3ch;
|
||||
|
||||
background-color: transparent;
|
||||
border-bottom: var(--border);
|
||||
border-color: transparent;
|
||||
width: 100vw;
|
||||
height: var(--header-h);
|
||||
background-color: var(--color-bg);
|
||||
padding: 0 var(--padding-body);
|
||||
|
||||
// display: grid;
|
||||
// grid-template-columns: 1fr;
|
||||
.site-header__inner{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: var(--gap);
|
||||
}
|
||||
|
||||
.burger svg{
|
||||
fill: var(--color-txt);
|
||||
width: 40px;
|
||||
|
||||
a{
|
||||
text-decoration: none;
|
||||
&:hover{
|
||||
color: var(--grey-200);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#site-title {
|
||||
flex-grow: 2;
|
||||
svg{
|
||||
width: 100px;
|
||||
@media #{$small}{
|
||||
width: 80px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.title-page{
|
||||
display: none;
|
||||
flex-grow: 2;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
text-transform: uppercase;
|
||||
font-size: var(--fs-small);
|
||||
line-height: 2;
|
||||
|
||||
}
|
||||
|
||||
ul{
|
||||
list-style-type: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--gap);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
|
||||
#theme-toggle{
|
||||
width: var(--h-block);
|
||||
height: var(--h-block);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
svg{
|
||||
width: 18px;
|
||||
position: relative;
|
||||
top: -2px;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#lang-toggle{
|
||||
display: flex;
|
||||
gap: 1ch;
|
||||
button:disabled{ color: var(--color-txt-light); }
|
||||
}
|
||||
|
||||
#menu-toggle{
|
||||
cursor: pointer;
|
||||
svg{
|
||||
width: 30px;
|
||||
}
|
||||
.close{ display: none; }
|
||||
|
||||
}
|
||||
|
||||
.site-title{
|
||||
display: flex;
|
||||
width: 120px;
|
||||
overflow: hidden;
|
||||
svg{
|
||||
fill: var(--color-txt);
|
||||
|
||||
}
|
||||
button{
|
||||
|
||||
&:hover{
|
||||
svg{ fill: var(--grey-200)!important; }
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
#site-header.is-visible{
|
||||
position: fixed;
|
||||
top: 0;
|
||||
|
||||
nav{
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
opacity: 0;
|
||||
.site-header__inner{
|
||||
border-bottom: var(--border-light);
|
||||
|
||||
#nav-highlight li:not(.soutenir){
|
||||
display: none;
|
||||
}
|
||||
nav ul{
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 2ch;
|
||||
list-style: none;
|
||||
#site-title {
|
||||
@media #{$small-up}{
|
||||
flex-grow: 0;
|
||||
width: calc((100vw - var(--max-w-content))/2 - var(--padding-body)*2);
|
||||
}
|
||||
@media #{$medium}{
|
||||
width: calc(var(--banner-medium) - var(--padding-body));
|
||||
}
|
||||
}
|
||||
|
||||
.title-page{
|
||||
@media #{$small-up}{
|
||||
display: block;
|
||||
}
|
||||
flex-grow: 2;
|
||||
}
|
||||
}
|
||||
|
||||
& ~ main{
|
||||
margin-top: var(--header-h);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.header-left, .header-right{
|
||||
width: 100px;
|
||||
}
|
||||
@media #{$medium}{
|
||||
#nav-highlight{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.header-center{
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
#go-to-panier{
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
gap: 1ch;
|
||||
text-decoration: none;
|
||||
|
||||
|
||||
#go-to-panier__nbr{
|
||||
|
||||
min-width: 2.6ch;
|
||||
height: 2.6ch;
|
||||
border-radius: 1.3ch;
|
||||
border: var(--border);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0 6px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
&.is-shrinked{
|
||||
background-color: var(--color-bg);
|
||||
height: var(--header-h-shrinked);
|
||||
transition: ease-in .3s;
|
||||
border-color: var(--color-txt);
|
||||
|
||||
nav{
|
||||
height: var(--h-block);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.site-title{
|
||||
opacity: 0;
|
||||
height: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
108
assets/css/partials/_site-menu.scss
Normal file
108
assets/css/partials/_site-menu.scss
Normal file
|
|
@ -0,0 +1,108 @@
|
|||
#site-menu{
|
||||
position: fixed;
|
||||
width: var(--menu-w);
|
||||
@media #{$small}{ width: 100vw; }
|
||||
height: calc(100dvh - var(--header-h));
|
||||
height: calc(100vh - var(--header-h));
|
||||
top: var(--header-h);
|
||||
right: calc(var(--menu-w)*-1);
|
||||
transition: right .3s ease-in;
|
||||
background-color: var(--color-bg);
|
||||
border-left: var(--border-light);
|
||||
padding: var(--padding-body);
|
||||
z-index: 1000;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
// display: none;
|
||||
|
||||
// .baseline{
|
||||
// font-size: var(--fs-medium);
|
||||
// }
|
||||
|
||||
form{
|
||||
margin-top: calc(var(--spacing)*1);
|
||||
margin-bottom: calc(var(--spacing)*1);
|
||||
--icon: 40px;
|
||||
display: grid;
|
||||
grid-template-columns: var(--icon) 1fr;
|
||||
input{
|
||||
grid-column: 1/3;
|
||||
grid-row: 1;
|
||||
height: calc(var(--h-block) * 1.5);
|
||||
width: 100%;
|
||||
background: var(--color-bg);
|
||||
border: 1px solid var(--color-txt);
|
||||
padding-left: var(--icon);
|
||||
font-family: var(--font);
|
||||
font-size: var(--fs-normal);
|
||||
color: var(--color-txt);
|
||||
padding-top: 3px;
|
||||
&::placeholder{
|
||||
font-family: var(--font);
|
||||
font-size: var(--fs-normal);
|
||||
color: var(--color-txt);
|
||||
}
|
||||
&:focus{
|
||||
border-color: var(--color-accent);
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
|
||||
.icon{
|
||||
grid-column: 1;
|
||||
grid-row: 1;
|
||||
z-index: 10;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
svg{
|
||||
width: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
nav{
|
||||
flex-grow: 1;
|
||||
ul{
|
||||
list-style-type: none;
|
||||
text-transform: uppercase;
|
||||
li{
|
||||
font-size: var(--fs-normal);
|
||||
a{
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
padding: 0.5em 0;
|
||||
&:hover{
|
||||
text-decoration: underline;
|
||||
// color: var(--grey-200);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.highlight{
|
||||
text-transform: uppercase;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
body.menu-open{
|
||||
overflow: hidden;
|
||||
main, footer, #nav-highlight{
|
||||
transition: opacity .3s ease-in;
|
||||
opacity: 0.1;
|
||||
}
|
||||
#site-menu{
|
||||
right: 0;
|
||||
|
||||
}
|
||||
|
||||
#menu-toggle{
|
||||
.open{ display: none; }
|
||||
.close{ display: block!important; }
|
||||
}
|
||||
|
||||
}
|
||||
1647
assets/css/style.css
1647
assets/css/style.css
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
|
|
@ -1,29 +1,26 @@
|
|||
@charset "UTF-8";
|
||||
@import "base/var";
|
||||
@import "base/body";
|
||||
@import "base/responsive";
|
||||
@import 'base/responsive';
|
||||
@import 'base/var';
|
||||
@import 'base/body';
|
||||
|
||||
@import "components/text";
|
||||
@import "components/heading";
|
||||
@import "components/buttons";
|
||||
@import "components/nav-tabs";
|
||||
@import "components/list-socials";
|
||||
@import 'partials/site-header';
|
||||
|
||||
@import "components/player";
|
||||
@import "components/gauge";
|
||||
@import "components/form-newsletter";
|
||||
@import "components/comments-slider";
|
||||
// @import 'components/nav-tabs';
|
||||
// @import 'components/btn--default';
|
||||
@import 'components/buttons';
|
||||
@import 'components/keywords';
|
||||
@import 'components/form-newsletter';
|
||||
@import 'components/list-socials';
|
||||
@import 'components/modal-share';
|
||||
@import 'components/text';
|
||||
|
||||
|
||||
@import "partials/site-header";
|
||||
@import 'partials/site-header';
|
||||
@import 'partials/site-menu';
|
||||
@import 'partials/site-footer';
|
||||
@import 'partials/main-layout';
|
||||
|
||||
|
||||
@import "pages/dons/sections";
|
||||
@import "pages/dons/section-player";
|
||||
@import "pages/dons/section-hero";
|
||||
@import "pages/dons/section-store";
|
||||
@import "pages/dons/section-donation";
|
||||
@import "pages/dons/section-questions";
|
||||
@import "pages/dons/section-socials";
|
||||
@import 'template/page-enquete';
|
||||
|
||||
|
||||
|
|
|
|||
324
assets/css/template/_page-enquete.scss
Normal file
324
assets/css/template/_page-enquete.scss
Normal file
|
|
@ -0,0 +1,324 @@
|
|||
.page-enquete {
|
||||
position: relative;
|
||||
|
||||
header {
|
||||
.page-type {
|
||||
text-transform: uppercase;
|
||||
color: var(--color-txt-light);
|
||||
margin-bottom: calc(var(--spacing) * 0.5);
|
||||
}
|
||||
h2 {
|
||||
font-size: var(--fs-xbig);
|
||||
line-height: var(--leading-tight);
|
||||
}
|
||||
}
|
||||
|
||||
.section__article {
|
||||
a:hover {
|
||||
color: var(--grey-200);
|
||||
}
|
||||
.section__title {
|
||||
font-weight: normal;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: calc(var(--spacing) * 0.5);
|
||||
}
|
||||
}
|
||||
|
||||
#hero {
|
||||
width: 100vw;
|
||||
position: relative;
|
||||
left: calc(var(--padding-body) * -1);
|
||||
|
||||
figcaption {
|
||||
color: var(--color-txt-light);
|
||||
font-size: var(--fs-small);
|
||||
padding-top: calc(var(--spacing) * 0.5);
|
||||
}
|
||||
|
||||
&.hero-video {
|
||||
figure {
|
||||
width: 100%;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
aspect-ratio: 16/9;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#nav--page {
|
||||
ul {
|
||||
list-style: none;
|
||||
li {
|
||||
text-align: center;
|
||||
color: var(--color-txt-light);
|
||||
a {
|
||||
display: block;
|
||||
padding: 0.3em 0;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#section__short {
|
||||
font-size: var(--fs-medium);
|
||||
}
|
||||
|
||||
#section__dl {
|
||||
margin-top: calc(var(--spacing) * 1.5);
|
||||
border-bottom: var(--border-light);
|
||||
|
||||
.dl__group {
|
||||
display: grid;
|
||||
grid-template-columns: 40% 1fr;
|
||||
border-top: var(--border-light);
|
||||
padding: calc(var(--spacing) * 0.5) 0;
|
||||
}
|
||||
|
||||
dt {
|
||||
color: var(--color-txt-light);
|
||||
padding-right: 1ch;
|
||||
}
|
||||
|
||||
ul:not(.keywords) {
|
||||
list-style: none;
|
||||
li {
|
||||
padding-bottom: 0.2em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#section__synthese {
|
||||
p + p {
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
|
||||
h4 {
|
||||
margin-top: 2em;
|
||||
margin-bottom: 1em;
|
||||
font-size: var(--fs-normal);
|
||||
font-weight: normal;
|
||||
text-decoration: 1px underline var(--color-txt-light);
|
||||
text-underline-offset: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// SHARE ACTIONS --------------------------------------------------
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
#share-banner__desktop {
|
||||
display: none;
|
||||
}
|
||||
#share-banner__desktop ~ .modal--share {
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: opacity 0.2s ease-in;
|
||||
}
|
||||
|
||||
#share-banner__desktop:checked ~ .modal--share {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
// .page-enquete{
|
||||
// #banner--page.is-sticky {
|
||||
// position: fixed;
|
||||
// bottom: 0;
|
||||
// left: 0;
|
||||
// right: 0;
|
||||
// z-index: 100;
|
||||
// }
|
||||
// }
|
||||
|
||||
// SMALL ----------------------------------------------------------
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
@media #{$small} {
|
||||
.page-enquete {
|
||||
header {
|
||||
padding-top: calc(var(--spacing) * 1.5);
|
||||
.page-type {
|
||||
font-size: var(--fs-small);
|
||||
}
|
||||
}
|
||||
|
||||
.section__article {
|
||||
margin: calc(var(--spacing) * 1.5) 0;
|
||||
}
|
||||
|
||||
#section__impacts,
|
||||
#section__en-lien {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
#hero {
|
||||
margin: calc(var(--spacing) * 1.5) 0;
|
||||
figcaption {
|
||||
margin: 0 var(--padding-body);
|
||||
}
|
||||
}
|
||||
|
||||
.modal--share {
|
||||
position: absolute;
|
||||
width: calc(100% - var(--padding-body) * 2);
|
||||
bottom: calc(var(--spacing) * 2);
|
||||
}
|
||||
|
||||
#banner--page {
|
||||
padding: calc(var(--spacing) * 0.5) 0;
|
||||
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
padding: calc(var(--spacing) * 0.75) var(--padding-body);
|
||||
padding-top: var(--spacing);
|
||||
background-color: var(--color-bg);
|
||||
background: linear-gradient(
|
||||
0deg,
|
||||
var(--color-bg) 0%,
|
||||
var(--color-bg) 64%,
|
||||
transparent 100%
|
||||
);
|
||||
z-index: 800;
|
||||
|
||||
#nav--page {
|
||||
display: none;
|
||||
}
|
||||
.btn--group {
|
||||
display: flex;
|
||||
gap: calc(var(--spacing) * 0.25);
|
||||
position: relative;
|
||||
|
||||
> button,
|
||||
> label {
|
||||
width: 50%;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// action
|
||||
|
||||
#banner--page {
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: opacity 0.2s ease-in;
|
||||
}
|
||||
|
||||
#banner--page.is-visible {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media #{$x-small} {
|
||||
.page-enquete {
|
||||
#section__dl .dl__group {
|
||||
grid-template-columns: 32% 1fr;
|
||||
column-gap: 1ch;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// DESKTOP ----------------------------------------------------------
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
@media #{$small-up} {
|
||||
.page-enquete {
|
||||
#banner--page {
|
||||
height: calc(100vh - var(--header-h));
|
||||
height: calc(100dvh - var(--header-h));
|
||||
margin-bottom: calc((100vh - var(--header-h)) * -1);
|
||||
margin-bottom: calc((100dvh - var(--header-h)) * -1);
|
||||
padding: var(--padding-body);
|
||||
padding-left: 0px;
|
||||
position: sticky;
|
||||
top: var(--header-h);
|
||||
width: var(--banner-medium);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
#banner--page .btn--group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: calc(var(--spacing) * 0.25);
|
||||
|
||||
> button,
|
||||
> label {
|
||||
width: 100%;
|
||||
max-width: 160px;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
#hero {
|
||||
margin: calc(var(--spacing) * 3) 0;
|
||||
}
|
||||
|
||||
.section__article {
|
||||
margin-left: var(--banner-medium);
|
||||
margin-top: calc(var(--spacing) * 3);
|
||||
margin-bottom: calc(var(--spacing) * 3);
|
||||
}
|
||||
|
||||
#section__short {
|
||||
margin-top: var(--padding-body);
|
||||
}
|
||||
|
||||
header {
|
||||
max-width: var(--max-w-content);
|
||||
margin: calc(var(--spacing) * 2) auto;
|
||||
}
|
||||
|
||||
.section__article {
|
||||
.section__title {
|
||||
font-size: var(--fs-medium);
|
||||
margin-bottom: var(--spacing);
|
||||
}
|
||||
}
|
||||
|
||||
#section__synthese {
|
||||
font-size: var(--fs-medium);
|
||||
}
|
||||
}
|
||||
.modal--share {
|
||||
position: absolute;
|
||||
bottom: calc(var(--padding-body) + var(--h-block) + var(--spacing) * 0.25);
|
||||
width: calc(100% - var(--padding-body));
|
||||
}
|
||||
}
|
||||
|
||||
@media #{$medium-up} {
|
||||
.page-enquete {
|
||||
#banner--page {
|
||||
width: calc((100% - var(--max-w-content)) / 2);
|
||||
}
|
||||
|
||||
#hero {
|
||||
margin: calc(var(--spacing) * 3) 0;
|
||||
figcaption {
|
||||
max-width: var(--max-w-content);
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
header {
|
||||
max-width: var(--max-w-content);
|
||||
margin: calc(var(--spacing) * 2) auto;
|
||||
}
|
||||
|
||||
.section__article {
|
||||
max-width: var(--max-w-content);
|
||||
margin: calc(var(--spacing) * 3) auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
4
assets/icons/close.svg
Normal file
4
assets/icons/close.svg
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<svg style="fill: var(--color-txt)" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect y="22.3249" width="31.1111" height="2.22222" transform="rotate(-45 0 22.3249)" />
|
||||
<rect x="1.80078" width="31.1111" height="2.22222" transform="rotate(45 1.80078 0)" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 309 B |
5
assets/icons/menu.svg
Normal file
5
assets/icons/menu.svg
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<svg style="fill: var(--color-txt)" width="32" height="20" viewBox="0 0 32 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="31.1111" height="2.22222" />
|
||||
<rect y="8.88892" width="31.1111" height="2.22222" />
|
||||
<rect y="17.7778" width="31.1111" height="2.22222" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 284 B |
14
assets/images/index-logo.svg
Normal file
14
assets/images/index-logo.svg
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<svg style="fill: var(--color-txt)" width="200px" viewBox="0 0 162 29" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
||||
<title>Index.ngo</title>
|
||||
<g transform="matrix(1.04516,0,0,0.659091,57.4839,-6.59091)">
|
||||
<rect x="-55" y="10" width="155" height="44" style="fill:none;"/>
|
||||
<clipPath id="_clip1">
|
||||
<rect x="-55" y="10" width="155" height="44"/>
|
||||
</clipPath>
|
||||
<g clip-path="url(#_clip1)">
|
||||
<g transform="matrix(0.95679,0,0,1.51724,-55,10)">
|
||||
<path d="M162,29L148.198,29L141.174,20.767L134.15,29L91.184,29L91.184,0.004L120.653,0.004L120.653,7.351L102.637,7.351L102.637,10.867L120.137,10.867L120.137,18.13L102.637,18.13L102.637,21.606L120.926,21.606L120.926,28.951L134.273,14.414L120.807,0L134.56,0L141.388,7.767L147.76,0L161.201,0L148.236,13.79L161.996,28.997L162,29ZM68.58,29L54.224,29L54.224,0.004L68.637,0.004C74.672,0.004 78.31,0.004 82.046,2.045C86.259,4.379 88.674,8.889 88.674,14.417C88.674,19.406 86.862,23.405 83.427,25.975C79.463,29 75.345,29 68.58,29ZM49.819,29L38.775,29L31.499,19.815C29.746,17.735 28.088,15.545 27.307,14.495C27.387,15.813 27.524,17.238 27.524,20.499L27.524,29L15.965,29L15.965,0.004L27.009,0.004L33.798,8.349C36.223,11.121 37.709,12.993 38.393,13.881C38.347,12.615 38.26,9.911 38.26,6.84L38.26,0.004L49.819,0.004L49.819,29ZM11.559,29L0,29L0,0.004L11.559,0.004L11.559,29ZM65.784,21.818L67.904,21.818C70.918,21.818 73.067,21.818 74.728,20.531C76.074,19.491 76.845,17.308 76.845,14.541C76.845,11.526 76.084,9.541 74.525,8.476C72.895,7.411 71.461,7.224 67.578,7.224L65.784,7.224L65.784,21.818Z" style="fill-rule:nonzero;"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
|
|
@ -1,55 +0,0 @@
|
|||
<?php
|
||||
|
||||
return function($page) {
|
||||
$config = kirby()->option('donorbox');
|
||||
$apiKey = $config['api_key'];
|
||||
$campaignSlug = $config['campaign_slug'];
|
||||
|
||||
// Valeurs par défaut
|
||||
$data = [
|
||||
'amount_raised' => 0,
|
||||
'donor_count' => 0,
|
||||
'goal_amount' => 20000, // Objectif par défaut
|
||||
'percentage' => 0,
|
||||
'campaign_url' => $config['campaign_url']
|
||||
];
|
||||
|
||||
// Si la clé API est configurée, récupérer les données en temps réel
|
||||
if (!empty($apiKey)) {
|
||||
try {
|
||||
$apiUrl = $config['api_base_url'] . '/campaigns/' . $campaignSlug;
|
||||
|
||||
$ch = curl_init();
|
||||
curl_setopt($ch, CURLOPT_URL, $apiUrl);
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||
curl_setopt($ch, CURLOPT_HTTPHEADER, [
|
||||
'Authorization: Bearer ' . $apiKey,
|
||||
'Content-Type: application/json'
|
||||
]);
|
||||
|
||||
$response = curl_exec($ch);
|
||||
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
|
||||
curl_close($ch);
|
||||
|
||||
if ($httpCode === 200 && $response) {
|
||||
$campaignData = json_decode($response, true);
|
||||
|
||||
if ($campaignData) {
|
||||
$data['amount_raised'] = $campaignData['amount_raised'] ?? 0;
|
||||
$data['donor_count'] = $campaignData['donor_count'] ?? 0;
|
||||
$data['goal_amount'] = $campaignData['goal_amount'] ?? 20000;
|
||||
|
||||
// Calculer le pourcentage
|
||||
if ($data['goal_amount'] > 0) {
|
||||
$data['percentage'] = round(($data['amount_raised'] / $data['goal_amount']) * 100, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (Exception $e) {
|
||||
// En cas d'erreur, on garde les valeurs par défaut
|
||||
// Optionnel : logger l'erreur
|
||||
}
|
||||
}
|
||||
|
||||
return $data;
|
||||
};
|
||||
|
|
@ -1,3 +1,63 @@
|
|||
<script src="<?= url('assets/js/script.js') ?>"></script>
|
||||
<footer id="site-footer">
|
||||
<div class="site-footer__container">
|
||||
<div class="footer__newsletter">
|
||||
<div class="logo" w3-include-html="/assets/index-logo.svg"></div>
|
||||
<p>
|
||||
Recevez les dernières enquêtes et actualités d’Index directement
|
||||
dans votre boîte mail.
|
||||
</p>
|
||||
<p>Inscrivez-vous à la newsletter</p>
|
||||
|
||||
<form class="form__newsletter">
|
||||
<input
|
||||
type="email"
|
||||
name="email"
|
||||
placeholder="Votre adresse e-mail"
|
||||
required
|
||||
/>
|
||||
<button class="btn--newletter" type="submit" aria-label="s’inscrire">
|
||||
<span class="txt">S’inscrire</span>
|
||||
<span class="icon">
|
||||
<svg
|
||||
clip-rule="evenodd"
|
||||
fill-rule="evenodd"
|
||||
stroke-linejoin="round"
|
||||
stroke-miterlimit="2"
|
||||
viewBox="0 0 24 24"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path
|
||||
d="m14.523 18.787s4.501-4.505 6.255-6.26c.146-.146.219-.338.219-.53s-.073-.383-.219-.53c-1.753-1.754-6.255-6.258-6.255-6.258-.144-.145-.334-.217-.524-.217-.193 0-.385.074-.532.221-.293.292-.295.766-.004 1.056l4.978 4.978h-14.692c-.414 0-.75.336-.75.75s.336.75.75.75h14.692l-4.979 4.979c-.289.289-.286.762.006 1.054.148.148.341.222.533.222.19 0 .378-.072.522-.215z"
|
||||
fill-rule="nonzero"
|
||||
/>
|
||||
</svg>
|
||||
</span>
|
||||
</button>
|
||||
</form>
|
||||
|
||||
<p class="p__small">
|
||||
En vous inscrivant, vous acceptez les
|
||||
<a target="_blank" href="https://www.index.ngo/mentions-legales/"
|
||||
>conditions d’utilisation</a
|
||||
>
|
||||
d’Index qui vous informent notamment des droits dont vous disposez
|
||||
sur vos données personnelles.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="footer__socials">
|
||||
<p>Suivez Index sur les réseaux sociaux</p>
|
||||
<div class="container" w3-include-html="/components/socials.html"></div>
|
||||
</div>
|
||||
|
||||
<div class="footer__mentions">
|
||||
<p>
|
||||
© 2025 Index Investigation |
|
||||
<a target="_blank" href="https://www.index.ngo/mentions-legales/">Mentions légales</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -13,17 +13,48 @@
|
|||
</title>
|
||||
|
||||
<script src="<?= url('assets/js/script.js') ?>"></script>
|
||||
|
||||
<script>
|
||||
window.SnipcartSettings = {
|
||||
publicApiKey: 'Y2QwMmJiZGItMDFiYi00MTg2LTg2ODItOWNlNTIyNGIzYWY5NjM4OTQ0ODU4NDY5NDcyNTU0',
|
||||
loadStrategy: 'on-user-interaction',
|
||||
modalStyle: "side",
|
||||
templatesUrl: "<?= url('assets/html/snipcart-templates.html') ?>",
|
||||
};
|
||||
|
||||
(()=>{var c,d;(d=(c=window.SnipcartSettings).version)!=null||(c.version="3.0");var s,S;(S=(s=window.SnipcartSettings).timeoutDuration)!=null||(s.timeoutDuration=2750);var l,p;(p=(l=window.SnipcartSettings).domain)!=null||(l.domain="cdn.snipcart.com");var w,u;(u=(w=window.SnipcartSettings).protocol)!=null||(w.protocol="https");var f=window.SnipcartSettings.version.includes("v3.0.0-ci")||window.SnipcartSettings.version!="3.0"&&window.SnipcartSettings.version.localeCompare("3.4.0",void 0,{numeric:!0,sensitivity:"base"})===-1,m=["focus","mouseover","touchmove","scroll","keydown"];window.LoadSnipcart=o;document.readyState==="loading"?document.addEventListener("DOMContentLoaded",r):r();function r(){window.SnipcartSettings.loadStrategy?window.SnipcartSettings.loadStrategy==="on-user-interaction"&&(m.forEach(t=>document.addEventListener(t,o)),setTimeout(o,window.SnipcartSettings.timeoutDuration)):o()}var a=!1;function o(){if(a)return;a=!0;let t=document.getElementsByTagName("head")[0],e=document.querySelector("#snipcart"),i=document.querySelector(`src[src^="${window.SnipcartSettings.protocol}://${window.SnipcartSettings.domain}"][src$="snipcart.js"]`),n=document.querySelector(`link[href^="${window.SnipcartSettings.protocol}://${window.SnipcartSettings.domain}"][href$="snipcart.css"]`);e||(e=document.createElement("div"),e.id="snipcart",e.setAttribute("hidden","true"),document.body.appendChild(e)),v(e),i||(i=document.createElement("script"),i.src=`${window.SnipcartSettings.protocol}://${window.SnipcartSettings.domain}/themes/v${window.SnipcartSettings.version}/default/snipcart.js`,i.async=!0,t.appendChild(i)),n||(n=document.createElement("link"),n.rel="stylesheet",n.type="text/css",n.href=`${window.SnipcartSettings.protocol}://${window.SnipcartSettings.domain}/themes/v${window.SnipcartSettings.version}/default/snipcart.css`,t.prepend(n)),m.forEach(g=>document.removeEventListener(g,o))}function v(t){!f||(t.dataset.apiKey=window.SnipcartSettings.publicApiKey,window.SnipcartSettings.addProductBehavior&&(t.dataset.configAddProductBehavior=window.SnipcartSettings.addProductBehavior),window.SnipcartSettings.modalStyle&&(t.dataset.configModalStyle=window.SnipcartSettings.modalStyle),window.SnipcartSettings.currency&&(t.dataset.currency=window.SnipcartSettings.currency),window.SnipcartSettings.templatesUrl&&(t.dataset.templatesUrl=window.SnipcartSettings.templatesUrl))}})();
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body data-template="<?= $page->template() ?>">
|
||||
<?php snippet('nav') ?>
|
||||
<header id="site-header">
|
||||
<div class="site-header__inner">
|
||||
<h1 id="site-title">
|
||||
<a
|
||||
href="https://www.index.ngo/"
|
||||
aria-label="Retour à l’accueil"
|
||||
title="aller au site d'Index"
|
||||
>
|
||||
<?= svg('assets/images/index-logo.svg') ?>
|
||||
</a>
|
||||
</h1>
|
||||
|
||||
<!-- Note: toujours mettre .title-page (j’en ai besoin pour la mise en forme) mais le laisser vide sur la plupart des pages sauf les pages enquêtes -->
|
||||
<p class="title-page">L’exécution de Nidal et Khaled ‘Amirah à Naplouse</p>
|
||||
|
||||
<nav id="nav-highlight">
|
||||
<ul>
|
||||
<li><a href="#">Enquêtes</a></li>
|
||||
<li><a href="#">Impact</a></li>
|
||||
<li class="soutenir"><a targer="_blank" href="https://soutenir.index.ngo/">Soutenez-nous</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<button id="theme-toggle">
|
||||
<svg style="fill: var(--color-txt)" class="switch" width="24" height="24" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M22 41C32.4934 41 41 32.4934 41 22C41 11.5066 32.4934 3 22
|
||||
3C11.5066 3 3 11.5066 3 22C3 32.4934 11.5066 41 22 41ZM7 22C7
|
||||
13.7157 13.7157 7 22 7V37C13.7157 37 7 30.2843 7 22Z"></path>
|
||||
</svg>
|
||||
</button>
|
||||
|
||||
<div id="lang-toggle">
|
||||
<button disabled>FR</button>
|
||||
<button><a href="/en">EN</a></button>
|
||||
</div>
|
||||
|
||||
<button id="menu-toggle">
|
||||
<span class="open"><?= svg('assets/icons/menu.svg') ?></span>
|
||||
<span class="close"><?= svg('assets/icons/close.svg') ?></span>
|
||||
</button>
|
||||
</div>
|
||||
</header>
|
||||
|
|
|
|||
|
|
@ -1,13 +1,10 @@
|
|||
<?php snippet('header') ?>
|
||||
<script type="text/javascript"
|
||||
defer=""
|
||||
src="https://donorbox.org/install-popup-button.js"
|
||||
id="donorbox-popup-button-installer">
|
||||
</script>
|
||||
<a class="dbox-donation-button" id="preview_inline_popup_button" href="https://donorbox.org/soutenir-index-en-2024?amount=15&default_interval=m" style="margin-bottom: 2rem; background: rgb(0, 0, 0); color: rgb(255, 255, 255); text-decoration: none; font-family: Verdana, sans-serif; display: flex; gap: 8px; width: fit-content; font-size: 16px; border-radius: 5px; line-height: 24px; padding: 8px 24px;"><img src="https://donorbox.org/images/white_logo.svg">
|
||||
Donner 15€ mensuellement
|
||||
</a>
|
||||
<a class="dbox-donation-button" id="preview_inline_popup_button" href="https://donorbox.org/soutenir-index-en-2024?amount=20&default_interval=o" style="background: rgb(0, 0, 0); color: rgb(255, 255, 255); text-decoration: none; font-family: Verdana, sans-serif; display: flex; gap: 8px; width: fit-content; font-size: 16px; border-radius: 5px; line-height: 24px; padding: 8px 24px;"><img src="https://donorbox.org/images/white_logo.svg">
|
||||
Donner 10€ ponctuellement
|
||||
</a>
|
||||
<main>
|
||||
<p>
|
||||
L’objet central de notre action est de concourir à la manifestation de la vérité dans des affaires où celle-ci est entravée par des intérêts de pouvoir.
|
||||
Nos enquêtes portent principalement principalement sur les cas de violences policières, en France comme à l'international, ainsi que sur les violations des droits humains au sens large. Nous intervenons également dans les situations où nos techniques d'investigation numérique peuvent permettre d'établir les faits autour d'une controverse d'intérêt public, qu'elle soit historique ou contemporaine.
|
||||
Notre champ d’action est avant tout public. Nos enquêtes et rapports d’expertise sont souvent publiés en partenariat avec d'autres médias d'information et sont régulièrement utilisés dans les procédures judiciaires sur les affaires concernées, contribuant ainsi à l'établissement des faits.
|
||||
Nous œuvrons également à la diffusion des techniques et des méthodes de l’investigation en sources ouvertes (OSINT) au sein de la société civile. Dans le cadre de notre programme de formation, nous animons des ateliers avec des collectifs citoyens, des ONG, des universités et le grand public. Enfin, nous intervenons régulièrement dans la sphère publique pour présenter nos travaux et notre approche.
|
||||
</p>
|
||||
</main>
|
||||
<?php snippet('footer') ?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue