mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 13:21:41 -05:00
life
This commit is contained in:
@@ -12,10 +12,12 @@ function fullscreen() {
|
||||
} else if (grid.mozRequestFullScreen) {
|
||||
grid.mozRequestFullScreen()
|
||||
} else if (grid.webkitRequestFullscreen) {
|
||||
alert("ok")
|
||||
grid.webkitRequestFullscreen()
|
||||
} else if (grid.msRequestFullscreen) {
|
||||
grid.msRequestFullscreen()
|
||||
} else {
|
||||
document.getElementById("return").classList.add("permaHidden")
|
||||
document.getElementById("mainGrid").classList.add("fullscreenUnavailable")
|
||||
}
|
||||
}
|
||||
function startGame() {
|
||||
|
14
life.html
14
life.html
@@ -15,10 +15,10 @@
|
||||
<!-- Other things -->
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<meta name="apple-mobile-web-app-title" content="LifeCounter" />
|
||||
<meta name="apple-mobile-web-app-title" content="LifeCounter">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
|
||||
<!-- Here's the stuff that does things? -->
|
||||
<script type='application/ld+json'>
|
||||
@@ -120,10 +120,13 @@
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
align-items: center;
|
||||
/*display: none;*/
|
||||
display: none;
|
||||
}
|
||||
.mainGrid:fullscreen {
|
||||
/*display: inline-block;*/
|
||||
display: inline-block;
|
||||
}
|
||||
.mainGrid.fullscreenUnavailable {
|
||||
display: inline-block;
|
||||
}
|
||||
.playerBox {
|
||||
/*background-color: #454;*/
|
||||
@@ -138,6 +141,9 @@
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
.permaHidden {
|
||||
display: none;
|
||||
}
|
||||
#return {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
Reference in New Issue
Block a user