320 lines
4.5 KiB
CSS
320 lines
4.5 KiB
CSS
body, html {
|
|
margin: 0;
|
|
border: 0;
|
|
font: normal 1em verdana, sans-serif;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: inherit;
|
|
}
|
|
|
|
body {
|
|
min-height: 100vh;
|
|
}
|
|
|
|
header {
|
|
min-height: 50px;
|
|
background-color: #c00000;
|
|
color: white;
|
|
}
|
|
|
|
header h1 {
|
|
font-size: 2em;
|
|
font-weight: bold;
|
|
}
|
|
|
|
header img {
|
|
display: inline-block;
|
|
margin-left: 25px;
|
|
margin-top:5px;
|
|
}
|
|
|
|
footer {
|
|
min-height: 50px;
|
|
}
|
|
|
|
body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
footer {
|
|
margin-top: auto;
|
|
text-align: center;
|
|
}
|
|
|
|
nav ul {
|
|
margin: 0 auto 0 auto;
|
|
}
|
|
|
|
nav ul li {
|
|
display: inline;
|
|
list-style-type: none;
|
|
float: left;
|
|
width: 250px;
|
|
text-align: center;
|
|
}
|
|
|
|
nav ul li a {
|
|
color: white;
|
|
text-decoration: none;
|
|
}
|
|
|
|
nav ul li a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
nav ul li a.active {
|
|
font-weight: bold;
|
|
}
|
|
|
|
nav ul li a.active::before {
|
|
content: '>> '
|
|
}
|
|
|
|
nav ul li a.active::after {
|
|
content: ' <<'
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
max-width: 1000px;
|
|
min-width: 500px;
|
|
width: 80%;
|
|
display: block;
|
|
margin: 1em auto 1em 0;
|
|
|
|
text-align: left;
|
|
color: #c00000;
|
|
}
|
|
|
|
|
|
/* */
|
|
/* search */
|
|
/* */
|
|
|
|
main.search {
|
|
position: fixed;
|
|
left: 50%;
|
|
top: 50%;
|
|
margin-left: -252px;
|
|
margin-top: -2.05em;
|
|
}
|
|
|
|
main.search input#q {
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 2.1em;
|
|
font-size: 1.4em;
|
|
width: 450px;
|
|
border: none;
|
|
background-color: white;
|
|
}
|
|
|
|
main.search input:focus,
|
|
#searchBar input:focus {
|
|
outline: none;
|
|
}
|
|
|
|
main.search input#ok,
|
|
#searchBar input#ok {
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 2.1em;
|
|
font-size: 1.4em;
|
|
font-weight: bold;
|
|
width: 50px;
|
|
border: none;
|
|
color: white;
|
|
background-color: #cccccc;
|
|
cursor: pointer;
|
|
|
|
}
|
|
main.search input:focus,
|
|
#searchBar input:focus {
|
|
outline: none;
|
|
}
|
|
|
|
main.search input#ok:hover,
|
|
#searchBar input#ok:hover {
|
|
background-color: #c00000;
|
|
border-radius: 0 5px 5px 0;
|
|
}
|
|
|
|
main.search form#search,
|
|
#searchBar form#search {
|
|
padding: 0 0 0 8px;
|
|
border: 1px solid #cccccc;
|
|
border-radius: 5px;
|
|
box-shadow: 2px 2px #f3f3f3;
|
|
}
|
|
|
|
main.search #Suggestions,
|
|
#searchBar #Suggestions {
|
|
padding: 5px;
|
|
width: 503px;
|
|
border-left: 1px solid #cccccc;
|
|
border-right: 1px solid #cccccc;
|
|
border-bottom: 1px solid #cccccc;
|
|
|
|
border-radius: 0px 0px 5px 5px;
|
|
box-shadow: 2px 2px #f3f3f3;
|
|
}
|
|
|
|
main.search #Suggestions div,
|
|
#searchBar #Suggestions div {
|
|
width: 100%;
|
|
clear: both;
|
|
margin: 0 0 5px 0;
|
|
padding-left: 5px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
main.search #Suggestions div:hover,
|
|
#searchBar #Suggestions div:hover {
|
|
background-color: #c00000;
|
|
}
|
|
|
|
|
|
/* search results page */
|
|
|
|
main {
|
|
padding-left: 1em;
|
|
}
|
|
|
|
main.search {
|
|
padding-left: 0em;
|
|
}
|
|
|
|
#searchBar input#q {
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 2.1em;
|
|
font-size: 1.4em;
|
|
width: 450px;
|
|
border: none;
|
|
background-color: white;
|
|
}
|
|
#searchBar form#search {
|
|
display: inline-block;
|
|
}
|
|
|
|
|
|
|
|
/* */
|
|
/* DISPLAY RESULTS */
|
|
/* */
|
|
|
|
div#itemData {
|
|
max-width: 1000px;
|
|
min-width: 500px;
|
|
width: 80%;
|
|
display: block;
|
|
margin: 0 auto 0 25px;
|
|
}
|
|
|
|
div#itemData div.line,
|
|
div.browseFields div.line {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
clear: both;
|
|
margin: 0 0 10px 0;
|
|
|
|
}
|
|
|
|
div#itemData label:first-of-type,
|
|
div.browseFields label:first-of-type {
|
|
font-weight: bold;
|
|
width: 200px;
|
|
display: block;
|
|
|
|
}
|
|
|
|
/* display item */
|
|
div.line span {
|
|
width: 600px;
|
|
}
|
|
|
|
#search_results ul li {
|
|
list-style-type: none;
|
|
margin-bottom: 1.5em;
|
|
}
|
|
|
|
#search_results a {
|
|
color: blue;
|
|
}
|
|
|
|
#search_results a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
|
|
/*
|
|
Browse biblio
|
|
*/
|
|
|
|
|
|
div.browseFields {
|
|
width: 500px;
|
|
display: block;
|
|
margin: 0 0 50px 0;
|
|
}
|
|
|
|
div.browseFields select,
|
|
div.browseFields input[type="text"] {
|
|
width: 300px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
div.left {
|
|
float: left;
|
|
}
|
|
div.right {
|
|
float: right;
|
|
}
|
|
|
|
|
|
div.browseFields.full {
|
|
width: 1000px;
|
|
}
|
|
|
|
div.browseFields label:nth-of-type(2),
|
|
div.columns2 label,
|
|
div.nolabel label,
|
|
label.nolabel {
|
|
font-weight: normal !important;
|
|
font-style: italic;
|
|
display: inline !important;
|
|
}
|
|
|
|
div.container.w1000 {
|
|
display: block;
|
|
width: 1025px;
|
|
margin: 30px auto 0 auto;
|
|
clear: both;
|
|
float: none;
|
|
}
|
|
|
|
div.columns2 {
|
|
columns: 2;
|
|
}
|
|
|
|
div.w800 {
|
|
width: 800px;
|
|
}
|
|
div.ml200 {
|
|
margin-left: 200px;
|
|
}
|
|
|
|
div.mb50 {
|
|
margin-bottom: 50px;
|
|
}
|
|
|
|
div.nomargin {
|
|
margin: 0 !important;
|
|
line-height: 2.2em;
|
|
}
|