Aller au contenu

« MediaWiki:Common.css » : différence entre les versions

De Vianney Pacaud Colab
Page créée avec « →Popups : .m-popups { position: relative; display: inline; color: #3366cc; text-decoration: none; border-bottom: 1px dotted #a2a9b1; cursor: help; } .m-popups-card { visibility: hidden; width: 320px; background: #ffffff; border: 1px solid #a2a9b1; border-radius: 2px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); position: absolute; z-index: 1000; bottom: 130%; left: 50%; margin-left: -160px; pa... »
 
Page blanchie
Balise : Blanchiment
 
(Une version intermédiaire par le même utilisateur non affichée)
Ligne 1 : Ligne 1 :
/* Popups */
.m-popups {
    position: relative;
    display: inline;
    color: #3366cc;
    text-decoration: none;
    border-bottom: 1px dotted #a2a9b1;
    cursor: help;
}


.m-popups-card {
    visibility: hidden;
    width: 320px;
    background: #ffffff;
    border: 1px solid #a2a9b1;
    border-radius: 2px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    position: absolute;
    z-index: 1000;
    bottom: 130%;
    left: 50%;
    margin-left: -160px;
    padding: 0;
    color: #202122;
    font-size: 14px;
    line-height: 1.5;
    transition: opacity 0.2s;
    opacity: 0;
}
.m-popups:hover .m-popups-card {
    visibility: visible;
    opacity: 1;
}
.m-popups-content { padding: 16px; }
.m-popups-image { float: right; margin-left: 10px; border: 1px solid #f8f9fa; }
.m-popups-title { display: block; font-weight: bold; font-size: 16px; margin-bottom: 8px; font-family: 'Linux Libertine','Georgia','Times',serif; }
/* La petite flèche */
.m-popups-card::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.2));
}

Dernière version du 24 avril 2026 à 21:37