Basculer le menu
Changer de menu des préférences
Basculer le menu personnel
Non connecté(e)
Votre adresse IP sera visible au public si vous faites des modifications.

« Modèle:Joueur/styles.css » : différence entre les versions

De Nefald
Hiob (discussion | contributions)
mAucun résumé des modifications
Hiob (discussion | contributions)
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
/* === CONTENEUR GRILLE === */
.joueurs-grille {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: stretch;
}
/* === BANNIÈRE NORMALE === */
/* === BANNIÈRE NORMALE === */
.joueur-banniere {
.joueur-banniere {
Ligne 9 : Ligne 17 :
vertical-align: top;
vertical-align: top;
max-width: 100%;
max-width: 100%;
width: 200px;
width: 220px;
min-height: var(--joueur-h, 60px);
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;
cursor: default;
cursor: default;
}
.joueurs-grille .joueur-banniere {
vertical-align: unset;
}
}


Ligne 32 : Ligne 44 :


.joueur-avatar {
.joueur-avatar {
flex: 0 0 var(--joueur-h, 60px);
flex: 0 0 var(--joueur-h, 80px);
width: var(--joueur-h, 60px);
width: var(--joueur-h, 80px);
height: var(--joueur-h, 60px);
align-self: stretch;
box-sizing: border-box;
overflow: hidden;
}
}


Ligne 58 : Ligne 70 :
height: 100%;
height: 100%;
image-rendering: pixelated;
image-rendering: pixelated;
object-fit: cover;
}
}


Ligne 64 : Ligne 77 :
flex-direction: column;
flex-direction: column;
justify-content: center;
justify-content: center;
padding: 4px 12px 4px 10px;
padding: 6px 12px 6px 10px;
min-height: var(--joueur-h, 60px);
min-height: var(--joueur-h, 80px);
gap: 1px;
gap: 2px;
min-width: 0;
min-width: 0;
flex: 1;
flex: 1;
Ligne 89 : Ligne 102 :
text-overflow: ellipsis;
text-overflow: ellipsis;
}
}
.joueur-grade a {
.joueur-grade a {
color: var(--color-link);
color: var(--color-link);
Ligne 101 : Ligne 115 :
font-size: 0.75em;
font-size: 0.75em;
color: var(--color-subtle);
color: var(--color-subtle);
line-height: 1.2;
line-height: 1.3;
white-space: normal;
white-space: normal;
word-wrap: break-word;
word-wrap: break-word;
Ligne 110 : Ligne 124 :
.joueur-avatar-seul {
.joueur-avatar-seul {
display: inline-block;
display: inline-block;
width: var(--joueur-h, 60px);
width: var(--joueur-h, 80px);
height: var(--joueur-h, 60px);
height: var(--joueur-h, 80px);
background-color: var(--color-surface-2);
background-color: var(--color-surface-2);
border: 1px solid var(--color-surface-3);
border: 1px solid var(--color-surface-3);
border-radius: 8px;
border-radius: 8px;
overflow: hidden;
overflow: hidden;
vertical-align: middle;
vertical-align: top;
transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s;
transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s;
cursor: default;
cursor: default;
}
.joueurs-grille .joueur-avatar-seul {
vertical-align: unset;
}
}



Version du 20 février 2026 à 06:22

/* === CONTENEUR GRILLE === */
.joueurs-grille {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: stretch;
}

/* === BANNIÈRE NORMALE === */
.joueur-banniere {
display: inline-flex;
align-items: center;
background-color: var(--color-surface-2);
border: 1px solid var(--color-surface-3);
border-radius: 6px;
overflow: hidden;
vertical-align: top;
max-width: 100%;
width: 220px;
min-height: var(--joueur-h, 80px);
transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s;
cursor: default;
}

.joueurs-grille .joueur-banniere {
vertical-align: unset;
}

.joueur-banniere:hover {
background-color: var(--color-surface-3);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
transform: translateY(-1px);
}

.joueur-banniere.joueur-droite {
float: right;
margin: 0 0 8px 12px;
}

.joueur-banniere.joueur-gauche {
float: left;
margin: 0 12px 8px 0;
}

.joueur-avatar {
flex: 0 0 var(--joueur-h, 80px);
width: var(--joueur-h, 80px);
align-self: stretch;
overflow: hidden;
}

.joueur-avatar a {
display: block;
width: 100%;
height: 100%;
line-height: 0;
margin: 0;
padding: 0 !important;
background: none !important;
overflow: hidden;
}

.joueur-avatar a::after {
display: none !important;
}

.joueur-avatar img {
display: block;
width: 100%;
height: 100%;
image-rendering: pixelated;
object-fit: cover;
}

.joueur-contenu {
display: flex;
flex-direction: column;
justify-content: center;
padding: 6px 12px 6px 10px;
min-height: var(--joueur-h, 80px);
gap: 2px;
min-width: 0;
flex: 1;
overflow: hidden;
}

.joueur-nom {
font-weight: 700;
font-size: 0.95em;
color: var(--color-emphasized);
line-height: 1.3;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.joueur-grade {
font-size: 0.8em;
line-height: 1.2;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.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.3;
white-space: normal;
word-wrap: break-word;
overflow-wrap: break-word;
}

/* === MODE AVATAR SEUL === */
.joueur-avatar-seul {
display: inline-block;
width: var(--joueur-h, 80px);
height: var(--joueur-h, 80px);
background-color: var(--color-surface-2);
border: 1px solid var(--color-surface-3);
border-radius: 8px;
overflow: hidden;
vertical-align: top;
transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s;
cursor: default;
}

.joueurs-grille .joueur-avatar-seul {
vertical-align: unset;
}

.joueur-avatar-seul:hover {
background-color: var(--color-surface-3);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
transform: translateY(-1px);
}

.joueur-avatar-seul.joueur-droite {
float: right;
margin: 0 0 8px 12px;
}

.joueur-avatar-seul.joueur-gauche {
float: left;
margin: 0 12px 8px 0;
}

.joueur-avatar-seul a {
display: block;
width: 100%;
height: 100%;
line-height: 0;
background: none !important;
padding: 0 !important;
}

.joueur-avatar-seul a::after {
display: none !important;
}

.joueur-avatar-seul img {
display: block;
width: 100%;
height: 100%;
image-rendering: pixelated;
}

.joueur-erreur {
color: #d33;
font-style: italic;
}
Les témoins (''cookies'') nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de témoins.