MediaWiki:Gadget-Tooltip.css

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
.popup {
	position: relative;
}

.popup-wrapper {
	display: inline;
	position: relative;
}

.popup-border {
	border-bottom: 2px dotted;
	padding-bottom: 2px;
}

.popup:hover .popup-box,
.popup:focus .popup-box {
    display: block;
}

.popup-box {
    display: none;
	position: absolute;
	z-index: 999;
	background-color: var(--jjbe);
	line-height: 1.5;
	border: 2px solid var(--jjbe3);
	box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
	font-size: small;
	cursor: auto;
	border-radius: 5px;
	width: auto;
	text-align: center;
	color: white;
	min-width: 90px;
	max-width: 900px;
	padding: 3px;
	left: 0;
}

.nihongo .popup-box {
	font-family: Meiryo;
	font-size: smaller;
	left: auto;
}

.portable-infobox .popup-wrapper {
	position: unset;
}

.portable-infobox .popup-box {
	left: auto;
	font-size: smaller;
}