-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
77 lines (69 loc) · 1.24 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
:root {
--bkgr: #eee;
--text: hsl(0, 50%, 50%);
--border: hsl(40, 100%, 27%);
}
* {
box-sizing: border-box;
}
body {
background: var(--bkgr);
font-family: 'Open Sans', Arial, 'Helvetica Neue', Helvetica, sans-serif;
}
h1 {
color: var(--text);
font-family: Georgia, 'Times New Roman', Times, serif;
font-size: 48px;
margin-bottom: 0;
text-align: center;
}
div#score-holder {
color: var(--text);
font-size: 32px;
float: right;
width: 7em;
}
#game-grid {
clear: both;
margin: 100px auto 0 auto;
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-gap: 2px;
position: relative;
width: 500px;
}
.game-cell {
align-items: center;
border: 2px solid var(--border);
border-radius: 10px;
display: grid;
font-size: 64px;
height: 120px;
justify-content: center;
width: 120px;
}
#result {
border: 3px solid black;
border-radius: 12px;
display: none;
height: 400px;
left: 40px;
padding-top: 90px;
font-size: 72px;
position: absolute;
text-align: center;
top: 110px;
width: 540px;
z-index: 2;
}
#result button {
background: white;
border: 2px solid black;
border-radius: 8px;
color: #008;
font-size: 20px;
margin: 40px auto;
padding: 10px 0;
width: 12em;
z-index: 3;
}