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.

299 lines
4.1 KiB

@font-face {
font-family: main;
src: url(../font/main.TTF);
}
@font-face {
font-family: dys;
src: url(../font/dys.otf);
}
*{
transition: .01s;
}
body{
font-family: main;
}
body {
background-color: #D7CCC8;
}
.title {
width: 100%;
text-align: center;
font-size: 8vh;
}
#play_container{
display: flex;
height: 100%;
}
#menu-selection {
position: absolute;
left: 0;
right: 0;
bottom: 0;
margin: 25vh auto;
text-align: center;
}
.fa-play-circle {
font-size: 15vh;
}
.message {
font-size: 3vh;
margin-bottom: 7vh;
}
#jeu-select {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
cursor: pointer;
font-size: 3vh;
background-color: transparent;
border: none;
color: #fe8a71;
}
#jeu-select:focus {
outline: none;
}
#jeu-select option {
background-color: lightgray;
border: none;
}
.btn_play ul {
text-align: center;
list-style: none;
}
.fa-cog {
font-size: 5vh;
position: absolute;
right: 0;
bottom: 0;
margin: 4vh;
transition: .5s;
}
.fa-cog:hover {
font-size: 6vh;
}
.fa-trophy {
font-size: 5vh;
position: absolute;
left: 0;
bottom: 0;
margin: 4vh;
transition: .5s;
}
.fa-trophy:hover {
font-size: 6vh;
}
.fa-users {
font-size: 5vh;
position: absolute;
left: 0;
top: 0;
margin: 4vh;
transition: .5s;
}
.fa-users:hover {
font-size: 6vh;
}
.fa-info {
font-size: 5vh;
position: absolute;
right: 0;
top: 0;
margin: 4vh;
transition: .5s;
}
.fa-info:hover {
font-size: 6vh;
}
.fa-arrow-left {
font-size: 5vh;
position: absolute;
left: 0;
margin: 4vh;
transition: .5s;
}
.fa-arrow-left:hover {
font-size: 6vh;
}
i:hover {
cursor: pointer;
}
.modal {
display: none;
position: fixed;
z-index: 1;
padding-top: 2%;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.4);
}
.modal-content {
position: relative;
margin: auto;
padding: 0;
width: 80%;
border-radius: 15px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
-webkit-animation-name: animatetop;
-webkit-animation-duration: 0.4s;
animation-name: animatetop;
animation-duration: 0.4s
}
.modal-body{
height: 100%;
border:5px solid #D3D3CE;
border-radius: 15px;
}
.score-content{
height: 90%;
}
.scoreOne{
position: absolute;
width: 40%;
bottom: 1.5%;
top:15%;
left:5%;
border:5px solid #D3D3CE;
border-radius: 15px;
}
.scoreTwo{
position: absolute;
width: 40%;
bottom: 1.5%;
top:15%;
right:5%;
border:5px solid #D3D3CE;
border-radius: 15px;
}
@-webkit-keyframes animatetop {
from {
top: -200px;
opacity: 0
}
to {
top: 0;
opacity: 1
}
}
@keyframes animatetop {
from {
top: -200px;
opacity: 0
}
to {
top: 0;
opacity: 1
}
}
img {
height: 50px;
transition: .5s;
}
img:hover {
opacity: 1;
cursor: pointer;
}
hr{
border : 3px solid #D3D3CE;
}
.img_france{
margin-right:50px;
}
.setting_play{
height: 30vh;
width: 90%;
}
.close{
position: absolute;
right:33px;
top:10px;
font-size: 50px;
}
#modeDeJeu{
font-size: 25px;;
}
.close:hover{
color:red;
cursor: pointer;
}
#playPage{
display: none;
flex-direction: column;
height: 50%;
}
.border{
border-radius: 15px;
}
.secret{
cursor: pointer;
color:#fe8a71;
}
#niveauGameOver{
color:#fe8a71;
}
#scoreTotGameOver{
color:#fe8a71;
}
#TempsTotGameOver{
color:#fe8a71;
}
.timer_bar{
height: 15px;
max-width: 95%;
margin:2%;
transition: 1.5s;
}
.fa-star{
font-size: 10vh;
cursor: default;
}
@media screen and (max-width:900px){
.fa {
font-size: 1em;
}
#titleGame{
font-size: 2em;
margin-top:35%;
}
.far {
font-size:5em;
margin: 0;
}
#setting_int{
font-size: 0.6em;
}
}