Fiche : retour de la grande image de scène (annule dd92878, demande mal comprise)
deploy / deploy (push) Successful in 47s
deploy / deploy (push) Successful in 47s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
This commit is contained in:
2 files changed
+33
-3
No files matched your search
@@ -291,3 +291,19 @@
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Grande image de fond d'une fiche (façon Letterboxd / TV Time) : elle se fond dans le fond du thème
|
||||
* en bas (et sur les côtés sur ordinateur) grâce à un masque de transparence, sans couleur ajoutée.
|
||||
*/
|
||||
.hero-fade {
|
||||
-webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
|
||||
mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
|
||||
}
|
||||
@media (min-width: 64rem) {
|
||||
.hero-fade {
|
||||
-webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%), linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%);
|
||||
-webkit-mask-composite: source-in;
|
||||
mask-image: linear-gradient(to bottom, #000 40%, transparent 100%), linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%);
|
||||
mask-composite: intersect;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user