Drop PHP requiremeent: use localStorage
[westcastle.git] / css / index.css
index 341c7b8..ece613b 100644 (file)
@@ -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;
+}