v0.15-WORKINGV1
This commit is contained in:
@@ -28,19 +28,41 @@ body {
|
||||
}
|
||||
/* Modal Content/Box */
|
||||
.modal-content {
|
||||
margin: 10% auto; /* 15% from the top and centered */
|
||||
margin: 5% auto; /* 15% from the top and centered */
|
||||
padding: 20px;
|
||||
border: 1px solid #888;
|
||||
width: 80%; /* Could be more or less, depending on screen size */
|
||||
height: 80%;
|
||||
height: 90%;
|
||||
overflow: auto; /* Enable scroll if needed */
|
||||
background-color: rgb(0,0,0); /* Fallback color */
|
||||
}
|
||||
|
||||
/* Float three header columns side by side */
|
||||
.header {
|
||||
position: fixed; /* Stay in place */
|
||||
overflow: hidden;
|
||||
z-index: 1; /* Sit on top */
|
||||
width: 100%;
|
||||
top: 0; /* Position the navbar at the top of the page */
|
||||
padding: 0 10px;
|
||||
background-color: #f1f1f1;
|
||||
}
|
||||
|
||||
.main {
|
||||
margin-top: 50px; /* Add a top margin to avoid content overlay */
|
||||
}
|
||||
|
||||
/* Float three header columns side by side */
|
||||
.header-column {
|
||||
float: left;
|
||||
width: 30%;
|
||||
width: 28%;
|
||||
padding: 0 10px;
|
||||
}
|
||||
/* Float three header columns side by side */
|
||||
.header-page-column {
|
||||
float: left;
|
||||
margin-top: 0px;
|
||||
width: 15%;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
@@ -49,6 +71,8 @@ body {
|
||||
float: left;
|
||||
width: 25%;
|
||||
padding: 0 10px;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
/* Remove extra left and right margins, due to padding in columns */
|
||||
@@ -70,6 +94,105 @@ body {
|
||||
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;
|
||||
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-title {
|
||||
padding: 16px;
|
||||
float: left;
|
||||
text-align: left;
|
||||
width: 60%;
|
||||
font-weight: bold;
|
||||
font-size: large;
|
||||
}
|
||||
|
||||
.card-authors {
|
||||
padding: 16px;
|
||||
float: left;
|
||||
text-align: left;
|
||||
width: 60%;
|
||||
font-size: large;
|
||||
}
|
||||
|
||||
|
||||
.input-field {
|
||||
padding: 4px;
|
||||
float: left;
|
||||
text-align: left;
|
||||
width: 50%;
|
||||
font-size: large;
|
||||
}
|
||||
.input-field label {
|
||||
display: block;
|
||||
vertical-align: middle;
|
||||
min-width: 20%;
|
||||
max-width: 20%;
|
||||
width: 20%;
|
||||
padding: 4px;
|
||||
}
|
||||
.input-field textarea {
|
||||
vertical-align: middle;
|
||||
width: 80%;
|
||||
}
|
||||
.input-buttons {
|
||||
padding: 20px;
|
||||
float: left;
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.more-info {
|
||||
width: 90%;
|
||||
}
|
||||
.more-info img {
|
||||
float: right;
|
||||
width: 200px;
|
||||
padding: 0 20px 20px 0;
|
||||
}
|
||||
|
||||
.more-info label {
|
||||
display:inline-block;
|
||||
text-align: left;
|
||||
width: 20%;
|
||||
font-weight: bold;
|
||||
font-size: large;
|
||||
}
|
||||
|
||||
.more-info-buttons {
|
||||
padding: 20px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.page-input {
|
||||
width: 40px;
|
||||
}
|
||||
|
||||
/* Responsive columns - one column layout (vertical) on small screens */
|
||||
@@ -80,3 +203,9 @@ body {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 800px) {
|
||||
.main {
|
||||
margin-top: 80px; /* Add a top margin to avoid content overlay */
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user