-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
82 lines (72 loc) · 1.35 KB
/
styles.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
75
76
77
78
79
80
81
82
* {
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
background-color: #1a1a2e;
color: #ffffff;
font-family: 'Arial', sans-serif;
}
.container {
background-color: #16213e;
padding: 2rem;
border-radius: 1rem;
width: 700px;
max-width: 90%;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
h1 {
text-align: center;
margin-bottom: 1.5rem;
color: #e94560;
}
.timer {
position: absolute;
top: 2rem;
left: 50%;
transform: translateX(-50%);
font-size: 3rem;
color: #ffadad;
font-weight: bold;
}
.quote-display {
margin-bottom: 1rem;
font-size: 1.5rem;
min-height: 3rem;
color: #e0e0e0;
}
.quote-input {
background-color: #0f3460;
border: 2px solid #533483;
outline: none;
width: 100%;
height: 8rem;
margin: auto;
resize: none;
padding: .5rem 1rem;
font-size: 1.2rem;
color: #e0e0e0;
border-radius: .5rem;
transition: border-color 0.3s, background-color 0.3s;
}
.quote-input:focus {
border-color: #e94560;
background-color: #1a1a2e;
}
.scoreboard {
text-align: center;
margin-top: 2rem;
font-size: 2.5rem;
color: #ffadad;
}
.correct {
color: #4caf50;
}
.incorrect {
color: #ff3f34;
text-decoration: underline;
}