More languages
More actions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
.library-card{ | .library-card{ | ||
width: | width:300px; | ||
display: | 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; | |||
} | } | ||
Line 32: | Line 38: | ||
pre{ | pre{ | ||
} | } |
Revision as of 23:37, 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{
width:100%;
height:200px;
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{
}