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

Template page
No edit summary
No edit summary
Line 17: Line 17:


img{
img{
transform:scale(1.2);
transform: scale(1.2);
overflow:hidden;
overflow:hidden;
padding:0;
padding:0;
Line 29: Line 29:
display:inline;
display:inline;
z-index:1000;
z-index:1000;
background-color:red; /* will need to change colour to account for dark mode */
}
}



Revision as of 01:06, 5 July 2023

.library-card{
	width:300px;
	margin:20px 0 0 20px;
	padding:10px;
	border:1px gray solid;
    border-radius:20px 20px 0px 0px;
    overflow:hidden;
}

.library-card-image{
	height:400px;
	width:100%;
	border-bottom:1px solid gray;
	padding:0;
	margin:0;
}

img{
	transform: scale(1.2);
	overflow:hidden;
	padding:0;
	margin:0;
}

.library-card-content{
	padding:0;
	margin:0;
	text-align:center;
	display:inline;
	z-index:1000;
	background-color:red; /* will need to change colour to account for dark mode */
}

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

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

pre{
	
}