good portrait; almost there with landscape
This commit is contained in:
parent
98725524f4
commit
91571426fb
10
js-css.html
10
js-css.html
|
@ -5,13 +5,9 @@
|
|||
|
||||
<style>
|
||||
#arjsDebugUIContainer { display: none; }
|
||||
body { margin-left: 0 !important; width: 100% !important; }
|
||||
#startend-container { max-height: 90vh; max-width: 90vw; padding: 15px; }
|
||||
@media screen and (orientation: landscape) {
|
||||
#startend-container { margin: auto; }
|
||||
}
|
||||
.startend { margin: auto; padding: 5px; display: flex; flex-direction: column; }
|
||||
#starter { background-color: #ccc; border-radius: 5px; padding: 30px; font-size: 3em; text-align: center; }
|
||||
body { margin: 0 !important; width: 100vw !important; text-align: center !important; }
|
||||
#startend-container { max-height: 100%; max-width: 100%; padding: 20px; }
|
||||
#starter { background-color: #ccc; border-radius: 5px; padding: 30px; font-size: 2em; text-align: center; }
|
||||
@media screen and (orientation: portrait) {
|
||||
#starter { font-size: 3em; }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue