first commit

This commit is contained in:
cedric committed 2022-11-28 23:06:53 +01:00
commit 5927d8e937
137 files changed
+8126

No files matched your search

+57
View File
@@ -0,0 +1,57 @@
.bloc-content {
padding: 10vh;
border-radius: 10px;
background-position: 50% 50%;
background-repeat: no-repeat;
background-size: contain;
background-color: rgba(255, 255, 255, 0.329);
/* animation: zoomInOut 3s ease-in-out infinite; */
z-index: 8888
}
.imageWrapper {
display: block;
}
.masthead {
--aButton-base-padding: 0px;
--aButton-grow-padding: 5px;
}
.masthead {
padding-top: 5vh;
position: relative;
}
.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);
}
}
+10
View File
@@ -0,0 +1,10 @@
.footer {
color: white;
/* margin-top:auto; */
width:100%;
display: table-footer-group;
}
.footerContent{
background-color: #006600e6;
}
+129
View File
@@ -0,0 +1,129 @@
.container {
padding: 0 2rem;
}
.main {
min-height: 100vh;
padding: 4rem 0;
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.footer {
display: flex;
flex: 1;
padding: 2rem 0;
border-top: 1px solid #eaeaea;
justify-content: center;
align-items: center;
}
.footer a {
display: flex;
justify-content: center;
align-items: center;
flex-grow: 1;
}
.title a {
color: #0070f3;
text-decoration: none;
}
.title a:hover,
.title a:focus,
.title a:active {
text-decoration: underline;
}
.title {
margin: 0;
line-height: 1.15;
font-size: 4rem;
}
.title,
.description {
text-align: center;
}
.description {
margin: 4rem 0;
line-height: 1.5;
font-size: 1.5rem;
}
.code {
background: #fafafa;
border-radius: 5px;
padding: 0.75rem;
font-size: 1.1rem;
font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
Bitstream Vera Sans Mono, Courier New, monospace;
}
.grid {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
max-width: 800px;
}
.card {
margin: 1rem;
padding: 1.5rem;
text-align: left;
color: inherit;
text-decoration: none;
border: 1px solid #eaeaea;
border-radius: 10px;
transition: color 0.15s ease, border-color 0.15s ease;
max-width: 300px;
}
.card:hover,
.card:focus,
.card:active {
color: #0070f3;
border-color: #0070f3;
}
.card h2 {
margin: 0 0 1rem 0;
font-size: 1.5rem;
}
.card p {
margin: 0;
font-size: 1.25rem;
line-height: 1.5;
}
.logo {
height: 1em;
margin-left: 0.5rem;
}
@media (max-width: 600px) {
.grid {
width: 100%;
flex-direction: column;
}
}
@media (prefers-color-scheme: dark) {
.card,
.footer {
border-color: #222;
}
.code {
background: #111;
}
.logo img {
filter: invert(1);
}
}
+231
View File
@@ -0,0 +1,231 @@
.masthead {
--aButton-base-padding: 0px;
--aButton-grow-padding: 5px;
}
.masthead {
position: relative;
}
.bloc-content {
padding: 10vh;
border-radius: 10px;
background-image: url('/images/codebackground.webp');
background-position: 50% 50%;
background-repeat: no-repeat;
background-size: contain;
/* animation: zoomInOut 4s ease-in-out infinite; */
z-index: 9000;
}
.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;
}
}
.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: 768px) {
.feuilleGauche {
position: absolute;
top: 1px;
left: 1px;
}
.feuilleDroite {
position: absolute;
bottom: 15px;
right: 15px;
}
.cadeau {
position: absolute;
bottom: 0px;
left: 0px;
}
.jeuConcours {
position: absolute;
top: 15px;
right: 15px;
}
}
.footerGrass {
bottom: -5px;
background-image: url('/image/footer_image.webp');
background-repeat: repeat-x;
background-size: contain;
width: 100vw;
/* animation: moveLeftRight 2s infinite; */
}
@media only screen and (min-width: 768px) {
.footerGrass {
bottom: -20px;
}
}
/* @keyframes moveLeftRight {
0%,
100% {
left: 10%;
}
50% {
right: 0;
}
} */
+45
View File
@@ -0,0 +1,45 @@
.custom-control-label {
font-weight: 400;
}
.forgot-password,
.forgot-password a {
text-align: right;
font-size: 13px;
padding-top: 10px;
color: #7f7d7d;
margin: 0;
}
.forgot-password a {
color: #167bff;
}
.masthead {
height: 100vh;
min-height: 500px;
background-image: url('/images/brick-wall-with-tea-written-on-it.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
box-shadow: 5px 5px 15px 5px #000000;
}
.bloc-content {
padding: 5vh;
border-radius: 10px;
background-color: rgba(255, 255, 255, 0.8);
}
.logo {
position: relative;
bottom: 1px;
right: 4px;
}
.loginButton {
background-color: #dd4b39;
border: 0px;
box-shadow: 2px 2px 2px #00000047;
margin-bottom: 10px;
}
+107
View File
@@ -0,0 +1,107 @@
.navbar{
display: table-header-group;
}
.link {
margin: 0 1vw;
text-decoration: underline;
}
.connexion {
position: absolute;
top: 0;
right: 0;
}
/**************************/
.overlay {
height: 0;
width: 100%;
bottom: 100%;
position: fixed;
z-index: 9001;
top: 0;
left: 0;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.9);
overflow-x: hidden;
transition: 1s;
display: flex;
align-items: center;
justify-content: center;
}
.overlay-content {
position: relative;
top: 25%;
width: 100%;
text-align: center;
margin-top: 30px;
display: flex;
flex-direction: column;
align-items: center;
margin-top: 20vh;
}
.overlay a {
padding: 8px;
text-decoration: none;
font-size: 36px;
color: #818181;
display: block;
transition: 0.2s;
display: flex;
justify-content: center;
}
.overlay a:hover,
.overlay a:focus {
color: #f1f1f1;
}
.overlay .closebtn {
position: absolute;
right: 25px;
top: -20px;
font-size: 60px;
}
@media screen and (max-height: 450px) {
.overlay a {
font-size: 20px
}
.overlay .closebtn {
font-size: 40px;
top: 15px;
right: 35px;
}
}
.burgerButton {
font-size: 30px;
cursor: pointer;
}
/* cache ou affiche un élement si mobile */
@media only screen and (max-width: 768px) {
.hidden-mobile {
display: none;
}
.show-mobile {
display: flex;
}
}
@media only screen and (min-width: 768px) {
.hidden-mobile {
display: flex;
}
.show-mobile {
display: none;
}
}
+38
View File
@@ -0,0 +1,38 @@
.custom-control-label {
font-weight: 400;
}
.forgot-password,
.forgot-password a {
text-align: right;
font-size: 13px;
padding-top: 10px;
color: #7f7d7d;
margin: 0;
}
.forgot-password a {
color: #167bff;
}
.masthead {
height: 100vh;
min-height: 500px;
background-image: url('/images/brick-wall-with-tea-written-on-it.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
box-shadow: 5px 5px 15px 5px #000000;
}
.bloc-content {
padding: 5vh;
border-radius: 10px;
background-color: rgba(255, 255, 255, 0.8);
}
.logo {
position: relative;
bottom: 1px;
right: 4px;
}
+3
View File
@@ -0,0 +1,3 @@
.aCard {
width:200px;
}
+54
View File
@@ -0,0 +1,54 @@
.custom-control-label {
font-weight: 400;
}
.forgot-password,
.forgot-password a {
text-align: right;
font-size: 13px;
padding-top: 10px;
color: #7f7d7d;
margin: 0;
}
.forgot-password a {
color: #167bff;
}
.masthead {
height: 100vh;
min-height: 500px;
background-image: url('/images/jars-in-a-blue-furniture.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
box-shadow: 5px 5px 15px 5px #000000;
}
.bloc-content {
padding: 5vh;
border-radius: 10px;
background-color: rgba(255, 255, 255, 0.8);
}
.logo {
position: relative;
bottom: 1px;
right: 4px;
}
.userUl {
list-style: none;
}
.userUl li {
position: relative;
right: 20px;
}
.codeCol {
background-color: white;
border-left: "solid grey";
border-radius: 2px;
box-shadow: inset 2px 2px 2px black;
}
+58
View File
@@ -0,0 +1,58 @@
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;
font-size: small;
}
body{
background-image: url(/images/pageprincipale.webp);
background-size: cover;
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,
a:hover {
color: inherit;
text-decoration: none;
}
:root {
--color1: #C0D8F0;
--color2: #76AE0D;
--color3: #4C6D0C;
--color4: #F0F0F0;
}
.btn-primary {
--bs-btn-color: #fff;
--bs-btn-bg: var(--color2);
--bs-btn-border-color: var(--color2);
--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-active-color: #fff;
--bs-btn-active-bg: var(--color3);
--bs-btn-active-border-color: var(--color3);
--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
--bs-btn-disabled-color: #fff;
--bs-btn-disabled-bg: var(--color2);
--bs-btn-disabled-border-color: var(--color2);
}