From f12ff135fa059f2448938b85f40f4aa07e05bd6d Mon Sep 17 00:00:00 2001 From: Adrien MALINGREY Date: Fri, 1 Nov 2019 13:17:01 +0100 Subject: [PATCH] remove records out of top 10 --- css/style.css | 13 ++++++++-- index.php | 18 +++++++++----- intop10.php => inleaderboard.php | 6 ++--- js/{index.js => settings.js} | 0 js/webtris.js | 42 ++++++++++++++++---------------- leaderboard.php | 11 ++++++++- publish.php | 8 ++++++ options.php => settings.php | 4 +-- 8 files changed, 67 insertions(+), 35 deletions(-) rename intop10.php => inleaderboard.php (78%) rename js/{index.js => settings.js} (100%) rename options.php => settings.php (89%) diff --git a/css/style.css b/css/style.css index 6112577..81f9b13 100644 --- a/css/style.css +++ b/css/style.css @@ -53,7 +53,8 @@ a:active { border-style: inset; } -#actions { +#settings { + /*visibility: hidden;*/ display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 2vmin; @@ -62,13 +63,21 @@ a:active { justify-items: left; } +.flex-container { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: center; + margin: 2vmin; +} + #button-link { text-align: center; font-weight: bold; margin: 3vmin; } -#container { +#grid-container { position: relative; display: grid; width: 72vmin; diff --git a/index.php b/index.php index 456beb2..ec93637 100644 --- a/index.php +++ b/index.php @@ -9,7 +9,7 @@

WEBTRIS

-
+
\n"; @@ -36,11 +36,17 @@
- -