X-Git-Url: https://git.auder.net/?p=westcastle.git;a=blobdiff_plain;f=css%2Findex.css;h=ece613ba3b741249fd34996af741b1096862eda9;hp=341c7b8abb33a6caf365b25790d5d6afbd6e7044;hb=48bee368a286e11f1be6a80779413a91feece55c;hpb=8d4d23009371e7ca83e0793185f0ae8485190007 diff --git a/css/index.css b/css/index.css index 341c7b8..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; } @@ -293,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; +}