David Ashby
315fb4e9d2
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #17 Co-authored-by: David Ashby <delta.mu.alpha@gmail.com> Co-committed-by: David Ashby <delta.mu.alpha@gmail.com>
289 lines
3.4 KiB
CSS
289 lines
3.4 KiB
CSS
/* http://meyerweb.com/eric/tools/css/reset/
|
|
v2.0 | 20110126
|
|
License: none (public domain)
|
|
*/
|
|
|
|
html,
|
|
body,
|
|
div,
|
|
span,
|
|
applet,
|
|
object,
|
|
iframe,
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6,
|
|
p,
|
|
blockquote,
|
|
pre,
|
|
a,
|
|
abbr,
|
|
acronym,
|
|
address,
|
|
big,
|
|
cite,
|
|
code,
|
|
del,
|
|
dfn,
|
|
em,
|
|
img,
|
|
ins,
|
|
kbd,
|
|
q,
|
|
s,
|
|
samp,
|
|
small,
|
|
strike,
|
|
strong,
|
|
sub,
|
|
sup,
|
|
tt,
|
|
var,
|
|
b,
|
|
u,
|
|
i,
|
|
center,
|
|
dl,
|
|
dt,
|
|
dd,
|
|
ol,
|
|
ul,
|
|
li,
|
|
fieldset,
|
|
form,
|
|
label,
|
|
legend,
|
|
table,
|
|
caption,
|
|
tbody,
|
|
tfoot,
|
|
thead,
|
|
tr,
|
|
th,
|
|
td,
|
|
article,
|
|
aside,
|
|
canvas,
|
|
details,
|
|
embed,
|
|
figure,
|
|
figcaption,
|
|
footer,
|
|
header,
|
|
hgroup,
|
|
menu,
|
|
nav,
|
|
output,
|
|
ruby,
|
|
section,
|
|
summary,
|
|
time,
|
|
mark,
|
|
audio,
|
|
video {
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
font-size: 100%;
|
|
font: inherit;
|
|
vertical-align: baseline;
|
|
}
|
|
article,
|
|
aside,
|
|
details,
|
|
figcaption,
|
|
figure,
|
|
footer,
|
|
header,
|
|
hgroup,
|
|
menu,
|
|
nav,
|
|
section {
|
|
display: block;
|
|
}
|
|
body {
|
|
line-height: 1;
|
|
}
|
|
ol,
|
|
ul {
|
|
list-style: none;
|
|
}
|
|
blockquote,
|
|
q {
|
|
quotes: none;
|
|
}
|
|
blockquote:before,
|
|
blockquote:after,
|
|
q:before,
|
|
q:after {
|
|
content: "";
|
|
content: none;
|
|
}
|
|
table {
|
|
border-collapse: collapse;
|
|
border-spacing: 0;
|
|
}
|
|
|
|
/* site CSS starts here */
|
|
|
|
body {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
#header {
|
|
height: 30px;
|
|
width: calc(100vw - 20px);
|
|
padding: 4px 10px;
|
|
background-color: #f7f3dc;
|
|
border-bottom: 2px solid #d8d0a0;
|
|
font-family: "Libre Baskerville", sans-serif;
|
|
}
|
|
|
|
#header h1 {
|
|
font-size: xx-large;
|
|
display: inline;
|
|
}
|
|
|
|
#header .bookCount {
|
|
font-size: small;
|
|
color: #a29c77;
|
|
}
|
|
|
|
#searchBox {
|
|
position: absolute;
|
|
right: 10px;
|
|
top: 7px;
|
|
text-align: right;
|
|
width: 800px;
|
|
}
|
|
|
|
#searchBox input#search {
|
|
width: 300px;
|
|
font-size: 16px;
|
|
background: #f9f8ed;
|
|
padding: 2px 5px;
|
|
border: none;
|
|
border-bottom: 2px solid #d8d0a0;
|
|
font-family: "Libre Baskerville", sans-serif;
|
|
}
|
|
|
|
#searchBox input:focus {
|
|
outline: none;
|
|
}
|
|
|
|
#searchBox input::placeholder {
|
|
font-family: "Libre Baskerville", sans-serif;
|
|
color: #d8d0a0;
|
|
}
|
|
|
|
#current {
|
|
background-color: #f7f3dc;
|
|
width: calc(40vw - 40px);
|
|
height: calc(100vh - 80px);
|
|
padding: 20px;
|
|
overflow: auto;
|
|
float: left;
|
|
position: relative;
|
|
}
|
|
|
|
#books {
|
|
width: calc(60vw - 40px);
|
|
height: calc(100vh - 80px);
|
|
padding: 20px;
|
|
overflow: auto;
|
|
float: left;
|
|
}
|
|
|
|
.bookTable th {
|
|
font-weight: bold;
|
|
text-align: left;
|
|
font-family: "Libre Baskerville", sans-serif;
|
|
}
|
|
|
|
.bookTable th[data-sort-by] {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.bookTable th[data-sort-by]::after {
|
|
content: "\2195";
|
|
position: relative;
|
|
left: 4px;
|
|
}
|
|
|
|
.bookTable th.asc::after {
|
|
content: "\2191";
|
|
font-size: small;
|
|
position: relative;
|
|
left: 4px;
|
|
bottom: 1px;
|
|
}
|
|
|
|
.bookTable th.desc::after {
|
|
content: "\2193";
|
|
font-size: small;
|
|
position: relative;
|
|
left: 4px;
|
|
bottom: 1px;
|
|
}
|
|
|
|
.bookTable td,
|
|
.bookTable th {
|
|
padding: 5px;
|
|
min-width: 50px;
|
|
}
|
|
|
|
.tRow:nth-child(odd) {
|
|
background: #f9f8ed;
|
|
border-bottom: 1px solid #d8d0a0;
|
|
}
|
|
|
|
.bookTable .tRow {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.bookTable .tRow .title {
|
|
font-style: italic;
|
|
max-width: 600px;
|
|
}
|
|
|
|
#current h1 {
|
|
font-size: x-large;
|
|
font-weight: bold;
|
|
font-style: italic;
|
|
padding: 0 0 5px 0;
|
|
}
|
|
|
|
#current h2 {
|
|
font-size: large;
|
|
padding: 7px 0;
|
|
}
|
|
|
|
#current img {
|
|
opacity: 0.5;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
#current .bookDetails {
|
|
position: relative;
|
|
background-color: rgba(255, 255, 255, 0.8);
|
|
padding: 10px;
|
|
margin: 0;
|
|
width: 75%;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
#current .description p {
|
|
padding: 20px 0;
|
|
}
|