-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
97 lines (90 loc) · 1.63 KB
/
style.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
85
86
87
88
89
90
91
92
93
94
95
96
97
@charset "utf-8";
html,body{background-color:#fff;width:100%;height:100%;color:#1d1d1b;margin:0}
body{display:flex;}
main {
display: flex;
flex: 1;
align-items: center;
justify-content: center;
height: 100%;
box-sizing: border-box;
flex-direction: column;
}
#puissance4 {
display: flex;
width: 700px;
height: 600px;
background-color: #4567B7;
flex-direction: row;
}
#puissance4 .rang {
display: block;
width: 100px;
height: 100%;
}
#puissance4 .rang > div {
display: block;
width: 100%;
height: 100px;
position: relative;
cursor:pointer;
}
#puissance4 .rang > div::before {
content: '';
display: block;
border-radius: 150%;
width: 80%;
height: 80%;
background-color: #000000;
position: relative;
top: 10%;
left: 10%;
}
#puissance4.j1 .rang >div:hover::before{
background-color:red;
opacity:0.8;
}
#puissance4.j2 .rang >div:hover::before{
background-color:yellow;
opacity:0.8;
}
#puissance4 .rang >div.j1::before,#puissance4 .rang >div.j2::before{
opacity:1 !important;
}
#puissance4 .rang >div.j1::before{
background-color:red !important;
}
#puissance4 .rang >div.j2::before{
background-color:yellow !important;
}
.infos {
line-height: 80px;
display: flex;
width: 700px;
min-height: 80px;
align-items: center;
flex-direction: row;
justify-content: space-around;
margin:10px 0 0;
font-family:Arial, sans-serif;
}
.infos > span {
display: block;
padding: 0 40px;
min-width:120px;
text-align:center;
}
.infos >span.bold{
font-weight:bold;
}
.infos >span.bold.j1{
background-color:red;
}
.infos >span.bold.j2{
background-color:yellow;
}
.infos >span.gagne{
font-weight:bold;
color:white;
background-color: green;
}