MediaWiki:Common.css: differenze tra le versioni

Da Wiki The-West IT.
Vai alla navigazione
Nessun oggetto della modifica
Nessun oggetto della modifica
Riga 25: Riga 25:
      
      
     /*Box shadow*/
     /*Box shadow*/
     box-shadow: 5px 5px 5px #000;
     box-shadow: 5px 5px 10px #000;
}
}



Versione delle 14:15, 17 dic 2016

.tooltip {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 220px;
    background-color: #e7ded4;
    text-align: center;
    padding: 10px 10px;
    border-radius: 6px;

    /* Position the tooltip text */
    position: absolute;
    z-index: 1000;
    top: 0;
    left: 125%;
    margin-left: 0;

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 1s;
    
    /*Box shadow*/
    box-shadow: 5px 5px 10px #000;
}


/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}