mirror of
https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
synced 2024-12-26 17:09:09 +00:00
cleanup css in homepage.css and index.html
This commit is contained in:
parent
259018ca97
commit
eed39f580f
@ -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
|
||||
|
@ -3,45 +3,51 @@
|
||||
body{
|
||||
background-color: #97a5bd;
|
||||
}
|
||||
.Top-Bar{
|
||||
|
||||
.top-bar{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.Top-Bar > img{
|
||||
.top-bar > img{
|
||||
position: relative;
|
||||
align-self: center;
|
||||
padding-left: 2.5%;
|
||||
padding-right: 2.5%;
|
||||
}
|
||||
.Top-Bar > h1{
|
||||
.top-bar > h1{
|
||||
position: relative;
|
||||
text-align: center;
|
||||
color: #E4C3D2;
|
||||
font-size: 100px;
|
||||
font-size: 6rem;
|
||||
font-family: 'Lucida Sans';
|
||||
}
|
||||
.Top-Bar > form{
|
||||
position: relative;
|
||||
float: right;
|
||||
|
||||
.body-container {
|
||||
display: flex;
|
||||
max-height: 100%;
|
||||
}
|
||||
.Review-boxes {
|
||||
position: relative;
|
||||
|
||||
.center-display {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#recent-reviews-text {
|
||||
font-family: 'Lucida Sans';
|
||||
text-align: center;
|
||||
font-size: 80px;
|
||||
font-size: 4rem;
|
||||
color: #E4C3D2;
|
||||
}
|
||||
.Review-boxes > input {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
img#create-btn {
|
||||
position: relative;
|
||||
align-self: center;
|
||||
padding-left: 2.5%;
|
||||
padding-right: 2.5%;
|
||||
}
|
||||
|
||||
.Filter-box{
|
||||
background: #e4d9e9;
|
||||
position: absolute;
|
||||
border: 5px solid #99a2c2;
|
||||
}
|
||||
.review-container{
|
||||
display: flex;
|
||||
position: relative;
|
||||
|
Loading…
Reference in New Issue
Block a user