123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604 |
- html, body {
- margin: 0px;
- padding: 0px;
- width: 100%;
- height: 100%;
- overflow: hidden;
- background: #E1F5FC;
- -webkit-text-size-adjust: 100%;
- font-family: 'Microsoft YaHei',SimHei;
- }
- body {
- background-image: url(../content/images/background.jpg);
- background-repeat: repeat-x;
- background-position: center bottom;
- background-size: cover;
- -moz-user-select: none; /*火狐*/
- -webkit-user-select: none; /*webkit浏览器*/
- -ms-user-select: none; /*IE10*/
- -khtml-user-select: none; /*早期浏览器*/
- user-select: none;
- }
- input {
- outline: none;
- }
- a, button, div {
- outline: none;
- -webkit-user-select: none;
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
- -webkit-appearance: none;
- }
- ul, li {
- list-style: none;
- margin: 0px;
- padding: 0px;
- }
- div, span {
- -moz-user-select: none; /*火狐*/
- -webkit-user-select: none; /*webkit浏览器*/
- -ms-user-select: none; /*IE10*/
- -khtml-user-select: none; /*早期浏览器*/
- user-select: none;
- }
- canvas {
- -webkit-transform: translateZ(0);
- }
- #leftController {
- position: absolute;
- left: 0px;
- top: 0px;
- width: 50%;
- height: 100%;
- z-index: 999;
- display: none;
- }
- #rightController {
- position: absolute;
- right: 0px;
- top: 0px;
- width: 50%;
- height: 100%;
- z-index: 999;
- display: none;
- }
- #leftController div, #rightController div {
- position: absolute;
- left: 0px;
- top: 0px;
- width: 100%;
- height: 100%;
- background-position: center center;
- background-repeat: no-repeat;
- opacity: 0;
- animation: tipsImageAnimation 5s;
- -moz-animation: tipsImageAnimation 5s; /* Firefox */
- -webkit-animation: tipsImageAnimation 5s; /* Safari 和 Chrome */
- -o-animation: tipsImageAnimation 5s; /* Opera */
- }
- #leftController div {
- background-image: url(../content/images/arrowLeft.png);
- }
- #rightController div {
- background-image: url(../content/images/arrowRight.png);
- }
- @keyframes tipsImageAnimation {
- 0% {
- opacity: 1;
- }
- 99% {
- opacity: 0;
- }
- 100% {
- display: none;
- }
- }
- @-moz-keyframes tipsImageAnimation {
- 0% {
- opacity: 1;
- }
- 99% {
- opacity: 0;
- }
- 100% {
- display: none;
- }
- }
- @-webkit-keyframes tipsImageAnimation {
- 0% {
- opacity: 1;
- }
- 99% {
- opacity: 0;
- }
- 100% {
- display: none;
- }
- }
- #playingScreen {
- position: absolute;
- left: 0px;
- top: 0px;
- width: 640px;
- height: 100px;
- display: none;
- z-index: 100;
- }
- #score {
- position: absolute;
- right: 20px;
- top: 20px;
- text-align: right;
- padding-right: 5px;
- color: #fff;
- font-size: 30px;
- font-weight: bold;
- text-shadow: -2px 0px 5px #4f5e63,2px 0px 5px #4f5e63,0px -2px 5px #4f5e63,0px 4px 5px #4f5e63;
- -moz-user-select: none; /*火狐*/
- -webkit-user-select: none; /*webkit浏览器*/
- -ms-user-select: none; /*IE10*/
- -khtml-user-select: none; /*早期浏览器*/
- user-select: none;
- }
- #startScreen {
- position: absolute;
- left: 0px;
- top: 0px;
- width: 640px;
- height: 1136px;
- display: none;
- }
- #startScreen .title {
- position: absolute;
- left: -79px;
- top: 70px;
- width: 799px;
- height: 199px;
- background-image: url(../content/images/title.png);
- background-position: center center;
- background-repeat: no-repeat;
- }
- #startScreen .loading {
- position: absolute;
- left: 0px;
- top: 590px;
- width: 640px;
- text-align: center;
- color: #fff;
- font-size: 30px;
- font-weight: bold;
- text-shadow: -2px 0px 5px #4f5e63,2px 0px 5px #4f5e63,0px -2px 5px #4f5e63,0px 4px 5px #4f5e63;
- }
- #startScreen .tips {
- position: absolute;
- width: 340px;
- height: 35px;
- left: 151px;
- top: 343px;
- background-image: url(../content/images/startTips.png);
- background-repeat: no-repeat;
- display: none;
- }
- #startScreen .face {
- position: absolute;
- width: 146px;
- height: 148px;
- background-image: url(../content/images/faces.png);
- background-repeat: no-repeat;
- border: solid 6px #fff;
- border-radius: 50%;
- box-shadow: 1px 1px 5px #aaa;
- cursor: pointer;
- display: none;
- }
- #startScreen .face .name {
- position: absolute;
- width: 93px;
- height: 34px;
- background-image: url(../content/images/faces.png);
- background-repeat: no-repeat;
- background-position: 0px -178px;
- top: 178px;
- display: none;
- }
- #startScreen .face1 {
- left: 49px;
- top: 438px;
- background-position: 0px 0px;
- border-color: #88d436;
- }
- #startScreen .face1 .name {
- left: 25px;
- background-position: -22px -178px;
- }
- #startScreen .face2 {
- left: 245px;
- top: 438px;
- background-position: -191px 0px;
- }
- #startScreen .face2 .name {
- left: 25px;
- background-position: -220px -178px;
- }
- #startScreen .face3 {
- left: 439px;
- top: 438px;
- background-position: -381px 0px;
- }
- #startScreen .face3 .name {
- left: 25px;
- background-position: -406px -178px;
- }
- #startScreen .btnStart {
- position: absolute;
- left: 144px;
- top: 790px;
- width: 345px;
- height: 111px;
- background-image: url(../content/images/btnStart.png);
- background-repeat: no-repeat;
- cursor: pointer;
- display: none;
- }
- #startScreen .btnRanklist {
- position: absolute;
- left: 144px;
- top: 920px;
- width: 345px;
- height: 111px;
- background-image: url(../content/images/btnRanklist.png);
- background-repeat: no-repeat;
- cursor: pointer;
- display: none;
- }
- #startScreen .copyright {
- position: absolute;
- width: 561px;
- height: 232px;
- left: 40px;
- bottom: 130px;
-
- background-repeat: no-repeat;
- z-index: 1000;
- }
- #startScreen .copyright a {
- position: absolute;
- width: 140px;
- height: 55px;
- display: block;
- z-index: 1000;
- background-color: rgba(0,0,0,0);
- }
- #startScreen .copyright .linkMiaopai {
- bottom: 0px;
- left: 115px;
- }
- #startScreen .copyright .linkHuowu {
- bottom: 0px;
- left: 400px;
- }
- #startScreen .copyright1 {
- display: none;
- font-size: 24px;
- color: #fff;
- right: 0px;
- bottom: 10px;
- position: absolute;
- text-align: right;
- text-shadow: 0px 0px 15px #000;
- }
- #ranklistScreen {
- position: absolute;
- left: 0px;
- top: 0px;
- width: 640px;
- height: 1136px;
- display: none;
- }
- #ranklistScreen .background {
- position: absolute;
- left: 25px;
- top: 139px;
- width: 587px;
- height: 775px;
- background-image: url(../content/images/ranklistBg.png);
- background-repeat: no-repeat;
- }
- #ranklistScreen .background #ranklistFrame {
- position: absolute;
- left: 45px;
- top: 111px;
- width: 500px;
- height: 605px;
- overflow: hidden;
- }
- #ranklistScreen .btnStart1 {
- position: absolute;
- left: 60px;
- top: 864px;
- width: 292px;
- height: 97px;
- background-image: url(../content/images/btnStart1.png);
- background-repeat: no-repeat;
- z-index: 10;
- cursor: pointer;
- }
- #ranklistScreen .btnAward {
- position: absolute;
- left: 368px;
- top: 864px;
- width: 213px;
- height: 101px;
-
- background-repeat: no-repeat;
- cursor: pointer;
- z-index: 10;
- }
- #ranklist li {
- position: relative;
- background-image: url(../content/images/ranklistElement.png);
- background-repeat: no-repeat;
- left: 9px;
- width: 485px;
- height: 116px;
- }
- #ranklist li .number {
- position: absolute;
- left: 20px;
- top: 25px;
- width: 65px;
- height: 65px;
- background-image: url(../content/images/ranklistElement.png);
- line-height: 55px;
- font-size: 40px;
- color: #fff;
- text-align: center;
- }
- #ranklist li .name {
- position: absolute;
- left: 100px;
- top: 20px;
- font-size: 26px;
- color: #fff;
- text-shadow: 0px 1px 3px #3c240a,-3px 0px 3px #3c240a,3px 0px 3px #3c240a;
- }
- #ranklist li .score {
- position: absolute;
- left: 100px;
- top: 55px;
- font-size: 26px;
- color: #fff;
- text-shadow: 0px 1px 3px #3c240a,-3px 0px 3px #3c240a,3px 0px 3px #3c240a;
- }
- #gameOverScreen {
- position: absolute;
- left: 0px;
- top: 0px;
- width: 640px;
- height: 1136px;
- display: none;
- }
- #gameOverScreen .title {
- position: absolute;
- left: 181px;
- top: 210px;
- width: 277px;
- height: 43px;
- background-image: url(../content/images/gameOverTitle.png);
- background-repeat: no-repeat;
- }
- #gameOverScreen .background {
- position: absolute;
- left: 91px;
- top: 309px;
- width: 438px;
- height: 229px;
- background-image: url(../content/images/gameOverBg.png);
- background-repeat: no-repeat;
- text-align: center;
- padding-top: 50px;
- font-weight: bold;
- color: #fff;
- font-size: 25px;
- text-shadow: -2px 0px 5px #686456,2px 0px 5px #686456,0px -2px 5px #686456,0px 4px 5px #686456;
- }
- #gameOverScreen .background .text {
- color: #ffe556;
- vertical-align: middle;
- text-shadow: -2px 0px 5px rgba(200,69,11,1),2px 0px 5px rgba(200,69,11,1),0px -2px 5px rgba(200,69,11,1),0px 4px 5px rgba(200,69,11,1);
- }
- #gameOverScreen .background .subTitle {
- display: inline-block;
- width: 231px;
- height: 44px;
- background-image: url(../content/images/gameOverSubTitle.png);
- background-repeat: no-repeat;
- vertical-align: middle;
- }
- #gameOverScreen .background .content {
- position: absolute;
- left: 50px;
- top: 120px;
- width: 370px;
- height: 110px;
- text-align: left;
- line-height: 36px;
- letter-spacing: 3px;
- }
- #gameOverScreen .button {
- position: absolute;
- width: 150px;
- height: 154px;
- background-image: url(../content/images/btnGameOver.png);
- background-repeat: no-repeat;
- cursor: pointer;
- }
- #gameOverScreen .btnContinue {
- left: 75px;
- top: 627px;
- background-position: 0px 0px;
- }
- #gameOverScreen .btnShare {
- left: 246px;
- top: 627px;
- background-position: -171px 0px;
- }
- #gameOverScreen .btnAward {
- left: 415px;
- top: 627px;
- background-position: -340px 0px;
- }
- #gameOverScreen .banner {
- position: absolute;
- left: 0px;
- bottom: 0px;
- width: 640px;
- height: 100px;
-
- z-index: 1000;
- }
- #gameOverScreen .banner a {
- position: absolute;
- display: block;
- left: 0px;
- top: 0px;
- width: 100%;
- height: 100%;
- z-index: 1000;
- background-color: rgba(0,0,0,0);
- }
- #ruleScreen {
- position: absolute;
- left: 0px;
- top: 0px;
- width: 640px;
- height: 1136px;
- display: none;
- z-index: 1000;
- }
- #ruleScreen .background {
- position: absolute;
- left: 27px;
- top: 170px;
- width: 587px;
- height: 535px;
-
- background-repeat: no-repeat;
- }
- #ruleScreen #txtTelphone {
- position: absolute;
- left: 71px;
- top: 520px;
- width: 355px;
- height: 61px;
- background-color: rgba(0,0,0,0);
- background-image: url(../content/images/ruleElement.png);
- background-repeat: no-repeat;
- background-position: 0px -2px;
- color: #fff;
- border: 0px;
- font-size: 34px;
- padding-left: 25px;
- z-index: 999;
- }
- #ruleScreen .btnOk {
- position: absolute;
- left: 455px;
- top: 520px;
- width: 122px;
- height: 69px;
- background-image: url(../content/images/ruleElement.png);
- background-repeat: no-repeat;
- background-position: -379px 0px;
- cursor: pointer;
- }
- #ruleScreen .btnShare {
- position: absolute;
- left: 151px;
- top: 643px;
- width: 345px;
- height: 111px;
- background-image: url(../content/images/ruleElement.png);
- background-repeat: no-repeat;
- background-position: -16px -79px;
- cursor: pointer;
- }
- #ruleScreen .btnBack {
- position: absolute;
- left: 151px;
- top: 761px;
- width: 345px;
- height: 111px;
- background-image: url(../content/images/ruleElement.png);
- background-repeat: no-repeat;
- background-position: -16px -201px;
- cursor: pointer;
- }
|