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

Template page
No edit summary
No edit summary
Line 22: Line 22:
.library-card-content{
.library-card-content{
border-top:1px solid gray;
border-top:1px solid gray;
padding:0px;
text-align:center;
}
}


Line 35: Line 37:
.library-card-works {
.library-card-works {
   display: table-row;
   display: table-row;
}
p{
text-align:center;
}
}


pre{
pre{
}
}

Revision as of 00:05, 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;
	padding:0px;
	text-align:center;
}

.library-card-title{
	font-size:1.2rem;
}

.library-card-works{
	font-size:0.9rem;
}

.library-card-title,
.library-card-works {
  display: table-row;
}

pre{
}