More languages
More actions
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
padding:10px; | padding:10px; | ||
border:1px gray solid; | border:1px gray solid; | ||
border-radius: | border-radius:5px; | ||
/* 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 */ | /* 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; | display:flex; | ||
flex-wrap:wrap; | flex-wrap:wrap; | ||
justify-content:center; | justify-content:center; | ||
align-items:flex-start; | align-items:flex-start; | ||
*/ | |||
} | } | ||
Revision as of 23:55, 4 July 2023
.library-card{
width:300px;
margin:20px 0 0 20px;
padding:10px;
border:1px gray solid;
border-radius:5px;
/* 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{
}