diff --git a/Werwolf.php b/Werwolf.php index 50f348c..7992f3e 100644 --- a/Werwolf.php +++ b/Werwolf.php @@ -1696,7 +1696,7 @@ p#liste { else { //Es existiert kein Spiel mit dieser Nummer --> Neustart - echo "
Es existiert kein Spiel mit dieser Nummer ...
"; + echo "Es existiert kein Spiel mit dieser Nummer!
"; start(); } } @@ -2324,14 +2324,14 @@ function spielRegeln($mysqli) if ($zufaelligauswaehlen == 0) { echo " - - "; + + "; } else { echo " - - "; + + "; } echo " @@ -3129,7 +3129,7 @@ function dorfbewohnerWeiterschlafen() echo ''; } diff --git a/style.css b/style.css index 5e46568..3752d8b 100644 --- a/style.css +++ b/style.css @@ -37,12 +37,31 @@ section { #gameboard { max-width: 1000px; + width: 1000px; + min-height: min(55vh, 800px); margin-left: auto; margin-right: auto; text-align: center; border-radius: 5px; } +@media only screen and (max-width: 1000px) { + h1 { + font-size: 1.5em; + text-align: center; + } + + + #gameboard { + max-width: 99vw; + width: calc(100vw - 10px); + margin-left: auto; + margin-right: auto; + text-align: center; + border-radius: 0; + } +} + #playername { background-color: #fff; padding: 4px 4px; @@ -205,4 +224,8 @@ select { max-width: 500px; padding: 10px 0; border-radius: 2px; +} + +.weiterschlafen-btn { + font-size: larger; } \ No newline at end of file