💄 add - amélioration de la page principale et du component Content
This commit is contained in:
1 parent
9e959f5ac6
commit
77db425b0e
17 files changed
+654
-234
No files matched your search
@@ -0,0 +1,252 @@
|
||||
.masthead {
|
||||
--aButton-base-padding: 0px;
|
||||
--aButton-grow-padding: 5px;
|
||||
}
|
||||
|
||||
.masthead {
|
||||
background-image: url('/images/pageprincipale.png');
|
||||
background-size: cover;
|
||||
background-position: 50% 50%;
|
||||
background-repeat: no-repeat;
|
||||
padding-top: 5vh;
|
||||
height: 90vh;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.footerGrass {
|
||||
position: absolute;
|
||||
background-image: url('/image/footer_image.png');
|
||||
background-repeat: repeat-x;
|
||||
background-size: contain;
|
||||
width: 100vw;
|
||||
/* animation: moveLeftRight 2s infinite; */
|
||||
position: absolute;
|
||||
bottom: -20px;
|
||||
}
|
||||
|
||||
@keyframes moveLeftRight {
|
||||
|
||||
|
||||
0%,
|
||||
100% {
|
||||
left: 10%;
|
||||
}
|
||||
|
||||
50% {
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.bloc-content {
|
||||
padding: 10vh;
|
||||
border-radius: 10px;
|
||||
background-image: url('/images/codebackground.png');
|
||||
background-position: 50% 50%;
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
animation: zoomInOut 3s ease-in-out infinite;
|
||||
z-index: 8888
|
||||
}
|
||||
|
||||
.zoomInOutCadeau {
|
||||
animation: zoomInOut 1s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.zoomInOutJeuConcours {
|
||||
animation: zoomInOut 1.1s ease-in-out infinite;
|
||||
}
|
||||
|
||||
|
||||
.rotatingImage {
|
||||
animation: 1s ease-in-out infinite alternate rotation;
|
||||
}
|
||||
|
||||
.rotatingSlow {
|
||||
animation: 4s ease-in-out infinite alternate rotation;
|
||||
}
|
||||
|
||||
.blinking {
|
||||
animation: blinking 1s infinite;
|
||||
}
|
||||
|
||||
@keyframes zoomInOut {
|
||||
0% {
|
||||
transform: scale(1, 1);
|
||||
}
|
||||
|
||||
50% {
|
||||
transform: scale(1.05, 1.05);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: scale(1, 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@keyframes rotation {
|
||||
0% {
|
||||
transform: rotate(2deg);
|
||||
}
|
||||
|
||||
50% {
|
||||
transform: rotate(-2deg);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: rotate(2deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes blinking {
|
||||
|
||||
0%,
|
||||
50%,
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
25%,
|
||||
75% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.zoom-in-out-box {
|
||||
animation: zoom-in-zoom-out 1s ease infinite;
|
||||
}
|
||||
|
||||
.imageWrapper {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.masthead .aButton {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.masthead .aButton:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
|
||||
/* border:1px solid black; */
|
||||
border-radius: 0.375rem;
|
||||
display: none;
|
||||
|
||||
left: var(--aButton-base-padding);
|
||||
top: var(--aButton-base-padding);
|
||||
width: calc(100% + var(--aButton-base-padding));
|
||||
height: calc(100% + var(--aButton-base-padding));
|
||||
}
|
||||
|
||||
.masthead .aButton:hover:after {
|
||||
display: block;
|
||||
animation: 0.7s linear infinite alternate expand;
|
||||
}
|
||||
|
||||
@keyframes expand {
|
||||
to {
|
||||
left: calc(var(--aButton-base-padding) - var(--aButton-grow-padding));
|
||||
top: calc(var(--aButton-base-padding) - var(--aButton-grow-padding));
|
||||
width: calc(100% + var(--aButton-base-padding) + 2 * var(--aButton-grow-padding));
|
||||
height: calc(100% + var(--aButton-base-padding) + 2 * var(--aButton-grow-padding));
|
||||
border: 3px solid var(--color3);
|
||||
}
|
||||
}
|
||||
|
||||
.productToGain {
|
||||
background-color: var(--color1);
|
||||
width: 20vw;
|
||||
height: 20vw;
|
||||
border-radius: 50%;
|
||||
padding: 10px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.productToGain {
|
||||
width: 13vw;
|
||||
height: 13vw;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*mobile*/
|
||||
@media only screen and (max-width: 767px) {
|
||||
.feuilleGauche {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
z-index: 9999;
|
||||
width: 25vw;
|
||||
}
|
||||
|
||||
.feuilleDroite {
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
right: 0px;
|
||||
z-index: 9999;
|
||||
width: 25vw;
|
||||
}
|
||||
|
||||
.cadeau {
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
left: 0px;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.jeuConcours {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.footerGrass {
|
||||
position: absolute;
|
||||
background-image: url('/image/footer_image.png');
|
||||
background-size: contain;
|
||||
width: 100vw;
|
||||
bottom: -10px;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
/*grand écran*/
|
||||
@media only screen and (min-width: 767px) {
|
||||
.feuilleGauche {
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
left: 1px;
|
||||
z-index: 9999;
|
||||
width: 25vw;
|
||||
}
|
||||
|
||||
.feuilleDroite {
|
||||
position: absolute;
|
||||
bottom: 15px;
|
||||
right: 15px;
|
||||
z-index: 9999;
|
||||
width: 25vw;
|
||||
}
|
||||
|
||||
.cadeau {
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
left: 0px;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.jeuConcours {
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: 15px;
|
||||
z-index: 9999;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
.footer {
|
||||
background-color: #006600e6;
|
||||
color: white !important;
|
||||
padding-top: 20px;
|
||||
}
|
||||
+9
-127
@@ -1,20 +1,3 @@
|
||||
.masthead {
|
||||
--aButton-base-padding: 0px;
|
||||
--aButton-grow-padding: 5px;
|
||||
}
|
||||
|
||||
.masthead {
|
||||
background-image: url('/images/pageprincipale.png');
|
||||
background-size: cover;
|
||||
background-position: 50% 50%;
|
||||
background-repeat: no-repeat;
|
||||
padding-top: 5vh;
|
||||
height: 90vh;
|
||||
position: relative;
|
||||
/* margin-bottom: 10vh;
|
||||
box-shadow: 0px 18px 16px 0px rgba(0, 0, 0, 0.87); */
|
||||
}
|
||||
|
||||
.bloc-content {
|
||||
padding: 10vh;
|
||||
border-radius: 10px;
|
||||
@@ -23,6 +6,15 @@
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
animation: zoomInOut 4s ease-in-out infinite;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.zoomInOutCadeau {
|
||||
animation: zoomInOut 1s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.zoomInOutJeuConcours {
|
||||
animation: zoomInOut 1.1s ease-in-out infinite;
|
||||
}
|
||||
|
||||
|
||||
@@ -34,10 +26,6 @@
|
||||
animation: 4s ease-in-out infinite alternate rotation;
|
||||
}
|
||||
|
||||
.blinking {
|
||||
animation: blinking 1s infinite;
|
||||
}
|
||||
|
||||
@keyframes zoomInOut {
|
||||
0% {
|
||||
transform: scale(1, 1);
|
||||
@@ -88,110 +76,4 @@
|
||||
|
||||
.imageWrapper {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.masthead .aButton {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.masthead .aButton:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
|
||||
/* border:1px solid black; */
|
||||
border-radius: 0.375rem;
|
||||
display: none;
|
||||
|
||||
left: var(--aButton-base-padding);
|
||||
top: var(--aButton-base-padding);
|
||||
width: calc(100% + var(--aButton-base-padding));
|
||||
height: calc(100% + var(--aButton-base-padding));
|
||||
}
|
||||
|
||||
.masthead .aButton:hover:after {
|
||||
display: block;
|
||||
animation: 0.7s linear infinite alternate expand;
|
||||
}
|
||||
|
||||
@keyframes expand {
|
||||
to {
|
||||
left: calc(var(--aButton-base-padding) - var(--aButton-grow-padding));
|
||||
top: calc(var(--aButton-base-padding) - var(--aButton-grow-padding));
|
||||
width: calc(100% + var(--aButton-base-padding) + 2 * var(--aButton-grow-padding));
|
||||
height: calc(100% + var(--aButton-base-padding) + 2 * var(--aButton-grow-padding));
|
||||
border: 3px solid var(--color3);
|
||||
}
|
||||
}
|
||||
|
||||
.productToGain {
|
||||
background-color: var(--color1);
|
||||
width: 20vw;
|
||||
height: 20vw;
|
||||
border-radius: 50%;
|
||||
padding: 10px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.productToGain {
|
||||
width: 13vw;
|
||||
height: 13vw;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*mobile*/
|
||||
@media only screen and (max-width: 767px) {
|
||||
.feuilleGauche {
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
left: 1px;
|
||||
|
||||
}
|
||||
|
||||
.feuilleDroite {
|
||||
position: absolute;
|
||||
bottom: 10px;
|
||||
right: 1px;
|
||||
}
|
||||
|
||||
.cadeau {
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
left: 0px;
|
||||
}
|
||||
|
||||
.jeuConcours {
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
right: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
/*grand écran*/
|
||||
@media only screen and (min-width: 767px) {
|
||||
.feuilleGauche {
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
left: 1px;
|
||||
}
|
||||
|
||||
.feuilleDroite {
|
||||
position: absolute;
|
||||
bottom: 10px;
|
||||
right: 1px;
|
||||
}
|
||||
|
||||
.cadeau {
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
left: 0px;
|
||||
}
|
||||
|
||||
.jeuConcours {
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
right: 1px;
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
.customcss {
|
||||
background-color: transparent !important;
|
||||
z-index: 2000;
|
||||
z-index: 9999;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
|
||||
+10
-13
@@ -1,12 +1,14 @@
|
||||
html,
|
||||
body {
|
||||
overflow-x: hidden;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
|
||||
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
|
||||
}
|
||||
|
||||
a, a:hover {
|
||||
a,
|
||||
a:hover {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
@@ -15,16 +17,11 @@ a, a:hover {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
:root{
|
||||
--color1 : #C0D8F0;
|
||||
--color2 : #76AE0D;
|
||||
--color3 : #4C6D0C;
|
||||
--color4 : #F0F0F0;
|
||||
}
|
||||
|
||||
img{
|
||||
/* min-width: 0%!important;
|
||||
min-height: 0%!important; */
|
||||
:root {
|
||||
--color1: #C0D8F0;
|
||||
--color2: #76AE0D;
|
||||
--color3: #4C6D0C;
|
||||
--color4: #F0F0F0;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
@@ -34,7 +31,7 @@ img{
|
||||
--bs-btn-hover-color: #fff;
|
||||
--bs-btn-hover-bg: var(--color3);
|
||||
--bs-btn-hover-border-color: var(--color3);
|
||||
--bs-btn-focus-shadow-rgb: 49,132,253;
|
||||
--bs-btn-focus-shadow-rgb: 49, 132, 253;
|
||||
--bs-btn-active-color: #fff;
|
||||
--bs-btn-active-bg: var(--color3);
|
||||
--bs-btn-active-border-color: var(--color3);
|
||||
@@ -42,4 +39,4 @@ img{
|
||||
--bs-btn-disabled-color: #fff;
|
||||
--bs-btn-disabled-bg: var(--color2);
|
||||
--bs-btn-disabled-border-color: var(--color2);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user