-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
95 lines (90 loc) · 1.87 KB
/
styles.css
File metadata and controls
95 lines (90 loc) · 1.87 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
/* styles.css */
body {
font-family: 'Merienda', cursive;
text-align: center;
margin: auto;
min-height: 100vh;
background: linear-gradient(to bottom right, rgba(0, 183, 255, 0.527), rgba(240, 140, 190, 0.452));
}
.container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
#game-board, #reveal {
display: flex;
flex-wrap: wrap;
justify-content: center;
width: 530px;
}
.title {
font-size: 50px;
margin-top: 20px;
padding: 20px;
width: 530px;
}
.card {
display: flex;
justify-content: center;
align-items: center;
width: 95px;
height: 120px;
border: 1px solid #000;
margin: 5px;
text-align: center;
font-size: 300%;
line-height: 100px;
cursor: pointer;
}
.number {
width: 57px;
height: 57px;
border: 1px solid #000;
margin: 2px;
text-align: center;
line-height: 30px;
cursor: pointer;
}
.word, .tried-letters {
width: 100%; /* Adjust as needed */
font-size: 50px;
}
.row {
display: flex;
justify-content: space-between;
width: 100%;
}
.disabled {
pointer-events: none;
opacity: 0.5;
}
input {
font-size: 50px;
}
#confetti {
position: absolute;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
pointer-events: none;
overflow-clip-margin: content-box;
overflow-x: clip;
overflow-y: clip;
font-family: sans-serif;
text-wrap: nowrap;
white-space-collapse: collapse;
z-index: 1000;
}
@keyframes moveAround {
0% { transform: translate(-50%, 0); }
25% { transform: translate(50%, 0); }
50% { transform: translate(50%, 100%) rotateY(180deg); }
75% { transform: translate(-50%, 100%) rotateY(180deg); }
100% { transform: translate(-50%, 0); }
}
.animated-image {
position: absolute;
animation: moveAround 5s linear infinite;
}