-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
114 lines (114 loc) · 2 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
tr{
width: 399px;
}
td{
width: 133px;
height: 133px;
border: 5px solid black;
position: relative;
cursor: pointer;
}
td:hover{
background-color: rgba(112, 27, 27, 0.14);
}
table tr:first-child td{
border-top: 0;
}
tr td:first-child{
border-left: 0;
}
table tr:last-child td{
border-bottom: 0;
}
table tr td:last-child{
border-right: 0;
}
table{
border-collapse: collapse;
}
.shape{
position: absolute;
width: 80px;
height: 80px;
bottom: 26.5px;
left: 26.5px;
}
.d-none{
display: none;
}
body{
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
flex-direction: column;
}
.players{
display: flex;
justify-content: center;
align-items: center;
font-size: 40px;
position: absolute;
top: 150px;
margin-bottom: 32px;
}
.players div{
display: flex;
justify-content: center;
align-items: center;
margin-right: 12px;
margin-left: 12px;
}
.players img{
width: 60px;
height: 60px;
margin-right: 14px;
}
.player-inactive{
opacity: 0.5;
}
.horizontal-line{
height: 10px;
background-color: rgba(0, 0, 0, 0.5);
width: 370px;
position: absolute;
transform: scaleX(0.0);
transition: transform 225ms ease-in-out;
}
.make-vertikal{
transform: rotate(90deg) scaleX(0.0);
}
.make-diagonal{
transform: rotate(45deg) scaleX(0.0);
width: 450px;
}
.make-diagonal2{
transform: rotate(315deg) scaleX(0.0);
width: 450px;
}
.endgame{
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
transform: scaleX(0.0) scaleY(0.0);
transition: transform 225ms ease-in-out;
z-index: 1;
}
.restart-button{
border: 1px solid rgba(0, 0, 0, 0.5);
background-color: rgb(252, 67, 67);
z-index: 2;
width: 300px;
height: 100px;
color: white;
font-size: 24px;
position: absolute;
top: 730px;
}
.restart-button:hover{
background-color: rgb(250, 19, 19);
}