Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
102 lines (87 loc) · 1.69 KB
/
Copy pathstyle.css
File metadata and controls
102 lines (87 loc) · 1.69 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
* {
margin: 0;
padding: 0;
}
body {
background-color: rgb(14, 37, 92);
font-family: Montserrat, sans-serif;
position: relative;
font-weight: 300;
box-sizing: border-box;
}
.title {
font-family: Montserrat, sans-serif;
height: 10vh;
display: flex;
justify-content: center;
align-items: center;
color: white;
font-size: 2rem;
font-weight: 200;
margin-top: 20px;
}
.disable-screen {
position: fixed;
height: 100vh;
width: 100vw;
z-index: 3;
visibility: hidden;
}
.container {
height: 90vh;
width: 100vw;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-evenly;
align-items: center;
/* background-color: aqua; */
}
.card-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(3, 1fr);
grid-gap: 10px;
/* background-color: red; */
}
.tile {
background-color: rgb(50, 113, 185);
border-radius: 5px;
position: relative;
transition: all 0.1s ease-in-out;
box-shadow: 2px 2px 10px rgb(0, 0, 0, 0.4);
}
img {
height: 100px;
width: 100px;
padding: 30px 10px;
}
img.backside {
position: absolute;
left: 0;
visibility: hidden;
}
.tile-animation {
transform: scaleX(0);
}
.tile-remove {
transform: scaleX(0);
}
.score {
color: white;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-evenly;
border-radius: 10px;
font-size: 2rem;
width: 30%;
text-align: center;
}
.instructions,
.points {
box-shadow: 2px 2px 17px black;
padding: 20px;
border-radius: 5px;
background-color: rgb(22, 82, 160);
}