cleanup css in homepage.css and index.html

This commit is contained in:
Arthur Lu
2022-11-21 03:17:32 +00:00
parent 259018ca97
commit eed39f580f
2 changed files with 33 additions and 27 deletions

View File

@@ -18,10 +18,10 @@
</head>
<main>
<header>
<div class="Top-Bar" style="display: flex; justify-content: center;">
<img src ="./assets/images/icons/Logo.png" style="align-self: center; padding-left: 2.5%; padding-right: 2.5%;" alt="logo" />
<h1 style="font-family:'Lucida Sans';"> Food Journal </h1>
<img src ="./assets/images/icons/Logo.png" style="align-self: center; padding-left: 2.5%; padding-right: 2.5%;" alt="logo" />
<div class="top-bar">
<img src ="./assets/images/icons/Logo.png" alt="logo" />
<h1> Food Journal </h1>
<img src ="./assets/images/icons/Logo.png" alt="logo" />
</div>
</header>
<body>
@@ -30,21 +30,21 @@
For mobile: + flex-direction: column-reverse;"
~ width: 100% for all divs
-->
<div style="display: flex; max-height: 100%; ">
<div class="body-container">
<div style="width: 20%;"></div>
<div style="width: 60%;">
<div style="display: flex; flex-direction: row; justify-content: center; align-items: center;">
<img src ="./assets/images/icons/Grouppink.png" alt="CREATE" style="align-self: center; opacity:100; padding-left: 2.5%; padding-right: 2.5%;" id="create-btn" onclick="window.location.assign('./CreatePage.html')"></img>
<div class="center-display">
<img src ="./assets/images/icons/Grouppink.png" alt="CREATE" style="opacity: 100%;" id="create-btn" onclick="window.location.assign('./CreatePage.html')"></img>
<h2 id="recent-reviews-text"> Recent Reviews </h2>
<img src ="./assets/images/icons/Grouppink.png" alt="CREATE" style="align-self: center; opacity:0;"></img>
<img src ="./assets/images/icons/Grouppink.png" style="opacity:0;"></img>
</div>
<div class="review-container" id="review-container"></div>
</div>
<div style="width: 20%;">
<form id="form" style="">
<form id="form">
<input type='search' id="seaching" name="searchBar" placeholder="Search journal...">
<button class="click" type="search">
Search