« Modèle:Joueur/styles.css » : différence entre les versions
De Nefald
Autres actions
Aucun résumé des modifications |
m charte graphique |
||
| (4 versions intermédiaires par le même utilisateur non affichées) | |||
| Ligne 17 : | Ligne 17 : | ||
vertical-align: top; | vertical-align: top; | ||
max-width: 100%; | max-width: 100%; | ||
width: | width: 300px; | ||
min-height: var(--joueur-h, 80px); | min-height: var(--joueur-h, 80px); | ||
transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s; | transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s; | ||
| Ligne 41 : | Ligne 41 : | ||
float: left; | float: left; | ||
margin: 0 12px 8px 0; | margin: 0 12px 8px 0; | ||
} | |||
/* === BANNIÈRE CLIQUABLE === */ | |||
.joueur-banniere.joueur-lien { | |||
position: relative; | |||
cursor: pointer; | |||
} | |||
.joueur-lien-overlay { | |||
position: absolute; | |||
inset: 0; | |||
z-index: 2; | |||
display: block; | |||
} | |||
/* Masquer les styles par défaut du lien wiki */ | |||
.joueur-banniere.joueur-lien > a { | |||
color: inherit; | |||
text-decoration: none; | |||
} | |||
.joueur-lien-overlay::after { | |||
display: none !important; | |||
} | |||
.joueur-avatar { | |||
flex: 0 0 var(--joueur-h, 80px); | |||
width: var(--joueur-h, 80px); | |||
height: var(--joueur-h, 80px); | |||
align-self: center; | |||
overflow: hidden; | |||
margin: 0 10px; | |||
} | } | ||
| Ligne 87 : | Ligne 119 : | ||
overflow: hidden; | overflow: hidden; | ||
text-overflow: ellipsis; | text-overflow: ellipsis; | ||
} | |||
.joueur-alias { | |||
font-size: 0.75em; | |||
font-style: italic; | |||
color: var(--color-subtle); | |||
font-weight: 400; | |||
} | } | ||
| Ligne 100 : | Ligne 139 : | ||
color: var(--color-link); | color: var(--color-link); | ||
text-decoration: none; | text-decoration: none; | ||
position: relative; | |||
z-index: 3; | |||
} | } | ||
| Ligne 171 : | Ligne 212 : | ||
.joueur-erreur { | .joueur-erreur { | ||
color: | color: var(--color-destructive); | ||
font-style: italic; | font-style: italic; | ||
} | } | ||