From ea6bb36e86f23f1046d3d1dd03cfb46d598f97f7 Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Sat, 8 Dec 2018 21:55:55 +0100
Subject: [PATCH] Improve list style on welcome page for small screens

---
 public/stylesheets/index.sass | 15 +++++++++++++++
 views/index.pug               | 18 ++++++++++++------
 2 files changed, 27 insertions(+), 6 deletions(-)

diff --git a/public/stylesheets/index.sass b/public/stylesheets/index.sass
index 4176bf8e..e4f846ee 100644
--- a/public/stylesheets/index.sass
+++ b/public/stylesheets/index.sass
@@ -29,3 +29,18 @@
 
 #welcome ul > li
   font-family: monospace
+
+table.list-table
+  width: 300px
+  margin: 0 auto
+  border: 0
+  tbody
+    border: 0
+    tr
+      border: 0
+      margin: 0
+      padding: 0
+      td
+        padding: 0
+        text-align: left
+        border: 0
diff --git a/views/index.pug b/views/index.pug
index 99a5b561..4be9cf92 100644
--- a/views/index.pug
+++ b/views/index.pug
@@ -47,12 +47,18 @@ block content
 								(otherwise it's no longer a variant but a whole new game!).
 							p(style="font-style:italic;color:purple") However...
 							p Each variant has its own new rules, which can involve
-							ul
-								li * different pieces movements
-								li * different chessboard(s)&nbsp;&nbsp;&nbsp;
-								li * new pieces&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-								li * moves side effects&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-								li ...and so on&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+							table.list-table
+								tbody
+									tr
+										td * different pieces movements
+									tr
+										td * different chessboard(s)
+									tr
+										td * new pieces
+									tr
+										td * moves side effects
+									tr
+										td ...and so on
 						.section
 							p.
 								Example: imagine that a capture is an atomic explosion, wiping all adjacent squares
-- 
2.44.0