MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
No edit summary
Tag: Reverted
Line 4,313: Line 4,313:
     max-height: 12em;
     max-height: 12em;
     transition: 0.4s ease-out;
     transition: 0.4s ease-out;
}
.tile-top.tile-image {
    width: 100%;
    height: 100%;
    overflow: hidden; /* Add this line to ensure no overflow */
    position: relative; /* Add this line for positioning */
}
}


Line 4,318: Line 4,325:
     transform: scale(1.1);
     transform: scale(1.1);
     transition: 0.5s ease-out;
     transition: 0.5s ease-out;
}
.tile-top.tile-image a {
    width: 100%;
}
}


Line 4,329: Line 4,332:
     object-fit: contain;
     object-fit: contain;
     transition: 0.4s ease-out;
     transition: 0.4s ease-out;
    box-sizing: border-box;
}
}
.tile-bottom {
.tile-bottom {
     background: var(--tile-background-color);
     background: var(--tile-background-color);