Template:Main Page/styles.css: Difference between revisions

Rebbes: always 4 + 3
Rebbes box: uniform picture frame
Line 31: Line 31:
grid-template-columns: repeat(10, 1fr);
grid-template-columns: repeat(10, 1fr);
}
}
}
/* Rebbes box pictures: one fixed frame (the width of the book covers), cropped to fit */
.mp-pic {
width: 52px;
height: 76px;
margin: 0 auto;
overflow: hidden;
}
.mp-pic img {
width: 52px !important;
height: 76px !important;
object-fit: cover;
object-position: center;
}
.mp-pic-left img {
object-position: 25% center;
}
}