123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486 |
- /*Credit
- http://www.flaticon.com/free-icon/press-button_1402#term=click&page=1&position=18
- http://www.flaticon.com/free-icon/play-arrow_60813#term=right&page=1&position=21
- http://www.flaticon.com/free-icon/like_148836#term=heart&page=1&position=1
- https://www.freesound.org/people/jcallison/sounds/258269/
- https://www.freesound.org/people/shinephoenixstormcrow/sounds/337049/
- https://www.freesound.org/people/rhodesmas/sounds/342751/
- https://www.freesound.org/people/acclivity/sounds/18923/
- https://www.freesound.org/people/soundnimja/sounds/173320/
- https://www.freesound.org/people/distillerystudio/sounds/327736/
- https://www.freesound.org/people/original_sound/sounds/366103/
- */
- body {
- background: rgb(230, 230, 230);
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
-
- -o-user-select: none;
- user-select: none;
- }
- /*ROUND BUTTON*/
- .round-button {
- /*transition: filter .5s;*/
- /*-webkit-transition: -webkit-filter .5s;*/
- width:85%;
- position: relative;
- top: 50%;
- left: 50%;
- transform: translate(-50%,-60%);
- -webkit-transform: translate(-50%,-60%);
- }
- .round-button-inside {
- width: 100%;
- height:0;
- padding-bottom: 100%;
- border-radius: 50%;
- border:10px solid #cfdcec;
- overflow:hidden;
- }
- .round-button a {
- display:block;
- float:left;
- width:100%;
- padding-top:50%;
- padding-bottom:50%;
- line-height:1em;
- margin-top:-0.5em;
-
- text-align:center;
- color:#e2eaf3;
- font-family:Verdana;
- font-size:5em;
- font-weight:bold;
- text-decoration:none;
- }
- /*Blue*/
- .blue .round-button-inside{
- background: #4679BD;
- box-shadow: 0 0 3px gray;
- }
- .blue .round-button-inside:hover {
- background: #4073B7;
- }
- /*Red*/
- .red .round-button-inside{
- background: #c34141;
- box-shadow: 0 0 3px gray;
- }
- .red .round-button-inside:hover {
- background: #be3b3b;
- }
- /*Green*/
- .green .round-button-inside{
- background: #46bd5a;
- box-shadow: 0 0 3px gray;
- }
- .green .round-button-inside:hover {
- background: #40b754;
- }
- /*TRIANGLE BUTTON*/
- .triangle-button {
- /*transition: filter .5s;*/
- /*-webkit-transition: -webkit-filter .5s;*/
- width:85%;
- position: relative;
- top: 50%;
- left: 50%;
- transform: translate(-50%,-60%);
- -webkit-transform: translate(-50%,-60%);
- }
- .triangle-button-inside {
- width: 100%;
- height:0;
- background-size:100%;
- padding-bottom: 100%;
- overflow:hidden;
- }
- .triangle-button a {
- display:block;
- float:left;
- width:100%;
- padding-top:50%;
- padding-bottom:50%;
- line-height:1em;
- margin-top:-0.5em;
-
- text-align:center;
- color:#e2eaf3;
- font-family:Verdana;
- font-size:5em;
- font-weight:bold;
- text-decoration:none;
- }
- /*Blue*/
- .blue .triangle-button-inside{
- background-image: url("img/blueright.png");
- }
- /*Red*/
- .red .triangle-button-inside{
- background-image: url("img/redright.png");
- }
- /*Green*/
- .green .triangle-button-inside{
- background-image: url("img/greenright.png");
- }
- /*Overlay*/
- .overlay{
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- bottom: 0;
- padding: 0;
- margin: 0;
- left: 0;
- right: 0;
- }
- .overlayText {
- text-align: center;
- color: rgb(224, 224, 224);
- font-family: Helvetica;
- font-size: 3em;
- }
- /*Loser*/
- .loser .button {
- filter: blur(10px);
- -webkit-filter: blur(10px);
- }
- .loser #loserOverlay{
- display: block;
- opacity: 1;
- }
- #loserOverlay {
- /*transition: opacity .4s;*/
- /*-webkit-transition: opacity .4s;*/
- background: rgba(0, 0, 0, 0.60);
- }
- #loserOverlay #loserText {
- position: relative;
- top: 7%;
- }
- #loserOverlay #loserGoToMenu {
- bottom: 1%;
- position: absolute;
- text-align: center;
- left: 50%;
- transform: translate(-50%, -50%);
- -webkit-transform: translate(-50%, -50%);
- }
- #loserOverlay #loserText #loserScore{
- font-size: .5em;
- margin-top: 10px;
- }
- #loserOverlay #loserText #loserScore a {
- font-weight: bold;
- font-size: 1.1em;
- }
- #loserOverlay #highScoreText {
- font-size: .4em;
- color: rgb(200,200,200);
- margin-top: 5px;
- }
- #loserOverlay{
- display: none;
- opacity: 0;
- }
- #heartRespawn {
- width: 100px;
- height: 100px;
- background-position-y: -20px;
- margin-top: 20px;
- left: 50%;
- position: relative;
- transform: translateX(-50%);
- -webkit-transform: translateX(-50%);
- margin-bottom: 20px;
- background-image: url(img/heart.png);
- background-size: 100px;
- background-repeat: no-repeat;
- }
- #loserOverlay #newScore.highscore{
- font-size: 0.7em;
- margin-top: 20px;
- color: rgba(255, 255, 255, 1);
- border: 1px solid white;
- padding: 10px;
- margin-left: 20px;
- margin-right: 20px;
- background: rgba(200,200,200,.2);
- overflow: hidden;
- position: relative;
- }
- @keyframes sheen {
- 100% {
- transform: rotateZ(60deg) translate(0, -7em);
- -webkit-transform: rotateZ(60deg) translate(0, -7em);
- }
- }
- @-webkit-keyframes sheen {
- 100% {
- transform: rotateZ(60deg) translate(0, -7em);
- -webkit-transform: rotateZ(60deg) translate(0, -7em);
- }
- }
- #newScore.highscore:after {
- animation: sheen 5s ease .5s infinite forwards;
- -webkit-animation: sheen 5s ease .5s infinite forwards;
- content: '';
- position: absolute;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.15) 35%, transparent);
- transform: rotateZ(60deg) translate(-1em, 7em);
- -webkit-transform: rotateZ(60deg) translate(-1em, 7em);
- }
- #loserOverlay #newScore.normalScore{
- font-size: 0.5em;
- margin-top: 20px;
- padding: 10px;
- margin-left: 40px;
- margin-right: 40px;
- background: rgba(200,200,200,.1);
- overflow: hidden;
- position: relative;
- }
- /*Menu*/
- .menu .button {
- filter: blur(20px);
- -webkit-filter: blur(20px);
- }
- .menu #menuOverlay{
- display: block;
- opacity: 1;
- }
- #menuOverlay #menuText {
- position: relative;
- top: 16%;
- text-align: center;
- color: rgb(224, 224, 224);
- font-family: Helvetica;
- font-size: 3em;
- }
- #menuOverlay{
- background: rgba(0, 0, 0, 0.30);
- }
- #menuOverlay{
- display: none;
- opacity: 0;
- }
- /*Settings*/
- .settings .button {
- filter: blur(20px);
- -webkit-filter: blur(20px);
- }
- .settings #settingsOverlay{
- display: block;
- opacity: 1;
- }
- #settingsOverlay #settingsText {
- position: relative;
- top: 20%;
- text-align: center;
- color: rgb(224, 224, 224);
- font-family: Helvetica;
- font-size: 3em;
- }
- #settingsOverlay{
- background: rgba(0, 0, 0, 0.30);
- }
- #settingsOverlay{
- display: none;
- opacity: 0;
- }
- #settingsOverlay #settingsGoToMenu {
- bottom: 1%;
- position: absolute;
- text-align: center;
- left: 50%;
- transform: translate(-50%, -50%);
- -webkit-transform: translate(-50%, -50%);
- }
- .offButton{
- text-decoration:line-through
- }
- /*Store*/
- .store .button {
- filter: blur(20px);
- -webkit-filter: blur(20px);
- }
- .store #storeOverlay{
- display: block;
- opacity: 1;
- }
- #storeOverlay .storeButton {
- position: relative;
- top: 55px;
- text-align: center;
- color: rgb(224, 224, 224);
- font-family: Helvetica;
- font-size: 1.7em;
- border: 2px solid white;
- margin-left: 20px;
- margin-right: 20px;
- margin-top: 15px !important;
- background: rgba(200,200,200,.1);
- transition: background 0.5s, color 0.5s, border 0.5s;
- -webkit-transition: background 0.5s, color 0.5s, border 0.5s;
- }
- #storeOverlay .storeButton.owned {
- border: 2px solid #d0d0d0 !important;
- color: rgb(112, 179, 152) !important;
- background: rgba(200,200,200,0.3) !important;
- }
- #storeOverlay .storeButton.disabled {
- border: 2px solid #d0d0d0 !important;
- color: rgba(200, 200, 200, .7) !important;
- background: rgba(200,200,200,0.3) !important;
- }
- #storeOverlay .storeButton.owned .title:after {
- content: " (bought)";
- font-size: .8em;
- opacity: .7;
- }
- #storeOverlay{
- background: rgba(0, 0, 0, 0.30);
- }
- #storeOverlay{
- display: none;
- opacity: 0;
- }
- #storeOverlay #storeGoToMenu, #storeOverlay #storeGoToGame, #storeOverlay #storeGoToLoser {
- bottom: 1%;
- position: absolute;
- text-align: center;
- left: 50%;
- transform: translate(-50%, -50%);
- -webkit-transform: translate(-50%, -50%);
- }
- .price {
- font-size: .8em;
- }
- /*Lives counter*/
- #lives{
- top:15px;
- right: 15px;
- position: fixed;
- z-index:1;
- }
- #livesCounter {
- color: rgb(180, 180, 180);
- font-family: Helvetica;
- font-size: 2.5em;
- display: inline-block;
- margin-right: 4px;
- transform: translateY(-5px);
- -webkit-transform: translateY(-5px);
- }
- #livesIcon {
- width: 40px;
- height: 40px;
- background-image: url("img/heart.png");
- background-position: 0px;
- background-size: 100%;
- display: inline-block;
- }
- /*Messages*/
- #message {
- color: rgba(88, 88, 88, .0);
- font-family: Helvetica;
- font-size: 1.5em;
- position: fixed;
- top: 13%;
- left: 50%;
- transform: translateX(-50%);
- -webkit-transform: translateX(-50%);
- transition: top 0.5s, color 0.5s;
- -webkit-transition: top 0.5s, color 0.5s;
- text-align: center;
- z-index:-1;
- }
- /*Credits*/
- .credits #creditsOverlay{
- display: block;
- opacity: 1;
- background: rgba(0, 0, 0, 0.30);
- }
- #creditsOverlay{
- display: none;
- }
- #creditsOverlay #creditsText {
- color: rgb(255,255,255);
- font-family: Helvetica;
- font-size: 1em;
- position: fixed;
- top: 13%;
- left: 50%;
- transform: translateX(-50%);
- -webkit-transform: translateX(-50%);
- transition: top 0.5s, color 0.5s;
- -webkit-transition: top 0.5s, color 0.5s;
- text-align: center;
- width: 90%;
- border: 2px solid whitesmoke;
- }
- #creditsOverlay #creditsText div{
- margin: 10px;
- }
- #creditsOverlay #creditsText a{
- color: aqua;
- }
- .credits .button {
- filter: blur(10px);
- -webkit-filter: blur(10px);
- }
- /*Splash screen*/
- .splash #splashScreen {
- display: block;
- opacity: 1;
- background: rgb(230,230,230);
- }
- #splashScreen{
- display: none;
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- bottom: 0;
- padding: 0;
- margin: 0;
- left: 0;
- right: 0;
- z-index:5;
- }
- #splashScreen img {
- top: 50%;
- width: 90%;
- position: fixed;
- transform: translate(-50%, -50%);
- -webkit-transform: translate(-50%, -50%);
- left: 50%;
- }
|