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

111 lines
1.6 KiB
CSS
Raw Normal View History

html, body {
margin: 0;
font-family: Garamond, serif;
}
body:after {
font-size: .8em;
background-color: #EB4377;
position: fixed;
width: 100%;
text-align: center;
}
#cloud {
overflow: hidden;
width: 1px; height: 1px;
transform: translate(-100%, -100%);
border-radius: 50%;
filter: url(#filter);
z-index: -1;
position: fixed;
}
@font-face {
font-family: alphaClouds;
src: url(../fonts/AlphaClouds.ttf);
}
#varia {
line-height: 1.03em;
position: relative;
left: 50%;
transform: translate(-50%, -50%);
color: #FFFFFF;
text-shadow: 2px 2px #8B5B7F;
font-size: 60px;
text-align: center;
font-family: alphaClouds;
mix-blend-mode: exclusion;
margin: 30px 0;
}
@supports (-webkit-text-stroke: 1px lightpink) {
#varia {
-webkit-text-stroke: 1px lightpink;
}
}
.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;
}
button {
z-index: 10;
border: 3px solid black;
padding: 6px;
color: black;
min-width: auto;
background-color: #f1f1f1;
}
table {
margin: 0 1em 1em;
z-index: 10;
border: 3px solid black;
background-color: #f1f1f1;
border-spacing: 0;
border-collapse: collapse;
}
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%;
height: 100%;
}