Moar Mobile fixes - thanks to @brunoperry
This commit is contained in:
parent
41cfaaf791
commit
88cc8d1aed
|
@ -9,8 +9,8 @@
|
|||
|
||||
</head>
|
||||
<body>
|
||||
<p class="center"><img src="paradise.gif"></p>
|
||||
<div id="canvasDiv" class="center main"></div>
|
||||
<img class="center" src="paradise.gif">
|
||||
<div id="canvasDiv" class="center"></div>
|
||||
<div id="infoDiv" class="center">
|
||||
Teclas:
|
||||
<ul>
|
||||
|
|
46
paradise.css
46
paradise.css
|
@ -1,22 +1,39 @@
|
|||
html, body {
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
max-width: 512px;
|
||||
margin: 0 auto;
|
||||
background-color: #0000C8;
|
||||
color: #FFF;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
p.center {
|
||||
text-align:center;
|
||||
img {
|
||||
padding: 16px 0;
|
||||
}
|
||||
|
||||
div.main {
|
||||
border-style: solid;
|
||||
border-color: #C80000;
|
||||
height: 272px;
|
||||
canvas {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
div.center {
|
||||
width: 512px;
|
||||
padding: 0;
|
||||
#canvasDiv {
|
||||
display: block;
|
||||
max-height: 272px;
|
||||
padding: 4px;
|
||||
background-color: #C80000;
|
||||
}
|
||||
|
||||
.center {
|
||||
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
|
@ -26,13 +43,4 @@ div.center {
|
|||
width: 100%;
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@media only screen and (max-width:512px) {
|
||||
div.main {
|
||||
zoom: 0.6;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue