This repository has been archived by the owner on Dec 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
126 lines (104 loc) · 1.73 KB
/
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
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
html,head,body {
padding: 0;
margin: 0;
}
body {
font-family: calibri, helvetica, arial, sans-serif;
}
#playing-area {
display: grid;
margin-top: 50px;
}
.grid-15 {
grid-template-rows: repeat(15, 1fr);
grid-template-columns: repeat(15, 1fr);
width: 750px;
height: 750px;
margin-right: auto;
margin-left: auto;
}
.grid-30 {
grid-template-rows: repeat(30, 1fr);
grid-template-columns: repeat(30, 1fr);
width: 750px;
height: 750px;
margin-left: 240px;
}
.grid-45 {
grid-template-rows: repeat(45, 1fr);
grid-template-columns: repeat(45, 1fr);
width: 750px;
height: 750px;
margin-left: 190px;
}
.button {
-webkit-transition-duration: 0.4s; /* Safari */
transition-duration: 0.4s;
background-color: white;
color: red;
display: block;
margin: auto;
margin-top: 300px;
padding: 25px;
}
.button:hover {
background-color: red; /* Green */
color: white;
}
#speed {
margin-top: 25px;
}
.cell {
background-color: black;
border: 5px solid white;
min-width: 20px;
min-height: 20px;
max-width: 30px;
max-height: 30px;
}
.flag {
background-color: white;
background: url(flag.svg);
}
.flagged {
background-color: white;
background: url(flag2.svg);
}
.one {
background-color: blue;
}
.two {
background-color: green;
}
.three {
background-color: red;
}
.four {
background-color: yellow;
}
.five {
background-color: orange;
}
.six {
background-color: #00ab36;
}
.seven {
background-color: #de2007;
}
.eight {
background-color: #0ef208;
}
.revealed {
background-color: white;
}
.mine {
background-color: white;
background: url(mine.svg);
}
#waiting {
border: 5px solid red;
margin: 100px 300px;
text-align: center;
font-size: xx-large;
padding: 10px;
}