-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.css
57 lines (48 loc) · 815 Bytes
/
App.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
.App {
text-align: center;
}
.App-logo {
animation: App-logo-spin infinite 20s linear;
height: 80px;
}
.App-header {
background-color: #222;
height: 150px;
padding: 20px;
color: white;
}
.App-title {
font-size: 1.5em;
}
.App-intro {
font-size: large;
}
/* ##### Battleship ##### */
.wrapper {
display: grid;
grid-template-columns: repeat(12, [col-start] 1fr);
grid-gap: 20px;
height: 100%;
}
.grid-wrapper {
grid-column: col-start 2 / span 5;
grid-row: 6 / 10;
border: 1px solid black;
height: 462px;
width: 462px;
}
.opponent-grid-wrapper {
grid-column: col-start 8 / span 5;
grid-row: 6 / 10;
border: 1px solid black;
height: 462px;
width: 462px;
}
.box {
width: 40px;
height: 40px;
border: 1px solid black;
padding: 0;
margin: 0;
float: left;
}