fix - style des pages, notamment index

This commit is contained in:
C committed 2022-11-16 14:42:56 +01:00
1 parent 04423aa6c7
commit 8224592c0e
10 files changed
+384 -390

No files matched your search

-5
View File
@@ -19,12 +19,7 @@
}
.masthead {
background-image: url('/images/pageprincipale.webp');
background-size: cover;
background-position: 50% 50%;
background-repeat: no-repeat;
padding-top: 5vh;
height: 90vh;
position: relative;
}
+8 -3
View File
@@ -1,5 +1,10 @@
.footer {
color: white;
margin-top:auto;
width:100%;
display: table-footer-group;
}
.footerContent{
background-color: #006600e6;
color: white !important;
padding-top: 20px;
}
}
+56 -79
View File
@@ -4,35 +4,9 @@
}
.masthead {
padding-top: 5vh;
height: 90vh;
position: relative;
}
.footerGrass {
position: absolute;
background-image: url('/image/footer_image.webp');
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;
@@ -97,7 +71,6 @@
}
@keyframes blinking {
0%,
50%,
100% {
@@ -168,81 +141,85 @@
}
}
/*mobile*/
@media only screen and (max-width: 767px) {
.feuilleGauche {
position: absolute;
top: 0px;
left: 0px;
z-index: 9000;
width: 25vw;
}
.feuilleDroite {
position: absolute;
bottom: 0px;
right: 0px;
z-index: 9000;
width: 25vw;
}
.cadeau {
position: absolute;
bottom: 0px;
left: 0px;
z-index: 9000;
}
.jeuConcours {
position: absolute;
top: 0px;
right: 0px;
z-index: 9000;
}
.footerGrass {
position: absolute;
background-image: url('/image/footer_image.webp');
background-size: contain;
width: 100vw;
bottom: -10px;
}
.imageContainer {
z-index: 1;
width: 20vw;
}
.feuilleGauche, .feuilleDroite, .cadeau, .jeuConcours {
position: absolute;
}
.feuilleGauche {
top: 0px;
left: 0px;
}
.feuilleDroite {
bottom: 0px;
right: 0px;
}
.cadeau {
bottom: 0px;
left: 0px;
}
.jeuConcours {
top: 0px;
right: 0px;
}
@media only screen and (min-width: 768px) {
.imageContainer {
width: 10vw;
}
}
/*grand écran*/
@media only screen and (min-width: 767px) {
@media only screen and (min-width: 768px) {
.feuilleGauche {
position: absolute;
top: 1px;
left: 1px;
z-index: 9000;
width: 25vw;
}
.feuilleDroite {
position: absolute;
bottom: 15px;
right: 15px;
z-index: 9000;
width: 25vw;
}
.cadeau {
position: absolute;
bottom: 0px;
left: 0px;
z-index: 9000;
}
.jeuConcours {
position: absolute;
top: 15px;
right: 15px;
z-index: 9000;
}
}
}
.footerGrass {
bottom: -20px;
background-image: url('/image/footer_image.webp');
background-repeat: repeat-x;
background-size: contain;
width: 100vw;
/* animation: moveLeftRight 2s infinite; */
}
/* @keyframes moveLeftRight {
0%,
100% {
left: 10%;
}
50% {
right: 0;
}
} */
+4 -6
View File
@@ -1,7 +1,5 @@
.customcss {
background-color: transparent !important;
z-index: 9001;
position: absolute;
.navbar{
display: table-header-group;
}
.link {
@@ -88,7 +86,7 @@
}
/* cache ou affiche un élement si mobile */
@media only screen and (max-width: 767px) {
@media only screen and (max-width: 768px) {
.hidden-mobile {
display: none;
}
@@ -98,7 +96,7 @@
}
}
@media only screen and (min-width: 767px) {
@media only screen and (min-width: 768px) {
.hidden-mobile {
display: flex;
}
+16 -5
View File
@@ -6,10 +6,25 @@ body {
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
font-size: small;
}
body{
background-image: url(/images/pageprincipale.webp);
background-size: cover;
background-position: 50% 50%;
/* background-position: 50% 50%; */
background-repeat: no-repeat;
background-attachment: fixed;
}
.layout-container{
display : table;
width: 100%;
position:relative;
min-height:100vh;
}
.body-content{
display: table-row-group;
}
a,
@@ -18,10 +33,6 @@ a:hover {
text-decoration: none;
}
* {
box-sizing: border-box;
}
:root {
--color1: #C0D8F0;
--color2: #76AE0D;