-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
141 lines (126 loc) · 2.33 KB
/
Copy pathstyle.css
File metadata and controls
141 lines (126 loc) · 2.33 KB
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
#vide {
color: green;
background-color: #000000;
}
#planete {
background-color: #0000CC;
}
#vaisseau {
background-color: #CC0000;
}
#asteroid {
background-color: #00CC00;
}
#main-content {
width: 1280px;
margin: auto;
}
/* Menu de navigation */
#menu-navigation {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
#menu-navigation > li {
float: left;
width: 212px;
}
#menu-navigation > li > a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
#menu-navigation > li > a:hover {
background-color: #111;
}
.menu-active {
background-color: #4CAF50;
}
#menuInfoJoueur {
width: 100%;
display: block;
background-color: #330;
overflow: hidden;
}
#niveauJoueur {
width: 320px;
float: left;
}
#flotteJoueur {
width: 320px;
float: left;
}
#missionTermineJoueur {
width: 320px;
float: left;
}
#energieJoueur {
width: 320px;
float: left;
}
#container-base {
height: 600px;
background-image: url("images/base.jpg");
}
#menuInteractionBase {
height: 100%;
display: block;
height: 400px;
overflow: auto; /*This is what we added!*/
}
#imageBatiment {
float: left;
width : 280px;
background-color: #aae;
}
#affichageInteractionBatiment {
float: left;
width: 1000px;
background-color: #00e;
height: auto;
}
/* Tooltip container */
.tooltip {
position: relative;
display: inline-block;
border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}
/* Tooltip text */
.tooltip .tooltiptext {
visibility: hidden;
width: 120px;
background-color: #555;
color: #fff;
text-align: center;
padding: 5px 0;
border-radius: 6px;
/* Position the tooltip text */
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
margin-left: -60px;
/* Fade in tooltip */
opacity: 0;
transition: opacity 0.3s;
}
/* Tooltip arrow */
.tooltip .tooltiptext::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: #555 transparent transparent transparent;
}
/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
visibility: visible;
opacity: 1;
}