MediaWiki:Gadget-Tooltips.css

/* See Reference Tooltips */ .referencetooltip { position: absolute; list-style: none; list-style-image: none; opacity: 0; font-size: 77%; /* Made font size bigger than 10px */ margin: 0; z-index: 1001; /* Has to be higher than the siderail Gamepedia ad or else tooltips in the infobox are overlapped */ padding: 0; } .referencetooltip li { border: #0c2236 2px solid; /* ZW Dark 2 (ZW Border doesn't stand out) */ max-width: 260px; padding: 10px 8px 13px 8px; margin: 0px; background-color: #1e5c93; /* ZW Light color */ color: #e2e2e2; /* ZW font color */ -webkit-box-shadow: 2px 4px 2px rgba(0,0,0,0.3); -moz-box-shadow: 2px 4px 2px rgba(0,0,0,0.3); box-shadow: 2px 4px 2px rgba(0,0,0,0.3); } .referencetooltip li+li { margin-left: 7px; margin-top: -2px; border: 0; padding: 0; height: 3px; width: 0px; background-color: transparent; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; border-top: 12px #0c2236 solid; /* ZW Dark 2 (ZW Border doesn't stand out) */ border-right: 7px transparent solid; border-left: 7px transparent solid; } .referencetooltip>li+li::after { content: ''; border-top: 8px #1e5c93 solid; /* ZW Light color */ border-right: 5px transparent solid; border-left: 5px transparent solid; margin-top: -12px; margin-left: -5px; z-index: 1; height: 0px; width: 0px; display: block; } .client-js body .referencetooltip li li { border: none; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; height: auto; width: auto; margin: auto; padding: 0; position: static; } .RTflipped { padding-top: 13px; } .referencetooltip.RTflipped li+li { position: absolute; top: 2px; border-top: 0; border-bottom: 12px #0c2236 solid; /* ZW Dark 2 (ZW Border doesn't stand out) */ } .referencetooltip.RTflipped li+li::after { border-top: 0; border-bottom: 8px #1e5c93 solid; /* ZW Light color */ position: absolute; margin-top: 7px; }