« Modèle:ButtonGrid/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 : | ||
.minicardv2-container{ | .minicardv2-container{ | ||
display:grid; | display:grid; | ||
/* Forcer 1 ligne */ | |||
grid-template-rows:1fr; | |||
/* Colonnes auto-ajoutées, toutes de largeur égale */ | |||
grid-auto-flow:column; | grid-auto-flow:column; | ||
grid-auto-columns:1fr; | grid-auto-columns:minmax(0, 1fr); | ||
gap:.6rem; | gap:.6rem; | ||
width:100%; | width:100%; | ||
padding:.4rem 0; | padding:.4rem 0; | ||
| Ligne 21 : | Ligne 18 : | ||
} | } | ||
/* | /* Cibler tous les liens dans le conteneur (certains skins ne mettent pas .external) */ | ||
.minicardv2-container a | .minicardv2-container a{ | ||
display:flex !important; | display:flex !important; | ||
align-items:center; | align-items:center; | ||
| Ligne 40 : | Ligne 37 : | ||
background:#111; | background:#111; | ||
color:#fff; | color:#fff; | ||
} | } | ||
/* Icône */ | /* Icône */ | ||
.minicardv2-container a | .minicardv2-container a img{ | ||
width:18px; | width:18px; | ||
height:18px; | height:18px; | ||
} | } | ||