More languages
More actions
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
.library-card-image{ | .library-card-image{ | ||
background-size:cover; | |||
display:table-row; | display:table-row; | ||
background:none; | background:none; |
Revision as of 23:38, 4 July 2023
.library-card{
width:300px;
margin:20px 0 0 20px;
padding:10px;
/* might have to move flex into a parent container, which would mean a template for the library home page which gets populated with this template */
display:flex;
flex-wrap:wrap;
justify-content:center;
align-items:flex-start;
}
.library-card-image{
background-size:cover;
display:table-row;
background:none;
}
.library-card-content{
}
.library-card-title{
font-size:1.2rem;
}
.library-card-works{
font-size:0.9rem;
}
.library-card-title,
.library-card-works {
display: table-row;
}
p{
text-align:center;
}
pre{
}