Skip to content

Commit

Permalink
Implement fields in search bar
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmajetich committed Feb 28, 2020
1 parent ce29bdc commit 573c1d3
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 0 deletions.
35 changes: 35 additions & 0 deletions web_static/5-index.html
Original file line number Diff line number Diff line change
@@ -0,0 1,35 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>AirBnB clone</title>

<link rel="shortcut icon" href="images/icon.ico" >

<link rel="stylesheet" href="styles/4-common.css"/>
<link rel="stylesheet" href="styles/3-header.css"/>
<link rel="stylesheet" href="styles/3-footer.css"/>
<link rel="stylesheet" href="styles/5-filters.css"/>
</head>
<body>
<header>
<div id="header_logo"></div>
</header>
<div class="container">
<section class="filters">
<button>Search</button>
<div class="locations">
<h3>States</h3>
<h4>California, Arizona...</h4>
</div>
<div class="amenities">
<h3>Amenities</h3>
<h4>Internet, Kitchen...</h4>
</div>

</section>
</div>
<footer>
<p>Holberton School</p>
</footer>
</body>
</html>
61 changes: 61 additions & 0 deletions web_static/styles/5-filters.css
Original file line number Diff line number Diff line change
@@ -0,0 1,61 @@
.filters {
background-color: white;
height: 70px;
width: 100%;
border: 1px solid #DDDDDD;
border-radius: 4px;
}

.locations {
display: inline-block;
vertical-align: middle;

height: 100%;
width: 25%;

margin-left: 45px;
border-right: 1px solid #DDDDDD;
}

.amenities {
display: inline-block;
vertical-align: middle;

height: 100%;
width: 25%;

margin-left: 45px;
}

h3 {
font-weight: 600;
margin-top: 12px;
margin-bottom: 5px;
}

h4 {
font-size: 14px;
font-weight: 400;
margin-top: 5px;
margin-bottom: 12px;
}

button {
color: #FFFFFF;
font-size: 18px;

height: 48px;
width: 20%;
background-color: #FF5A5F;
border-style: none;
border-radius: 4px;

float: right;
margin-top: 11px;
margin-bottom: 11px;
margin-right: 30px;
}

button:hover {
opacity: 90%;
}

0 comments on commit 573c1d3

Please sign in to comment.