-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
60 lines (51 loc) · 776 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
* {
margin: 0;
padding: 0;
}
body {
background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
url("./background.jpg");
background-size: cover;
background-repeat: no-repeat;
min-height: 100vh;
}
h1 {
padding-top: 20px;
text-align: center;
}
h1,
label {
color: white;
}
input {
margin-bottom: 20px;
}
#inputs {
display: flex;
flex-direction: column;
margin: 20px 30%;
}
#game {
display: flex;
justify-content: center;
}
#start-game {
background-color: white;
padding: 2px;
margin-top: 20px;
cursor: pointer;
}
#game-area {
display: grid;
background-color: white;
text-align: center;
}
#start-game,
#game-area,
.mine-section {
border: 1px solid black;
}
.mine-section {
height: 20px;
width: 20px;
}