From 0dadd714e6c034e6fd8a26ff0c7372dc960091ba Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 4 Jun 2018 17:09:56 +0200 Subject: [PATCH] Display minis in inline-block --- static/nryg.less | 10 ++++-- templates/minis/osu.html | 66 +++++++++++++++++++++------------------- templates/minis/rl.html | 65 +++++++++++++++++++-------------------- 3 files changed, 73 insertions(+), 68 deletions(-) diff --git a/static/nryg.less b/static/nryg.less index 18682bcb..4e92046f 100644 --- a/static/nryg.less +++ b/static/nryg.less @@ -38,12 +38,16 @@ input[type="text"], input[type="password"] { } .game-panel { + display: inline-block; +} + +.game-grid { display: grid; - max-width: 400px; - position: relative; - border-radius: 10px; + width: 400px; height: 100px; + border-radius: 10px; margin: 4px; + position: relative; } .osu { diff --git a/templates/minis/osu.html b/templates/minis/osu.html index 285768d6..fa7b47d4 100644 --- a/templates/minis/osu.html +++ b/templates/minis/osu.html @@ -1,37 +1,39 @@ -
-
-
- -
- osu! -
-
- {{ osu.std_pp | int }}pp -
-
- osu!taiko -
-
- {{ osu.taiko_pp | int }}pp -
-
- osu!catch -
-
- {{ osu.catch_pp | int }}pp -
-
- osu!mania -
-
- {{ osu.mania_pp | int }}pp +
+
+
+
+ +
+ osu! +
+
+ {{ osu.std_pp | int }}pp +
+
+ osu!taiko +
+
+ {{ osu.taiko_pp | int }}pp +
+
+ osu!catch +
+
+ {{ osu.catch_pp | int }}pp +
+
+ osu!mania +
+
+ {{ osu.mania_pp | int }}pp +
\ No newline at end of file diff --git a/templates/minis/rl.html b/templates/minis/rl.html index 8fcec9a8..55de0a9f 100644 --- a/templates/minis/rl.html +++ b/templates/minis/rl.html @@ -1,35 +1,34 @@ - -
- -
- DUELLO -
-
- -
-
- DOPPIO -
-
- -
-
- STANDARD -
-
- -
-
- SOLO STD -
-
- +
+
+ +
+ DUELLO +
+
+ +
+
+ DOPPIO +
+
+ +
+
+ STANDARD +
+
+ +
+
+ SOLO STD +
+
+ +
\ No newline at end of file