User:Ahancey/common.css

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

.tooltip .tooltiptext { visibility: hidden; background-color: black; width: 120px; color: #fff; text-align: center; border-radius: 6px; padding: 5px 0; /* Position the tooltip */ position: absolute; z-index: 1; top:-125%; right:10%; }

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