-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4603fb2
commit 06f70bc
Showing
6 changed files
with
16,953 additions
and
5 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
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 |
---|---|---|
@@ -1,3 +1,114 @@ | ||
.books__page { | ||
padding: 5px 5%; | ||
} | ||
|
||
.books__booksListPart { | ||
display: grid; | ||
gap: 15px; | ||
grid-template-columns: repeat(4, 1fr); | ||
} | ||
|
||
.books__bookItem { | ||
width: 100%; | ||
overflow: hidden; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-between; | ||
border: 1px solid lightgray; | ||
border-radius: 10px; | ||
} | ||
|
||
.books__bookItemImage { | ||
overflow: hidden; | ||
height: 300px; | ||
cursor: pointer; | ||
} | ||
|
||
.books__bookItemImage img { | ||
width: 100%; | ||
transition: all 0.5s ease-in-out; | ||
} | ||
|
||
.books__bookItemImage img:hover { | ||
transform: scale(1.1); | ||
} | ||
|
||
.books__bookItemInfo { | ||
padding: 10px 0; | ||
} | ||
|
||
.books__bookItemInfo p { | ||
text-align: center; | ||
font-size: 18px; | ||
font-weight: 600; | ||
letter-spacing: 0.3px; | ||
|
||
} | ||
|
||
.books__bookPagination { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
margin: 15px 0; | ||
} | ||
|
||
.books__bookPagination span { | ||
color: rgb(0, 0, 0); | ||
padding: 8px 25px; | ||
text-align: center; | ||
font-size: 16px; | ||
border-top: 1px solid rgb(0, 0, 0); | ||
border-bottom: 1px solid rgb(0, 0, 0); | ||
letter-spacing: 0.5px; | ||
transition: all 0.5s ease-in-out; | ||
} | ||
|
||
.books__bookPagination button { | ||
background-color: #a8c4f8; | ||
border: none; | ||
color: rgb(0, 0, 0); | ||
padding: 0px 25px; | ||
text-align: center; | ||
text-decoration: none; | ||
display: flex; | ||
align-items: center; | ||
gap: 10px; | ||
font-size: 36px; | ||
cursor: pointer; | ||
letter-spacing: 0.5px; | ||
transition: all 0.5s ease-in-out; | ||
} | ||
|
||
.books__bookPagination button:disabled { | ||
background-color: lightgray; | ||
} | ||
|
||
.books__bookPagination button:disabled:hover { | ||
background-color: lightgray; | ||
color: black; | ||
} | ||
|
||
.books__bookPagination button:hover { | ||
background-color: #0058fc; | ||
color: rgb(255, 255, 255); | ||
} | ||
|
||
|
||
|
||
@media only screen and (max-width: 450px) { | ||
.books__booksListPart { | ||
grid-template-columns: 1fr; | ||
} | ||
} | ||
|
||
@media only screen and (min-width: 451px) and (max-width: 800px) { | ||
.books__booksListPart { | ||
grid-template-columns: repeat(2, 1fr); | ||
} | ||
} | ||
|
||
@media only screen and (min-width: 801px) and (max-width: 1100px) { | ||
.books__booksListPart { | ||
grid-template-columns: repeat(3, 1fr); | ||
} | ||
} |
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
Oops, something went wrong.