-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
102 lines (88 loc) · 1.76 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
*, *::after, *::before {
padding: 0;
margin: 0;
box-sizing: border-box;
}
.root {
background-color: #121818;
min-height: 100vh;
padding-top: 1px;
font-family: "Poppins", sans-serif;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.title {
color: #fff;
text-align: center;
font-size: 40px;
}
.image {
color: #fff;
display: flex;
justify-content: center;
align-items: center;
}
.image img {
width: 50px;
height: 50px;
}
.display {
color: #fff;
font-size: 25px;
text-align: center;
margin-top: 1em;
margin-bottom: 1em;
}
.hide {
display: none;
}
.container {
margin: 0 auto;
display: grid;
grid-template-columns: 33% 33% 33%;
grid-template-rows: 33% 33% 33%;
max-width: 300px;
}
.tile {
border: 1px solid #fff;
min-width: 100px;
min-height: 100px;
display: flex;
justify-content: center;
align-items: center;
font-size: 50px;
cursor: pointer;
}
.playerX {
color: #09c372;
}
.playerY {
color: #498afb;
}
.controls {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
margin-top: 1em;
}
.ironMan {
background: url(icons/ironman.png) center center no-repeat;
background-size: cover;
}
.captain {
background: url(icons/shield.png) center center no-repeat;
background-size: cover;
}
#reset {
cursor: pointer;
padding: 0.6em 1.8em;
border-radius: 5px;
outline: none;
border: none;
font-size: 1.1rem;
margin-top: 10px;
}