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.

155 lines
2.5 KiB

body {
position: absolute;
overflow: hidden;
padding: 0px;
margin: 0px;
width: 100%;
height: 100%;
background-image: url(background.jpg);
}
#scene {
cursor: none;
user-select: none;
/*overflow: hidden;*/
background-color: orangered;
box-shadow: 12px 12px 4px rgba(150,150,150,0.75);
border-radius: 15px;
}
.brique {
background-color: greenyellow;
opacity: 0.5;
}
#scene.fullscreen {
box-shadow: none;
}
#score {
font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
right: 25px;
top: 25px;
color: black;
border-radius: 15px;
z-index: 4;
position: absolute;
background-color: wheat;
padding: 15px;
}
#pause {
cursor: pointer;
z-index: 20;
position: absolute;
right: 50px;
top: 150px;
}
#unpause {
display: none;
cursor: pointer;
z-index: 20;
position: absolute;
right: 50px;
top: 150px;
}
#textepause {
margin: auto;
color: red;
padding: 15px;
background-color: black;
border: black;
display: none;
text-align: center;
font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}
#victoire {
z-index: 40;
position: absolute;
display: none;
text-align: center;
justify-content: center;
font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.603);
display: flex;
flex-direction: column;
}
#victoire h1 {
justify-content: center;
margin-left: 37%;
width: 250px;
height: 75px;
padding: 50px;
background-color: green;
}
#recommencer {
cursor: pointer;
border-radius: 15px;
width: 150;
height: 50;
padding: 25px;
background-color: wheat;
}
#defaite {
z-index: 40;
position: absolute;
display: none;
text-align: center;
justify-content: center;
font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.603);
display: flex;
flex-direction: column;
}
#defaite h1 {
justify-content: center;
margin-left: 37%;
width: 250px;
height: 75px;
padding: 50px;
background-color: red;
}
#fullscreen {
position: absolute;
right: 10px;
bottom: 10px;
width: 2em;
height: 1.2em;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
font-size: 1em;
background-color: #FFFFFF;
border: 1px solid #000000;
box-shadow: 4px 4px 2px rgba(0,0,0,0.2);
border-radius: 0.6em;
cursor: pointer;
}
#jeu {
background-image: url("fond.jpg");
border-radius: 15px;
}