-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
86 lines (75 loc) · 1.31 KB
/
styles.css
File metadata and controls
86 lines (75 loc) · 1.31 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #000000;
min-height: 100vh;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
font-family: "Roboto", sans-serif;
}
.game-container {
min-width: 544px;
max-width: 544px;
}
.game-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 32px;
}
.stats {
color: #ffffff;
font-size: 16px;
}
.cards-grid {
width: 100%;
display: flex;
flex-wrap: wrap;
gap: 5px;
}
.card {
width: calc(25% - 5px);
aspect-ratio: 1;
background-color: #8234e0;
border: 2px solid #5a0caf;
border-radius: 12px;
background-image: url(./assets/lines.svg);
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
.revealed {
background-color: #ffffff;
border-color: #dadada;
cursor: not-allowed;
}
.card-emoji {
font-size: 40px;
display: none;
}
.revealed .card-emoji {
display: block;
}
.button {
width: 100%;
height: 52px;
background-color: #8234e9;
color: #ffffff;
font-weight: 500;
font-size: 16px;
border-radius: 7px;
border: 2px solid #5a0caf;
cursor: pointer;
font-family: "Roboto", sans-serif;
transition: background-color 0.3s;
margin-top: 32px;
}
.button:hover {
background-color: #7029d6;
}