-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
78 lines (78 loc) · 1.41 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-size: 16px;
font-family: 'Open Sans';
}
header {
text-align: center;
margin-bottom: 3rem;
}
h1 {
font-size: 3rem;
font-family: 'Audiowide';
}
main {
display: flex;
justify-content: center;
}
.grid {
padding: 2px;
width: 500px;
height: 500px;
border: 1px solid black;
display: grid;
grid-template-columns: repeat(10, 1fr);
grid-template-rows: repeat(10, 1fr);
grid-gap: 2px;
background-color: #D6DFE8;
}
.player-container {
margin: 0 10px;
}
.computer-container {
position: relative;
}
.setup {
width: 350px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-left: 10px;
text-align: center;
white-space: pre-line;
}
.square {
width:100%;
border: 1px solid #10100F;
border-radius: 5px;
background-color: #88C2CE;
}
.computer .square:hover{
background-color: blue;
}
.player-ship {
background-color: #626461;
}
.overlay {
width: 100%;
height: 100%;
position: absolute;
background-color: white;
opacity: 90%;
visibility: hidden;
}
.ship-info {
margin: 10px 0;
}
#orientation {
width: 7rem;
border: 1px solid black;
border-radius: 50px;
font-family: inherit;
padding: 5px;
}