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 { span.mw-editsection {
display: none; display: none;
} }
/* hide the marker for image gallery imported from mw*/
li.gallerybox::marker {
display: none;
}
body { body {
font-family: sans-serif; font-family: sans-serif;
color: black; color: black;
@ -10,21 +17,85 @@ body {
display: block; display: block;
} }
p.imgcaption { /* id for button that SHOULD open "Tasks of the Contingent Librarian" text in modal popup*/
/* font-family: serif;*/ #tasksBtn {
position: relative; 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; background-color: yellow;
color: black;
} }
.heading { /* The Modal (background) */
font-family: serif; .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; 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; color: black;
padding-left: 18px; text-decoration: none;
padding-top: 6px; cursor: pointer;
}
p.imgcaption {
position: relative;
}
a:hover {
background-color: yellow;
} }
.snippets { .snippets {
@ -46,26 +117,27 @@ div.container-fluid {
} }
.cardback { .cardback {
width: 50%; width: 100%;
height: 100%; height: 100%;
font-family: monospace;
} }
.col { .col {
width: 50%; width: 50%;
} }
/* main card image div class */
.thumbinner { .thumbinner {
display: none;
} }
.thumbimage { .thumbimage {
display: none;
} }
.row { .row {
display: inline-block; display: inline-block;
} }
h2 { h2 {
text-align: top; text-align: top;
} }
@ -96,6 +168,7 @@ iframe[name="recto"] {
padding-top: 6px; padding-top: 6px;
background-color: white; background-color: white;
width: 40%; width: 40%;
z-index: 2;
} }
.cards { .cards {

Loading…
Cancel
Save