le flou ne disparait plus au survol des albums matures
This commit is contained in:
parent
c218d407e5
commit
a8ca9da433
21
styles.css
21
styles.css
@ -186,9 +186,12 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Styles pour le contenu mature dans les albums */
|
/* Styles pour le contenu mature dans les albums */
|
||||||
|
.album-card-mature {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
.album-card-mature .album-images {
|
.album-card-mature .album-images {
|
||||||
filter: blur(10px);
|
filter: blur(10px);
|
||||||
transition: filter 0.3s ease;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.album-card-mature::before {
|
.album-card-mature::before {
|
||||||
@ -203,8 +206,12 @@ body {
|
|||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
opacity: 1;
|
transition: transform 0.3s ease, background-color 0.3s ease;
|
||||||
transition: opacity 0.3s ease;
|
}
|
||||||
|
|
||||||
|
.album-card-mature:hover::before {
|
||||||
|
transform: translate(-50%, -50%) scale(1.1);
|
||||||
|
background-color: rgba(220, 53, 69, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.album-card-mature::after {
|
.album-card-mature::after {
|
||||||
@ -216,14 +223,6 @@ body {
|
|||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.album-card-mature:hover .album-images {
|
|
||||||
filter: blur(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
.album-card-mature:hover::before {
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.album-card {
|
.album-card {
|
||||||
background-color: #1e1e1e;
|
background-color: #1e1e1e;
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user