X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=common.css;h=1f1809a2699b6231046a9627cc909cbef8731c40;hb=e7b64798015851c120b9e8b4872297cfbaa0cb15;hp=a69f4fb89de2794bfc9d619a565b500e2a5a0e71;hpb=bc2bc396ec4df092f218b58a0fbf08ba7eb8ca6e;p=xogo.git diff --git a/common.css b/common.css index a69f4fb..1f1809a 100644 --- a/common.css +++ b/common.css @@ -41,7 +41,7 @@ main > div { } @media(max-height: 800px) { - main > div { + #newGameForm, #gameInfos { margin-top: 30px; } } @@ -61,6 +61,14 @@ main > div { margin: 0; padding: 0; border: none; + /* attempt https://stackoverflow.com/questions/1719452/how-to-make-a-div-always-full-screen */ + position: fixed; + width: 100%; + height: 100%; + left: 0; + top: 0; + background: rgba(51,51,51,0.7); + z-index: 10; } h1 {