dlibrary/dlibrary/static/dlibrary.css

169 lines
2.4 KiB
CSS

body {
background: #111;
color: #eee;
font-family: sans-serif;
font-size: 18px;
}
/* index stuff */
#top {
display: flex;
justify-content: center;
align-items: end;
gap: 40px;
margin-bottom: 25px;
}
#top .nav {
margin-bottom: 0px;
}
#top-padding, #controls {
flex-grow: 1;
flex-basis: 0;
}
@media all and (max-width: 600px) {
#top {
flex-direction: column;
align-items: center;
gap: 0;
}
#top .nav {
margin-bottom: 20px;
}
}
#controls button {
position: relative;
width: 50px;
height: 50px;
margin: 5px 2px;
}
#controls button img {
height: 40px;
width: 40px;
position: absolute;
top: 50%;
left: 50%;
margin: -20px 0 0 -20px;
}
#search-container {
display: flex;
justify-content: center;
margin-bottom: 25px;
}
#search {
font-size: 24px;
text-align: center;
}
/* listing stuff */
#title, .nav {
text-align: center;
}
.nav {
display: flex;
justify-content: center;
gap: 20px;
font-size: 20px;
font-weight: bold;
margin-bottom: 25px;
}
.card-listing {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
}
.card {
background: #333;
padding: 10px;
flex-basis: 40%;
flex-grow: 1;
max-width: 360px;
min-width: min(240px,90%);
text-align: center;
font-weight: bold;
font-size: 18px;
overflow-wrap: anywhere;
}
.card img {
max-width: 100%;
max-height: 100%;
}
.card.category {
font-size: 26px;
max-width: 240px;
}
/* work stuff */
.work-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 30px;
margin-bottom: 40px;
}
.work-preview {
min-width: min(300px, 100%);
max-width: 600px;
text-align: center;
}
.work-preview img {
max-width: 100%;
}
.work-preview .start-link {
font-weight: bold;
font-size: 24px;
}
.work-info {
max-width: 500px;
}
.work-info td, .work-info th {
vertical-align: top;
padding-top: 5px;
}
.work-info tr.bubbles th {
padding-top: 14px;
}
.work-info th {
text-align: right;
padding-right: 10px;
}
.bubbles a {
background: #333;
padding: 5px;
border-radius: 5px;
display: inline-block;
margin-bottom: 5px;
}
.work-info table {
margin-bottom: 15px;
}
#suggested-subheader {
text-align: center;
}