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

Template page
No edit summary
(Blanked the page)
Tag: Blanking
 
Line 1: Line 1:
.library-card-mini-content{
display: inline-grid;
grid-template-columns: 45px 155px;
grid-template-rows: 1fr;
height:75px;
overflow:hidden; /* you get three lines of text, no more */
align-items:center;
}


.library-card-mini img{
height:35px;
width:35px;
object-fit:cover;
overflow:hidden;
border-radius:5px;
padding:0;
margin:0;
transition: filter 0.4s;
z-index:-1;
filter:grayscale(1);
transform:scale(1); /* cancels any scale-in effect that may apply*/
}
.library-card-mini img:hover{
filter:grayscale(0.3);
}
.library-card-mini-text{
grid-column-start:2;
grid-column-end:3;
}
.library-card-mini-title{
height:0;
width:0;
position:relative;
}
.library-card-mini-TOC{
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

Latest revision as of 13:39, 19 September 2023