-
Notifications
You must be signed in to change notification settings - Fork 0
/
CSSCarte2.css
63 lines (49 loc) · 846 Bytes
/
CSSCarte2.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
/*OUDJMAN ET MARCIAUX*/
/*BODY */
.Chefs {
font-size: 250%;
text-align: center;
-webkit-text-stroke-width: 0.13rem;
-webkit-text-stroke-color: black;
color: #C78805;
margin-top: 10%;
}
.Photo {
display: inline-block;
}
.Photo img {
width: 100%;
height: 380px;
}
.Image {
position: relative;
float: right;
width: 25%;
}
.Image__Img {
display: block;
}
.Image__Overlay{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
color: white;
font-family: 'Quicksand', sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.25s;
}
.Image__Overlay:hover {
opacity: 1;
}
.Image__Description {
font-size: 1.25em;
margin-top: 0.25em;
cursor: pointer;
}