« Modèle:MiniCard/styles.css » : différence entre les versions
De Nefald
Autres actions
Aucun résumé des modifications Balise : Révoqué |
Aucun résumé des modifications Balise : Révoqué |
||
| Ligne 1 : | Ligne 1 : | ||
/* MiniCard - Wrapper | /* MiniCard - Wrapper lien */ | ||
.minicard-wrapper { | .minicard-wrapper { | ||
display: inline- | display: inline-flex; | ||
text-decoration: none | text-decoration: none; | ||
color: inherit; | |||
} | } | ||
.minicard-wrapper | .minicard-wrapper:hover { | ||
text-decoration: none | text-decoration: none; | ||
} | } | ||
| Ligne 20 : | Ligne 20 : | ||
padding: 0 20px; | padding: 0 20px; | ||
border-radius: 30px; | border-radius: 30px; | ||
background: | background: rgba(255, 255, 255, 0.08); | ||
border: 1px solid rgba(255, 255, 255, 0.2); | |||
transition: all 0.3s | box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); | ||
transition: all 0.3s ease; | |||
overflow: hidden; | overflow: hidden; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
/* Hover | /* Hover */ | ||
.minicard-wrapper | .minicard-wrapper:hover .minicard { | ||
transform: translateY(-2px); | transform: translateY(-2px); | ||
box-shadow: 0 8px 24px rgba(74, 158, 255, 0. | box-shadow: 0 8px 24px rgba(74, 158, 255, 0.4); | ||
background: rgba(74, 158, 255, 0.15); | |||
border-color: rgba(74, 158, 255, 0.5); | |||
} | } | ||
| Ligne 44 : | Ligne 44 : | ||
height: 100%; | height: 100%; | ||
z-index: 0; | z-index: 0; | ||
} | } | ||
| Ligne 54 : | Ligne 53 : | ||
} | } | ||
.minicard-background .thumbinner { | .minicard-background .thumbinner, | ||
.minicard-background .thumbcaption { | |||
display: none; | display: none; | ||
} | } | ||
| Ligne 72 : | Ligne 66 : | ||
height: 100%; | height: 100%; | ||
background: rgba(0, 0, 0, 0.6); | background: rgba(0, 0, 0, 0.6); | ||
} | } | ||
| Ligne 83 : | Ligne 75 : | ||
font-weight: 600; | font-weight: 600; | ||
font-size: 0.95rem; | font-size: 0.95rem; | ||
text-shadow: 0 2px 4px rgba(0, 0, 0, 0. | text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); | ||
white-space: nowrap; | white-space: nowrap; | ||
} | } | ||
/* Sans image */ | /* Sans image */ | ||
.minicard--no-image { | |||
background: | background: rgba(255, 255, 255, 0.05); | ||
} | } | ||
.minicard-wrapper:hover | .minicard-wrapper:hover .minicard--no-image { | ||
background: rgba(74, 158, 255, 0.12); | |||
background: | |||
} | } | ||
| Ligne 104 : | Ligne 92 : | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); | grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); | ||
gap: 12px; | gap: 12px; | ||
margin: 1rem 0; | margin: 1rem 0; | ||
} | } | ||
/* | /* Cacher icône lien externe */ | ||
.minicard-wrapper.external::after { | |||
.minicard-wrapper .external::after { | |||
display: none !important; | display: none !important; | ||
} | } | ||