X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=css%2Findex.css;h=727e212363a81a1e1c371978c9eabe95b9e54c47;hb=6d7bb9ad7a5f416a4ca6ff31fa024218ef083e46;hp=9604004fe7ebb4bcfd601585871d679d2f13c952;hpb=1369a09d4b3a4d3c3d19b68197a311fbb7ec97f4;p=westcastle.git diff --git a/css/index.css b/css/index.css index 9604004..727e212 100644 --- a/css/index.css +++ b/css/index.css @@ -4,9 +4,8 @@ body { font-family: Ubuntu, Verdana, sans-serif; - margin: 0; - width: 800px; margin: 0 auto; + width: 800px; font-size: 1.1rem; } @@ -39,6 +38,18 @@ body { color: #f1f1f1; } +img.logo { + width: 200px; + position: fixed; + display: block; + left: 0; + overflow-x: hidden; + padding: 20px 0 0 0; + margin: 0; + top: 350px; + z-index: 10; +} + .main { margin-left: 200px; /* Same as the width of the sidenav */ padding: 0px 10px; @@ -79,14 +90,14 @@ table th { } /* All children except first: margin: 30px */ .button-container-horizontal .btn:not(:first-child) { - margin-right: 30px; + margin-left: 30px; } .button-container-vertical .btn { display: block; margin-left: 30px; } .button-container-vertical .btn:not(:first-child) { - margin-top: 15px; + margin-top: 30px; } button.validate { @@ -258,3 +269,31 @@ td.score { #scoreInput table th { padding-bottom: 10px; } + +/* Timer */ + +#timer { + position: absolute; + z-index: 100; + left: 0; + top: 0; + min-height: 100%; + width: 100%; + background-color: white; + cursor: pointer; + line-height: 100%; + text-align: center; + vertical-align: middle; +} + +.timeout { + color: red; +} + +img.close-cross { + display: block; + position: absolute; + top: 0; + right: 0; + width: 30px; +}