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

47 lines
705 B
CSS
Raw Normal View History

2024-05-02 16:10:29 +00:00
.book-card header {
white-space: nowrap;
overflow: scroll;
text-overflow: ellipsis;
}
2024-05-06 11:51:49 +00:00
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);
}
2024-05-02 16:10:29 +00:00
2024-05-06 07:09:40 +00:00
.book-card hgroup {
margin-bottom: 0;
}
2024-05-02 16:10:29 +00:00
.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;
2024-05-06 18:54:58 +00:00
height: 6rem;
2024-05-02 16:10:29 +00:00
}
2024-05-10 12:31:11 +00:00
footer small {
display: flex;
justify-content: space-between;
}