« Modèle:Joueur/styles.css » : différence entre les versions
De Nefald
Autres actions
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
.joueur-banniere { | .joueur-banniere { | ||
display: inline-flex; | display: inline-flex; | ||
align-items: | flex-direction: row; | ||
background: | align-items: stretch; | ||
border: | height: var(--joueur-h, 60px); | ||
border-radius: | background-color: var(--color-surface-2); | ||
border: 1px solid var(--color-surface-3); | |||
border-radius: 8px; | |||
overflow: hidden; | |||
vertical-align: middle; | vertical-align: middle; | ||
} | } | ||
.joueur- | .joueur-avatar { | ||
display: | width: var(--joueur-h, 60px); | ||
height: var(--joueur-h, 60px); | |||
flex-shrink: 0; | |||
overflow: hidden; | |||
display: flex; | |||
align-items: center; | align-items: center; | ||
justify-content: center; | |||
} | |||
.joueur-avatar a.external { | |||
display: block; | |||
width: 100%; | |||
height: 100%; | |||
background: none !important; | |||
padding: 0 !important; | |||
} | |||
.joueur-avatar a.external::after { | |||
display: none !important; | |||
} | } | ||
.joueur- | .joueur-avatar img { | ||
display: block; | |||
width: var(--joueur-h, 60px); | |||
height: var(--joueur-h, 60px); | |||
image-rendering: pixelated; | image-rendering: pixelated; | ||
object-fit: cover; | |||
} | } | ||
.joueur- | .joueur-contenu { | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
gap: | justify-content: center; | ||
padding: 4px 12px; | |||
gap: 1px; | |||
min-width: 0; | |||
} | } | ||
.joueur-nom { | .joueur-nom { | ||
font-weight: | font-weight: 700; | ||
color: | font-size: 0.95em; | ||
color: var(--color-emphasized); | |||
line-height: 1.3; | line-height: 1.3; | ||
white-space: nowrap; | |||
} | } | ||
.joueur-grade { | .joueur-grade { | ||
font-size: 0.8em; | |||
line-height: 1.2; | line-height: 1.2; | ||
} | |||
.joueur-grade a { | |||
color: var(--color-link); | |||
text-decoration: none; | |||
} | |||
.joueur-grade a:hover { | |||
text-decoration: underline; | |||
} | } | ||
.joueur-texte { | .joueur-texte { | ||
color: # | font-size: 0.75em; | ||
color: var(--color-subtle); | |||
line-height: 1.2; | |||
white-space: nowrap; | |||
} | |||
.joueur-erreur { | |||
color: #d33; | |||
font-style: italic; | |||
} | } | ||
Version du 19 février 2026 à 14:24
.joueur-banniere {
display: inline-flex;
flex-direction: row;
align-items: stretch;
height: var(--joueur-h, 60px);
background-color: var(--color-surface-2);
border: 1px solid var(--color-surface-3);
border-radius: 8px;
overflow: hidden;
vertical-align: middle;
}
.joueur-avatar {
width: var(--joueur-h, 60px);
height: var(--joueur-h, 60px);
flex-shrink: 0;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
.joueur-avatar a.external {
display: block;
width: 100%;
height: 100%;
background: none !important;
padding: 0 !important;
}
.joueur-avatar a.external::after {
display: none !important;
}
.joueur-avatar img {
display: block;
width: var(--joueur-h, 60px);
height: var(--joueur-h, 60px);
image-rendering: pixelated;
object-fit: cover;
}
.joueur-contenu {
display: flex;
flex-direction: column;
justify-content: center;
padding: 4px 12px;
gap: 1px;
min-width: 0;
}
.joueur-nom {
font-weight: 700;
font-size: 0.95em;
color: var(--color-emphasized);
line-height: 1.3;
white-space: nowrap;
}
.joueur-grade {
font-size: 0.8em;
line-height: 1.2;
}
.joueur-grade a {
color: var(--color-link);
text-decoration: none;
}
.joueur-grade a:hover {
text-decoration: underline;
}
.joueur-texte {
font-size: 0.75em;
color: var(--color-subtle);
line-height: 1.2;
white-space: nowrap;
}
.joueur-erreur {
color: #d33;
font-style: italic;
}