-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
61 lines (54 loc) · 940 Bytes
/
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
body {
background-color: #1c1c1c;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
font-family: sans-serif;
color: white;
}
.start-btn {
cursor: pointer;
border: none;
padding: 12px 24px;
border-radius: 5px;
font-size: 14px;
letter-spacing: 1px;
transition: 0.3s;
background-color: #6c8ce2;
color: white;
}
.card {
background-color: #6c8ce2;
display: flex;
align-items: center;
justify-content: center;
}
.cards {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(2, 1fr);
gap: 40px 60px;
width: 80%;
height: 80%;
}
.card img {
width: 60%;
}
.hide {
display: none;
}
.win {
display: flex;
flex-direction: column;
}
@media (max-width: 900px) {
.cards {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(4, 1fr);
gap: 15px 15px;
width: 80%;
height: 80%;
}
}