MediaWiki:Common.css: Difference between revisions

mNo edit summary
mNo edit summary
Line 178: Line 178:
   border-right: 1px solid #a2a9b1;
   border-right: 1px solid #a2a9b1;
}
}
/* === Top-left corner cell (above both sticky layers) === */
.mw-parser-output .l1-compare-wrap table.l1-compare th:first-child {
  z-index: 11;
  background: #f8f9fa;
}


/* === Image display on hover over text === */
/* === Image display on hover over text === */
Line 190: Line 183:
.hover-image-wrapper {
.hover-image-wrapper {
   position: relative;
   position: relative;
  display: inline-block; /* keeps layout stable */
   cursor: help;
   cursor: help;
  display: inline-block; /* prevents layout quirks */
}
}


Line 199: Line 192:
   left: 0;
   left: 0;
   z-index: 9999;
   z-index: 9999;
   background: #fff;
   background: #fff;
   padding: 4px;
   padding: 4px;
   border: 1px solid #ccc;
   border: 1px solid #ccc;


   /* Force hidden by default */
   /* Always hidden unless hovered */
   display: none !important;
   visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
 
  transition: opacity 0.15s ease-in-out;
}
}


.hover-image-wrapper:hover .hover-image-popup {
.hover-image-wrapper:hover .hover-image-popup {
   /* Force visible on hover */
   visibility: visible !important;
   display: block !important;
  opacity: 1 !important;
   pointer-events: auto !important;
}
}