v0.15-WORKINGV2

This commit is contained in:
2022-12-04 10:12:17 +05:30
parent f54cdd82fb
commit 32fb36623b
3 changed files with 39 additions and 28 deletions

View File

@@ -89,45 +89,39 @@ body {
.card {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /* this adds the "card" effect */
padding: 16px;
text-align: center;
text-align: left;
height: 400px;
overflow: hidden;
text-overflow: ellipsis;
background-color: #f1f1f1;
#content img {
position: absolute;
top: 0px;
right: 0px;
}
}
/* Style the counter cards */
.card-openlibrary {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /* this adds the "card" effect */
padding: 16px;
text-align: center;
text-align: left;
height: 200px;
overflow: hidden;
text-overflow: ellipsis;
background-color: #f1f1f1;
#content img {
position: absolute;
top: 0px;
right: 0px;
}
}
/*
.card-image {
padding: 16px;
position: relative;
top: 0px;
right: 0px;
width: 40%;
.card img {
float: right;
width: 100px;
padding: 0 20px 20px 0;
}
*/
.card-openlibrary img {
float: right;
width: 100px;
padding: 0 20px 20px 0;
}
.card-title {
padding: 16px;
float: left;
text-align: left;
width: 60%;
font-weight: bold;
@@ -136,12 +130,17 @@ body {
.card-authors {
padding: 16px;
float: left;
text-align: left;
width: 60%;
font-size: large;
}
.card-desc {
padding: 2px;
text-align: left;
width: 100%;
}
.input-field {
padding: 4px;
@@ -208,4 +207,8 @@ body {
.main {
margin-top: 80px; /* Add a top margin to avoid content overlay */
}
.input-field {
width: 100%;
}
}