Skip to content

Commit

Permalink
an HTML page that displays a header, footer, a filters box with drop…
Browse files Browse the repository at this point in the history
…down and results.
  • Loading branch information
GideonBature committed Oct 22, 2023
1 parent 490b7a8 commit 9fc8ccd
Showing 1 changed file with 173 additions and 0 deletions.
173 changes: 173 additions & 0 deletions web_static/styles/100-places.css
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;
}

0 comments on commit 9fc8ccd

Please sign in to comment.