little-hesinde/rusty-library/static/style.css

41 lines
613 B
CSS

.book-card header {
white-space: nowrap;
overflow: scroll;
text-overflow: ellipsis;
}
header.fixed {
position: sticky;
top: 0;
z-index: 1000;
background: var(--pico-background-color)
}
nav ul li {
padding-top: 0rem;
padding-bottom: 0.25rem;
}
.nav-active {
border-bottom: solid var(--pico-primary-underline);
}
.book-card hgroup {
margin-bottom: 0;
}
.cover {
width: 100%;
object-fit: contain;
height: 25rem;
}
.grid-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
gap: 10px;
}
.grid-item {
text-align: center;
}