Auto stash before merge of "master" and "origin/master"

master
orphevs 2017-12-09 05:54:00 +01:00
parent a38ac8a985
commit e00773ca2a
4 changed files with 115 additions and 2 deletions

View File

@ -11,6 +11,18 @@ body{
user-select: none;
}
.background{
position: fixed;
background: url(../img/background.png) no-repeat;
background-size: cover;
filter: blur(10px);
height: 100%;
width: 100%;
z-index: -1;
top: 0;
opacity: 0.15;
}
.header{
text-align: center;
}
@ -18,9 +30,12 @@ body{
.header h1{
display: inline-block;
font-size: 42px;
padding-top: 15px;
padding-bottom: 20px;
padding-top: 30px;
padding-bottom: 30px;
color: #fff;
font-family: 'FIANSO';
text-transform: uppercase;
text-shadow: 0px 3px 2px rgba(0, 0, 0, 0.35);
}
.container{
@ -177,3 +192,92 @@ body{
opacity: 1;
}
}
.startmenu{
text-align: center;
position: absolute;
width: 100%;
height: 73%;
top: 0;
padding-top: 150px;
background: rgba(0, 0, 0, 1);
box-shadow: inset 0px 0px 60px 0px rgba(0,0,0,0.75);
z-index: 10;
overflow: hidden;
}
.startmenu h1{
font-family: 'FIANSO';
font-size: 64px;
color: #fff;
margin: inherit;
padding-bottom: 60px;
animation: pulse 3s infinite;
}
@keyframes pulse{
0%{
transform: scale(1);
}
50%{
transform: scale(1.15);
}
100%{
transform: scale(1);
}
}
.startmenu h4{
font-family: 'FIANSO';
font-size: 14px;
color: #fff;
margin: inherit;
padding-bottom: 50px;
opacity: 0.8;
}
.startmenu a{
font-family: 'FIANSO';
font-size: 18px;
color: #fff;
margin: inherit;
text-align: center;
border: solid 3px #fff;
border-radius: 6px;
padding: 12px 24px;
text-decoration: none;
transition: 0.3s;
position: relative;
z-index: 5;
display: inline-block;
margin-bottom: 15px;
}
.startmenu a:hover{
background: #fff;
color: #000;
}
.startmenu img{
width: 50%;
position: absolute;
left: -45px;
top: 85px;
z-index: -1;
filter: blur(3px);
animation: tankPulse 3s infinite;
}
@keyframes tankPulse{
0%{
transform: rotate(0deg) scale(1);
}
50%{
transform: rotate(-5deg) scale(1.1);
}
100%{
transform: rotate(0deg) scale(1);
}
}

BIN
assets/img/background.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
assets/img/tank.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

View File

@ -19,6 +19,14 @@
<h1>GAME OVER</h1>
<h4>Votre score : <span class="textScore"></span></h4>
<a href="#" class="replay">Rejouer</a>
</div>
<div class="startmenu">
<h1>DE_TANK</h1>
<h4>Vous devez détruire les cibles,<br><br> si plus de 3 cibles sont affichées c'est PERDU.</h4>
<a href="#" class="play">Facile</a>
<br><br>
<a href="#" class="play">Pas facile</a>
<img src="assets/img/tank.png" alt="tank">
</div>
<div class="line line-1">
<div class="col col-1"></div>
@ -242,6 +250,7 @@
</div>
</section>
</div>
<div class="background"></div>
</body>
<script src="assets/js/script.js"></script>