MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 4,316: Line 4,316:


.tile-top.tile-image {
.tile-top.tile-image {
    position: relative;
     width: 100%;
     width: 100%;
     height: 100%;
     height: 100%;
     overflow: hidden; /* Add this line to ensure no overflow */
     overflow: hidden;
    position: relative; /* Add this line for positioning */
}
 
.tile-halves:hover .tile-top.tile-image img {
    transform: scale(1.1);
    transition: 0.5s ease-out;
}
}


Line 4,330: Line 4,325:
     width: 100%;
     width: 100%;
     height: 100%;
     height: 100%;
     object-fit: contain;
     object-fit: cover;
     transition: 0.4s ease-out;
     transition: transform 0.5s ease-out;
}
 
.tile-top.tile-image:hover img {
    transform: scale(1.1);
}
}
.tile-bottom {
.tile-bottom {