« Modèle:Joueur/styles.css » : différence entre les versions
De Nefald
Autres actions
Page créée avec « .joueur-banniere { display: inline-flex; align-items: center; background: #1a1a2e; border: 2px solid #4a4a6a; border-radius: 6px; padding: 4px 10px 4px 4px; gap: 8px; box-sizing: border-box; vertical-align: middle; font-family: sans-serif; text-decoration: none; } .joueur-avatar { image-rendering: pixelated; border-radius: 3px; flex-shrink: 0; } .joueur-infos { display: flex; flex-direction: column... » |
var light/dark |
||
| Ligne 2 : | Ligne 2 : | ||
display: inline-flex; | display: inline-flex; | ||
align-items: center; | align-items: center; | ||
background: | background: var(--color-surface-1); | ||
border: | border: 1px solid var(--color-surface-3); | ||
border-radius: 6px; | border-radius: 6px; | ||
padding: 4px 10px 4px 4px; | padding: 4px 10px 4px 4px; | ||
| Ligne 9 : | Ligne 9 : | ||
box-sizing: border-box; | box-sizing: border-box; | ||
vertical-align: middle; | vertical-align: middle; | ||
transition: background 0.2s ease, border-color 0.2s ease; | |||
} | |||
.joueur-banniere:hover { | |||
background: var(--color-surface-2); | |||
border-color: var(--color-surface-4); | |||
} | } | ||
| Ligne 17 : | Ligne 21 : | ||
border-radius: 3px; | border-radius: 3px; | ||
flex-shrink: 0; | flex-shrink: 0; | ||
height: calc(100% - 8px); | |||
width: auto; | |||
display: block; | |||
} | } | ||
| Ligne 24 : | Ligne 31 : | ||
justify-content: center; | justify-content: center; | ||
gap: 2px; | gap: 2px; | ||
line-height: 1.3; | |||
} | } | ||
.joueur-nom { | .joueur-nom { | ||
font-weight: bold; | font-weight: bold; | ||
color: | color: var(--color-emphasized); | ||
} | } | ||
.joueur-nom a { | .joueur-nom a { | ||
color: | color: var(--color-emphasized); | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
.joueur-nom a:hover { | .joueur-nom a:hover { | ||
color: | color: var(--color-link); | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
.joueur-grade { | .joueur-grade { | ||
color: # | color: var(--color-progressive, #36c); | ||
} | } | ||
.joueur-grade a { | .joueur-grade a { | ||
color: # | color: var(--color-progressive, #36c); | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
.joueur-grade a:hover { | .joueur-grade a:hover { | ||
color: | color: var(--color-link); | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
.joueur-texte { | .joueur-texte { | ||
color: | color: var(--color-subtle); | ||
} | } | ||
Version du 19 février 2026 à 11:01
.joueur-banniere {
display: inline-flex;
align-items: center;
background: var(--color-surface-1);
border: 1px solid var(--color-surface-3);
border-radius: 6px;
padding: 4px 10px 4px 4px;
gap: 8px;
box-sizing: border-box;
vertical-align: middle;
transition: background 0.2s ease, border-color 0.2s ease;
}
.joueur-banniere:hover {
background: var(--color-surface-2);
border-color: var(--color-surface-4);
}
.joueur-avatar {
image-rendering: pixelated;
border-radius: 3px;
flex-shrink: 0;
height: calc(100% - 8px);
width: auto;
display: block;
}
.joueur-infos {
display: flex;
flex-direction: column;
justify-content: center;
gap: 2px;
line-height: 1.3;
}
.joueur-nom {
font-weight: bold;
color: var(--color-emphasized);
}
.joueur-nom a {
color: var(--color-emphasized);
text-decoration: none;
}
.joueur-nom a:hover {
color: var(--color-link);
text-decoration: underline;
}
.joueur-grade {
color: var(--color-progressive, #36c);
}
.joueur-grade a {
color: var(--color-progressive, #36c);
text-decoration: none;
}
.joueur-grade a:hover {
color: var(--color-link);
text-decoration: underline;
}
.joueur-texte {
color: var(--color-subtle);
}