Modèle:Touche/styles.css

De Disposition de clavier bépo
/* Gestion des touches */

.touche {
    /* background et color sont définis dans Modèle:Touche */
    background: #f9f9f9;
    color: #000000;
    font-size: 0.85em;
    border: 1px solid;
    border-bottom-width: 2px;
    border-color: #ddd #bbb #bbb #ddd;
    border-radius: 3px;
    padding: 1px 2px;
    white-space: nowrap;
    position: relative;
    font-family: monospace;
}

/* pour Modèle:Touche */

.touche a,
.touche a:hover,
.touche a:active,
.touche a:visited {
    color: #000000;
}

.touche a:hover {
    border: 0;
    position: relative;
    z-index: 500;
    text-decoration: none;
}

.touche>span.keyboard-tooltip

/* tooltip displaying the keyboard type */
    {
    display: none;
    position: absolute;
    top: 2em;
    left: -12px;
    border: 1px solid #bbbbbb;
    background: #f9f9f9;
    color: #000000;
    font-size: smaller;
    text-decoration: none;
    text-align: left;
    padding: 0.3em 0.5em;
    border-radius: 0.5em;
    width: auto;
    z-index: 1000;
    white-space: nowrap;
}

.touche>span.keyboard-tooltip>span.keyboard-tip {
    position: absolute;
    top: -7px;
    left: 15px;
    height: 7px;
    width: 11px;
    background: transparent url("https://download.tuxfamily.org/dvorak/wiki/images/Touch-tooltip-corner.png");
    margin: 0;
    padding: 0;
}