-
Notifications
You must be signed in to change notification settings - Fork 1
/
grit.css
126 lines (103 loc) · 2.45 KB
/
grit.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
#words .active {
text-decoration: underline;
color: blue;
}
#words .active.error {
color: red;
}
#words .correct.error {
color: #AA0000;
}
#words .error {
color: #FF3333;
}
#words.finished {
color: #006600;
}
.symbols > div {
display: inline-block;
text-align: center;
vertical-align: center;
}
.symbols .symbol-enable {
width: 1.8em;
height: 1.8em;
margin: 2px;
border-color: gray;
border-style: solid;
border-width: 1px;
vertical-align: center;
}
.symbols .low-stat {
color: red;
}
.symbols .letter-accuracy {
margin: 2px;
}
.symbols div.active {
background-color: #AAAAFF;
}
.button {
background-color: #CCCCCC;
border-color: gray;
border-style: solid;
border-width: 1px;
padding: 4px;
margin: 4px;
cursor: pointer;
border-radius: 6px;
}
.button-wrapper {
margin: 4px;
}
#wrong-letter {
color: red;
margin-left: 10px;
font-size: 120%;
}
#twiddler-container {
display: flex;
}
#twiddler-display {
display: flex;
flex-direction: column;
}
.twiddler-row {
display: flex;
flex-direction: row;
justify-content: center;
}
.twiddler-cell {
width: 10px;
height: 18px;
margin: 4px;
border-radius: 4px;
background-color: #CCCCCC;
}
.twiddler-row:first-child .twiddler-cell { height: 10px; }
.twiddler-row:first-child .twiddler-cell:nth-child(2) { margin-top: 12px; }
.twiddler-row:first-child .twiddler-cell:nth-child(3) { margin-top: 12px; }
#twiddler-display.hidden {
display: none;
}
#twiddler-display.rotated .twiddler-cell {
width: 18px;
height: 10px;
}
#twiddler-display.rotated .twiddler-row:first-child .twiddler-cell { width: 10px; }
#twiddler-display.rotated .twiddler-row:first-child .twiddler-cell:nth-child(2) { margin-top: 4px; margin-left: 12px; }
#twiddler-display.rotated .twiddler-row:first-child .twiddler-cell:nth-child(3) { margin-top: 4px; margin-left: 12px; }
.twiddler-cell.active {
background-color: blue;
}
#twiddler-display.new-character .twiddler-cell.active {
background-color: purple;
}
#twiddler-display.rotated { flex-direction: row; }
#twiddler-display.rotated .twiddler-row { flex-direction: column-reverse; }
#twiddler-display.mirrored .twiddler-row { flex-direction: row-reverse; }
#twiddler-display.rotated.mirrored .twiddler-row { flex-direction: column; }
#twiddler-display.flipped { transform: scaleY(-1); }
#twiddler-display.rotated.flipped { transform: scaleX(-1); }
#dummy-input { margin-left: 6em; width: 3em; }
#dummy-input.hidden { display: none; }