« MediaWiki:Common.css » : différence entre les versions
Apparence
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 40 : | Ligne 40 : | ||
} | } | ||
/* Style | /* Style ultra-robuste pour les Userboxes */ | ||
.userbox { | .userbox { | ||
border: 1px solid #AAAAAA; | border: 1px solid #AAAAAA; | ||
margin: | margin: 4px; | ||
float: left; | float: left; | ||
width: | width: 240px; | ||
height: | height: 50px; /* Un peu plus haut pour l'aisance */ | ||
background: #FFFFFF; | background: #FFFFFF; | ||
display: flex; | display: flex !important; /* Force le mode flex */ | ||
align-items: | align-items: stretch; | ||
overflow: hidden; | overflow: hidden; | ||
font-family: inherit; /* Force la police du wiki */ | |||
} | } | ||
.userbox-id { | .userbox-id { | ||
width: | width: 50px; | ||
min-width: 50px; | |||
height: 50px; | |||
display: flex !important; | |||
align-items: center; | align-items: center; /* Centrage vertical */ | ||
justify-content: center; /* Centrage horizontal */ | |||
font- | font-size: 22px; /* Taille de l'icône augmentée */ | ||
line-height: 1; | |||
} | } | ||
.userbox-info { | .userbox-info { | ||
padding: 0 | padding: 0 10px; | ||
font-size: 0. | font-size: 0.9em; | ||
line-height: 1. | line-height: 1.25; | ||
display: flex !important; | |||
align-items: center; /* Centrage vertical du texte */ | |||
flex-grow: 1; | |||
} | } | ||
Version du 16 avril 2026 à 13:40
/* 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 ultra-robuste pour les Userboxes */
.userbox {
border: 1px solid #AAAAAA;
margin: 4px;
float: left;
width: 240px;
height: 50px; /* Un peu plus haut pour l'aisance */
background: #FFFFFF;
display: flex !important; /* Force le mode flex */
align-items: stretch;
overflow: hidden;
font-family: inherit; /* Force la police du wiki */
}
.userbox-id {
width: 50px;
min-width: 50px;
height: 50px;
display: flex !important;
align-items: center; /* Centrage vertical */
justify-content: center; /* Centrage horizontal */
font-size: 22px; /* Taille de l'icône augmentée */
line-height: 1;
}
.userbox-info {
padding: 0 10px;
font-size: 0.9em;
line-height: 1.25;
display: flex !important;
align-items: center; /* Centrage vertical du texte */
flex-grow: 1;
}