/*
 * This stylesheet is loaded on both desktop and mobile views.
 * 
 * Desktop-only styles should go in MediaWiki:Common.css or MediaWiki:Hydradark.css/MediaWiki:FandomDesktop.css if theme related.
 * Mobile-only styles should go in MediaWiki:FandomMobile.css.
 */

/*
 * Colors exported from Metadata/UI/UISettings.xml wherein 3-digit colors are in RGB format. 4-digit colors
 * are not in any known format and have therefore been approximated.
 */

/* ===== Hoverbox (used by Template:Tooltip and Template:Item link) ===== */
.hoverbox {
    display: inline-block;
}
.hoverbox__display {
    display: block;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    padding: 8px;
    transition: opacity 0.25s;
}
.hoverbox__display.is-visible {
    visibility: visible;
    opacity: 1;
}
.hoverbox__activator {
    display: flex;
    align-items: baseline;
}
.hoverbox-display-container {
    position: fixed;
    z-index: 9999;
    width: 100%;
}

/* ===== Tooltip hoverbox (Template:Tooltip) ===== */
.c-tooltip__activator {
    position: relative;
    border-bottom-width: 1px;
    border-bottom-style: dotted;
    border-bottom-color: initial;
    cursor: help;
}
.c-tooltip__display {
    box-sizing: border-box;
    border: 1px solid #7f7f7f;
    padding: 0.5em 1.5em;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
    font-weight: normal;
    color: #7f7f7f;
    background-color: #000;
}