No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 14: | Line 14: | ||
margin:0; | margin:0; | ||
z-index:-1; | z-index:-1; | ||
} | } | ||
Line 34: | Line 33: | ||
.library-card-content{ | .library-card-content{ | ||
padding:15px | padding:15px 5px; | ||
margin:0; | margin:0; | ||
text-align:center; | text-align:center; |
Revision as of 17:49, 5 July 2023
.library-card{
width:200px;
margin:20px 0 0 20px;
padding:0;
border:1px gray solid;
border-radius:10px 10px 0 0;
overflow:hidden;
z-index:10;
}
.library-card-image{
height:300px;
padding:0;
margin:0;
z-index:-1;
}
img{
width:auto;
height:100%;
transform: scale(1.1);
overflow:hidden;
padding:0;
margin:0;
transition: transform 0.4s;
z-index:-1;
filter:grayscale(100);
}
img:hover{
transform:scale(1.2);
}
.library-card-content{
padding:15px 5px;
margin:0;
text-align:center;
display:block;
z-index:10;
overflow:hidden;
position:relative;
border-top:1px solid gray;
}
.library-card-title{
font-size:1.2rem;
font-weight:normal;
}
.library-card-works{
font-size:0.8rem;
}
.library-card-content p{
line-height:2px;
}