new file: Files/flashplayer_32_sa.exe new file: favicon.ico new file: globe.gif new file: imgs/download.png new file: imgs/zuck.jpg new file: index.html new file: other.ico new file: script.js new file: site.webmanifest new file: sitemap.html new file: styles/backround.css new file: styles/border.css new file: styles/fonts/Titillium_Web/OFL.txt new file: styles/fonts/Titillium_Web/TitilliumWeb-Black.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-Bold.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-BoldItalic.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-ExtraLight.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-ExtraLightItalic.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-Italic.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-Light.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-LightItalic.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-Regular.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-SemiBold.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-SemiBoldItalic.ttf new file: styles/fonts/webfontkit-20221027-163353/generator_config.txt new file: styles/fonts/webfontkit-20221027-163353/specimen_files/grid_12-825-55-15.css new file: styles/fonts/webfontkit-20221027-163353/specimen_files/specimen_stylesheet.css new file: styles/fonts/webfontkit-20221027-163353/stylesheet.css new file: styles/fonts/webfontkit-20221027-163353/titilliumweb-extralight-demo.html new file: styles/fonts/webfontkit-20221027-163353/titilliumweb-extralight-webfont.woff new file: styles/fonts/webfontkit-20221027-163353/titilliumweb-extralight-webfont.woff2 new file: styles/fonts/webfontkit-20221027-165950/generator_config.txt new file: styles/fonts/webfontkit-20221027-165950/specimen_files/grid_12-825-55-15.css new file: styles/fonts/webfontkit-20221027-165950/specimen_files/specimen_stylesheet.css new file: styles/fonts/webfontkit-20221027-165950/stylesheet.css new file: styles/fonts/webfontkit-20221027-165950/titilliumweb-bold-demo.html new file: styles/fonts/webfontkit-20221027-165950/titilliumweb-bold-webfont.woff new file: styles/fonts/webfontkit-20221027-165950/titilliumweb-bold-webfont.woff2 new file: styles/style.css new file: tools/2048/.gitignore new file: tools/2048/.jshintrc new file: tools/2048/CONTRIBUTING.md new file: tools/2048/LICENSE.txt new file: tools/2048/README.md new file: tools/2048/Rakefile new file: tools/2048/favicon.ico new file: tools/2048/index.html new file: tools/2048/js/animframe_polyfill.js new file: tools/2048/js/application.js new file: tools/2048/js/bind_polyfill.js new file: tools/2048/js/classlist_polyfill.js new file: tools/2048/js/game_manager.js new file: tools/2048/js/grid.js new file: tools/2048/js/html_actuator.js new file: tools/2048/js/keyboard_input_manager.js new file: tools/2048/js/local_storage_manager.js new file: tools/2048/js/tile.js new file: tools/2048/meta/apple-touch-icon.png new file: tools/webretro/cores/neocd_libretro.js new file: tools/webretro/cores/neocd_libretro.wasm new file: tools/webretro/cores/nestopia_libretro.js new file: tools/webretro/cores/nestopia_libretro.wasm new file: tools/webretro/cores/o2em_libretro.js new file: tools/webretro/cores/o2em_libretro.wasm new file: tools/webretro/cores/opera_libretro.js new file: tools/webretro/cores/opera_libretro.wasm
203 lines
4.4 KiB
CSS
203 lines
4.4 KiB
CSS
/* Google Web Fonts */
|
|
@font-face {
|
|
font-family: 'Press Start 2P';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url('fonts/PressStart2Play.eot');
|
|
src: url('fonts/PressStart2Play.eot?iefix') format('eot'),
|
|
url('fonts/PressStart2Play.woff') format('woff'),
|
|
url('fonts/PressStart2Play.ttf') format('truetype');
|
|
}
|
|
|
|
/* ---------------- */
|
|
|
|
body {
|
|
background-color: #000;
|
|
color: white;
|
|
font-family: 'Press Start 2P', cursive;
|
|
}
|
|
|
|
|
|
/* Links */
|
|
.main a, .main a:link, .main a:active, .main a:visited {
|
|
padding: 5px;
|
|
background: #c80a0a;
|
|
color: rgb(255, 255, 255);
|
|
}
|
|
* { box-shadow: none !important; }
|
|
|
|
.content, h1, h2, h3, p, div {
|
|
font-family: 'Press Start 2P', cursive;
|
|
font-weight: normal;
|
|
}
|
|
.content[id*=-content]:not(#game-content) {
|
|
display: none;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
}
|
|
.content img {
|
|
max-width: 100%;
|
|
}
|
|
.pull-right {
|
|
float: right;
|
|
}
|
|
.button {
|
|
background: #c80a0a;
|
|
cursor: pointer;
|
|
padding: 8px;
|
|
}
|
|
#menu-buttons .button { background: rgba(0,0,0,0.4); }
|
|
#menu-buttons .button:hover, .button:hover { background: rgba(255,255,255,0.2); }
|
|
.button#back {
|
|
position: relative;
|
|
top: -25px;
|
|
display: inline-block;
|
|
}
|
|
.button#score-submit {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
#highscore-form { margin-top: 8px; }
|
|
input[type="text"]:hover, input[type="text"]:focus, input[type="password"]:hover, input[type="password"]:focus, textarea:hover, textarea:focus {
|
|
border: 1px #c80a0a solid;
|
|
}
|
|
#highscore-list {}
|
|
#score { float: right; }
|
|
|
|
#myCanvas { border: none; display: block; background: rgb(0,0,0); width: 100%; height: auto;}
|
|
#canvas-container { position: relative;}
|
|
#canvas-overlay-container {
|
|
position: absolute;
|
|
background: rgba(0,0,0,0.7);
|
|
height: 100%;
|
|
width: 540px;
|
|
max-width: 100%;
|
|
}
|
|
#canvas-overlay-content {
|
|
position: absolute;
|
|
top: 33%;
|
|
left: 0;
|
|
margin-top: 0;
|
|
max-width: 100%;
|
|
text-align: center;
|
|
width: 540px;
|
|
max-width: 100%;
|
|
}
|
|
#canvas-overlay-content #title {
|
|
text-transform: uppercase;
|
|
font-size: 150%;
|
|
}
|
|
|
|
.canvas { position:absolute; padding-top: 20px;}
|
|
.main {width: 100%; max-width: 660px; margin: 10px auto; position: static; left: auto;}
|
|
.content { width: 100%; max-width: 540px; text-align: left; margin: 0;}
|
|
.container {text-align: center; margin:0; padding: 0;}
|
|
.wrapper { padding:0;}
|
|
.game { max-width: 540px; margin: auto; }
|
|
|
|
.about { font-size: 10px; margin-top: 20px; text-align: center; display: none;}
|
|
|
|
|
|
body, html { font-size: 15px; }
|
|
|
|
div.audio {}
|
|
audio {display: block; }
|
|
|
|
.score { width: 180px; }
|
|
.score, .lives, .level { display: inline-block; }
|
|
|
|
/* ---------- Controls ------------------------*/
|
|
|
|
.controls { text-align: center; margin-top: 15px;}
|
|
.controls-section {
|
|
height: auto;
|
|
width: 47%;
|
|
display: inline-block;
|
|
margin: 0;
|
|
text-align: left;
|
|
}
|
|
.controls-left { }
|
|
.controls-right .controlButton { position: relative; right: -65%; }
|
|
|
|
/* Arrow Keys - only displayed when game isn't paused */
|
|
#game-buttons { display: none; }
|
|
|
|
/* Game Menu - displayed when game is paused */
|
|
#menu-buttons ul, .controls#menu-buttons ul li{ list-style: none; padding: 0;}
|
|
#menu-buttons ul li {
|
|
height: 40px;
|
|
line-height: 40px;
|
|
font-size: 120%;
|
|
}
|
|
|
|
.controlSound {
|
|
background: url('img/audio-icon.png');
|
|
width: 73px;
|
|
height: 50px;
|
|
position: relative;
|
|
bottom: 5px;
|
|
background-size: 100%;
|
|
height: 25px;
|
|
width: 36px;
|
|
float: right;
|
|
}
|
|
|
|
#mute {
|
|
display: none;
|
|
width: 36px;
|
|
height: 25px;
|
|
}
|
|
|
|
.controlButton {
|
|
display: inline-block;
|
|
width: 90px;
|
|
height: 90px;
|
|
margin: 5px;
|
|
background: none repeat scroll 0% 0% #C80A0A;
|
|
line-height: 70px;
|
|
border-radius: 50%;
|
|
font-weight: bold;
|
|
font-size: 60px;
|
|
cursor: pointer;
|
|
}
|
|
.controlButton:hover, .controlButton:active {
|
|
background: #c00202;
|
|
}
|
|
|
|
.description { display: none; }
|
|
|
|
@media screen and (max-width: 1050px) {
|
|
html, body { background: rgb(0,0,0);}
|
|
}
|
|
@media screen and (max-width: 650px) {
|
|
.game { width: 93%;}
|
|
.content { max-width: none; }
|
|
#menu-buttons .button { background: rgba(255,255,255,0.1); }
|
|
.button:hover { background: rgba(255,255,255,0.3); }
|
|
.button#back { top: 0; }
|
|
}
|
|
|
|
@media screen and (max-width: 400px) {
|
|
|
|
.nomobile {display: none; }
|
|
.mobile {display: block; }
|
|
|
|
html, body {
|
|
overflow-x: hidden;
|
|
height: 100%;
|
|
}
|
|
|
|
.main { margin: 10px auto; }
|
|
.content { min-height: 0; }
|
|
|
|
.controlButton {
|
|
width: 60px;
|
|
height: 60px;
|
|
line-height: 40px;
|
|
font-size: 40px;
|
|
}
|
|
.controls-right .controlButton { right: -55%; }
|
|
/*canvas#myCanvas { margin: 5px auto; } */
|
|
|
|
}
|