mirror of
https://github.com/janeczku/calibre-web
synced 2024-06-26 07:03:17 +00:00
refactor: adjust the margins with a value of 10px
This commit is contained in:
parent
3884ff058b
commit
b650ab9025
|
@ -140,19 +140,26 @@ table .bg-dark-danger a { color: #fff; }
|
||||||
|
|
||||||
.container-fluid .book {
|
.container-fluid .book {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
|
margin-right: 10px;
|
||||||
max-width: 180px;
|
max-width: 180px;
|
||||||
display: flex;
|
display: inline-block;
|
||||||
flex-direction: column;
|
vertical-align: top;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.container-fluid .book:last-child {
|
||||||
|
margin-right: 0; /* Remove the margin on the last book */
|
||||||
|
}
|
||||||
|
|
||||||
.cover { margin-bottom: 10px; }
|
.cover { margin-bottom: 10px; }
|
||||||
|
|
||||||
.container-fluid .book .cover {
|
.container-fluid .book .cover {
|
||||||
width: 180px;
|
width: 180px; /* Set a fixed width for the cover container */
|
||||||
height: 180px;
|
height: 180px; /* Set a fixed height for the cover container */
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd; /* Add a subtle border */
|
||||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add a box shadow effect */
|
||||||
}
|
}
|
||||||
|
|
||||||
.container-fluid .book .cover img {
|
.container-fluid .book .cover img {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user