csv-library-website/library/static/css/style.css

191 lines
3.0 KiB
CSS
Raw Normal View History

html, body {
margin: 0;
2023-12-01 15:58:33 +01:00
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;
}
2023-06-05 20:02:15 +02:00
@font-face {
2023-12-01 15:58:33 +01:00
font-family: "libreBaskerville";
2023-06-05 20:02:15 +02:00
src: url(../fonts/LibreBaskerville-Regular.otf);
}
2023-07-15 14:36:55 +02:00
#library {
line-height: 1.03em;
position: relative;
color: #FFFFFF;
2023-11-26 18:38:33 +01:00
text-shadow: 2px 2px #004225;
font-size: 52px;
text-align: center;
2023-07-15 15:28:53 +02:00
font-family: libreBaskerville;
mix-blend-mode: difference;
margin: 1em 0;
}
2023-07-12 21:09:22 +02:00
#booksearch{
2023-06-05 20:18:28 +02:00
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);
}
2023-11-26 18:38:33 +01:00
@supports (-webkit-text-stroke: 1px darkgreen) {
2023-07-15 14:36:55 +02:00
#library {
2023-11-26 18:38:33 +01:00
-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;
}
2021-02-14 22:11:58 +01:00
#latestevent {
text-align: center;
color: #DD4F77;
}
#upcomingevent {
text-align: center;
color: #404d81;
}
2021-02-06 17:08:07 +01:00
.event {
margin: 0 1em 1em;
max-width: calc(90% - 3em);
min-width: calc(90% - 3em);
2021-02-06 17:08:07 +01:00
margin-top: 3em;
padding: 6px;
display: inline-block;
float: left;
2021-02-06 17:08:07 +01:00
border: 3px solid black;
background-color: #f1f1f1;
border-spacing: 0;
border-collapse: collapse;
z-index: 10;
}
button {
z-index: 10;
border: 3px solid black;
2023-06-05 20:02:15 +02:00
padding: 0.8em;
margin-left: 0.3em;
color: black;
min-width: auto;
background-color: #f1f1f1;
2023-06-05 20:02:15 +02:00
font-family: inherit;
font-size: 100%;
box-shadow: 0.3em 0.35em rgba(0,0,0,0.3);
2023-06-05 20:19:56 +02:00
cursor: pointer;
}
2023-06-05 20:02:15 +02:00
table {
margin: 0 1em 1em;
z-index: 10;
2023-06-05 20:02:15 +02:00
border: 1px solid black;
background-color: #f1f1f1;
border-spacing: 0;
}
2023-12-01 15:58:33 +01:00
tbody:hover {background-color: #ddd;}
tr {
margin: 0;
}
td {
margin:0;
padding: 0.5em;
min-width: auto;
max-width: 60%;
border: 1px solid black;
2023-06-05 20:02:15 +02:00
background-color: #f1f1f1;
}
2021-04-17 22:22:27 +02:00
.tdimage {
padding: 0;
}
2021-04-17 22:22:27 +02:00
.tdimage > img {
width: 100%;
}
2021-04-05 21:42:43 +02:00
.error{
color: #ff1111;
}
2021-04-17 22:22:27 +02:00
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) {
2023-07-15 14:36:55 +02:00
#library {
text-align: left;
max-width: 70%;
}
.event {
max-width: 90%;
margin: 3em 1em 1em 1em;
}
}
2024-03-30 12:00:47 +01:00
div#auth_buttons{
position: fixed;
top: 0.5em;
right: 0.5em;
display:flex;
flex-direction: row;
justify-content: center;
align-items: center;
}