2013-03-01 17:17:22 +08:00
|
|
|
|
|
|
|
@import url(http://fonts.googleapis.com/css?family=Londrina+Solid|Londrina+Shadow);
|
|
|
|
* {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
-webkit-touch-callout: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-khtml-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
font-family: "Londrina Solid";
|
|
|
|
-webkit-box-sizing: border-box;
|
2013-06-20 17:09:46 +08:00
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
2013-03-01 17:17:22 +08:00
|
|
|
}
|
|
|
|
html {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
2013-03-18 09:42:39 +08:00
|
|
|
background-color: #222;
|
2013-03-01 17:17:22 +08:00
|
|
|
}
|
|
|
|
body {
|
2013-03-18 09:42:39 +08:00
|
|
|
background-color: #222;
|
2013-03-01 17:17:22 +08:00
|
|
|
color: #eee;
|
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
font-size: 20px;
|
|
|
|
line-height: 20px;
|
|
|
|
vertical-align: middle;
|
|
|
|
overflow: hidden;
|
2013-04-18 16:45:44 +08:00
|
|
|
cursor: url(assets/cursor.png) 4 4, auto;
|
2013-03-01 17:17:22 +08:00
|
|
|
}
|
2013-06-20 17:09:46 +08:00
|
|
|
#loading {
|
|
|
|
background-color: #aaa;
|
|
|
|
color: rgba(0, 0, 0, 0.5);
|
|
|
|
text-align: center;
|
|
|
|
z-index: 9990;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
backface-visibility: hidden;
|
|
|
|
}
|
|
|
|
#loadingc {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
z-index: 9999;
|
|
|
|
margin: -50px 0 0 -100px;
|
|
|
|
height: 100px;
|
|
|
|
width: 200px;
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes loading {
|
|
|
|
from {
|
|
|
|
-webkit-transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@-moz-keyframes loading {
|
|
|
|
from {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@-webkit-keyframes loading {
|
|
|
|
from {
|
|
|
|
-webkit-transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@-ms-keyframes loading {
|
|
|
|
from {
|
|
|
|
-webkit-transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@-o-keyframes loading {
|
|
|
|
from {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.loading {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
margin-right: 0px;
|
|
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
|
|
border-radius: 10px;
|
|
|
|
border-top-right-radius: 0px;
|
|
|
|
-webkit-border-radius: 10px;
|
|
|
|
-webkit-border-top-right-radius: 0px;
|
|
|
|
-moz-border-radius: 10px;
|
|
|
|
-moz-border-top-right-radius: 0px;
|
|
|
|
-o-border-radius: 10px;
|
|
|
|
-o-border-top-right-radius: 0px;
|
|
|
|
-ms-border-radius: 10px;
|
|
|
|
-ms-border-top-right-radius: 0px;
|
|
|
|
animation: loading 1s infinite;
|
|
|
|
-webkit-animation: loading 1s infinite;
|
|
|
|
-moz-animation: loading 1s infinite;
|
|
|
|
-o-animation: loading 1s infinite;
|
|
|
|
-ms-animation: loading 1s infinite;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2013-03-01 17:17:22 +08:00
|
|
|
#map_canvas {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
#dpf, #dpb, #dpl, #dpr {
|
|
|
|
width: 50px;
|
|
|
|
height: 50px;
|
|
|
|
line-height: 50px;
|
|
|
|
font-size: 20px;
|
|
|
|
border: 1px solid #999;
|
|
|
|
border-radius: 10px;
|
|
|
|
background-color: #bbb;
|
|
|
|
color: #333;
|
|
|
|
opacity: 0.8;
|
|
|
|
z-index: 3;
|
|
|
|
}
|
|
|
|
#dpf:active, #dpb:active, #dpl:active, #dpr:active {
|
|
|
|
background-color: #aaa;
|
|
|
|
border: 1px solid #888;
|
|
|
|
}
|
|
|
|
#dpf {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 130px;
|
|
|
|
right: 60px;
|
|
|
|
}
|
|
|
|
#dpb {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 30px;
|
|
|
|
right: 60px;
|
|
|
|
}
|
|
|
|
#dpl {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 80px;
|
|
|
|
right: 110px;
|
|
|
|
}
|
|
|
|
#dpr {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 80px;
|
|
|
|
right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#bar {
|
|
|
|
background-color: rgba(0, 0, 0, 0.0);
|
2013-04-18 18:12:14 +08:00
|
|
|
z-index: 2;
|
2013-03-01 17:17:22 +08:00
|
|
|
color: #eee;
|
|
|
|
padding: 10px 0px;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
vertical-align: middle;
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.0);
|
|
|
|
}
|
|
|
|
#you {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 2;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2013-03-18 09:10:03 +08:00
|
|
|
#menu, #tgpm, #aboutc {
|
2013-03-01 17:17:22 +08:00
|
|
|
text-align: center;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
z-index: 6;
|
|
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
|
|
}
|
|
|
|
#menu h1 {
|
|
|
|
font-family: "Londrina Shadow";
|
|
|
|
padding: 30px 10px;
|
|
|
|
font-size: 30px;
|
|
|
|
line-height: 30px;
|
|
|
|
word-spacing: 20px;
|
|
|
|
background: transparent url("assets/the-bunnies.png") center center no-repeat;
|
|
|
|
background-size: 250px 40px;
|
|
|
|
color: transparent;
|
|
|
|
}
|
|
|
|
h1 {
|
|
|
|
font-family: "Londrina Shadow";
|
|
|
|
padding: 30px 10px;
|
|
|
|
font-size: 30px;
|
|
|
|
line-height: 30px;
|
|
|
|
}
|
2013-03-18 09:42:39 +08:00
|
|
|
h2 {
|
|
|
|
font-family: "Londrina Shadow";
|
|
|
|
font-size: 25px;
|
|
|
|
padding: 15px 5px;
|
|
|
|
line-height: 25px;
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
2013-03-01 17:17:22 +08:00
|
|
|
.btn {
|
|
|
|
color: #fff;
|
|
|
|
padding: 5px 10px;
|
|
|
|
margin: 10px auto;
|
|
|
|
box-shadow: -5px -5px 1px rgba(255, 255, 255, 0.25);
|
|
|
|
border: 1px dashed #fff;
|
|
|
|
font-size: 20px;
|
|
|
|
display: block;
|
|
|
|
width: 200px;
|
|
|
|
background-color: rgba(255, 255, 255, 0.5);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
.btn:hover {
|
|
|
|
box-shadow: -3px -3px 1px rgba(255, 255, 255, 0.25);
|
|
|
|
position: relative;
|
|
|
|
top: -2px;
|
|
|
|
left: -2px;
|
|
|
|
background-color: rgba(255, 255, 255, 0.4);
|
|
|
|
}
|
|
|
|
#dir {
|
|
|
|
width: 2px;
|
|
|
|
height: 100px;
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
#dirh {
|
|
|
|
width: 2px;
|
|
|
|
height: 200px;
|
|
|
|
position: absolute;
|
|
|
|
left: 50%;
|
|
|
|
top: 50%;
|
|
|
|
z-index: 2;
|
|
|
|
margin: -100px 0 0 -1px;
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
#tgp {
|
|
|
|
margin: 0;
|
|
|
|
width: auto;
|
|
|
|
padding: 10px 5px;
|
|
|
|
z-index: 4;
|
|
|
|
line-height: 20px;
|
|
|
|
position: absolute;
|
|
|
|
right: 0px;
|
|
|
|
top: 0px;
|
|
|
|
font-size: 20px;
|
|
|
|
display: none;
|
|
|
|
/* box-shadow: -5px 5px 1px rgba(255, 255, 255, 0.25); */
|
|
|
|
color: #fff;
|
|
|
|
border-radius: 5px;
|
|
|
|
background: transparent url("assets/pauseplay.png") no-repeat right top;
|
|
|
|
width: 42px;
|
|
|
|
background-size: 42px 84px;
|
|
|
|
color: transparent;
|
|
|
|
}
|
|
|
|
#tgp:hover {
|
|
|
|
/* box-shadow: -3px 3px 1px rgba(255, 255, 255, 0.25); */
|
|
|
|
position: absolute;
|
|
|
|
right: 2px;
|
|
|
|
top: 2px;
|
|
|
|
}
|
2013-03-18 09:10:03 +08:00
|
|
|
#tgpm, #aboutc {
|
2013-03-01 17:17:22 +08:00
|
|
|
display: none;
|
|
|
|
}
|
2013-03-18 09:42:39 +08:00
|
|
|
#aboutc {
|
|
|
|
line-height: 25px;
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
2013-03-01 17:17:22 +08:00
|
|
|
h1 sup {
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 13px;
|
|
|
|
font-weight: 400;
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
#sec {
|
|
|
|
float: center;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
#kills {
|
|
|
|
float: left;
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 30px;
|
|
|
|
}
|
2013-04-18 18:12:14 +08:00
|
|
|
#frame {
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
#bunny {
|
|
|
|
display: none;
|
|
|
|
width: 100px;
|
|
|
|
height: 175px;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
margin-top: -82.5px;
|
|
|
|
margin-left: -50px;
|
|
|
|
background: url(assets/you.png);
|
|
|
|
background-size: 100% 100%;
|
|
|
|
z-index: 3;
|
|
|
|
}
|
|
|
|
.enemy {
|
|
|
|
display: block;
|
|
|
|
width: 100px;
|
|
|
|
height: 175px;
|
|
|
|
position: absolute;
|
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
2013-06-20 17:09:46 +08:00
|
|
|
margin-top: -82.5px;
|
|
|
|
margin-left: -50px;
|
2013-04-18 18:12:14 +08:00
|
|
|
background: url(assets/eknife.png);
|
|
|
|
background-size: 100% 100%;
|
|
|
|
z-index: 1;
|
|
|
|
}
|