forked from wrightkhlebisol/AirBnB_clone
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
an HTML page that displays a header, footer, a filters box with drop…
…down and results.
- Loading branch information
1 parent
490b7a8
commit 9fc8ccd
Showing
1 changed file
with
173 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,173 @@ | ||
/* | ||
====================== | ||
Places styles | ||
====================== | ||
*/ | ||
|
||
section.places h1 { | ||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | ||
text-align: left; | ||
font-size: 30px; | ||
} | ||
|
||
article { | ||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | ||
width: 390px; | ||
padding: 20px; | ||
margin: 20px; | ||
border: 1px solid #FF5A5F; | ||
border-radius: 4px; | ||
font-size: 30px; | ||
text-align: center; | ||
position: relative; | ||
} | ||
|
||
.places { | ||
text-align: center; | ||
} | ||
|
||
section.places article { | ||
display: inline-block; | ||
} | ||
|
||
.price_by_night { | ||
display: inline-block; | ||
position: absolute; | ||
color: #FF5A5F; | ||
border: 4px solid #FF5A5F; | ||
border-radius: 50%; | ||
min-width: 60px; | ||
height: 60px; | ||
font-size: 30px; | ||
right: 10px; | ||
top: 10px | ||
} | ||
|
||
div.price_by_night p { | ||
line-height: 60px; | ||
font-size: 20px; | ||
} | ||
|
||
.information { | ||
font-size: 15px; | ||
overflow: hidden; | ||
position: relative; | ||
} | ||
|
||
.information div { | ||
display: inline-block; | ||
border-top: 1px solid #DDDDDD; | ||
border-bottom: 1px solid #DDDDDD; | ||
padding: 20px 0; | ||
margin: 20px 0; | ||
} | ||
|
||
.max_guest { | ||
float: left; | ||
} | ||
|
||
.number_bathrooms { | ||
float: right; | ||
} | ||
|
||
.number_rooms { | ||
position: absolute; | ||
left: 0; | ||
right: 0; | ||
margin: auto; | ||
} | ||
|
||
div.description p, div.user p { | ||
font-size: 15px; | ||
text-align: left; | ||
} | ||
|
||
.user { | ||
padding-bottom: 10px; | ||
} | ||
|
||
/* | ||
======================== | ||
Amenities Styles | ||
======================== | ||
*/ | ||
|
||
.amenities_list { | ||
display: flex; | ||
align-items: center; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.amenities_list img { | ||
width: 25px; | ||
height: auto; | ||
margin-right: 10px; | ||
} | ||
|
||
li.amenities_list p { | ||
font-size: 15px; | ||
} | ||
|
||
div.amenities1 { | ||
margin-top: 40px; | ||
padding: 0; | ||
width: 400px; | ||
} | ||
|
||
div.amenities1 h2 { | ||
font-size: 16px; | ||
text-align: left; | ||
} | ||
|
||
div.amenities1 ul { | ||
padding: 10px 0; | ||
margin-top: 10px; | ||
border-top: 1px solid #DDDDDD; | ||
} | ||
|
||
.amenities1 li { | ||
list-style-type: none; | ||
} | ||
|
||
|
||
/* | ||
======================== | ||
Reviews Styles | ||
======================== | ||
*/ | ||
|
||
|
||
li.reviews_list p { | ||
font-size: 15px; | ||
width: 300px; | ||
} | ||
|
||
div.reviews { | ||
margin-top: 40px; | ||
padding: 0; | ||
width: 400px; | ||
} | ||
|
||
div.reviews h2 { | ||
font-size: 16px; | ||
text-align: left; | ||
} | ||
|
||
div.reviews ul { | ||
padding: 10px 0; | ||
margin-top: 10px; | ||
border-top: 1px solid #DDDDDD; | ||
} | ||
|
||
.reviews li { | ||
list-style-type: none; | ||
text-align: left; | ||
} | ||
|
||
li.reviews_list h3 { | ||
font-size: 14px; | ||
} | ||
|
||
li.reviews_list { | ||
padding: 10px 0; | ||
} |