From 46e67488f1cc8e3c7415ef7a43eba53ed6b78ae3 Mon Sep 17 00:00:00 2001 From: Masahiko AMANO Date: Fri, 27 Jan 2023 16:53:24 +0300 Subject: [PATCH] fix(web): initialize index.html and update styles --- web/public/auth.html | 26 ++++++++++++++------------ web/public/css/auth.css | 5 ++--- web/public/css/general.css | 10 ++++++++++ web/public/index.html | 6 ++++++ 4 files changed, 32 insertions(+), 15 deletions(-) diff --git a/web/public/auth.html b/web/public/auth.html index 1fc0aa5..df8a17e 100644 --- a/web/public/auth.html +++ b/web/public/auth.html @@ -32,18 +32,20 @@

Welcome to Tanabata!

-
-
- - -
Invalid password!
-
Authorization success!
-
-
- - Back to home -
-
+
+
+
+ + +
Invalid password!
+
Authorization success!
+
+
+ + Back to home +
+
+
diff --git a/web/public/css/auth.css b/web/public/css/auth.css index facc4aa..7dee003 100644 --- a/web/public/css/auth.css +++ b/web/public/css/auth.css @@ -1,10 +1,9 @@ form { + margin: 0; + width: 100%; display: flex; flex-direction: column; justify-content: center; - margin: 0; - padding: 2vw 2vw; - box-sizing: border-box; } .button-flex { diff --git a/web/public/css/general.css b/web/public/css/general.css index b050fde..63e602e 100644 --- a/web/public/css/general.css +++ b/web/public/css/general.css @@ -54,6 +54,16 @@ main:hover { box-shadow: 0 0 1vw black; } +.contents-wrapper { + margin: 0; + padding: 2vw 2vw; + box-sizing: border-box; + display: flex; + flex-direction: row; + align-content: center; + justify-content: space-around; +} + h2 { margin: 0; padding: 14px 0; diff --git a/web/public/index.html b/web/public/index.html index b2e1a2c..ae869e2 100644 --- a/web/public/index.html +++ b/web/public/index.html @@ -29,5 +29,11 @@

Welcome to Tanabata!

+
+

Select Tanabata service

+
+ TFM +
+