@import url('https://fonts.googleapis.com/css?family=Changa+One|Open+Sans:700'); @import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css'); html { height: 100%; padding: 0; margin: 0; } body { height: 100%; min-height: 100%; padding: 0; margin: 0; } main { width: 100%; height: 100%; } .mine-container { background: url("/images/bg-mineseeker-0-outbg.jpg") no-repeat; background-size: cover; display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; margin: 0; padding: 0; } .clear { clear: both } #mine-wrapper, #mine-wrapper * { -webkit-box-sizing: border-box; box-sizing: border-box; } #mine-wrapper { display: table; width: 842px; margin: 0 auto; } #mine-wrapper .game-wrapper { background: #000; position: relative; display: flex; flex-direction: row; align-items: flex-start; padding: 10px; -webkit-border-radius: 10px; border-radius: 10px; } #mine-wrapper .game-wrapper .game-overlay { background: rgba(255, 255, 255, 0.2); display: flex; flex-direction: row; align-items: center; justify-content: center; position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 200; -webkit-border-radius: 10px; border-radius: 10px; } #mine-wrapper .game-wrapper .game-overlay.hide { display: none; } #mine-wrapper .game-wrapper .game-overlay .game-overlay-window { background: rgba(204, 204, 204, 0.8); border: 5px solid rgba(255, 255, 255, 0.5); font-family: 'Open Sans', sans-serif; text-align: center; color: #354d6a; width: 500px; padding: 10px; -webkit-border-radius: 10px; border-radius: 10px; } #mine-wrapper .game-wrapper .game-overlay .game-overlay-window h1 { font-weight: bold; font-size: 26px; } #mine-wrapper .game-wrapper .game-overlay .game-overlay-window h2 { font-size: 18px; } #mine-wrapper .game-wrapper .game-overlay .game-overlay-window h3 { font-size: 16px; color: #386e8c; } #mine-wrapper .game-wrapper .game-overlay .game-overlay-window .clippy { display: flex; align-items: center; width: 100%; margin-bottom: 10px; } #mine-wrapper .game-wrapper .game-overlay .game-overlay-window .clippy input { border: 0; height: 40px; width: 100%; padding: 0 20px; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075); } #mine-wrapper .game-wrapper .game-overlay .game-overlay-window a { background: #d8e3ea; display: inline-table; text-decoration: none; color: #126aa2; padding: 10px 50px; margin: 0 2.5px; cursor: pointer; -webkit-border-radius: 3px; border-radius: 3px; -webkit-transition: all 250ms ease-in-out; transition: all 250ms ease-in-out; } #mine-wrapper .game-wrapper .game-overlay .game-overlay-window a:hover { background: #a4afb6; color: #ffffff; -webkit-transition: all 250ms ease-in-out; transition: all 250ms ease-in-out; } #mine-wrapper .game-wrapper .users { width: 180px; padding: 0 10px 0 0; } #mine-wrapper .game-wrapper .users .user-container { background: #FFFFFF; height: 40%; font-family: 'Open Sans', sans-serif; padding: 5px; margin: 5px; z-index: 99; -webkit-border-radius: 10px; border-radius: 10px; } #mine-wrapper .game-wrapper .users .user-container.user-blue { background: rgb(35, 111, 135); background: -moz-linear-gradient(top, rgba(35, 111, 135, 1) 0%, rgba(149, 207, 245, 1) 100%); background: -webkit-linear-gradient(top, rgba(35, 111, 135, 1) 0%, rgba(149, 207, 245, 1) 100%); background: linear-gradient(to bottom, rgba(35, 111, 135, 1) 0%, rgba(149, 207, 245, 1) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#236f87', endColorstr='#95cff5', GradientType=0); margin-top: 0; } #mine-wrapper .game-wrapper .users .user-container.user-red { background: rgb(173, 10, 5); background: -moz-linear-gradient(top, rgba(173, 10, 5, 1) 0%, rgba(246, 125, 82, 1) 100%); background: -webkit-linear-gradient(top, rgba(173, 10, 5, 1) 0%, rgba(246, 125, 82, 1) 100%); background: linear-gradient(to bottom, rgba(173, 10, 5, 1) 0%, rgba(246, 125, 82, 1) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ad0a05', endColorstr='#f67d52', GradientType=0); } #mine-wrapper .game-wrapper .users .user-container .user-header { background: -moz-linear-gradient(top, rgba(255, 255, 255, 0.7) 39%, rgba(255, 255, 255, 0.21) 87%, rgba(0, 0, 0, 0) 100%); background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.7) 39%, rgba(255, 255, 255, 0.21) 87%, rgba(0, 0, 0, 0) 100%); background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7) 39%, rgba(255, 255, 255, 0.21) 87%, rgba(0, 0, 0, 0) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#00000000', GradientType=0); position: relative; font: bolder 25px 'Changa One', cursive; letter-spacing: 5px; text-transform: uppercase; text-align: center; padding: 6px 5px 20px 5px; margin-bottom: 40px; -webkit-border-radius: 5px; border-radius: 5px; -webkit-text-shadow: 1px 1px 0 #FFF; text-shadow: 1px 1px 0 #FFF; } #mine-wrapper .game-wrapper .users .user-container.user-blue .user-header { color: #236f87; } #mine-wrapper .game-wrapper .users .user-container.user-red .user-header { color: #AD0A05; } #mine-wrapper .game-wrapper .users .user-container .user-header > img { position: absolute; left: 50%; bottom: 0; width: 40%; margin-left: -20%; margin-bottom: -25%; } #mine-wrapper .game-wrapper .users .user-container .user-header > img.user-cursor { display: block; width: 30%; top: 20px; left: 10px; margin-left: 0; -webkit-animation: cursorJumping 1.2s cubic-bezier(.36, .07, .19, .97) infinite; animation: cursorJumping 1.2s cubic-bezier(.36, .07, .19, .97) infinite; } #mine-wrapper .game-wrapper .users .user-container .user-header > img.user-cursor::after { content: ''; width: 50px; height: 50px; background: #1A6844; animation: animate .5s linear infinite; position: absolute; top: 0; left: 0; border-radius: 3px; } @keyframes cursorJumping { 0% { top: 15px; } 50% { top: 25px; } 100% { top: 15px; } } #mine-wrapper .game-wrapper .users .user-container .user-name { min-height: 30px; font-weight: normal; text-align: center; white-space: nowrap; text-overflow: ellipsis; padding: 3px 0; margin: 0 5px; overflow: hidden; } #mine-wrapper .game-wrapper .users .user-container.user-blue .user-name { border-top: 1px dashed #0b3776; border-bottom: 1px dashed #0b3776; color: #0b3776; } #mine-wrapper .game-wrapper .users .user-container.user-red .user-name { color: #fdf612; border-top: 1px dashed #fdf612; border-bottom: 1px dashed #fdf612; } #mine-wrapper .game-wrapper .users .user-container .user-caret { height: 30px; font-size: 30px; text-align: center; line-height: 15px; } #mine-wrapper .game-wrapper .users .user-container.user-blue .user-caret > i { color: #0b3776; } #mine-wrapper .game-wrapper .users .user-container.user-red .user-caret > i { color: #fdf612; } #mine-wrapper .game-wrapper .users .user-container .user-desc { height: 65px; font-size: 14px; text-align: center; } #mine-wrapper .game-wrapper .users .user-container.user-blue .user-desc { color: #0b3776; } #mine-wrapper .game-wrapper .users .user-container.user-red .user-desc { color: #fdf612; } #mine-wrapper .game-wrapper .users .user-container .user-control { background: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.5) 0%, rgba(125, 185, 232, 0) 100%); background: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.5) 0%, rgba(125, 185, 232, 0) 100%); background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(125, 185, 232, 0) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#007db9e8', GradientType=1); position: relative; padding: 5px; -webkit-border-radius: 5px; border-radius: 5px; } #mine-wrapper .game-wrapper .users .user-container .user-control > img { position: absolute; width: 55px; left: -5px; bottom: 10px; -ms-transform: rotate(-15deg); -webkit-transform: rotate(-15deg); transform: rotate(-15deg); } #mine-wrapper .game-wrapper .users .user-container .user-control .user-control-mines { display: inline-block; background: #FFFFFF; font-size: 25px; text-align: center; width: 45px; height: 35px; margin-left: 25px; margin-top: 5px; -webkit-border-radius: 5px; border-radius: 5px; } #mine-wrapper .game-wrapper .users .user-container.user-blue .user-control .user-control-mines { color: #1a3955; } #mine-wrapper .game-wrapper .users .user-container.user-red .user-control .user-control-mines { color: #b10000; } #mine-wrapper .game-wrapper .users .user-container .user-control .bomb-container { display: inline-block; float: right; width: 65px; height: 45px; border: 1px solid #000; -webkit-border-radius: 7px; border-radius: 7px; -webkit-border-radius: 7px; border-radius: 7px; -webkit-transform: translateZ(0); transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden; -moz-osx-font-smoothing: grayscale; box-shadow: 0 0 1px rgba(0, 0, 0, 0); } #mine-wrapper .game-wrapper .users .user-container .user-control .bomb-container.buzz:hover { -webkit-animation-name: hvr-buzz-out; animation-name: hvr-buzz-out; -webkit-animation-duration: 0.75s; animation-duration: 0.75s; -webkit-animation-timing-function: linear; animation-timing-function: linear; -webkit-animation-iteration-count: 1; animation-iteration-count: 1; } @-webkit-keyframes hvr-buzz-out { 10% { -webkit-transform: translateX(3px) rotate(2deg); transform: translateX(3px) rotate(2deg); } 20% { -webkit-transform: translateX(-3px) rotate(-2deg); transform: translateX(-3px) rotate(-2deg); } 30% { -webkit-transform: translateX(3px) rotate(2deg); transform: translateX(3px) rotate(2deg); } 40% { -webkit-transform: translateX(-3px) rotate(-2deg); transform: translateX(-3px) rotate(-2deg); } 50% { -webkit-transform: translateX(2px) rotate(1deg); transform: translateX(2px) rotate(1deg); } 60% { -webkit-transform: translateX(-2px) rotate(-1deg); transform: translateX(-2px) rotate(-1deg); } 70% { -webkit-transform: translateX(2px) rotate(1deg); transform: translateX(2px) rotate(1deg); } 80% { -webkit-transform: translateX(-2px) rotate(-1deg); transform: translateX(-2px) rotate(-1deg); } 90% { -webkit-transform: translateX(1px) rotate(0); transform: translateX(1px) rotate(0); } 100% { -webkit-transform: translateX(-1px) rotate(0); transform: translateX(-1px) rotate(0); } } @keyframes hvr-buzz-out { 10% { -webkit-transform: translateX(3px) rotate(2deg); transform: translateX(3px) rotate(2deg); } 20% { -webkit-transform: translateX(-3px) rotate(-2deg); transform: translateX(-3px) rotate(-2deg); } 30% { -webkit-transform: translateX(3px) rotate(2deg); transform: translateX(3px) rotate(2deg); } 40% { -webkit-transform: translateX(-3px) rotate(-2deg); transform: translateX(-3px) rotate(-2deg); } 50% { -webkit-transform: translateX(2px) rotate(1deg); transform: translateX(2px) rotate(1deg); } 60% { -webkit-transform: translateX(-2px) rotate(-1deg); transform: translateX(-2px) rotate(-1deg); } 70% { -webkit-transform: translateX(2px) rotate(1deg); transform: translateX(2px) rotate(1deg); } 80% { -webkit-transform: translateX(-2px) rotate(-1deg); transform: translateX(-2px) rotate(-1deg); } 90% { -webkit-transform: translateX(1px) rotate(0); transform: translateX(1px) rotate(0); } 100% { -webkit-transform: translateX(-1px) rotate(0); transform: translateX(-1px) rotate(0); } } #mine-wrapper .game-wrapper .users .user-container .user-control .bomb-container .bomb { width: 100%; height: 100%; text-align: center; cursor: pointer; } #mine-wrapper .game-wrapper .users .user-container .user-control .bomb-container .bomb img { display: inline-block; height: 100%; } #mine-wrapper .game-wrapper .users .resign { background: rgba(70, 73, 66, 1); background: -moz-linear-gradient(top, rgba(70, 73, 66, 1) 0%, rgba(140, 138, 139, 1) 69%, rgba(96, 89, 97, 1) 100%); background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(70, 73, 66, 1)), color-stop(69%, rgba(140, 138, 139, 1)), color-stop(100%, rgba(96, 89, 97, 1))); background: -webkit-linear-gradient(top, rgba(70, 73, 66, 1) 0%, rgba(140, 138, 139, 1) 69%, rgba(96, 89, 97, 1) 100%); background: -o-linear-gradient(top, rgba(70, 73, 66, 1) 0%, rgba(140, 138, 139, 1) 69%, rgba(96, 89, 97, 1) 100%); background: -ms-linear-gradient(top, rgba(70, 73, 66, 1) 0%, rgba(140, 138, 139, 1) 69%, rgba(96, 89, 97, 1) 100%); background: linear-gradient(to bottom, rgba(70, 73, 66, 1) 0%, rgba(140, 138, 139, 1) 69%, rgba(96, 89, 97, 1) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#464942', endColorstr='#605961', GradientType=0); display: block; position: relative; width: 95%; height: 50px; font-family: 'Open Sans', sans-serif; font-weight: bold; font-size: 22px; text-transform: uppercase; text-align: center; line-height: 40px; border: 3px solid #484742; color: #fff; margin: 10px auto 0 auto; outline: none; cursor: pointer; -webkit-border-radius: 5px; border-radius: 5px; -webkit-transition: all 250ms ease-in-out; -moz-transition: all 250ms ease-in-out; -o-transition: all 250ms ease-in-out; transition: all 250ms ease-in-out; } #mine-wrapper .game-wrapper .users .resign:hover { background: rgba(70, 73, 66, 1); color: #FFFFFF; -webkit-transition: all 250ms ease-in-out; -moz-transition: all 250ms ease-in-out; -o-transition: all 250ms ease-in-out; transition: all 250ms ease-in-out; } #mine-wrapper .game-wrapper .users .resign.disabled { background: rgba(70, 73, 66, 1); color: #848484; cursor: default; } #mine-wrapper .game-wrapper .users .resign.disabled:hover { background: rgba(70, 73, 66, 1); color: #848484; } #mine-wrapper .game-wrapper .users .resign .resign-shine { background: rgba(255, 255, 255, 1); background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%); background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(0, 0, 0, 0))); background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%); background: -o-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%); background: -ms-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%); background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#000000', GradientType=0); position: absolute; top: 0; left: 0; width: 100%; height: 33%; opacity: 0.7; -webkit-border-radius: 5px; border-radius: 5px; -webkit-transition: all 250ms ease-in-out; -moz-transition: all 250ms ease-in-out; -o-transition: all 250ms ease-in-out; transition: all 250ms ease-in-out; } #mine-wrapper .game-wrapper .users .resign:hover .resign-shine, #mine-wrapper .game-wrapper .users .resign.disabled .resign-shine { display: none; -webkit-transition: all 250ms ease-in-out; -moz-transition: all 250ms ease-in-out; -o-transition: all 250ms ease-in-out; transition: all 250ms ease-in-out; } #mine-wrapper .game-wrapper .users .user-container .user-control .bomb-container:hover .bomb img { -webkit-animation-name: hvr-buzz; animation-name: hvr-buzz; -webkit-animation-duration: 0.15s; animation-duration: 0.15s; -webkit-animation-timing-function: linear; animation-timing-function: linear; -webkit-animation-iteration-count: infinite; animation-iteration-count: infinite; } #mine-wrapper .game-wrapper .users .user-container .user-control .bomb-container .bomb { -webkit-border-radius: 5px; border-radius: 5px; } #mine-wrapper .game-wrapper .users .user-container.user-blue .user-control .bomb-container .bomb { background: rgb(131, 194, 245); background: -moz-linear-gradient(top, rgba(131, 194, 245, 1) 0%, rgba(108, 190, 230, 1) 39%, rgba(221, 255, 252, 1) 100%); background: -webkit-linear-gradient(top, rgba(131, 194, 245, 1) 0%, rgba(108, 190, 230, 1) 39%, rgba(221, 255, 252, 1) 100%); background: linear-gradient(to bottom, rgba(131, 194, 245, 1) 0%, rgba(108, 190, 230, 1) 39%, rgba(221, 255, 252, 1) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#83c2f5', endColorstr='#ddfffc', GradientType=0); border: 3px solid #0b538e; } #mine-wrapper .game-wrapper .users .user-container.user-red .user-control .bomb-container .bomb { background: rgb(255, 175, 159); background: -moz-linear-gradient(top, rgba(255, 175, 159, 1) 0%, rgba(231, 113, 7, 1) 54%, rgba(231, 113, 7, 1) 54%, rgba(237, 172, 16, 1) 100%); background: -webkit-linear-gradient(top, rgba(255, 175, 159, 1) 0%, rgba(231, 113, 7, 1) 54%, rgba(231, 113, 7, 1) 54%, rgba(237, 172, 16, 1) 100%); background: linear-gradient(to bottom, rgba(255, 175, 159, 1) 0%, rgba(231, 113, 7, 1) 54%, rgba(231, 113, 7, 1) 54%, rgba(237, 172, 16, 1) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffaf9f', endColorstr='#edac10', GradientType=0); border: 3px solid #c9221c; } #mine-wrapper .game-wrapper .users .active-mines-container { background: -moz-radial-gradient(center, ellipse cover, rgba(255, 252, 252, 1) 0%, rgba(255, 252, 252, 0.99) 1%, rgba(106, 106, 106, 0.39) 61%, rgba(106, 106, 106, 0) 100%); background: -webkit-radial-gradient(center, ellipse cover, rgba(255, 252, 252, 1) 0%, rgba(255, 252, 252, 0.99) 1%, rgba(106, 106, 106, 0.39) 61%, rgba(106, 106, 106, 0) 100%); background: radial-gradient(ellipse at center, rgba(255, 252, 252, 1) 0%, rgba(255, 252, 252, 0.99) 1%, rgba(106, 106, 106, 0.39) 61%, rgba(106, 106, 106, 0) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcfc', endColorstr='#006a6a6a', GradientType=1); background-repeat: no-repeat; background-position: center center; background-size: 72% 179%; position: relative; height: 30px; } #mine-wrapper .game-wrapper .users .active-mines-container i { font-size: 27px; color: #b1b1b3; margin-top: 3px; text-shadow: 0 0 3px #000000; } #mine-wrapper .game-wrapper .users .active-mines-container i:first-child { float: left; margin-left: 20px; } #mine-wrapper .game-wrapper .users .active-mines-container i:last-child { float: right; margin-right: 20px; } #mine-wrapper .game-wrapper .users .active-mines-container .active-mines { background: -moz-linear-gradient(top, rgba(0, 0, 0, 1) 0%, rgba(135, 136, 131, 1) 100%); background: -webkit-linear-gradient(top, rgba(0, 0, 0, 1) 0%, rgba(135, 136, 131, 1) 100%); background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(135, 136, 131, 1) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3e3f41', endColorstr='#878883', GradientType=0); position: absolute; width: 50px; height: 50px; top: -7.5px; left: 50%; font-family: 'Open Sans', sans-serif; font-size: 25px; line-height: 39px; text-align: center; color: #FFFFFF; border: 5px solid #000000; margin-left: -25px; z-index: 100; -webkit-border-radius: 50%; border-radius: 50%; } #mine-wrapper .game-wrapper .users .active-mines-container .active-mines.found-mine { -webkit-animation: bubbleLeftMine 750ms cubic-bezier(.36, .07, .19, .97) both; animation: bubbleLeftMine 750ms cubic-bezier(.36, .07, .19, .97) both; } @keyframes bubbleLeftMine { 0% { -webkit-transform: scale(1); transform: scale(1); } 50% { border-color: #2e3337; -webkit-transform: scale(2); transform: scale(2); } 100% { -webkit-transform: scale(1); transform: scale(1); } } #mine-wrapper .game-wrapper .users .active-mines-container .active-mines .active-mines-shine { background: -moz-linear-gradient(top, rgba(213, 214, 216, 1) 0%, rgba(106, 106, 106, 1) 100%); background: -webkit-linear-gradient(top, rgba(213, 214, 216, 1) 0%, rgba(106, 106, 106, 1) 100%); background: linear-gradient(to bottom, rgba(213, 214, 216, 1) 0%, rgba(106, 106, 106, 1) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d5d6d8', endColorstr='#6a6a6a', GradientType=0); position: absolute; top: 0; left: 50%; width: 30px; height: 20px; margin-left: -14.5px; z-index: 101; -webkit-border-radius: 50%; border-radius: 50%; } #mine-wrapper .game-wrapper .users .active-mines-container .active-mines .active-mines-nbr { position: absolute; top: 0; width: 100%; z-index: 102; } /** game grid */ #mine-wrapper .grid { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; width: 643px; border: 1px solid #cac3e5; cursor: none; } #mine-wrapper .grid-container { background: #4E4E4E; padding: 15px 10px; -webkit-border-radius: 5px; border-radius: 5px; } #mine-wrapper .grid .field-wrapper { position: relative; } #mine-wrapper .grid .field-wrapper > img.field-target { position: absolute; display: none; width: 45px; top: -2.5px; left: -2.5px; z-index: 100; } #mine-wrapper .grid .field-wrapper:hover > img.field-target { display: block; } /*#mine-wrapper .grid .field-wrapper.targeted > img.field-target {*/ /*display: block;*/ /*}*/ /** width = 4 x .field */ #mine-wrapper .grid .field-wrapper > img.field-bomb-target { position: absolute; display: block; top: 0; left: 0; width: 100%; z-index: 100; } #mine-wrapper .grid .field-wrapper > img.field-blue-last, #mine-wrapper .grid .field-wrapper > img.field-red-last { position: absolute; display: none; width: 100%; top: 0; left: 0; z-index: 99; } #mine-wrapper .grid .field-wrapper > img.field-blue-last.last-clicked, #mine-wrapper .grid .field-wrapper > img.field-red-last.last-clicked { display: block; } #mine-wrapper .grid .field-wrapper .field { background: #61defa; background: -moz-linear-gradient(left, #61defa 0%, #119dec 100%); background: -webkit-linear-gradient(left, #61defa 0%, #119dec 100%); background: linear-gradient(to right, #61defa 0%, #119dec 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#61defa', endColorstr='#119dec', GradientType=1); width: 40px; height: 40px; border: 2px solid #51c2fe; font-family: 'Open Sans', sans-serif; font-weight: bold; font-size: 35px; text-align: center; line-height: 35px; } #mine-wrapper .grid .field-wrapper .field .field-corner { background: url('/images/bg-corner-outbg.png') no-repeat top left; background-size: 100%; width: 100%; height: 100%; } #mine-wrapper .grid .field-wrapper .field.active { background: #fde717; background: -moz-linear-gradient(left, #fde717 0%, #f5b807 100%); background: -webkit-linear-gradient(left, #fde717 0%, #f5b807 100%); background: linear-gradient(to right, #fde717 0%, #f5b807 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fde717', endColorstr='#f5b807', GradientType=1); border: 2px solid #f6d762; color: #000; } #mine-wrapper .grid .field-wrapper .field.active .flag-number { -webkit-animation: bubbleNumber 500ms cubic-bezier(.36, .07, .19, .97) both; animation: bubbleNumber 500ms cubic-bezier(.36, .07, .19, .97) both; -webkit-transform: scale(1); transform: scale(1); } @keyframes bubbleNumber { 0% { background: #61defa; background: -moz-linear-gradient(left, #61defa 0%, #119dec 100%); background: -webkit-linear-gradient(left, #61defa 0%, #119dec 100%); background: linear-gradient(to right, #61defa 0%, #119dec 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#61defa', endColorstr='#119dec', GradientType=1); -webkit-border-radius: 50%; border-radius: 50%; -webkit-transform: scale(1); transform: scale(1); } 50% { -webkit-border-radius: 50%; border-radius: 50%; -webkit-transform: scale(0); transform: scale(0); } 100% { -webkit-border-radius: 0; border-radius: 0; -webkit-transform: scale(1); transform: scale(1); } } #mine-wrapper .grid .field-wrapper .field.active .flag-mine { position: relative; overflow: hidden; } #mine-wrapper .grid .field-wrapper .field.active .flag-mine > img { width: 75%; margin-left: 15px; -ms-transform: rotate(7deg); -webkit-transform: rotate(7deg); transform: rotate(7deg); -webkit-animation: mineFlagLoad 500ms cubic-bezier(.36, .07, .19, .97) both; animation: mineFlagLoad 500ms cubic-bezier(.36, .07, .19, .97) both; } @keyframes mineFlagLoad { 0% { margin-bottom: 0; margin-left: 15px; -ms-transform: rotate(9deg); -webkit-transform: rotate(9deg); transform: rotate(9deg); } 50% { margin-bottom: -5px; margin-left: 7px; } 100% { margin-bottom: 3px; margin-left: 0; -ms-transform: rotate(-9deg); -webkit-transform: rotate(-9deg); transform: rotate(-9deg); } } #mine-wrapper .grid .field-wrapper .field.active .flag-mine .flag-mine-base { position: absolute; background: #000000; width: 25px; height: 22px; bottom: -12px; left: 50%; margin-left: -10.5px; -webkit-border-radius: 50%; border-radius: 50%; -webkit-animation: mineBaseLoad 500ms cubic-bezier(.36, .07, .19, .97) both; animation: mineBaseLoad 500ms cubic-bezier(.36, .07, .19, .97) both; } @keyframes mineBaseLoad { 0% { margin-bottom: 0; } 50% { margin-bottom: -5px; } 100% { margin-bottom: 0; } } #mine-wrapper .grid .field-wrapper .field.active.mine { background: #61defa; background: -moz-linear-gradient(left, #61defa 0%, #119dec 100%); background: -webkit-linear-gradient(left, #61defa 0%, #119dec 100%); background: linear-gradient(to right, #61defa 0%, #119dec 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#61defa', endColorstr='#119dec', GradientType=1); border: 2px solid #51c2fe; } #mine-wrapper .grid .field-wrapper .field.active.color-1 { color: #0000ff; } #mine-wrapper .grid .field-wrapper .field.active.color-2 { color: #079433; } #mine-wrapper .grid .field-wrapper .field.active.color-3 { color: #fd1400; } #mine-wrapper .grid .field-wrapper .field.active.color-4 { color: #0c099e; } #mine-wrapper .grid .field-wrapper .field.active.color-5 { color: #7b4c01; } #mine-wrapper .grid .field-wrapper .field.active.color-6 { color: #008388; } #mine-wrapper .grid .field-wrapper .field.active.color-7 { color: #000000; } #mine-wrapper .grid .field-wrapper .field.active.color-8 { color: #ff0000; } #mine-wrapper .grid .field-wrapper .field img { width: 80%; } .back-from-game { display: inline-block; position: fixed; top: 20px; left: 20px; -ms-transform: scale(1); /* IE 9 */ -webkit-transform: scale(1); /* Safari */ transform: scale(1); -webkit-transition: all 250ms cubic-bezier(.17, .67, .83, .67); transition: all 250ms cubic-bezier(.17, .67, .83, .67); } .back-from-game img { width: 100px; } .back-from-game:hover { -ms-transform: scale(1.2); /* IE 9 */ -webkit-transform: scale(1.2); /* Safari */ transform: scale(1.2); -webkit-transition: all 250ms cubic-bezier(.17, .67, .83, .67); transition: all 250ms cubic-bezier(.17, .67, .83, .67); } @media screen and (max-width: 900px) { #mine-wrapper .game-wrapper .users { visibility: hidden; display: none; } #mine-wrapper { display: block; width: 100%; } #mine-wrapper .game-wrapper { width: 100%; flex-direction: column-reverse; } #mine-wrapper .grid-container { width: 100%; padding: 0; } #mine-wrapper .grid { width: 100%; } #mine-wrapper .grid .field-wrapper { width: 6.25%; } #mine-wrapper .grid .field-wrapper > img.field-target { width: 105%; top: -2.5%; left: -2.5%; } #mine-wrapper .grid .field-wrapper .field { width: 100%; height: auto; } }