2015-07-17 10:22:46 +02:00
|
|
|
#game{
|
2018-09-18 15:59:40 +02:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2015-07-17 10:22:46 +02:00
|
|
|
overflow: hidden;
|
2018-09-18 15:59:40 +02:00
|
|
|
background-size: cover;
|
2015-07-17 10:22:46 +02:00
|
|
|
}
|
2018-09-27 03:04:01 +02:00
|
|
|
#game.default-bg{
|
2018-09-27 17:31:57 +02:00
|
|
|
background-size: calc(100vh / 720 * 512);
|
2018-09-27 03:04:01 +02:00
|
|
|
}
|
2015-07-17 10:22:46 +02:00
|
|
|
#canvas{
|
2018-09-18 15:59:40 +02:00
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2015-07-17 10:22:46 +02:00
|
|
|
}
|
|
|
|
#pause-menu{
|
2018-09-18 15:59:40 +02:00
|
|
|
display: none;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
background: rgba(0, 0, 0, 0.75);
|
|
|
|
z-index: 5;
|
2015-07-17 10:22:46 +02:00
|
|
|
}
|
|
|
|
#pause-menu button{
|
|
|
|
width: 90%;
|
|
|
|
height: 25%;
|
|
|
|
display: block;
|
2018-09-09 06:09:15 +02:00
|
|
|
margin: 0 auto;
|
2015-07-17 10:22:46 +02:00
|
|
|
cursor: pointer;
|
2018-09-09 06:09:15 +02:00
|
|
|
border:.5vmin solid #ae7a26;
|
2018-09-18 15:59:40 +02:00
|
|
|
background: #fff;
|
|
|
|
color: #000;
|
2015-07-17 10:22:46 +02:00
|
|
|
font-family: TnT;
|
2018-09-09 06:09:15 +02:00
|
|
|
font-size: 3.5vmin;
|
|
|
|
border-radius: 1.5vmin;
|
2018-09-26 22:06:14 +02:00
|
|
|
outline: none;
|
2015-07-17 10:22:46 +02:00
|
|
|
}
|
2018-09-26 20:30:57 +02:00
|
|
|
#pause-menu button:hover,
|
2018-09-26 22:06:14 +02:00
|
|
|
#pause-menu .window:not(:hover) button.selected{
|
2018-09-18 15:59:40 +02:00
|
|
|
color:white;
|
|
|
|
background:#0c6577;
|
2018-09-26 20:30:57 +02:00
|
|
|
border-color:#fa5d3a;
|
|
|
|
}
|
2018-09-18 15:59:40 +02:00
|
|
|
#cursor{
|
|
|
|
position: fixed;
|
|
|
|
width: 1px;
|
|
|
|
height: 1px;
|
|
|
|
cursor: none;
|
|
|
|
pointer-events: none;
|
|
|
|
z-index: 1;
|
2015-07-17 10:22:46 +02:00
|
|
|
}
|
2018-10-05 19:03:59 +02:00
|
|
|
#touch-bg{
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
height: 50%;
|
|
|
|
background: url(/assets/img/touch_bg.png) center bottom;
|
|
|
|
background-size: cover;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
#touch-bg-blue{
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
background: url(/assets/img/touch_bg_blue.png) center bottom;
|
|
|
|
background-size: cover;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
#touch-drum{
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
text-align: center;
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
#touch-drum img{
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
#touch-buttons{
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
top: 7vh;
|
|
|
|
right: 2vh;
|
|
|
|
opacity: 0.5;
|
|
|
|
z-index: 5;
|
|
|
|
}
|
|
|
|
#touch-buttons img{
|
|
|
|
width: 12vh;
|
|
|
|
}
|
|
|
|
.touch-visible #touch-bg,
|
|
|
|
.touch-visible #touch-buttons{
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.touch-visible .window{
|
|
|
|
width: 80vmin;
|
|
|
|
height: 53vmin;
|
|
|
|
}
|
|
|
|
.touch-visible #pause-menu .window button{
|
|
|
|
font-size: 5vmin;
|
|
|
|
}
|
|
|
|
.touch-visible #pause-menu .window button.selected{
|
|
|
|
color: #000;
|
|
|
|
background: #fff;
|
|
|
|
border-color: #ae7a26;
|
|
|
|
}
|