-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.scss
110 lines (91 loc) · 1.69 KB
/
styles.scss
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
103
104
105
106
107
108
109
110
$cellColorUnc: grey;
html{
display: flex;
justify-content: center;
align-items: center;
background: #66C3FF;
color: #363732;
font-family: "Open Sans", sans-serif;
}
p, .timer{
font-size: large;
font-weight: bold;
}
.flagdiv{
display: flex;
justify-content: center;
align-items: center;
}
h1{
margin: 0;
padding: 0;
}
.title{
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.covered{
background: $cellColorUnc;
color: $cellColorUnc;
&:hover{
cursor: pointer;
}
}
table{
table-layout: fixed;
width: 500px;
height: 250px;
border: 5px solid black;
border-collapse: collapse;
}
td{
display: table-cell;
border: 1px solid black;
font-weight: bold;
// Prevents collapse of empty cells; all same width/height
&:empty::after{
content: "\00a0";
}
}
.flagButton{
display: flex;
justify-content: center;
align-items: center;
background-color: #363732;
border: 2px solid black;
width: 40px;
height: 40px;
margin: 10px;
text-align: center;
color: #DCE1E9;
font-weight: strong;
&:hover{
cursor: pointer;
};
}
.flagText{
text-align: center;
font-weight: bold;
}
// .bomb{
// background: black;
// }
.flagged{
background: blue;
color: blue;
};
.bombUncovered{
background: red;
}
.main{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.gameBoard{
width: 500px;
background-color: #DCE1E9;
}