forked from KazTateiwa/battleship
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
77 lines (63 loc) · 884 Bytes
/
main.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
body {
color: #333;
}
.main-container {
margin: 0 auto;
width: 445px;
}
table {
border: 2px solid #000;
border-collapse: collapse;
}
table td {
border: 1px solid #000;
width: 40px;
height: 40px;
}
.stats {
width: 445px
}
.stat {
float: left;
text-align: center;
width: 120px;
}
.btn-container {
float: left;
clear: both;
display: block;
margin: 0 auto;
width: 433px;
}
h1, h2 {
text-align: center;
}
p.btn {
text-align: center;
}
button {
background-color: #ccc;
border: 1px solid #ccc;
color: #333;
border-radius: 3px;
font-size: 20px;
padding: 12px 20px;
}
button:hover {
background-color: #ddd;
color: #333;
cursor: pointer;
transition: .3s;
}
button:focus {
display: none;
}
.cell_clicked {
background-color: red;
}
.ship_hit {
background-color: orange;
}
.ship_location {
background-color: green;
}