You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

673 lines
10 KiB

:root{
/*couleur héhé*/
--lightprima: #DEDEDE;
--lightsedonca: #B7B7B7;
--lighttercia: #E6E6E6;
}
@font-face {
font-family: "Montserrat";
src: url("/fonts/MonstMontserrat-Black.woff") format("woff"),
url("/fonts/MonstMontserrat-Black.woff2") format("woff2");
}
a {
cursor: pointer;
z-index: 60;
}
body{
background-color: var(--lightprima);
overflow-x: hidden;
overflow-y: hidden;
/*Desactiver la selection*/
-webkit-user-select: none; /* Chrome / Safari */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* IE 10+ */
user-select: none;
}
/* versions mobiles, tablette à faire*/
/*Version mobile V1*/
@media only screen and (min-width: 320px) {
.logop2 img {
position: absolute;
width: 25vw;
left: 37vw;
top: 98vw;
z-index: 30;
}
.logo img{
position: absolute;
width: 50vw;
left: 25vw;
top: 13%;
z-index: 11;
}
.mounts img {
object-fit: cover;
position: absolute;
height: 100%;
width: 100%;
pointer-events: none;
margin-left: -10px;
}
#contourbuttonvalider{
position: absolute;
border-radius: 45px;
left: -12vw;
top: 6vw;
height: 13vw;
width: 55vw;
background-color: var(--lightsedonca);
z-index: 15;
}
.bouttonvalider{
position: absolute;
height: 11vw;
width: 53vw;
top: 1vw;
left: 1vw;
border-radius: 40px;
background-color: #B130DE;
}
#textjouer{
font-family: Montserrat, impact, Arial Black;
position: absolute;
font-size: 10vw;
margin-top: -0.7vw;
margin-left: 13.5vw;
color: var(--lightsedonca);
}
#ContainBottom {
position: absolute;
margin-left: 25vw;
height: 25vw;
width: auto;
bottom: 0;
z-index: 20;
}
#clic{
visibility: hidden;
}
#card-conteneur{
z-index: 20;
position: absolute;
left: 0vw;
height: 100%;
}
.flex-container {
padding: 0;
margin: 0;
list-style: none;
display: flex;
height: 100%;
-webkit-flex-flow: row wrap;
justify-content: space-around;
margin-top: -3vw;
}
.flex-item {
background: var(--lightsedonca);
width: 25vw;
height: 40vw;
margin-top: 8vw;
border-radius: 25px;
line-height: 10vw;
color: white;
font-weight: bold;
font-size: 3em;
text-align: center;
padding-right: 0.4vw;
padding-left: 0.4vw;
padding-top: 0.4vw;
list-style: none;
display: flex;
-webkit-flex-flow: row wrap;
justify-content: space-around;
}
.item-form {
width: 6vw;
padding-left: 0.8vw;
margin-top: 0.9vw;
height: 7.5vw;
border-radius: 10px;
background-color: var(--lighttercia);
}
.buttonretour{
position: absolute;
height: 6vw;
width: 6vw;
left: 63vw;
top: 99vw;
border-radius: 55vw;
background-color: var(--lightsedonca);
}
.txt{
position: absolute;
font-family: Arial Black;
color: var(--lightprima);
font-size: 5vw;
padding-left: 1vw;
top : -2.9vw;
}
}
/*Grande version*/
@media only screen and (min-width: 1280px) {
.logop2 img {
position: absolute;
width: 12vw;
left: 44vw;
top: 22vw;
z-index: 30;
}
.logo img{
position: absolute;
width: 12vw;
left: 44vw;
top: 13%;
z-index: 11;
}
.mounts img {
position: absolute;
height: 100%;
width: 100%;
pointer-events: none;
margin-left: -10px;
}
#contourbuttonvalider{
position: absolute;
border-radius: 45px;
left: 9.2vw;
top: 5.5vw;
height: 4vw;
width: 12vw;
background-color: var(--lightsedonca);
z-index: 15;
}
.bouttonvalider{
position: absolute;
height: 3.4vw;
width: 11.4vw;
top: 0.3vw;
left: 0.3vw;
border-radius: 30px;
background-color: #B130DE;
}
#textjouer{
font-family: Montserrat, impact, Arial Black;
position: absolute;
font-size: 2.5vw;
margin-top: 0.2vw;
margin-left: 2.7vw;
color: var(--lightsedonca);
}
#ContainBottom {
position: absolute;
margin-left: 25vw;
height: 12vw;
width: auto;
bottom: 0;
z-index: 20;
}
#clic{
position: absolute;
left: 55vw;
top : 7vw;
height: auto;
width: 15vw;
}
#card-conteneur{
z-index: 20;
position: absolute;
left: 0vw;
}
.flex-container {
padding: 0;
margin: 0;
list-style: none;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row wrap;
justify-content: space-around;
margin-top: -7vw;
}
.flex-item {
background: var(--lightsedonca);
width: 14vw;
height: 19vw;
margin-top: 8vw;
border-radius: 25px;
line-height: 10vw;
color: white;
font-weight: bold;
font-size: 3em;
text-align: center;
padding-right: 0.4vw;
padding-left: 0.4vw;
padding-top: 0.4vw;
padding-top: 0.4vw;
list-style: none;
display: flex;
-webkit-flex-flow: row wrap;
justify-content: space-around;
}
.item-form {
width: 3vw;
padding-left: 0.8vw;
margin-top: 0.55vw;
height: 3.5vw;
border-radius: 10px;
background-color: var(--lighttercia);
}
.buttonretour{
position: absolute;
height: 3vw;
width: 3vw;
left: 57vw;
top: 22.6vw;
border-radius: 25px;
background-color: var(--lightsedonca);
}
.txt{
position: absolute;
font-family: Arial Black;
color: var(--lightprima);
font-size: 2vw;
padding-left: 0.7vw;
top : -0.9vw;
}
}
#pageGame{
visibility: hidden;
}
#pageAccueil{
visibility: visible;
}
#cloud{
z-index: 10
}
#mount1 {
z-index: 11;
}
#mount2 {
z-index: 10;
}
/* PARTIE ANNEAU / ROND */
.anneau{
background-color: #DE3030;
border-radius: 3vw;
height: 5vw;
width: 5vw;
display: table-cell;
vertical-align: middle;
}
.rondinterieur{
background-color: var(--lightsedonca);
height: 3vw;
width: 3vw;
display: table;
margin: 0 auto;
border-radius: 3vw;
}
.containform{
border-radius: 3vw;
height: 5vw;
width: 5vw;
display: table-cell;
vertical-align: middle;
}
.rond{
display: table;
margin: 0 auto;
background-color: #DE3030;
height: 3vw;
width: 3vw;
border-radius: 3vw;
}
/* PARTIE CARRE */
.carre{
background-color: #30C0DE;
height: 5vw;
width: 5vw;
display: table-cell;
vertical-align: middle
}
.carreinterieur{
background-color: var(--lightsedonca);
height: 3vw;
width: 3vw;
display: table;
margin: 0 auto;
}
.pcarre{
display: table;
margin: 0 auto;
background-color: #30C0DE;
height: 3vw;
width: 3vw;
}
/* PARTIE TRIANGLE */
.triangle{
border-left: 2.5vw solid transparent;
border-right: 2.5vw solid transparent;
border-bottom: 5vw solid #DEA430;
display: table-cell;
vertical-align: middle
}
.trianglerinterieur{
position: absolute;
left: 21.1vw;
bottom: 7.75vw;
border-left: 1.5vw solid transparent;
border-right: 1.5vw solid transparent;
border-bottom: 3vw solid var(--lightsedonca);
}
.ptriangle{
display: table;
margin: 0 auto;
border-left: 1.5vw solid transparent;
border-right: 1.5vw solid transparent;
border-bottom: 3vw solid #DEA430;
}
/* PARTIE PENTA*/
.pentagone{
position: absolute;
width: 3vw;
box-sizing: content-box;
border-width: 3.15vw 1.2vw 0;
border-style: solid;
border-color: #6FDE30 transparent;
}
.pentagone:before{
content: "";
position: absolute;
top: -5.3vw;
left: -1.15vw;
border-width: 0 2.68vw 2.2vw;
border-style: solid;
border-color: transparent transparent #6FDE30;
}
.pentagoneinterieur{
position: absolute;
width: 1.5vw;
box-sizing: content-box;
top: -2.75vw;
left: 0.25vw;
border-width: 1.5vw 0.5vw 0;
border-style: solid;
border-color: var(--lightsedonca) transparent;
}
.pentagoneinterieur:before{
content: "";
position: absolute;
top: -2.4vw;
left: -0.486vw;
border-width: 0 1.3vw 1vw;
border-style: solid;
border-color: transparent transparent var(--lightsedonca);
}
.ppentagone{
position: relative;
width: 1.5vw;
box-sizing: content-box;
top: 1vw;
left: 1vw;
border-width: 1.5vw 0.5vw 0;
border-style: solid;
border-color: #6FDE30 transparent;
}
.ppentagone:before{
content: "";
position: absolute;
top: -2.45vw;
left: -0.5vw;
border-width: 0 1.3vw 1vw;
border-style: solid;
border-color: transparent transparent #6FDE30;
}
/* PARTIE LOSANGE */
.losange {
width : 0;
height : 0;
border : 1.5vw solid transparent;
border-bottom : 2.25vw solid #B130DE;
position : relative;
top : -1.5vw;
}
.losange:after {
content : '';
position : absolute;
left : -1.53vw;
top : 2.2vw;
border : 1.5vw solid transparent;
border-top : 2.25vw solid #B130DE;
}
.losangeinterieur {
width : 0;
height : 0;
border : 0.75vw solid transparent;
border-bottom : 1.125vw solid var(--lightsedonca);
position : relative;
top : 0.45vw;
left: -0.74vw;
z-index: 2;
}
.losangeinterieur:after {
content : '';
position : absolute;
left : -0.75vw;
top : 1.1vw;
border : 0.75vw solid transparent;
border-top : 1.125vw solid var(--lightsedonca);
z-index: 2;
}
.plosange {
width : 0;
height : 0;
border : 0.75vw solid transparent;
border-bottom : 1.125vw solid #B130DE;
position : relative;
top : -0.5vw;
left: -0.74vw;
z-index: 2;
}
.plosange:after {
content : '';
position : absolute;
left : -0.75vw;
top : 1.1vw;
border : 0.75vw solid transparent;
border-top : 1.125vw solid #B130DE;
z-index: 2;
}
.retourstp{
position: absolute;
}
/* J'ai trop avancé, mode multi*/
#containpseudo{
position: absolute;
height: 15%;
width: 30%;
z-index: 12;
left: 35%;
top: 30%;
}
#pseudoenter{
background-color: red;
height: 100%;
border-radius: 45px;
background-color: #B130DE;
}
#inputpseudo{
position: absolute;
width: 99%;
height: 65%;
border-radius: 30px;
font-size: 3vw;
background-color: transparent;
appearance: none;
text-align: center;
color: #707070;
border-color: transparent;
font-family: impact, Arial Black;
z-index: 11;
}
#fondinput{
background-color: red;
position: absolute;
width: 97%;
background-color: var(--lightsedonca);
height: 90%;
border-radius: 40px;
left: 1.5%;
top: 5%;
z-index: 10;
}
#buttonadd{
position: absolute;
top: 30%;
right: -12%;
height: 3vw;
width: 3vw;
border-radius: 2vw;
background-color: #B130DE;
z-index: 18;
}
#textplus{
font-size: 3vw;
font-family: arial, Arial Black;
position: absolute;
margin-top: -0.15vw;
margin-left: 0.65vw;
color: var(--lightprima);
}
#containplayers{
position: absolute;
background-color: transparent;
color: var(--lightsedonca);
width: 15vw;
height: 20vw;
z-index: 17;
right: 0%;
top: 8vw;
}
.pseudojoueur {
float: right;
margin-top: 0px;
margin-bottom: 3%;
margin-right: 10%;
font-family: Lucida Console, Arial Black, Arial;
font-size: 2vw;
}
#pseudolist {
width: 100%;
height: 1.7vw;
}