From 77b1d465a3fd5b4e00c8983a429d96a1d2f5ffca Mon Sep 17 00:00:00 2001 From: Midgard Date: Tue, 31 Mar 2020 11:30:35 +0200 Subject: [PATCH] Improve login form layout --- assets/main.css | 16 +++++++++------- index.html | 18 ++++++------------ 2 files changed, 15 insertions(+), 19 deletions(-) diff --git a/assets/main.css b/assets/main.css index 70b781b..a5f4e2e 100644 --- a/assets/main.css +++ b/assets/main.css @@ -182,18 +182,20 @@ ul#server_selection_list { display: none; text-align: center; } +#login h2 { + margin-bottom: 0.3em; +} #login:target { display: block; } -#login table { - margin: 0 auto 1em; +#login input { + width: 100%; } -#login table th { - font-weight: normal; - text-align: right; +#login_server { + margin-bottom: 1em; } -#login_server_row td, #login_server_row th { - padding-bottom: 1em; +.login-form { + margin-bottom: 0.5em; } .post { diff --git a/index.html b/index.html index 700c20c..68c27f6 100644 --- a/index.html +++ b/index.html @@ -27,18 +27,12 @@

Add a server

- - - - - - - - - - - -
Server
Email or username
Password
+