From 68b0c8edf57c0e6ac165f46b8c310dea5f24119b Mon Sep 17 00:00:00 2001 From: rheabhutada02 <83424582+rheabhutada02@users.noreply.github.com> Date: Mon, 21 Nov 2022 12:32:54 -0800 Subject: [PATCH] cleaned css and html Co-authored-by: Arthur Lu --- source/CreatePage.html | 27 ++++++++++++++------------- source/static/CreatePage.css | 23 ++++++++++++----------- source/static/homepage.css | 2 +- 3 files changed, 27 insertions(+), 25 deletions(-) diff --git a/source/CreatePage.html b/source/CreatePage.html index fe4b09f..e60f846 100644 --- a/source/CreatePage.html +++ b/source/CreatePage.html @@ -19,25 +19,28 @@ - - -
+
+
logo

Food Journal

+ logo
+
+ + +
-

New Entry

+

New Entry

- Pic: + Choose Input type: -
-
- Meal: + @@ -59,7 +60,9 @@
- Rating: +
+ Rating: +
@@ -68,7 +71,7 @@
- Other Info: + - -
diff --git a/source/static/CreatePage.css b/source/static/CreatePage.css index a386e06..bdd9727 100644 --- a/source/static/CreatePage.css +++ b/source/static/CreatePage.css @@ -10,30 +10,31 @@ body { } -h1 { - text-align: center; -} - .top-bar { - margin-top: -8cm; + display: flex; + justify-content: center; } .top-bar > img { position: relative; - top: 7.85cm; + align-self: center; + padding-left: 2.5%; + padding-right: 2.5%; } .top-bar > h1 { position: relative; - top: 2.2cm; - font-size: 3cm; + text-align: center; + /*color: #e4c3d2;*/ + /*color: rgb(145, 124, 175);*/ color:#516754; + font-size: 6rem; font-family: 'testFont'; } -.top-bar > form { - position: relative; - left: 32cm; +.journal-form > h1 { + font-family: 'testFont'; + text-align: center; } .journal-form { diff --git a/source/static/homepage.css b/source/static/homepage.css index bf55a47..b4e45da 100644 --- a/source/static/homepage.css +++ b/source/static/homepage.css @@ -78,7 +78,7 @@ img#create-btn { .review-container > div { background-color: #f1f1f1; text-align: center; -}} +} img#create-btn { position: relative;