forked from JoshuaGrams/steno-jig
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
138 lines (105 loc) · 2.34 KB
/
style.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
127
128
129
130
131
132
133
134
135
136
137
138
/* Reset Styles */
body, html {
margin: 0;
padding: 0;
}
/* Main Layout and Visual Styling of Block Elements */
body {
font: 15px Roboto, sans-serif;
}
.wrapper {
max-width: 44em;
margin: 0 auto;
padding: 1em;
}
.welcome-text {
max-width: 44em;
margin: 0 auto; /* Center it on screen */
text-align: center;
}
.form-section {
padding: 0.8em 1em;
margin: 0.5em 0;
border: 1px solid #333;
border-radius: 0.2em;
box-shadow: 0.1em 0.2em 0.4em #ECECEC;
}
/*
Form Controls
*/
input[type="number"] { width: 3.5em; }
input[type="number"][name="timeLimit"] { width: 2.5em; }
form.drill-options {
margin: 0.8em 0 0.1em 0;
box-sizing: border-box;
}
form.drill-options input,
form.drill-options button {
padding: 0.1em 0.6em;
margin: 0.5em 0.2em;
}
form.drill-options input[type=radio]:first-child + label {
margin-right: 1em;
}
form.drill-options input[type=radio] + label {
cursor: pointer;
}
a, a:visited {
color: #167EE8;
}
#lesson { font-size: 1.3em; }
.scroll-bounds {
margin-top: 1em;
margin-bottom: 0.3em;
overflow: hidden;
}
.scroll-margin { margin-left: 7em; }
.answer {
background: #ccc; display: block; height: 1.2em;
border: 1px solid #C2C2C2;
padding: 0.5em;
}
#answer:not(.answer) {
text-align: center;
}
.answer:focus {
outline: none;
border: 1px solid #A0A0A0;
}
.prompt { color: #666; }
.correct { background: #cfc; }
.incorrect { background: #fcc; }
.clock { font-size: 300%; text-align: center; }
.center { text-align: center; }
/* Configure these to tune the stroke display to your liking. */
/* Setting it to `smaller` usually means about 83% (1 / 1.2),
* but there's no standard. */
#strokes {
font-size: 14px;
font-weight: bold;
opacity: 1;
}
#strokes td {
background: #666;
border: thin solid black;
border-radius: 0.5ex;
padding: 0.25ex 0.33ex;
text-align: center;
}
#strokes .numberBar { height: 0.5em; margin: 0; padding: 0; }
#strokes td.wide { width: 2em; }
#strokes .leftVowel { transform: translate(+0.8em, 10%); }
#strokes .rightVowel { transform: translate(-0.8em, 10%); }
#strokes table tr td.pressed {
color: #400;
background: #dd4;
}
#strokes td.alt {
color: #444;
background: #999;
}
#strokes > * { vertical-align: top; }
#strokes span.big-slash { font-size: 300%; }
/* But don't change these ones */
#strokes .hide { display: none; }
#strokes table { display: inline-block; empty-cells: hide; }