From 7862c791be6dbec56785c2c95933bcdeb34da366 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Thu, 29 Dec 2022 07:07:36 -0500 Subject: Add styling for the welcome page --- webapp/index.html | 2 ++ webapp/src/default.css | 19 +++++++++++++++++++ webapp/src/main.rs | 9 ++++++--- 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/webapp/index.html b/webapp/index.html index 54e7990..23b7e6c 100644 --- a/webapp/index.html +++ b/webapp/index.html @@ -1,6 +1,8 @@ + Bridge App + diff --git a/webapp/src/default.css b/webapp/src/default.css index acb8356..82fca71 100644 --- a/webapp/src/default.css +++ b/webapp/src/default.css @@ -76,6 +76,25 @@ body { grid-area: bottom; } +.main-page { + margin: 0 auto; + max-width: 30em; + font-size: 150%; +} + +.main-menu { +} + +.main-page h1, p { + margin-top: 0.5em; + padding-top: 0.5em; + line-height: 1.5; +} + +.main-menu li { + list-style-type: none; +} + button { background: none!important; border: none; diff --git a/webapp/src/main.rs b/webapp/src/main.rs index de4dd7a..7dd40d9 100644 --- a/webapp/src/main.rs +++ b/webapp/src/main.rs @@ -57,10 +57,13 @@ fn home() -> Html { }; html! { -