MediaWiki:Common.css: Difference between revisions

From 3DO World
Jump to navigation Jump to search
No edit summary
No edit summary
Line 18: Line 18:


.coverThumb:hover .coverPopup {
.coverThumb:hover .coverPopup {
   display: block;
   display: block !important;
}
}



Revision as of 09:25, 29 January 2026

/* Hover cover preview */
.coverThumb {
  position: relative;
  display: inline-block;
}

.coverThumb .coverPopup {
  display: none;
  position: absolute;
  left: 70px;      /* popup appears to the right */
  top: -10px;
  z-index: 99999;
  background: #fff;
  border: 1px solid #aaa;
  padding: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.coverThumb:hover .coverPopup {
  display: block !important;
}

/* Make sure the small thumb doesn't add weird baseline space */
.coverThumb .coverSmall {
  width: 60px;
  height: 80px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}