-
Notifications
You must be signed in to change notification settings - Fork 0
/
connect4.css
87 lines (74 loc) · 1.22 KB
/
connect4.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
/*
* restyled with coolors.co
* blue: #FFC857
* yellow: #FFC857
* red: #C5283D
* background: #16151d;
* */
body {
background-color: #16151d;
color: #255F85;
margin: auto;
}
.gamestatus{
float: left;
width: 300px;
}
.title{
font-size: 40px;
margin-left: auto;
margin-right: auto;
text-align: center;
}
#status{
font-size: 48px;
text-align: center;
height: 80px;
color: white;
text-shadow: 2px 2px #000000;
}
#current_player {
text-align: center;
margin: auto;
}
#current_player .label {
color: black;
font-size: 20px;
padding-top: 31px;
color: white;
font-size: 22px;
text-shadow: 1px 1px #000000;
}
.board {
float: left;
margin-top: 20px;
margin-left: auto;
margin-right: auto;
text-align: center;
width: 710px;
background-color: #255F85;
padding-left: 10px;
border-radius: 10px;
}
.column {
padding-top: 20px;
width: 100px;
height: 590px;
float: left;
background-color: #255F85;
}
.cell {
width: 90px;
height: 90px;
background-color: #16151d;
border-radius: 50%;
margin-left: 4px;
margin-top: 4px;
transition: background-color 0.2s;
}
.cell.player1 {
background-color: #C5283D;
}
.cell.player2 {
background-color: #FFC857;
}