182 lines
2.9 KiB
CSS
182 lines
2.9 KiB
CSS
html, body {
|
|
margin: 0;
|
|
font-family: "libreBaskerville";
|
|
font-style: normal;
|
|
background-repeat: no-repeat;
|
|
background-attachment: fixed;
|
|
}
|
|
|
|
body:after {
|
|
font-size: .8em;
|
|
position: fixed;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
#cloud {
|
|
overflow: hidden;
|
|
width: 1px; height: 1px;
|
|
transform: translate(-100%, -100%);
|
|
border-radius: 50%;
|
|
z-index: -1;
|
|
position: fixed;
|
|
}
|
|
|
|
|
|
@font-face {
|
|
font-family: "libreBaskerville";
|
|
src: url(../fonts/LibreBaskerville-Regular.otf);
|
|
}
|
|
|
|
#library {
|
|
line-height: 1.03em;
|
|
position: relative;
|
|
color: #FFFFFF;
|
|
text-shadow: 2px 2px #004225;
|
|
font-size: 52px;
|
|
text-align: center;
|
|
font-family: libreBaskerville;
|
|
mix-blend-mode: difference;
|
|
margin: 1em 0;
|
|
}
|
|
|
|
#booksearch{
|
|
background: #f1f1f1;
|
|
text-decoration: none;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
border: 3px solid black;
|
|
padding: 0.8em;
|
|
margin-left: 0.3em;
|
|
font-family: inherit;
|
|
font-size: 100%;
|
|
box-shadow: 0.3em 0.35em rgba(0,0,0,0.3);
|
|
}
|
|
|
|
|
|
@supports (-webkit-text-stroke: 1px darkgreen) {
|
|
#library {
|
|
-webkit-text-stroke: 1px darkgreen;
|
|
}
|
|
}
|
|
|
|
.container {
|
|
margin 0 auto;
|
|
}
|
|
|
|
#bookshelf {
|
|
max-width: 90%;
|
|
margin-top: 3em;
|
|
display: block;
|
|
columns: 30rem;
|
|
gap: 1rem;
|
|
}
|
|
|
|
#bookshelf > div {
|
|
width: 100%;
|
|
break-inside: avoid;
|
|
margin-top: 0;
|
|
margin-bottom: 20px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
#bookshelf > div > a {
|
|
color: black;
|
|
text-decoration: none;
|
|
}
|
|
|
|
#publication {
|
|
margin-top: 3em;
|
|
}
|
|
|
|
#latestevent {
|
|
text-align: center;
|
|
color: #DD4F77;
|
|
}
|
|
|
|
#upcomingevent {
|
|
text-align: center;
|
|
color: #404d81;
|
|
}
|
|
|
|
.event {
|
|
margin: 0 1em 1em;
|
|
max-width: calc(90% - 3em);
|
|
min-width: calc(90% - 3em);
|
|
margin-top: 3em;
|
|
padding: 6px;
|
|
display: inline-block;
|
|
float: left;
|
|
border: 3px solid black;
|
|
background-color: #f1f1f1;
|
|
border-spacing: 0;
|
|
border-collapse: collapse;
|
|
z-index: 10;
|
|
}
|
|
|
|
button {
|
|
z-index: 10;
|
|
border: 3px solid black;
|
|
padding: 0.8em;
|
|
margin-left: 0.3em;
|
|
color: black;
|
|
min-width: auto;
|
|
background-color: #f1f1f1;
|
|
font-family: inherit;
|
|
font-size: 100%;
|
|
box-shadow: 0.3em 0.35em rgba(0,0,0,0.3);
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
table {
|
|
margin: 0 1em 1em;
|
|
z-index: 10;
|
|
border: 1px solid black;
|
|
background-color: #f1f1f1;
|
|
border-spacing: 0;
|
|
}
|
|
tbody:hover {background-color: #ddd;}
|
|
|
|
tr {
|
|
margin: 0;
|
|
}
|
|
|
|
td {
|
|
margin:0;
|
|
padding: 0.5em;
|
|
min-width: auto;
|
|
max-width: 60%;
|
|
border: 1px solid black;
|
|
background-color: #f1f1f1;
|
|
}
|
|
|
|
.tdimage {
|
|
padding: 0;
|
|
}
|
|
|
|
.tdimage > img {
|
|
width: 100%;
|
|
}
|
|
|
|
.error{
|
|
color: #ff1111;
|
|
}
|
|
a:link { text-decoration: none; }
|
|
a:visited { text-decoration: none; }
|
|
a:hover { text-decoration: none; }
|
|
a:active { text-decoration: none; }
|
|
|
|
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
|
|
#library {
|
|
text-align: left;
|
|
max-width: 70%;
|
|
}
|
|
.event {
|
|
max-width: 90%;
|
|
margin: 3em 1em 1em 1em;
|
|
}
|
|
}
|