-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
101 lines (84 loc) · 1.36 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
* {
margin: 0;
}
body {
display: flex;
width: 100vw;
height: 100vh;
align-items: center;
justify-content: space-evenly;
}
main {
justify-self: center;
}
.highlighted-player {
height: 40px;
width: 220px;
font-size: 30px;
font-family: Georgia;
font-weight: bold;
background: rgb(67, 145, 182);
border-radius: 10px;
text-align: center;
}
.player-one {
color: rgb(252, 198, 22);
}
.player-two {
color: crimson;
}
.starting-box {
display: flex;
margin: 5px;
justify-content: center;
align-items: center;
}
.starting-slot {
height: 80px;
width: 80px;
display: flex;
justify-content: center;
align-items: center;
}
.piece {
height: 60px;
width: 60px;
border-radius: 50%;
position: absolute;
}
.piece:hover {
cursor: pointer;
}
.piece-drop {
transition-duration: 2s;
transition-property: transform;
}
.invisible {
opacity: 0;
}
.container {
display: flex;
border: 5px solid royalblue;
}
.column {
display: flex;
flex-direction: column;
}
.slot {
height: 80px;
width: 80px;
overflow: hidden;
}
.hole {
height: 60px;
width: 60px;
border: 40px solid royalblue;
border-radius: 50%;
transform: translate(-30px, -30px);
}
.player1 {
background: rgb(252, 198, 22);
}
.player2 {
background: crimson;
}