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

No edit summary
Tag: Manual revert
No edit summary
Line 198: Line 198:
}
}


.feature-item img {
.feature-item a.image {
  display: block; /* make the link take up full width */
}
 
.feature-item a.image img {
  display: block;
   width: 100%;
   width: 100%;
   height: 100%; /* or any fixed height you like */
   height: 100%;
   object-fit: cover; /* zooms/crops to fill */
   object-fit: cover; /* crop to fit without white space */
  display: block;
}
}