MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 326: Line 326:
.image-overlay {
.image-overlay {
   position: relative;
   position: relative;
   width: 100px;
   display: inline-block;
  height: 100px;
}
}
.image-overlay .base {
.image-overlay .base {
   position: absolute;
   display: block;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100px;
}
}
.image-overlay .overlay {
.image-overlay .overlay {
   position: absolute;
   position: absolute;
   top: 0;
   top: 50%;
   left: 0;
   left: 50%;
  transform: translate(-50%, -50%) scale(0.75);
   z-index: 2;
   z-index: 2;
  width: 100px;
}
}