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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue