Skip to content

Commit 5eb1251

Browse files
committed
initial commit
0 parents  commit 5eb1251

23 files changed

+4211
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Watch the [YouTube video](https://www.youtube.com/watch?v=EOaPb9wrgDY) first for context.
2+
3+
This code is mega bad and super rushed, don't waste your time trying to understand it.

constants.js

Lines changed: 131 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.css

Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
1+
/* body {
2+
padding-top: 10px;
3+
} */
4+
5+
#keyboard {
6+
margin-top: 10px;
7+
margin-left: auto;
8+
margin-right: auto;
9+
width: 510px;
10+
}
11+
12+
#header {
13+
/* margin-left: auto;
14+
margin-right: auto;
15+
width: 900px; */
16+
text-align: center;
17+
padding-top: 10px;
18+
margin-bottom: -5px;
19+
}
20+
21+
#text-box {
22+
margin: auto;
23+
width: 510;
24+
/* text-align: center; */
25+
font-size: 20px;
26+
min-height: 270px;
27+
}
28+
29+
#key {
30+
height: 36px;
31+
}
32+
33+
#row2 {
34+
max-width: 420px;
35+
margin-top: -25px;
36+
margin-left: 10px
37+
}
38+
39+
#row3 {
40+
max-width: 420px;
41+
margin-top: -25px;
42+
/* margin-left: 30px; */
43+
}
44+
45+
.compact.ui.button.key {
46+
height: 40px;
47+
width: 45px;
48+
margin-right: 0px;
49+
}
50+
51+
.compact.ui.button.space {
52+
height: 40px;
53+
width: 414px;
54+
margin-right: 0px;
55+
}
56+
57+
.compact.ui.button.delete {
58+
height: 40px;
59+
width: 93;
60+
margin-right: 0px;
61+
}
62+
63+
.item.option {
64+
cursor: pointer;
65+
}
66+
67+
.item.option:hover {
68+
color: black;
69+
}
70+
71+
.item.active-option {
72+
color: black;
73+
}
74+
75+
#row-2 {
76+
margin-top: 3px;
77+
margin-left: 10px;
78+
}
79+
80+
#row-3 {
81+
margin-top: 3px;
82+
margin-left: 35px;
83+
}
84+
85+
#row-4 {
86+
margin-top: 3px;
87+
}
88+
89+
#layout-selector-div {
90+
margin-top: 13px;
91+
margin-left: auto;
92+
margin-right: auto;
93+
width: 510px;
94+
}
95+
96+
#layout-selector {
97+
/* width: 150px; */
98+
}
99+
100+
#card-footer {
101+
font-size: 14px;
102+
}
103+
104+
#info-message {
105+
width: 510px;
106+
margin-left: auto;
107+
margin-right: auto;
108+
}
109+
110+
#restart-icon {
111+
margin-top: 2px;
112+
cursor: pointer;
113+
}
114+
115+
#restart-icon:hover {
116+
color: black;
117+
}
118+
119+
#delete-key {
120+
margin-left: -6px;
121+
margin-right: -100px;
122+
margin-top: -3px;
123+
font-size: 37.5px;
124+
color: #c7c7c7;
125+
}
126+
127+
#status-text {
128+
cursor: default;
129+
}
130+
131+
#text-content {
132+
font-family: 'Courier New', Courier, monospace;
133+
}
134+
135+
.underline {
136+
text-decoration: underline;
137+
}
138+
139+
.untyped-text {
140+
color: gray;
141+
}
142+
143+
.typed-text {
144+
color: black
145+
}
146+
147+
.wrong-text {
148+
color: red;
149+
}
150+
151+
.extra-text {
152+
color: darkred;
153+
}
154+
155+
#statistics-div {
156+
margin-left: auto;
157+
margin-right: auto;
158+
margin-top: 10px;
159+
width: 300px;
160+
}
161+
162+
.hidden {
163+
display: none;
164+
}

0 commit comments

Comments
 (0)