-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
88 lines (78 loc) · 1.54 KB
/
Copy pathstyle.css
File metadata and controls
88 lines (78 loc) · 1.54 KB
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
body{
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
background-color: #010402;
box-sizing: border-box;
}
h1 {
text-align: center;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
font-size: 3em;
color: #4bc3b5;
margin: 50px 20px 20px;
}
#game {
box-sizing: border-box;
margin: 50px auto;
width: max-content;
display: grid;
grid-template-columns: repeat(4, 10em);
gap: 10px;
}
@media (max-width: 1000px) {
#game {
grid-template-columns: repeat(3, 6em);
gap: 10px;
}
}
#game div {
box-sizing: border-box;
border: 2px solid #4bc3b5;
height: 10em;
width: 100%;
cursor: pointer;
background-color: #111111;
transition: transform 0.2s;
}
@media (max-width: 1000px) {
#game div {
height: 6em;
}
}
#game div:hover{
transform: scale(1.05);
}
#winner-box{
visibility: hidden;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
height: 100%;
background-color: #4bc3b550;
backdrop-filter: blur(10px);
position: fixed;
top: 0%;
left: 0%;
}
#winner-box h2{
font-size: 2.2em;
margin: 20% 20px 0;
}
#restart {
box-sizing: border-box;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
font-size: 2em;
background-color: #4bc3b5;
color: #eeeeee;
border: none;
padding: 20px 75px;
margin: 40px 10px;
cursor: pointer;
transition: transform 0.2s;
}
#restart:hover{
color: #4bc3b5;
background-color: #010402;
transform: scale(1.02);
}