Template:Library card/style.css: Difference between revisions

Template page
No edit summary
No edit summary
Line 15: Line 15:


.library-card-image{
.library-card-image{
background-size:cover;
background-size:contain;
display:table-row;
display:table-row;
background:none;
background:none;

Revision as of 00:04, 5 July 2023

.library-card{
	width:300px;
	margin:20px 0 0 20px;
	padding:10px;
	border:1px gray solid;
    border-radius:20px 20px 0px 0px;
	/* 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:contain;
	display:table-row;
	background:none;
}

.library-card-content{
	border-top:1px solid gray;
}

.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{
}