generated from codersforcauses/beginner-2023S
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
78 lines (63 loc) · 1.16 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
body {
font-family: 'Arial', sans-serif;
display: flex;
flex-direction: column;
align-items: center;
height: 500vh;
margin: 0;
background-color: #93a7e6;
}
.game-header {
margin-top: 20px;
}
.game-header h1 {
text-align: center;
color: #333;
}
.ew-box {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 80%;
width: 16rem;
height: 10rem;
margin-bottom: 2rem;
padding: 20px;
background-color: #efeaea;
border: 2px solid #ddd;
border-radius: 10px;
position: relative;
}
.slots-container {
display: flex;
justify-content: center;
margin-bottom: 20px;
position: static;
margin-top: 280px;
}
.slot {
width: 50px;
height: 50px;
margin: 0 5px;
background-color: #ccc;
background-image: #ccc;
background-size: cover;
background-repeat: no-repeat;
}
.ew-box-item {
width: 50px;
height: 50px;
background-color: #0a0606;
border: 1px solid #111111;
border-radius: 5px;
cursor: pointer;
margin: 20px;
position: static;
}
.ew-box-item, .slot {
transition: transform 0.2s ease-in-out;
}
.ew-box-item:hover, .slot:hover {
transform: scale(1.1);
}