Path: blob/main/static/src/gs/public/pacman/pacman-canvas.css
1343 views
/* Google Web Fonts */1@font-face {2font-family: 'Press Start 2P';3font-style: normal;4font-weight: 400;5src: url('fonts/PressStart2Play.eot');6src: url('fonts/PressStart2Play.eot?iefix') format('eot'),7url('fonts/PressStart2Play.woff') format('woff'),8url('fonts/PressStart2Play.ttf') format('truetype');9}1011/* ---------------- */1213body {14background-color: #000;15color: white;16font-family: 'Press Start 2P', cursive;17}181920/* Links */21.main a, .main a:link, .main a:active, .main a:visited {22padding: 5px;23background: #c80a0a;24color: rgb(255, 255, 255);25}26* { box-shadow: none !important; }2728.content, h1, h2, h3, p, div {29font-family: 'Press Start 2P', cursive;30font-weight: normal;31}32.content[id*=-content]:not(#game-content) {33display: none;34overflow-y: auto;35overflow-x: hidden;36}37.content img {38max-width: 100%;39}40.pull-right {41float: right;42}43.button {44background: #c80a0a;45cursor: pointer;46padding: 8px;47}48#menu-buttons .button { background: rgba(0,0,0,0.4); }49#menu-buttons .button:hover, .button:hover { background: rgba(255,255,255,0.2); }50.button#back {51position: relative;52top: -25px;53display: inline-block;54}55.button#score-submit {56vertical-align: middle;57}5859#highscore-form { margin-top: 8px; }60input[type="text"]:hover, input[type="text"]:focus, input[type="password"]:hover, input[type="password"]:focus, textarea:hover, textarea:focus {61border: 1px #c80a0a solid;62}63#highscore-list {}64#score { float: right; }6566#myCanvas { border: none; display: block; background: rgb(0,0,0); width: 100%; height: auto;}67#canvas-container { position: relative;}68#canvas-overlay-container {69position: absolute;70background: rgba(0,0,0,0.7);71height: 100%;72width: 540px;73max-width: 100%;74}75#canvas-overlay-content {76position: absolute;77top: 33%;78left: 0;79margin-top: 0;80max-width: 100%;81text-align: center;82width: 540px;83max-width: 100%;84}85#canvas-overlay-content #title {86text-transform: uppercase;87font-size: 150%;88}8990.canvas { position:absolute; padding-top: 20px;}91.main {width: 100%; max-width: 660px; margin: 10px auto; position: static; left: auto;}92.content { width: 100%; max-width: 540px; text-align: left; margin: 0;}93.container {text-align: center; margin:0; padding: 0;}94.wrapper { padding:0;}95.game { max-width: 540px; margin: auto; }9697.about { font-size: 10px; margin-top: 20px; text-align: center; display: none;}9899100body, html { font-size: 15px; }101102div.audio {}103audio {display: block; }104105.score { width: 180px; }106.score, .lives, .level { display: inline-block; }107108/* ---------- Controls ------------------------*/109110.controls { text-align: center; margin-top: 15px;}111.controls-section {112height: auto;113width: 47%;114display: inline-block;115margin: 0;116text-align: left;117}118.controls-left { }119.controls-right .controlButton { position: relative; right: -65%; }120121/* Arrow Keys - only displayed when game isn't paused */122#game-buttons { display: none; }123124/* Game Menu - displayed when game is paused */125#menu-buttons ul, .controls#menu-buttons ul li{ list-style: none; padding: 0;}126#menu-buttons ul li {127height: 40px;128line-height: 40px;129font-size: 120%;130}131132.controlSound {133background: url('img/audio-icon.png');134width: 73px;135height: 50px;136position: relative;137bottom: 5px;138background-size: 100%;139height: 25px;140width: 36px;141float: right;142}143144#mute {145display: none;146width: 36px;147height: 25px;148}149150.controlButton {151display: inline-block;152width: 90px;153height: 90px;154margin: 5px;155background: none repeat scroll 0% 0% #C80A0A;156line-height: 70px;157border-radius: 50%;158font-weight: bold;159font-size: 60px;160cursor: pointer;161}162.controlButton:hover, .controlButton:active {163background: #c00202;164}165166.description { display: none; }167168@media screen and (max-width: 1050px) {169html, body { background: rgb(0,0,0);}170}171@media screen and (max-width: 650px) {172.game { width: 93%;}173.content { max-width: none; }174#menu-buttons .button { background: rgba(255,255,255,0.1); }175.button:hover { background: rgba(255,255,255,0.3); }176.button#back { top: 0; }177}178179@media screen and (max-width: 400px) {180181.nomobile {display: none; }182.mobile {display: block; }183184html, body {185overflow-x: hidden;186height: 100%;187}188189.main { margin: 10px auto; }190.content { min-height: 0; }191192.controlButton {193width: 60px;194height: 60px;195line-height: 40px;196font-size: 40px;197}198.controls-right .controlButton { right: -55%; }199/*canvas#myCanvas { margin: 5px auto; } */200201}202203204