forked from lomesh2312/Echo-Typist
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
96 lines (83 loc) · 1.64 KB
/
styles.css
File metadata and controls
96 lines (83 loc) · 1.64 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', sans-serif;
background: linear-gradient(to right, #667eea, #764ba2);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.game-container {
background: rgba(255, 255, 255, 0.1);
border-radius: 20px;
padding: 30px 40px;
text-align: center;
backdrop-filter: blur(10px);
box-shadow: 0 8px 32px rgba(0,0,0,0.2);
width: 90%;
max-width: 500px;
}
h1 {
font-size: 2.5rem;
margin-bottom: 25px;
color: #ffffff;
}
button {
padding: 12px 28px;
font-size: 1.1rem;
background: #00c6ff;
color: white;
border: none;
border-radius: 10px;
cursor: pointer;
transition: 0.3s;
}
button:hover {
background: #007bff;
}
.word-box {
margin: 20px 0;
font-size: 1.8rem;
font-weight: bold;
color: #fff;
animation: fadeIn 0.4s ease;
}
input[type="text"] {
font-size: 1.2rem;
padding: 10px;
width: 90%;
max-width: 350px;
border-radius: 8px;
border: 2px solid #00c6ff;
background: rgba(255,255,255,0.2);
color: #fff;
margin-top: 10px;
text-align: center;
}
input::placeholder {
color: #ddd;
}
.status {
display: flex;
justify-content: space-between;
margin-top: 20px;
font-size: 1.2rem;
}
.hidden {
display: none;
}
#feedback {
margin-top: 15px;
font-size: 1.2rem;
font-weight: bold;
animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
from {opacity: 0;}
to {opacity: 1;}
}