forked from GHolk/cjns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
keyExercise.css
95 lines (76 loc) · 1.46 KB
/
keyExercise.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
83
84
85
86
87
88
89
90
91
92
93
94
95
body, html { height: 100%; }
body { padding: 1em; }
div#questAlphabet {
font-size: 4em;
}
div#questAlphabet span {
font-family: monospace;
}
div#questAlphabet span.questCharacter {
display: block;
float: left;
width: 1.5em;
height: 1.5em;
font-weight: 700;
border: solid 0.1ex;
text-align: center;
margin-right: 1ex;
}
/*div#questAlphabet span {*/
div#keyboardMap {
font-size: 2.5em;
text-align: center;
width: 70%;
float: left;
}
#keyboardMap div {
margin: 0.5ex;
}
#keyboardMap span {
background-color: grey;
display: inline-block;
border: black outset 0.2ex;
width: 1em;
}
div#keyboardMap span.leftHand.foreFinger { background-color: #FF0; }
div#keyboardMap span.leftHand { background-color: #FF8; }
div#keyboardMap span.rightHand.foreFinger { background-color: #F55; }
div#keyboardMap span.rightHand { background-color: #FAA; }
div#keyboardMap span.hint, div#keyboardMap span.hint.foreFinger {
background-color: white;
}
div#keyboardMap span.press, div#keyboardMap span.press.foreFinger {
color: white;
background-color: #444;
}
div#chat {
background-color: #DDD;
float: left;
height: 100%;
overflow-y: scroll;
}
span.right{
border-bottom: green solid 0.4ex;
}
span.wrong{
border-bottom: red solid 0.4ex;
}
span.cursor{
border-bottom: grey solid 0.2ex;
}
#character {
display: none;
}
#inputBar {
position: fixed;
bottom: 0;
right: 0;
}
hr {
margin-top: 2em;
border: 0.2ex solid;
}
#menu {
text-align: right;
padding-right: 1em;
}