Path: blob/main/static/src/gs/public/gopher-kart/css/styles.css
1325 views
/*-- GLOBAL STYLES --*/1body.game-page {2text-align: center;3font-family: 'Roboto', sans-serif;4background: url("../assets/web/full-bg.jpg") #000 50% 0px;5background-size: 2958px 1310px;6background-repeat: no-repeat;7color: #FFF;8margin: 0;9}10html, body {11height: 100%;12margin: 0;13}14.wrapper {15min-height: 100%;16margin-bottom: -150px;17padding-top: 160px;18}19footer,20.push {21height: 150px;22}23footer {24background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); /* FF3.6-15 */25background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* Chrome10-25,Safari5.1-6 */26background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */27filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */28text-align: center;29font-family: 'Roboto', sans-serif;30padding-top: 20px;31}32footer h1 {33font-size: 23px;34font-weight: 500;35opacity: 0.85;36margin: 0;37}38footer p {39margin: 0;40padding: 0;41opacity: 0.85;42}43footer ul {44margin: 0;45padding: 0;46opacity: 0.85;47}48footer ul li {49list-style: none;50margin: 0;51padding: 0;52}53footer ul li a {54color: #6CBDFF;55}56footer .jami a {57color: #C1B1FF;58font-weight: 500;59}60footer .renee a {61color: #B2FBFF;62font-weight: 500;63}64footer .ardan a {65color:#FFA488;66font-weight: 500;67}68/*-- GAME SCREEN STYLES --*/69canvas{70image-rendering: -moz-crisp-edges;71image-rendering: -webkit-crisp-edges;72image-rendering: pixelated;73margin: 50px auto 0;74}75#phaser-wrapper {76position: relative;77height: 432px;78width: 100%;79}80#phaser-wrapper img {81display: block;82margin: 0 auto;83text-align: center;84position: relative;85}86#phaser-wrapper canvas {87position: absolute;88top: 0;89left: 50%;90margin-left: -300px;91border-radius: 10px;92margin-top: 0px;93}9495/*-- LEADERBOARD SCREEN --*/96body.leaderboard-page {97font-family: 'Patua One', cursive;98background: url("../assets/web/arcade-bg.jpg") #000;99background-size:cover;100background-repeat: no-repeat;101color: #FFF;102}103.ardan-sticker {104height: 60px;105width: 130px;106display: block;107position: absolute;108top: 693px;109left: 50%;110margin-left: -65px;111border-radius: 100%;112transition: all 0.1s ease;113}114.ardan-sticker:hover {115background: rgba(255,255,255,0.1);116box-shadow: 0px 1px 30px rgba(255,255,255,0.2);117-webkit-filter: blur(10px);118-moz-filter: blur(10px);119-o-filter: blur(10px);120-ms-filter: blur(10px);121filter: blur(10px);122}123.github-sticker {124height: 90px;125width: 110px;126display: block;127position: absolute;128top: 30px;129left: 50%;130margin-left: 205px;131border-radius: 100%;132transition: all 0.1s ease;133}134.github-sticker:hover {135background: rgba(255,255,255,0.1);136box-shadow: 0px 1px 30px rgba(255,255,255,0.2);137-webkit-filter: blur(10px);138-moz-filter: blur(10px);139-o-filter: blur(10px);140-ms-filter: blur(10px);141filter: blur(10px);142}143body.leaderboard-page h1 {144color: #04fcdc;145text-align: center;146}147@keyframes fade {148from {opacity: 0;}149to {opacity: 1;}150}151.leaderboard-list dl {152border: 3px solid rgba(255,255,255,0.10);153opacity: 0;154padding: 5px 25px;155border-radius: 5px;156}157.leaderboard-list dl:nth-child(1) {158color: #fcfc04;159opacity: 1;160border: none;161}162.leaderboard-list dl:nth-child(2) {163color: #dcdcdc;164animation: fade 1s normal forwards ease-in-out;165animation-delay: 0.2s;166}167.leaderboard-list dl:nth-child(3) {168color: #fc0404;169animation: fade 1s normal forwards ease-in-out;170animation-delay: 0.4s;171}172.leaderboard-list dl:nth-child(4) {173color: #fcb444;174animation: fade 1s normal forwards ease-in-out;175animation-delay: 0.8s;176}177.leaderboard-list dl:nth-child(5) {178color: #fcb494;179animation: fade 1s normal forwards ease-in-out;180animation-delay: 1.2s;181}182.leaderboard-list dl:nth-child(6) {183color: #f4cc34;184animation: fade 1s normal forwards ease-in-out;185animation-delay: 1.4s;186}187.leaderboard-list dl:nth-child(7) {188color: #fcfc04;189animation: fade 1s normal forwards ease-in-out;190animation-delay: 1.8s;191}192.leaderboard-list dl:nth-child(8) {193color: #14b42c;194animation: fade 1s normal forwards ease-in-out;195animation-delay: 2.2s;196}197.leaderboard-list dl:nth-child(9) {198color: #04fcdc;199animation: fade 1s normal forwards ease-in-out;200animation-delay: 2.4s;201}202.leaderboard-list dl:nth-child(10) {203color: #149cb4;204animation: fade 1s normal forwards ease-in-out;205animation-delay: 2.8s;206}207.leaderboard-list dl:nth-child(11) {208color: #0cd424;209animation: fade 1s normal forwards ease-in-out;210animation-delay: 3.2s;211}212.leaderboard-list dl dd{213display: inline-block;214font-size: 25px;215width: 32.5%;216margin: 0;217}218.leaderboard-list dl dd:last-child{219text-align: right;220}221222.mobile-wrapper {223background: url("../assets/mobile-bg.png") #000 50% 0px;224border-radius: 10px;225height: 432px;226width: 600px;227display: none;228position: absolute;229top: 0;230left: 50%;231margin-left: -300px;232border-radius: 10px;233margin-top: 0px;234z-index: 300;235color: #000;236}237.mobile-wrapper h1 {238display: block;239}240.mobile-wrapper img.mobile-gopher {241bottom: 10px !important;242display: block !important;243position: absolute !important;244left: 50% !important;245margin-left: -68.5px !important;246image-rendering: pixelated !important;247248}249.mobile-wrapper img.mobile-title {250position: absolute !important;251top: 30px !important;252left: 50% !important;253margin-left: -150px !important;254image-rendering: pixelated !important;255}256.mobile-wrapper img.mobile-info {257position: absolute !important;258top: 110px !important;259left: 50% !important;260margin-left: -150px !important;261image-rendering: pixelated !important;262}263264@media(max-width:767px){265body{266overflow-x: hidden;267}268.mobile-wrapper {269display: block;270}271canvas {272display: none !important;273}274}275@media(max-width:576px){276.mobile-wrapper {277border-radius: 0;278margin: 0;279left: 0;280width: 100%;281}282canvas {283display: none !important;284}285body{286overflow-x: hidden;287}288.mobile-wrapper {289display: block;290}291canvas {292display: none !important;293}294}295296