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

No edit summary
No edit summary
Line 198: Line 198:
}
}


.feature-item img {
.feature-image {
   width: 100%;
   background-color: #fff;
   height: 100%; /* or any fixed height you like */
   padding: 10px;
   object-fit: cover; /* zooms/crops to fill */
   margin-bottom: 8px;
   display: block;
   display: inline-block;
  border: 1px solid #ddd;
}
 
.feature-image img {
  width: 120px;
  height: auto;
}
}