-
Notifications
You must be signed in to change notification settings - Fork 0
/
profil.css
71 lines (70 loc) · 1.39 KB
/
profil.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#mainx {
display: flex;
flex-direction: row;
justify-content: center;
}
#milieuy{
border-radius: 8px;
/*background-color: rgba(200, 200, 200, .5);*/
background-color: rgba(220, 220, 220, 0.6);
background-color: var(--primary-bg-color);
padding: 1em;
flex: 0.5 0 50%;
margin: 1em;
}
.triptyque {
display:flex;
align-items: end;
}
.triptyque > div {
border-radius: 8px;
/*background-color: rgba(200, 200, 200, .5);*/
background-color: rgba(220, 220, 220, 0.6);
background-color: var(--primary-bg-color);
padding: 1em;
width: calc(33.33% - 4em);
margin: 1em;
}
@media (orientation: portrait) {
.triptyque {
flex-direction: column;
}
.triptyque > div {
width: calc(100% - 4em);
}
}
.triptyque > div img{
width:100%;
}
.pdp:hover{
}
.pdp-conteneur {
position: relative;
cursor: pointer;
}
.pdp-conteneur span {
position: absolute;
left: 50%;
top: 50%;
text-align: center;
transform: translate(-50%, -50%);
width: 100%;
font-size: 2em;
opacity: 0;
transition: opacity .5s ease;
color: whitesmoke;
}
.pdp-conteneur input[type=file] {
opacity: 0;
position: absolute;
left: 0;
}
.pdp-conteneur:hover span.hover-texte {
opacity: 1;
}
.pdp-conteneur:hover img {
filter: blur(1px) brightness(.75);
}
.pdp-conteneur.chargement span.chargement-texte {
opacity: 1;
}