Template:Article thumbnail/styles.css: Difference between revisions

Content deleted Content added
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 28:
.article-thumb__imgwrap a.mw-file-description {
display: block;
width: 150px !important; /* Forces the width */
max-width: 100%;
height: 150px !important; /* Forces the height */
max-height: 100%;
width: 150px;
/* ADD THESE TWO LINES */
height: 150px;
borderobject-fit: none !importantcover; /* StripsFills the 150x150 defaultsquare MediaWikiby thumbnailcropping bordersedges */
object-position: top; /* Ensures the CEO's head isn't cut off if cropped */
background: none !important; /* Strips default gray image backgrounds */
 
box-shadow: none !important; /* Strips any "lifted" effects */
border: none !important;
background: none !important;
box-shadow: none !important; /* Strips any "lifted" effects */
}