Aller au contenu

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

De Wiki Éducation
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 38 : Ligne 38 :
     font-family: inherit;
     font-family: inherit;
     color: var(--color-base);
     color: var(--color-base);
}
/* Style de base pour les Boîtes Utilisateur (Userboxes) */
.userbox {
    border: 1px solid #AAAAAA;
    margin: 2px;
    float: left;
    width: 238px;
    height: 45px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.userbox-id {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    flex-shrink: 0;
}
.userbox-info {
    padding: 0 8px;
    font-size: 0.85em;
    line-height: 1.2em;
}
}

Version du 16 avril 2026 à 13:31

/* Le CSS placé ici sera appliqué à tous les habillages. */
/* Style pour le boîtier de documentation */
.template-documentation {
    background-color: #f8f9fa;
    border: 1px solid #a2a9b1;
    padding: 1em;
    margin-top: 1em;
    clear: both;
    border-left: 5px solid #3366cc; /* Une barre bleue pour le côté éducatif */
}

.template-documentation-header {
    font-weight: bold;
    margin-bottom: 0.5em;
    font-size: 1.1em;
    display: flex;
    justify-content: space-between;
}

/* Style pour les bandeaux d'avertissement (Ébauche) */
.bandeau-ebauche {
    margin: 10px 0;
    padding: 10px 15px;
    background-color: var(--background-color-neutral-subtle);
    border: 1px solid var(--border-color-base);
    border-left: 10px solid #3366cc;
    display: flex;
    align-items: center;
    border-radius: 4px;
}
.bandeau-ebauche-icone {
    font-size: 24px;
    margin-right: 15px;
}
.bandeau-ebauche-texte {
    font-size: 0.9em;
    line-height: 1;
    font-family: inherit;
    color: var(--color-base);
}

/* Style de base pour les Boîtes Utilisateur (Userboxes) */
.userbox {
    border: 1px solid #AAAAAA;
    margin: 2px;
    float: left;
    width: 238px;
    height: 45px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.userbox-id {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    flex-shrink: 0;
}

.userbox-info {
    padding: 0 8px;
    font-size: 0.85em;
    line-height: 1.2em;
}