dlibrary/dlibrary/static/dlibrary.css

77 lines
1.1 KiB
CSS

body {
background: #111;
color: #eee;
font-family: sans-serif;
}
/* listing stuff */
#list-title {
text-align: center;
}
.card-listing {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
}
.card {
background: #333;
padding: 10px;
flex-grow: 1;
max-width: 360px;
text-align: center;
font-weight: bold;
font-size: 18px;
}
.card img {
max-width: 100%;
max-height: 100%;
}
/* viewer stuff */
#viewer-images {
display: none;
}
#image-container {
height: 100vh;
width: 100vw;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
#page-num, #duration {
position: fixed;
font-size: 14pt;
top: 10px;
font-weight: bold;
opacity: 0.75;
text-shadow: /* Duplicate the same shadow to make it very strong */
0 0 2px #222,
0 0 2px #222,
0 0 2px #222;
}
#page-num {
left: 10px;
}
#duration {
right: 10px;
}
#progress {
background-color: #4488ffcc;
height: 5px;
width: 0;
position: fixed;
top: 0;
left: 0;
}