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

143 lines
2.1 KiB
CSS
Raw Normal View History

2024-03-30 15:52:45 +01:00
@font-face {
font-family: "libreBaskerville";
src: url(../fonts/LibreBaskerville-Regular.otf);
}
html, body {
margin: 0;
2023-12-01 15:58:33 +01:00
font-family: "libreBaskerville";
font-style: normal;
}
2023-07-15 14:36:55 +02:00
#library {
position: relative;
color: #FFFFFF;
2023-11-26 18:38:33 +01:00
text-shadow: 2px 2px #004225;
2024-03-30 15:52:45 +01:00
font-size: 1.5em;
mix-blend-mode: difference;
2024-03-30 15:52:45 +01:00
left: 1em;
2023-06-05 20:18:28 +02:00
}
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;
}
}
#bookshelf {
max-width: 90%;
margin-top: 3em;
2024-03-30 15:52:45 +01:00
margin-left: 1em;
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 {
2024-03-30 20:23:24 +01:00
margin-bottom: 3em;
2021-02-06 17:08:07 +01:00
margin-top: 3em;
2024-03-30 15:52:45 +01:00
margin-left: 1em;
}
table {
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 {
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;
}
2024-03-30 13:40:07 +01:00
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; }
2024-03-30 15:52:45 +01:00
2024-03-30 14:09:35 +01:00
div#login {
2024-03-30 15:52:45 +01:00
width: 25%;
2024-03-30 14:09:35 +01:00
margin-left: auto;
margin-right: auto;
text-decoration: none;
}
input[type=text], input[type=password], input[type=file] {
width: 18em;
max-width: 18em;
border: 1px solid #E0B0FF;
}
2024-03-30 13:40:07 +01:00
2024-03-30 15:52:45 +01:00
input {
text-decoration: none;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
2024-03-30 18:09:04 +01:00
padding: 0.8em;
2024-03-30 15:52:45 +01:00
cursor: pointer;
}
div#auth_buttons{
position: absolute;
top: 0.7em;
right: 0.7em;
display:flex;
gap: 1em;
flex-direction: row;
}
div#auth_buttons a{
font-size: 0.8em;
padding: 0.2em;
}
.auth {
color: white;
cursor: pointer;
border: 1px solid #404d81;
background-color: #fefefe;
}
.auth:hover{
background-color: #efefef;
}
@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%;
}
}