-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
110 lines (86 loc) · 1.41 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
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
*, *::before, *::after {
box-sizing: border-box;
font-family: "Courier New", Courier, monospace;
}
body {
padding: 0;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
width: 100vw;
height: 100vh;
background-color: #333;
}
#container {
width: 800px;
max-width: 80%;
background-color: white;
padding: 10px;
border-radius: 5px;
box-shadow: 0 0 10px 2px;
position: relative;
}
.btnGrid {
display: grid;
grid-template-columns: repeat(2, auto);
gap: 10px;
margin-top: 20px;
}
.btn {
background-color: hsl(200, 100%, 50%);
border: 1px solid hsl(200, 100%, 30%);
border-radius: 5px;
padding: 5px 10px;
color: white;
outline: none;
}
.btn:hover {
border-color: black;
}
#matchingGame {
width: 100%;
height: 500px;
overflow: auto;
}
#gameGrid {
margin-top: 20px;
width: 100%;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 15px;
}
#instructions {
text-align: center;
position: relative;
background-color: #DDD;
padding: 15px;
border-radius: 5px;
}
#instructionsText {
position: absolute;
margin-left: 20px;
margin-top: 20px;
}
.matchingCard {
width: 100px;
height: 100px;
image-rendering: pixelated;
}
#overhead {
position: absolute;
top: -70px;
width: 100%;
height: 50px;
display: flex;
left: 50%;
transform: translateX(-50%);
justify-content: center;
gap: 5px;
}
.heartIcon {
height: 50px;
width: 50px;
image-rendering: pixelated;
}