加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
style.css 27.05 KB
一键复制 编辑 原始数据 按行查看 历史
颜宏周 提交于 2021-04-28 11:05 . 优化
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600
@charset "UTF-8";
@font-face {
font-family: 'AddLGBitmap09';
src: url("AddLGBitmap09.woff2") format("woff2"), url("AddLGBitmap09.woff") format("woff");
font-weight: normal;
font-style: normal;
font-display: swap;
}
body {
background: black;
color: white;
margin: 0;
padding: 0;
overflow: hidden;
font-family: 'SimSun,AddLGBitmap09';
}
.game_lose,
.game_win {
position: absolute;
background: rgba(14, 3, 13, 0.94);
z-index: 99999;
width: 100%;
height: 100%;
text-align: center;
display: none;
}
.game_lose.show,
.game_win.show {
display: block;
}
.game_lose .inner,
.game_win .inner {
position: absolute;
width: 500px;
left: 0;
right: 0;
margin: auto;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
.game_lose .inner p,
.game_win .inner p {
font-size: 12px;
line-height: 20px;
}
#app {
background: url("img/ssBg.png");
background-size: cover;
background-position: center;
height: 100vh;
width: 100%;
position: relative;
-webkit-transition: all .1s;
transition: all .1s;
position: relative;
}
@-webkit-keyframes shake {
0% {
left: -3px;
top: 3px;
}
20% {
left: 3px;
top: -3px;
}
40% {
left: 3px;
top: 3px;
}
60% {
left: -3px;
top: -3px;
}
80% {
left: 3px;
top: 3px;
}
100% {
left: 0;
top: 0px;
}
}
@keyframes shake {
0% {
left: -3px;
top: 3px;
}
20% {
left: 3px;
top: -3px;
}
40% {
left: 3px;
top: 3px;
}
60% {
left: -3px;
top: -3px;
}
80% {
left: 3px;
top: 3px;
}
100% {
left: 0;
top: 0px;
}
}
#app.pressed {
-webkit-animation: shake .1s forwards;
animation: shake .1s forwards;
}
.game_intro {
background: rgba(14, 3, 13, 0.94);
width: 100%;
height: 100%;
position: fixed;
z-index: 99;
-webkit-transition: all .3s;
transition: all .3s;
}
.game_intro.gamestarted {
opacity: 0;
pointer-events: none;
}
.game_intro__inner {
position: absolute;
left: 0;
right: 0;
margin: auto;
top: 50%;
width: 680px;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
text-align: center;
-webkit-transition: all .3s;
transition: all .3s;
font-size: 12px;
line-height: 30px;
}
.game_intro__inner .begin {
text-align: center;
margin-top: 80px;
cursor: pointer;
-webkit-transition: all .3s;
transition: all .3s;
}
.game_intro__inner .begin:hover {
color: #76ece2;
}
.game_intro__inner .dialogue {
float: left;
width: 60%;
background: black;
color: white;
border-radius: 20px;
padding: 20px 31px;
position: relative;
}
.game_intro__inner p {
text-align: left;
clear: both;
}
.game_intro__inner span {
display: block;
color: #76ece2;
font-size: 9px;
text-align: left;
margin-bottom: -11px;
text-transform: uppercase;
}
.game_intro__inner .king {
float: right;
width: 140px !important;
}
.game_intro__inner.start {
-webkit-transition: all 1s;
transition: all 1s;
}
.game_intro__inner.start.gamestarted {
opacity: 0;
pointer-events: none;
}
.game_intro__inner .continue {
position: absolute;
z-index: 1;
cursor: pointer;
right: 20px;
font-size: 10px;
top: 175px;
-webkit-transition: all .3s;
transition: all .3s;
}
.game_intro__inner .continue:hover {
color: #76ece2;
}
.game_intro__inner.end {
opacity: 1;
pointer-events: all;
-webkit-transition: all 1s 1s;
transition: all 1s 1s;
}
.game_intro__inner.end .continue {
opacity: 1;
-webkit-transition: all .3s 6s;
transition: all .3s 6s;
}
.game_intro__inner.end.gamestarted {
opacity: 0;
}
.game_intro__inner.end.gamestarted .continue {
opacity: 0;
}
.game_intro__inner.gamestarted {
pointer-events: none;
}
.game_intro__inner img:nth-of-type(1) {
width: 400px;
-ms-interpolation-mode: nearest-neighbor;
image-rendering: -moz-crisp-edges;
image-rendering: pixelated;
}
.game_intro__inner img:nth-of-type(2) {
position: relative;
left: 0px;
}
.game_intro__inner img:nth-of-type(2) {
cursor: pointer;
margin-top: 40px;
}
.game_inner__tooltip {
width: 390px;
margin: 0 auto;
text-align: left;
position: absolute;
top: calc(50% + 240px);
left: 0;
right: 0;
margin: auto;
opacity: 0;
-webkit-transition: all .3s;
transition: all .3s;
}
.game_inner__tooltip.active {
opacity: 1;
}
.game_inner__tooltip .smash {
width: 100%;
text-align: center;
margin-top: 23px;
font-size: 9px;
}
.game_inner__tooltip .space {
width: 390px;
margin-top: 50px;
height: 50px;
background: white;
position: relative;
top: 0;
border-radius: 6px;
box-shadow: 0 10px #d6d6d6;
-webkit-animation: press2 .1s infinite;
animation: press2 .1s infinite;
}
@-webkit-keyframes press2 {
0% {
box-shadow: 0 10px #d6d6d6;
top: 0px;
}
100% {
box-shadow: 0 0px #d6d6d6;
top: 10px;
}
}
@keyframes press2 {
0% {
box-shadow: 0 10px #d6d6d6;
top: 0px;
}
100% {
box-shadow: 0 0px #d6d6d6;
top: 10px;
}
}
.game_inner__footer {
position: fixed;
left: 50px;
font-size: 7px;
z-index: 2;
bottom: 40px;
width: calc(100% - 100px);
}
.game_inner__footer .madeby {
position: relative;
top: 50px;
}
.game_inner__footer .resources {
float: right;
}
.game_inner__footer .resources div {
margin: 0 0 10px 0;
font-size: 12px;
}
.game_inner__footer .resources div img {
position: relative;
top: 3px;
margin-right: 8px;
}
.game_inner__footer a {
color: #d0295f;
text-decoration: none;
}
.game_inner__left {
text-align: center;
float: left;
position: relative;
width: calc(100%);
height: 100vh;
}
.game_inner__left .buttons {
float: right;
padding: 50px;
}
.game_inner__left .buttons img {
width: 32px;
float: left;
margin-left: 12px;
cursor: pointer;
}
.game_inner__left .buttons img.off {
opacity: 0.3;
}
.game_inner__left .logo {
padding: 50px;
float: left;
}
.game_inner__left .ui {
width: 100%;
}
.game_inner__left .ui_spaces {
font-size: 24px;
margin-bottom: 7px;
}
.game_inner__left .ui_progress {
width: 500px;
margin: 0 auto;
text-align: left;
position: absolute;
top: calc(50% - 300px);
left: 0;
right: 0;
margin: auto;
}
.game_inner__left .ui_progress__stage {
font-size: 9px;
margin-bottom: 11px;
}
.game_inner__left .ui_progress__bar {
width: 100%;
position: relative;
}
.game_inner__left .ui_progress__bar .inner {
background: url("img/ktkProgressInner.png");
height: 7px;
width: calc(100% - 6px);
background-size: 494px 7px;
position: absolute;
top: 10px;
z-index: 1;
left: 3px;
-webkit-transition: all .4s;
transition: all .4s;
max-width: 494px;
}
.game_inner__left .ui_progress__bar .outer {
background: url("img/ktkProgressOuter.png");
height: 12px;
width: 100%;
background-size: 500px 12px;
position: absolute;
top: 8px;
}
.game_inner__left .ui_progress__icons {
display: -webkit-box;
display: flex;
-webkit-box-pack: justify;
justify-content: space-between;
position: relative;
z-index: 1;
padding: 0 14px;
}
.game_inner__left .ui_progress__icons .icon {
-webkit-box-flex: 1;
flex-grow: 1;
text-align: center;
}
.game_inner__left .ui_progress__icons .icon_bg {
width: 28px;
height: 28px;
margin: auto;
background: url("img/ktkStageLocked.png");
}
.game_inner__left .ui_progress__icons .icon_bg.active:after {
width: 10px;
height: 10px;
content: '▲';
display: block;
position: relative;
top: 31px;
left: 9px;
font-size: 10px;
}
.game_inner__left .ui_progress__icons .icon_bg.complete {
background: url("img/ktkStageComplete.png");
}
.game_inner__left .ui_presses {
font-size: 12px;
opacity: 0.4;
}
.game_inner__left .center {
position: absolute;
left: 0;
right: 0;
margin: auto;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
width: 390px;
}
.game_inner__left .center .player_sprite,
.game_inner__left .center .enemy_sprite {
width: 150px;
height: 150px;
-webkit-animation: idle 0.5s steps(7, end) infinite;
animation: idle 0.5s steps(7, end) infinite;
-webkit-transform: scale(5);
transform: scale(5);
-ms-interpolation-mode: nearest-neighbor;
image-rendering: -moz-crisp-edges;
image-rendering: pixelated;
}
.game_inner__left .center .player_sprite.pressed,
.game_inner__left .center .enemy_sprite.pressed {
-webkit-animation: attack 0.15s steps(3, end);
animation: attack 0.15s steps(3, end);
}
.game_inner__left .center .characters {
width: 400px;
margin: 80px auto;
}
.game_inner__left .center .characters .stand {
width: 100%;
height: 100px;
background: #141627;
border-radius: 100%;
position: absolute;
bottom: -20px;
left: 9px;
}
.game_inner__left .center .characters .player {
z-index: 1;
position: relative;
left: 10px;
top: 60px;
-webkit-transition: all 1s .3s;
transition: all 1s .3s;
}
.game_inner__left .center .characters .player.run {
left: 400px;
opacity: 0;
}
.game_inner__left .center .characters .player .stats {
position: absolute;
left: -110px;
text-align: left;
-webkit-transform: translateY(4px);
transform: translateY(4px);
font-size: 8px;
-webkit-animation: health 2s infinite;
animation: health 2s infinite;
}
.game_inner__left .center .characters .player .stats span {
font-size: 6px;
opacity: 0.75;
display: block;
padding-left: 24px;
padding-top: 4px;
}
.game_inner__left .center .characters .player .stats div {
margin-bottom: 10px;
}
.game_inner__left .center .characters .player .stats div img {
position: relative;
margin-right: 4px;
top: 3px;
}
.game_inner__left .center .characters .enemy {
position: relative;
top: -134px;
left: -40px;
-webkit-transition: all .3s;
transition: all .3s;
}
.game_inner__left .center .characters .enemy.run {
opacity: 0;
}
.game_inner__left .center .characters .enemy,
.game_inner__left .center .characters .player {
width: 50%;
float: left;
}
.game_inner__left .center .enemy {
width: 100px;
}
.game_inner__left .center .enemy_hit, .game_inner__left .center .enemy_gold, .game_inner__left .center .enemy_xp {
position: absolute;
left: 98px;
top: 40px;
z-index: 1;
opacity: 0;
}
.game_inner__left .center .enemy_hit.pressed, .game_inner__left .center .enemy_gold.pressed, .game_inner__left .center .enemy_xp.pressed {
-webkit-animation: hit .15s forwards;
animation: hit .15s forwards;
}
.game_inner__left .center .enemy_gold.killed {
-webkit-animation: hit .3s .1s forwards;
animation: hit .3s .1s forwards;
}
.game_inner__left .center .enemy_xp {
left: 0;
right: 0;
}
.game_inner__left .center .enemy_xp.killed {
-webkit-animation: hit .3s .12s forwards;
animation: hit .3s .12s forwards;
}
.game_inner__left .center .enemy_sprite {
background: url("img/ssEnemyIdle_1.png");
-webkit-animation: none;
animation: none;
width: 200px;
-webkit-animation: enemyIdle 0.5s steps(7, end) infinite;
animation: enemyIdle 0.5s steps(7, end) infinite;
-webkit-transform: scaleX(-5) scaleY(5);
transform: scaleX(-5) scaleY(5);
position: relative;
}
.game_inner__left .center .enemy_sprite.boss {
background: url("img/ktkTrostIdle.png");
-webkit-animation: bossIdle 1s steps(7, end) infinite;
animation: bossIdle 1s steps(7, end) infinite;
width: 160px;
top: 10px;
left: 40px;
height: 105px;
-webkit-filter: hue-rotate(0deg) !important;
filter: hue-rotate(0deg) !important;
}
.game_inner__left .center .enemy_sprite.boss.pressed {
-webkit-animation: bossHit 0.15s steps(3, end);
animation: bossHit 0.15s steps(3, end);
}
.game_inner__left .center .enemy_sprite.boss.killed {
-webkit-animation: bossKilled 0.8s steps(5, end);
animation: bossKilled 0.8s steps(5, end);
}
.game_inner__left .center .enemy_sprite.pressed {
-webkit-animation: enemyHit 0.15s steps(3, end);
animation: enemyHit 0.15s steps(3, end);
}
.game_inner__left .center .enemy_sprite.killed {
-webkit-animation: enemyKilled 0.8s steps(5, end);
animation: enemyKilled 0.8s steps(5, end);
}
.game_inner__left .center .enemy_health {
width: 190px;
height: 12px;
position: absolute;
left: 0;
font-size: 13px;
right: 0;
line-height: 39px;
border-radius: 10px;
top: 10px;
padding-top: 0px;
margin: auto;
background: url(img/ktkEnemyHealth.png);
-webkit-animation: health 2s infinite;
animation: health 2s infinite;
}
.game_inner__left .center .enemy_health_stats {
font-size: 7px;
padding-top: 6px;
text-align: left;
}
.game_inner__left .center .enemy_health_stats .name {
float: left;
}
.game_inner__left .center .enemy_health_stats .level {
float: right;
}
.game_inner__left .center .enemy_health_inner {
position: absolute;
left: 4px;
top: 3px;
height: 5px;
border-radius: 10px;
-webkit-transition: all .1s;
transition: all .1s;
max-width: 182px;
background: url(img/ktkEnemyHealthInner.png);
}
.game_inner__left .spaceBar {
width: 390px;
margin-top: 50px;
height: 50px;
background: white;
position: relative;
top: 0;
border-radius: 6px;
box-shadow: 0 10px #d6d6d6;
-webkit-animation: press2 .1s forwards;
animation: press2 .1s forwards;
}
@-webkit-keyframes health {
0% {
top: 10px;
}
50% {
top: 13px;
}
100% {
top: 10px;
}
}
@keyframes health {
0% {
top: 10px;
}
50% {
top: 13px;
}
100% {
top: 10px;
}
}
@-webkit-keyframes idle {
0% {
background: url("img/ssIdle.png");
background-position: 0% 0;
}
100% {
background: url("img/ssIdle.png");
background-position: 100% 0;
}
}
@keyframes idle {
0% {
background: url("img/ssIdle.png");
background-position: 0% 0;
}
100% {
background: url("img/ssIdle.png");
background-position: 100% 0;
}
}
@-webkit-keyframes attack {
0% {
background: url("img/ssAttack1.png");
background-position: 0% 0;
}
100% {
background: url("img/ssAttack1.png");
background-position: 100% 0;
}
}
@keyframes attack {
0% {
background: url("img/ssAttack1.png");
background-position: 0% 0;
}
100% {
background: url("img/ssAttack1.png");
background-position: 100% 0;
}
}
@-webkit-keyframes enemyIdle {
0% {
background: url("img/ssEnemyIdle_1.png");
background-position: 0% 0;
}
100% {
background: url("img/ssEnemyIdle_1.png");
background-position: 100% 0;
}
}
@keyframes enemyIdle {
0% {
background: url("img/ssEnemyIdle_1.png");
background-position: 0% 0;
}
100% {
background: url("img/ssEnemyIdle_1.png");
background-position: 100% 0;
}
}
@-webkit-keyframes bossIdle {
0% {
background: url("img/ktkTrostIdle.png");
background-position: 0% 0;
}
100% {
background: url("img/ktkTrostIdle.png");
background-position: 100% 0;
}
}
@keyframes bossIdle {
0% {
background: url("img/ktkTrostIdle.png");
background-position: 0% 0;
}
100% {
background: url("img/ktkTrostIdle.png");
background-position: 100% 0;
}
}
@-webkit-keyframes bossHit {
0% {
background: url("img/ktkTrostHit.png");
background-position: 0% 0;
}
100% {
background: url("img/ktkTrostHit.png");
background-position: 100% 0;
}
}
@keyframes bossHit {
0% {
background: url("img/ktkTrostHit.png");
background-position: 0% 0;
}
100% {
background: url("img/ktkTrostHit.png");
background-position: 100% 0;
}
}
@-webkit-keyframes bossKilled {
0% {
background: url("img/ktkTrostKilled.png");
background-position: 0% 0;
}
100% {
background: url("img/ktkTrostKilled.png");
background-position: 100% 0;
}
}
@keyframes bossKilled {
0% {
background: url("img/ktkTrostKilled.png");
background-position: 0% 0;
}
100% {
background: url("img/ktkTrostKilled.png");
background-position: 100% 0;
}
}
@-webkit-keyframes enemyHit {
0% {
background: url("img/ssEnemyHit_1.png");
background-position: 0% 0;
}
100% {
background: url("img/ssEnemyHit_1.png");
background-position: 100% 0;
}
}
@keyframes enemyHit {
0% {
background: url("img/ssEnemyHit_1.png");
background-position: 0% 0;
}
100% {
background: url("img/ssEnemyHit_1.png");
background-position: 100% 0;
}
}
@-webkit-keyframes enemyKilled {
0% {
background: url("img/ssEnemyDeath_1.png");
background-position: 0% 0;
opacity: 1;
}
100% {
background: url("img/ssEnemyDeath_1.png");
background-position: 100% 0;
opacity: 0;
}
}
@keyframes enemyKilled {
0% {
background: url("img/ssEnemyDeath_1.png");
background-position: 0% 0;
opacity: 1;
}
100% {
background: url("img/ssEnemyDeath_1.png");
background-position: 100% 0;
opacity: 0;
}
}
@-webkit-keyframes hit {
0% {
top: 40px;
opacity: 0;
}
100% {
top: -30px;
opacity: 1;
}
}
@keyframes hit {
0% {
top: 40px;
opacity: 0;
}
100% {
top: -30px;
opacity: 1;
}
}
@-webkit-keyframes hit-1 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 369px;
bottom: 28px;
opacity: 0;
}
}
@keyframes hit-1 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 369px;
bottom: 28px;
opacity: 0;
}
}
@-webkit-keyframes hit-2 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 286px;
bottom: 71px;
opacity: 0;
}
}
@keyframes hit-2 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 286px;
bottom: 71px;
opacity: 0;
}
}
@-webkit-keyframes hit-3 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 439px;
bottom: 3px;
opacity: 0;
}
}
@keyframes hit-3 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 439px;
bottom: 3px;
opacity: 0;
}
}
@-webkit-keyframes hit-4 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 414px;
bottom: 8px;
opacity: 0;
}
}
@keyframes hit-4 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 414px;
bottom: 8px;
opacity: 0;
}
}
@-webkit-keyframes hit-5 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 286px;
bottom: 34px;
opacity: 0;
}
}
@keyframes hit-5 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 286px;
bottom: 34px;
opacity: 0;
}
}
@-webkit-keyframes hit-6 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 132px;
bottom: 11px;
opacity: 0;
}
}
@keyframes hit-6 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 132px;
bottom: 11px;
opacity: 0;
}
}
@-webkit-keyframes hit-7 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 334px;
bottom: 19px;
opacity: 0;
}
}
@keyframes hit-7 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 334px;
bottom: 19px;
opacity: 0;
}
}
@-webkit-keyframes hit-8 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 196px;
bottom: 100px;
opacity: 0;
}
}
@keyframes hit-8 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 196px;
bottom: 100px;
opacity: 0;
}
}
@-webkit-keyframes hit-9 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 250px;
bottom: 73px;
opacity: 0;
}
}
@keyframes hit-9 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 250px;
bottom: 73px;
opacity: 0;
}
}
@-webkit-keyframes hit-10 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 164px;
bottom: 11px;
opacity: 0;
}
}
@keyframes hit-10 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 164px;
bottom: 11px;
opacity: 0;
}
}
@-webkit-keyframes hit-11 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 106px;
bottom: 40px;
opacity: 0;
}
}
@keyframes hit-11 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 106px;
bottom: 40px;
opacity: 0;
}
}
@-webkit-keyframes hit-12 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 456px;
bottom: 82px;
opacity: 0;
}
}
@keyframes hit-12 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 456px;
bottom: 82px;
opacity: 0;
}
}
@-webkit-keyframes hit-13 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 204px;
bottom: 49px;
opacity: 0;
}
}
@keyframes hit-13 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 204px;
bottom: 49px;
opacity: 0;
}
}
@-webkit-keyframes hit-14 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 167px;
bottom: 78px;
opacity: 0;
}
}
@keyframes hit-14 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 167px;
bottom: 78px;
opacity: 0;
}
}
@-webkit-keyframes hit-15 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 342px;
bottom: 23px;
opacity: 0;
}
}
@keyframes hit-15 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 342px;
bottom: 23px;
opacity: 0;
}
}
@-webkit-keyframes hit-16 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 142px;
bottom: 37px;
opacity: 0;
}
}
@keyframes hit-16 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 142px;
bottom: 37px;
opacity: 0;
}
}
@-webkit-keyframes hit-17 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 181px;
bottom: 42px;
opacity: 0;
}
}
@keyframes hit-17 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 181px;
bottom: 42px;
opacity: 0;
}
}
@-webkit-keyframes hit-18 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 131px;
bottom: 45px;
opacity: 0;
}
}
@keyframes hit-18 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 131px;
bottom: 45px;
opacity: 0;
}
}
@-webkit-keyframes hit-19 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 212px;
bottom: 22px;
opacity: 0;
}
}
@keyframes hit-19 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 212px;
bottom: 22px;
opacity: 0;
}
}
@-webkit-keyframes hit-20 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 192px;
bottom: 30px;
opacity: 0;
}
}
@keyframes hit-20 {
0% {
left: 0px;
bottom: 0px;
opacity: 1;
}
60% {
opacity: 1;
}
100% {
left: 192px;
bottom: 30px;
opacity: 0;
}
}
.game_inner__left .spaceBar.pressed {
-webkit-animation: press .05s forwards;
animation: press .05s forwards;
}
.game_inner__right {
float: right;
position: fixed;
width: 720px;
background: #160917;
left: 0;
right: 0;
border-radius: 10px;
border: 2px solid white;
z-index: 999;
top: 50%;
box-shadow: 0 0 0 1160px #0a0209d1;
margin: auto;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
.game_inner__right p {
text-align: left;
font-size: 10px;
padding: 26px;
}
.game_inner__right .xp {
padding: 0 26px;
font-size: 12px;
}
.game_inner__right .nextPhase {
background: #73256a;
width: calc(100% - 52px);
margin: 0 26px 26px 26px;
text-align: center;
font-size: 12px;
padding: 20px 0;
border-radius: 10px;
cursor: pointer;
box-shadow: 0 4px #3d074e;
}
.game_inner__right .upgrades {
padding: 24px;
}
.game_inner__right .upgrades h2 {
text-transform: capitalize;
margin-bottom: 12px;
font-weight: normal;
font-size: 14px;
}
.game_inner__right .upgrades_upgrade .upgrade {
border: 2px solid white;
padding: 12px;
border-radius: 6px;
opacity: 0.6;
-webkit-transition: all .3s;
transition: all .3s;
pointer-events: none;
position: relative;
margin-bottom: 6px;
font-size: 11px;
}
.game_inner__right .upgrades_upgrade .upgrade:hover {
background: #ffffff0f;
padding: 12px 12px 12px 20px;
}
.game_inner__right .upgrades_upgrade .upgrade.max {
background: black;
pointer-events: none;
}
.game_inner__right .upgrades_upgrade .upgrade.max:after {
content: 'max';
display: block;
position: absolute;
left: 0;
right: 0;
text-align: center;
margin: auto;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
width: 100%;
text-transform: uppercase;
}
.game_inner__right .upgrades_upgrade .upgrade.max div {
opacity: 0.12;
}
.game_inner__right .upgrades_upgrade .upgrade.bought {
pointer-events: none !important;
background: green;
opacity: 0.2 !important;
}
.game_inner__right .upgrades_upgrade .upgrade .name {
font-size: 11px;
margin-bottom: 5px;
text-transform: uppercase;
}
.game_inner__right .upgrades_upgrade .upgrade .description {
font-size: 8px;
opacity: 0.5;
margin-bottom: 4px;
}
.game_inner__right .upgrades_upgrade .upgrade .cost {
font-size: 8px;
color: red;
-webkit-transition: all .3s;
transition: all .3s;
margin-bottom: 3px;
}
.game_inner__right .upgrades_upgrade .upgrade .level {
font-size: 8px;
position: absolute;
right: 12px;
bottom: 12px;
}
.game_inner__right .upgrades_upgrade .upgrade .effect {
font-size: 8px;
}
.game_inner__right .upgrades_upgrade .upgrade.available {
opacity: 1;
pointer-events: all;
cursor: pointer;
}
.game_inner__right .upgrades_upgrade .upgrade.available .cost {
color: green;
}
.timer {
width: 128px;
margin: 0 auto;
text-align: left;
position: absolute;
top: calc(50% - 400px);
left: 4px;
right: 0;
font-size: 14px;
margin: auto;
}
.timer_inner {
position: relative;
top: -40px;
text-align: center;
}
.timer_inner div {
display: inline-block;
width: 28px;
position: relative;
margin: 0 3px 0;
}
.timer_inner div:after {
display: block;
content: ':';
position: absolute;
right: -11px;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
.timer_inner .ms {
font-size: 9px;
opacity: 0.7;
width: 22px;
}
.timer_inner .ms:after {
display: none;
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化