MediaWiki:Common.css: Difference between revisions

From Aurora Information Uplink
Jump to navigation Jump to search
Skull132 (talk | contribs)
Class for small images (<= 64px) to be displayed properly.
 
No edit summary
 
Line 4: Line 4:
   image-rendering: pixelated;
   image-rendering: pixelated;
   -ms-interpolation-mode: nearest-neighbor;
   -ms-interpolation-mode: nearest-neighbor;
}
.tooltip{
  position: relative;
}
.tooltiptext {
  position: absolute;
  display: block;
  z-index: 2;
  width: 250px;
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  white-space: normal;
  text-align: left;
  transition: all 0.2s;
  border: 1px solid #aaa;
  background-color: #ffdd66;
}
.tooltip:hover>.tooltiptext {
  visibility: visible;
  opacity: 1;
}
}

Latest revision as of 18:32, 30 January 2023

/* CSS placed here will be applied to all skins */
.tinyimage {
  image-rendering: -moz-crisp-edges;
  image-rendering: pixelated;
  -ms-interpolation-mode: nearest-neighbor;
}
.tooltip{
  position: relative;
}

.tooltiptext {
  position: absolute;
  display: block;
  z-index: 2;
  width: 250px;
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  white-space: normal;
  text-align: left;
  transition: all 0.2s;
  border: 1px solid #aaa;
  background-color: #ffdd66;
}

.tooltip:hover>.tooltiptext {
  visibility: visible;
  opacity: 1;
}