MediaWiki:Common.css: Difference between revisions

From John Bray Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
     padding: 0px !important;
     padding: 0px !important;
}
}
*/


.tooltip {
.tooltip {
Line 33: Line 34:
   visibility: visible;
   visibility: visible;
}
}
*/

Revision as of 23:18, 26 February 2021

/* CSS placed here will be applied to all skins */

/* JRB Hide icons for links and files */
/*
div#content a.external {
    background:none !important;
    padding: 0px !important;
}
*/

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 50%;
  margin-left: -60px;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}