-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
78 lines (68 loc) · 1.31 KB
/
style.css
File metadata and controls
78 lines (68 loc) · 1.31 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
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Zen+Antique&display=swap");
* {
box-sizing: border-box;
}
body {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
background: linear-gradient( to left top, #d0a097, #b3a5c8);
font-family: "Poppins", sans-serif;
}
.container {
position: relative;
background-color: rgb(46, 44, 49);
font-size: 2.4rem;
font-weight: 600;
padding: 4rem;
border-radius: 0.5rem;
width: 1000px;
min-height: 600px;
max-width: 90%;
box-shadow: 1px 5px 6px rgb(80, 80, 80);
}
.container .type-Input {
margin-top: 4rem;
font-size: 3rem;
}
.timer {
position: absolute;
top: 2rem;
font-size: 5rem;
font-weight: bold;
color: #a4626e;
}
.type-display {
margin-bottom: 1rem;
margin-left: 1rem;
color: #fcf7ff;
}
.typeInput {
position: absolute;
bottom: 40px;
left: 50%;
transform: translateX(-50%);
background: transparent;
border: 2px solid #a4626e;
outline: none;
width: 80%;
height: 14rem;
margin: auto;
resize: none;
padding: 0.5rem 1rem;
border-radius: 0.5rem;
font-size: 1rem;
color: #fcf7ff;
}
.typeInput:focus {
border-color: #fcf7ff;
}
.correct {
color: #16534d;
}
.incorrect {
color: #d0a097;
text-decoration: underline;
}