mirror of https://github.com/sundowndev/Detank.git
Auto stash before merge of "master" and "origin/master"
parent
a38ac8a985
commit
e00773ca2a
|
@ -11,6 +11,18 @@ body{
|
||||||
user-select: none;
|
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{
|
.header{
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
@ -18,9 +30,12 @@ body{
|
||||||
.header h1{
|
.header h1{
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: 42px;
|
font-size: 42px;
|
||||||
padding-top: 15px;
|
padding-top: 30px;
|
||||||
padding-bottom: 20px;
|
padding-bottom: 30px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
font-family: 'FIANSO';
|
||||||
|
text-transform: uppercase;
|
||||||
|
text-shadow: 0px 3px 2px rgba(0, 0, 0, 0.35);
|
||||||
}
|
}
|
||||||
|
|
||||||
.container{
|
.container{
|
||||||
|
@ -177,3 +192,92 @@ body{
|
||||||
opacity: 1;
|
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);
|
||||||
|
}
|
||||||
|
}
|
Binary file not shown.
After Width: | Height: | Size: 61 KiB |
Binary file not shown.
After Width: | Height: | Size: 146 KiB |
|
@ -20,6 +20,14 @@
|
||||||
<h4>Votre score : <span class="textScore"></span></h4>
|
<h4>Votre score : <span class="textScore"></span></h4>
|
||||||
<a href="#" class="replay">Rejouer</a>
|
<a href="#" class="replay">Rejouer</a>
|
||||||
</div>
|
</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="line line-1">
|
||||||
<div class="col col-1"></div>
|
<div class="col col-1"></div>
|
||||||
<div class="col col-2"></div>
|
<div class="col col-2"></div>
|
||||||
|
@ -242,6 +250,7 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="background"></div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
<script src="assets/js/script.js"></script>
|
<script src="assets/js/script.js"></script>
|
||||||
|
|
Loading…
Reference in New Issue