-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication.css
More file actions
117 lines (101 loc) · 1.64 KB
/
Copy pathapplication.css
File metadata and controls
117 lines (101 loc) · 1.64 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
body {
display: flex;
flex-direction: column;
align-items: center;
font: 12px Arial;
background: #faf8ef;
}
h2 {
color: #555555;
font-size: 28px;
font-weight: bolder;
letter-spacing: .5em;
margin: 0;
margin-bottom: 3px;
}
div.game-details {
width: 380px;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 5px;
}
div.right {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
width: 100%;
}
div.new-game-container{
background: #bbada0;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
border-radius: 5px;
padding: 5px;
align-self: flex-end;
}
.new-game-container span {
width: 100%;
text-align: center;
}
label {
color: white;
font-size: 14px;
font-weight: bolder;
}
.new-game-button {
width: 60px;
height: 20px;
font-size: 10px;
font-weight: bolder;
text-align: center;
line-height: 21px;
color: white;
background: #8b7d70;
border-radius: 5px;
}
.new-game-button:hover {
cursor: pointer;
}
div.score-container {
width: 40%;
display: flex;
}
.score-container div {
height: 50px;
margin: 2px;
padding: 0 18px;
background: #bbada0;
border-radius: 5px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
span {
color: #eeeeee;
font-size: 14px;
font-weight: bolder;
}
.score-container span.score {
color: white;
font-size: 22px;
}
div.board {
display: flex;
margin-bottom: 20px;
}
canvas {
position: absolute;
left: 0;
right: 0;
margin: 0 auto;
border-radius: 5px;
}
canvas.background {
background-color: #bbada0;
}
p {
text-align: center;
}