updated tasks.css

master
simon 4 years ago
parent 9d39f327ee
commit af4fcbf9a3

@ -1,7 +1,14 @@
/* hide the "edit" imported from mw*/
span.mw-editsection {
display: none;
}
/* hide the marker for image gallery imported from mw*/
li.gallerybox::marker {
display: none;
}
body {
font-family: sans-serif;
color: black;
@ -10,21 +17,85 @@ body {
display: block;
}
p.imgcaption {
/* font-family: serif;*/
position: relative;
/* id for button that SHOULD open "Tasks of the Contingent Librarian" text in modal popup*/
#tasksBtn {
display: inline-block;
color: black;
font-family: serif;
font-size: 1.6em;
padding-left: 0px;
padding-right: 0px;
margin-left: 18px;
margin-top: 6px;
background-color: white;
border: none;
}
a:hover {
/* id for button that opens "*A note to the reader" text in modal popup*/
#noteBtn {
display: inline;
color: blue;
font-family: serif;
font-size: 1.6em;
padding-left: 0px;
padding-right: 0px;
margin-top: 6px;
background-color: white;
border: none;
}
/* hover state for buttons */
#tasksBtn:hover, #noteBtn:hover {
background-color: yellow;
color: black;
}
.heading {
font-family: serif;
/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
width: 80%; /* Full width */
height: 80%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content/Box */
.modal-content {
font-family: sans-serif;
font-size: 1.6em;
background-color: white;
margin: 10% auto; /* 10% from the top and centered */
padding: 18px;
border: 1px solid #888;
width: 50%; /* Could be more or less, depending on screen size */
}
/* The Close Button */
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: black;
padding-left: 18px;
padding-top: 6px;
text-decoration: none;
cursor: pointer;
}
p.imgcaption {
position: relative;
}
a:hover {
background-color: yellow;
}
.snippets {
@ -46,26 +117,27 @@ div.container-fluid {
}
.cardback {
width: 50%;
width: 100%;
height: 100%;
font-family: monospace;
}
.col {
width: 50%;
}
/* main card image div class */
.thumbinner {
display: none;
}
.thumbimage {
display: none;
}
.row {
display: inline-block;
}
h2 {
text-align: top;
}
@ -96,6 +168,7 @@ iframe[name="recto"] {
padding-top: 6px;
background-color: white;
width: 40%;
z-index: 2;
}
.cards {

Loading…
Cancel
Save