Created
September 8, 2019 10:00
-
-
Save ridoansaleh/cb1952a6f01e21a269c30e43dfb70893 to your computer and use it in GitHub Desktop.
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
body { | |
margin: 0; | |
} | |
.navbar { | |
width: 100%; | |
height: 30px; | |
padding: 15px 0; | |
background-color: #5d5553; | |
} | |
.navbar-title { | |
color: white; | |
margin-left: 10px; | |
line-height: 30px; | |
} | |
.search-box { | |
padding: 20px 10px 10px 10px; | |
} | |
.search-input { | |
width: 30%; | |
padding: 5px; | |
} | |
.books-container { | |
display: flex; | |
flex-wrap: wrap; | |
} | |
.books-container > div { | |
position: relative; | |
width: calc(0.25 * (100% - 80px)); | |
margin: 10px; | |
padding: 5px 5px 45px 5px; | |
box-sizing: border-box; | |
justify-content: center; | |
box-shadow: rgba(0, 0, 0, 0.3) 0px 10px 30px 0px; | |
} | |
.book-cover { | |
width: 100%; | |
height: 200px; | |
} | |
.book-title { | |
font-weight: bold; | |
} | |
.book-value-wrapper { | |
display: flex; | |
flex-direction: row; | |
justify-content: space-between; | |
} | |
.book-show-btn { | |
position: absolute; | |
bottom: 5px; | |
width: calc(100% - 10px); | |
height: 30px; | |
background-color: green; | |
border: 0; | |
border-radius: 5px; | |
color: white; | |
} | |
.breadcrumbs { | |
padding: 0 10%; | |
margin-bottom: 0; | |
} | |
.book-detail-container { | |
display: flex; | |
flex-direction: row; | |
padding: 20px 10% 0 10%; | |
} | |
.book-detail-cover-wrapper { | |
width: 35%; | |
height: 400px; | |
} | |
.book-detail-cover-image { | |
width: 100%; | |
height: 100%; | |
} | |
.book-detail-misc { | |
width: 65%; | |
padding: 0 20px; | |
box-sizing: border-box; | |
} | |
.book-detail-title { | |
font-size: 35px; | |
margin: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment