-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathminesweeper.css
142 lines (136 loc) · 2.27 KB
/
minesweeper.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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
html, button, input, select, textarea,
.pure-g [class *= "pure-u"] {
/* Set your content font stack here: */
font-family: "Segoe UI", Segoe, Tahoma, Geneva, sans-serif;
}
body {
background: #333;
}
.sidebar {
background: #EEE;
}
.header {
text-align: center;
}
#title {
font-size: 1.7em;
margin: 0;
padding: 0;
}
#tagline {
margin-top: 0.5em;
font-weight: 400;
font-size: 1.2em;
}
.sidebar ul {
list-style-type: none;
}
.nav-list {
margin: 1em 0 0.5em 0;
padding: 0;
text-align: center;
}
.nav-item {
display: inline;
width: 10em;
}
.nav-item input {
width: 2.5em;
margin-bottom: 0.5em;
-moz-appearance: textfield;
}
.button-flag {
color: #FFF;
background-color: #08F;
}
.button-reset {
color: #FFF;
background-color: #D00;
}
#grid {
text-align: center;
white-space: nowrap;
}
.cell {
width: 1.5em;
height: 1.5em;
border: 1px solid black;
margin: 0;
padding: 0;
font-size: 1.2em;
text-align: center;
vertical-align: bottom;
background: #EEE;
}
.cell:hover {
background: #CCC;
border-color: #333;
}
.cell:active {
background: #AAA;
}
.cell:focus {
outline: none;
}
#instructions {
color: #CCC;
}
#instructions h2 {
margin-left: 0.5em;
}
#credits {
font-size: 0.9em;
text-align: center;
margin: 2em 0;
color: #777;
}
#credits a {
color: #75a19c;
}
@media (min-width: 48em) {
.sidebar {
position: fixed;
top: 0;
bottom: 0;
border-right: 2px solid #999;
}
.header {
margin: 3em 2em 0 0.5em;
text-align: right;
}
.nav-item {
float: right;
clear: right;
text-align: right;
width: 10em;
margin: 0 2em 1em;
}
.nav-item input {
width: 2.5em;
margin-bottom: 0;
}
.content {
padding: 2em 3em 0;
margin-left: 25%;
}
#grid {
text-align: left;
}
.cell {
font-size: 1.4em;
width: 1.8em;
height: 1.8em;
}
#instructions h2 {
margin-left: 0;
}
#credits {
text-align: left;
margin-left: 25%;
}
}