-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFindThePrecious.css
84 lines (78 loc) · 1.15 KB
/
FindThePrecious.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
72
73
74
75
76
77
78
79
80
81
82
83
84
/* general elements of the page*/
hr{
width: 75%;
}
.btn_reward{
margin-left:50%;
}
/* portrait's section*/
.photo_gandalf{
margin: auto;
opacity: 0.4;
z-index: 1;
}
.texte{
box-sizing: content-box;
position: absolute;
font-size: 30px;
text-align: center;
font-weight: bold;
background-color : white;
border-radius: 10px;
width: 8em;
height: 4em;
left: 4em;
top:2em;
line-height: 50px;
opacity: 1;
margin:auto;
z-index: 3;
}
.texte2{
box-sizing: content-box;
position: absolute;
font-size: 30px;
text-align: center;
font-weight: bold;
color:red;
width: 8em;
height: 4em;
top:2em;
line-height:50px;
opacity: 1;
margin:auto;
z-index: 3;
}
.chiffre{
color: orange;
}
.titre{
position: absolute;
font-size: 50px;
text-align: center;
color : white;
width: auto;
z-index:2;
left: 3em;
top:7em;
}
.photo_gandalf:hover{
opacity:1;
visibility: visible;
z-index:3;
}
.conteneur:hover .titre{
opacity: 1;
font-size: 30px;
top: 15em;
left: 6em;
visibility: visible;
color: white;
z-index:4;
}
.conteneur:hover .texte{
visibility: hidden;
}
.conteneur:hover .texte2{
visibility: hidden;
}