X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=css%2Findex.css;h=ece613ba3b741249fd34996af741b1096862eda9;hb=48bee368a286e11f1be6a80779413a91feece55c;hp=727e212363a81a1e1c371978c9eabe95b9e54c47;hpb=6d7bb9ad7a5f416a4ca6ff31fa024218ef083e46;p=westcastle.git diff --git a/css/index.css b/css/index.css index 727e212..ece613b 100644 --- a/css/index.css +++ b/css/index.css @@ -50,6 +50,15 @@ img.logo { z-index: 10; } +.hide { + display: none; +} + +.clear { + clear: both; + overflow: auto; +} + .main { margin-left: 200px; /* Same as the width of the sidenav */ padding: 0px 10px; @@ -64,6 +73,7 @@ img.logo { font-size: 20px; padding: 10px 20px 10px 20px; text-decoration: none; + cursor: pointer; } .btn:hover { @@ -72,6 +82,11 @@ img.logo { text-decoration: none; } +button.block { + display: block; + margin: 25px auto; +} + table th { font-weight: bold; } @@ -82,7 +97,7 @@ table th { } .button-container-horizontal, .button-container-vertical { - margin-top: 30px; + margin: 15px 0; text-align: center; } .button-container-vertical { @@ -158,42 +173,6 @@ table.list tr:not(.title):hover, table.ranking tr:not(.title):nth-child(even):ho background-color: lightyellow; } -/* ranking div */ - -#ranking { - margin-bottom: 15px; - overflow: auto; -} - -table.ranking { - border-collapse: collapse; - width: 500px; - margin: 0 auto; - font-size: 1.1rem; - display: block; - float: left; -} - -table.ranking td -{ - border: 1px solid #ddd; - padding: 10px; -} -table.ranking th { - padding: 1em 10px; - text-align: left; -} - -table.ranking tr:not(.title) { - background-color: #aaa; -} -table.ranking tr:not(.title):nth-child(even){ - background-color: #ccc; -} -table.ranking tr:not(.title):hover, table.ranking tr:not(.title):nth-child(even):hover { - background-color: lightyellow; -} - /* pairings div */ .warning { @@ -206,11 +185,6 @@ span.link { cursor: pointer; } -button.block { - display: block; - margin: 25px auto; -} - .toto { color: darkgrey; } @@ -270,20 +244,16 @@ td.score { padding-bottom: 10px; } -/* Timer */ +/* Timer (dimensions given in javascript) */ #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 { @@ -297,3 +267,39 @@ img.close-cross { right: 0; width: 30px; } + +/* ranking div */ + +#ranking { + margin-bottom: 15px; + overflow: auto; +} + +table.ranking { + border-collapse: collapse; + width: 500px; + margin: 0 auto; + font-size: 1.1rem; + display: block; + float: left; +} + +table.ranking td +{ + border: 1px solid #ddd; + padding: 10px; +} +table.ranking th { + padding: 1em 10px; + text-align: left; +} + +table.ranking tr:not(.title) { + background-color: #aaa; +} +table.ranking tr:not(.title):nth-child(even){ + background-color: #ccc; +} +table.ranking tr:not(.title):hover, table.ranking tr:not(.title):nth-child(even):hover { + background-color: lightyellow; +}