« MediaWiki:Common.css » : différence entre les versions
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; | |||
} | } | ||