2020-09-20 03:50:27 +00:00
|
|
|
html, body, main {
|
|
|
|
height: 100%; /* needed for chromium to display the #document-viewer at 100% height */
|
|
|
|
}
|
2020-09-16 01:43:55 +00:00
|
|
|
body {
|
|
|
|
font-family: sans-serif;
|
2020-09-17 14:14:50 +00:00
|
|
|
min-height: 100vh;
|
2020-09-16 01:43:55 +00:00
|
|
|
margin: 0;
|
2020-09-17 14:14:50 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
overflow-x: hidden;
|
2020-09-16 01:43:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
font-weight: 200;
|
2020-09-16 02:14:31 +00:00
|
|
|
text-align: center;
|
2020-09-16 01:43:55 +00:00
|
|
|
}
|
|
|
|
|
2020-09-16 02:14:31 +00:00
|
|
|
.centred {
|
|
|
|
margin: 0 auto;
|
|
|
|
width: max-content;
|
|
|
|
text-align: center;
|
2020-09-16 01:43:55 +00:00
|
|
|
}
|
2020-09-16 02:27:47 +00:00
|
|
|
.subtle {
|
|
|
|
color: #888;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2020-09-16 01:43:55 +00:00
|
|
|
|
2020-09-16 02:14:31 +00:00
|
|
|
a {
|
2020-09-17 13:47:13 +00:00
|
|
|
text-decoration: underline dotted transparent;
|
|
|
|
color: #a66;
|
|
|
|
transition: 0.2s;
|
|
|
|
}
|
|
|
|
a:not(.button):hover {
|
|
|
|
text-decoration: underline dotted;
|
2020-09-16 01:43:55 +00:00
|
|
|
}
|
2020-09-16 02:14:31 +00:00
|
|
|
|
2020-09-17 13:37:11 +00:00
|
|
|
.button {
|
|
|
|
font-size: 1em;
|
2020-09-16 01:43:55 +00:00
|
|
|
color: #a66;
|
2020-09-16 02:39:45 +00:00
|
|
|
background: transparent;
|
2020-09-16 01:43:55 +00:00
|
|
|
border: thin #a66 solid;
|
2020-09-16 02:14:31 +00:00
|
|
|
border-radius: 5px;
|
2020-09-16 02:39:45 +00:00
|
|
|
padding: 5px 10px;
|
2020-09-16 01:43:55 +00:00
|
|
|
text-align: center;
|
|
|
|
transition: 0.2s all;
|
|
|
|
}
|
2020-09-17 13:37:11 +00:00
|
|
|
.button:hover {
|
2020-09-16 01:43:55 +00:00
|
|
|
background: #a66;
|
|
|
|
color: white;
|
|
|
|
}
|
2020-09-17 13:37:11 +00:00
|
|
|
.button.block {
|
2020-09-16 02:14:31 +00:00
|
|
|
display: inline-block;
|
|
|
|
margin: 5px auto;
|
|
|
|
}
|
2020-09-17 13:37:11 +00:00
|
|
|
.button.inverted {
|
2020-09-16 02:39:45 +00:00
|
|
|
color: white;
|
|
|
|
border-color: white;
|
|
|
|
}
|
2020-09-17 13:37:11 +00:00
|
|
|
.button.inverted:hover {
|
2020-09-16 02:39:45 +00:00
|
|
|
background: white;
|
|
|
|
color: #a00;
|
|
|
|
}
|
2020-09-16 02:14:31 +00:00
|
|
|
|
|
|
|
.vertical-buttons {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
2020-09-17 13:37:11 +00:00
|
|
|
.vertical-buttons .button {
|
2020-09-16 02:14:31 +00:00
|
|
|
flex: 1;
|
|
|
|
border-bottom: none;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
2020-09-17 13:37:11 +00:00
|
|
|
.vertical-buttons .button:first-child {
|
2020-09-16 01:43:55 +00:00
|
|
|
border-radius: 5px 5px 0 0;
|
|
|
|
}
|
2020-09-17 13:37:11 +00:00
|
|
|
.vertical-buttons .button:last-child {
|
2020-09-16 01:43:55 +00:00
|
|
|
border-bottom: thin #a66 solid;
|
|
|
|
border-radius: 0 0 5px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav {
|
|
|
|
padding: 20px 15px;
|
|
|
|
background: #a00;
|
|
|
|
color: white;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
2020-09-17 14:14:50 +00:00
|
|
|
nav.slim {
|
|
|
|
padding: 5px 15px;
|
|
|
|
font-size: 0.75em;
|
|
|
|
}
|
|
|
|
|
2020-09-16 01:43:55 +00:00
|
|
|
#nav-links {
|
|
|
|
font-size: 1.4em;
|
|
|
|
}
|
2020-09-17 13:37:11 +00:00
|
|
|
#nav-links a {
|
|
|
|
color: white;
|
|
|
|
}
|
2020-09-16 01:43:55 +00:00
|
|
|
#nav-links, #nav-search {
|
|
|
|
margin: auto 0;
|
|
|
|
}
|
2020-09-17 14:14:50 +00:00
|
|
|
#nav-search {
|
|
|
|
padding: 8px;
|
|
|
|
border: thin #a66 solid;
|
|
|
|
}
|
|
|
|
nav.slim #nav-search {
|
|
|
|
padding: 3px;
|
|
|
|
}
|
2020-09-16 01:43:55 +00:00
|
|
|
|
|
|
|
main {
|
2020-09-17 14:14:50 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
main:not(.no-padding) {
|
2020-09-16 01:43:55 +00:00
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
|
2020-09-17 14:22:51 +00:00
|
|
|
footer {
|
|
|
|
background-color: #eee;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 0.8em;
|
|
|
|
font-style: italic;
|
|
|
|
padding: 3px;
|
|
|
|
}
|
|
|
|
|
2020-09-16 01:43:55 +00:00
|
|
|
.documents {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-09-16 02:27:47 +00:00
|
|
|
margin: 0 auto;
|
2020-09-16 01:43:55 +00:00
|
|
|
}
|
|
|
|
.document {
|
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
flex-direction: row;
|
|
|
|
margin: 10px;
|
2020-09-16 02:27:47 +00:00
|
|
|
padding-top: 10px;
|
|
|
|
border-top: thin #ccc solid;
|
2020-09-16 01:43:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.document-column {
|
|
|
|
width: 10%;
|
2020-09-17 13:47:13 +00:00
|
|
|
padding: 0 10px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
2020-09-16 01:43:55 +00:00
|
|
|
}
|
|
|
|
.document-column.left {
|
|
|
|
background-size: contain;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
2020-09-16 02:27:47 +00:00
|
|
|
flex-grow: 1;
|
2020-09-16 01:43:55 +00:00
|
|
|
}
|
|
|
|
.document-column.centre {
|
|
|
|
width: 80%;
|
|
|
|
}
|
|
|
|
.document-column.right ul {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.document-column.centre div {
|
|
|
|
margin: 3px 0;
|
|
|
|
}
|
|
|
|
.document-column .title {
|
2020-09-16 02:14:31 +00:00
|
|
|
font-size: 1.4em;
|
|
|
|
font-weight: 200;
|
2020-09-16 01:43:55 +00:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.document-column .authors {
|
|
|
|
text-align: center;
|
2020-09-16 02:14:31 +00:00
|
|
|
font-style: italic;
|
2020-09-16 01:43:55 +00:00
|
|
|
}
|
|
|
|
.document-column .tags {
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
2020-09-16 02:14:31 +00:00
|
|
|
.document-column .tags .list-empty::before,
|
|
|
|
.document-details .tags .list-empty::before {
|
2020-09-16 01:43:55 +00:00
|
|
|
display: inline-block;
|
|
|
|
content: "No tags";
|
|
|
|
}
|
|
|
|
.document-column .metadata {
|
|
|
|
font-size: 0.8em;
|
|
|
|
color: #888;
|
|
|
|
}
|
2020-09-16 02:14:31 +00:00
|
|
|
|
|
|
|
.document-details {
|
|
|
|
margin: 10px auto;
|
|
|
|
width: min-content;
|
|
|
|
}
|
2020-09-16 02:27:47 +00:00
|
|
|
|
2020-09-17 14:14:50 +00:00
|
|
|
#document-viewer {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
2020-09-17 13:47:13 +00:00
|
|
|
@media only screen and (min-width: 1000px) {
|
2020-09-16 02:27:47 +00:00
|
|
|
.documents {
|
|
|
|
max-width: 80%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-17 13:47:13 +00:00
|
|
|
@media only screen and (min-width: 600px) and (max-width: 999px) {
|
2020-09-16 02:27:47 +00:00
|
|
|
.documents {
|
|
|
|
max-width: 90%;
|
|
|
|
}
|
|
|
|
}
|
2020-09-16 02:39:45 +00:00
|
|
|
|
|
|
|
@media only screen and (max-width: 800px) {
|
2020-09-17 13:37:11 +00:00
|
|
|
.button {
|
2020-09-16 02:39:45 +00:00
|
|
|
padding: 3px 5px;
|
|
|
|
}
|
|
|
|
}
|