mobile-ify

This commit is contained in:
blek 2023-09-03 21:28:20 +10:00
parent 92eaf35f4f
commit 111be6acbf
Signed by: blek
GPG Key ID: 14546221E3595D0C
3 changed files with 25 additions and 1 deletions

View File

@ -2,7 +2,7 @@
import Game from './Game.svelte' import Game from './Game.svelte'
</script> </script>
<main style='width:fit-content;margin:0 auto;text-align:center'> <main>
<h1>blek! Wordle</h1> <h1>blek! Wordle</h1>
<p> <p>
FOSS wordle game that runs in your browser!<br/> FOSS wordle game that runs in your browser!<br/>

View File

@ -55,6 +55,16 @@
width: 600px; width: 600px;
height: 56px; height: 56px;
} }
@media (max-width: 667px) {
.openwordle-keyboard .openwordle-keyboard-line {
width: 96vw;
height: 40px;
}
.openwordle-keyboard .openwordle-keyboard-btn {
font-size: 10pt;
padding: 0 4px;
}
}
.kb-btn-unfit { .kb-btn-unfit {
background: #444454 !important; background: #444454 !important;
} }

View File

@ -58,4 +58,18 @@ button:active {
.no-anim { .no-anim {
animation: none !important; animation: none !important;
}
main {
margin: 0px auto;
text-align: center;
width: fit-content;
}
@media (max-width:667px) {
main {
margin: 0px !important;
text-align: center;
width: 100vw;
}
} }