-
Notifications
You must be signed in to change notification settings - Fork 28
/
el-glkote.css
384 lines (325 loc) · 6.82 KB
/
el-glkote.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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
/* GlkOte stylesheet for Lectrote
* Designed by Andrew Plotkin <[email protected]>
* <http://eblong.com/zarf/glk/glkote.html>
*
* This CSS stylesheet is in the public domain. Do whatever you want
* with it.
*/
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: none;
border: none;
}
::-webkit-scrollbar-thumb {
background: #F0F0E8;
-webkit-border-radius: 10px;
border-radius: 10px;
-webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.1);
}
.SepiaTheme ::-webkit-scrollbar-thumb {
background: #E4E4D8;
-webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.1);
}
.SlateTheme ::-webkit-scrollbar-thumb {
background: #585868;
-webkit-box-shadow: inset 0 0 4px rgba(255,255,255,0.2);
}
.DarkTheme ::-webkit-scrollbar-thumb {
background: #303010;
-webkit-box-shadow: inset 0 0 4px rgba(255,255,255,0.2);
}
::-webkit-scrollbar-track:hover {
background: #F8F8F0;
}
.SepiaTheme ::-webkit-scrollbar-track:hover {
background: #E8E8E0;
}
.SlateTheme ::-webkit-scrollbar-track:hover {
background: #525262;
}
.DarkTheme ::-webkit-scrollbar-track:hover {
background: #202010;
}
body.SepiaTheme {
background: #F4EDE1;
}
body.SlateTheme {
background: #4D4D4F;
}
body.DarkTheme {
background: black;
}
.SepiaTheme #content {
background: #F4EDE1;
}
.SlateTheme #content {
background: #4D4D4F;
}
.DarkTheme #content {
background: black;
}
#windowport {
width: 100%;
height: 100%;
}
#errorpane {
position: absolute;
top: 0px;
width: 100%;
background: #FFA0A0;
border-bottom: 3px solid #FF4040;
}
#errorpane.WarningPane {
background: #B0B0FF;
border-bottom: 3px solid #6060FF;
}
#errorpane:hover {
background: rgba(255, 160, 160, 0.5);
border-bottom: 3px solid rgba(255, 64, 64, 0.3);
}
#errorpane.WarningPane:hover {
background: rgba(176, 176, 255, 0.5);
border-bottom: 3px solid rgba(96, 96, 255, 0.3);
}
#errorcontent {
font-size: 1.1em;
padding: 1em;
text-align: center;
}
#loadingpane {
position: absolute;
width: 100%;
text-align: center;
top: 20%;
}
.WindowFrame {
/* This class provides the default background color of windows. You
can change that, but don't touch the position or margin. */
position: absolute;
margin: 0px;
background: white;
}
.SepiaTheme .WindowFrame {
background: #F4EDE1;
color: black;
}
.SlateTheme .WindowFrame {
background: #4D4D4F;
color: white;
}
.DarkTheme .WindowFrame {
background: black;
color: #FFF4EE;
}
.BufferWindow {
overflow: scroll; /* vertical scrollbar is mandatory */
overflow-x: hidden; /* but horizontal scrollbar is forbidden */
font-family: "Lora", Georgia, serif;
font-size: 15px;
line-height: 1.4;
padding: 10px 20px;
}
.BufferLine {
white-space: pre-wrap; /* required for spaces to work right */
}
.GridWindow {
background: #EEEBDD;
color: #864;
overflow: hidden;
font-family: "Source Code Pro", Monaco, Courier, monospace; /* necessary! */
font-size: 14px;
padding: 6px 20px;
}
.SepiaTheme .GridWindow {
background: #FFFFF4;
color: #864;
}
.SlateTheme .GridWindow {
background: #333333;
color: #DDDDEE;
}
.DarkTheme .GridWindow {
background: #432;
color: #DDDACC;
}
.GridLine {
white-space: pre; /* required for spaces to work right */
}
.InvisibleCursor {
/* This is a relic. It used to provide the padding below the last line
of text, but now it has no effect. It will go away at some point. */
position: relative;
}
.BufferLine:last-child {
/* This provides the margin below the last line of text (and the input
prompt). Without this, they'd be flush against the bottom of the
window, which would be ugly. Do not modify this CSS class. */
margin-bottom: 14px;
}
.HasNoInputField .BufferLine:last-child .BlankLineSpan {
/* If the last line in a buffer window is blank, and there is no
char/line input occurring, we suppress the blank line in the DOM.
(The div still exists, but it has no visible contents, so it
collapses.) This aids fixed-height buffer wins which contained
exactly the right number of lines. */
display: none;
}
.MorePrompt {
/* This describes the "More" prompt that flashes in the bottom right corner
of a window when it needs paging. */
font-weight: bold;
position: absolute;
background: #603010;
color: #FFFFCC;
opacity: 0.5;
padding: 2px 6px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
}
.SepiaTheme .MorePrompt {
background: #603010;
color: #FFFFCC;
}
.SlateTheme .MorePrompt {
background: #FDA;
color: #420;
}
.DarkTheme .MorePrompt {
background: #FDA;
color: #420;
}
.PreviousMark {
/* This describes the small horizontal mark that appears in a window
when it needs paging. */
position: absolute;
background: #B09888;
height: 2px;
width: 12px;
top: 0px;
right: 0px;
}
.Input {
/* This class mimicks the Style_input class. It also eliminates the
usual decoration of an <input> field, as much as possible. */
border: none;
margin: 0px;
padding: 0px;
outline-width: 0px;
outline-style: none;
background: none;
font-weight: bold;
color: #060;
}
.SepiaTheme .Input {
color: #040;
}
.SlateTheme .Input {
color: #DFD;
}
.DarkTheme .Input {
color: #CFC;
}
.BufferWindow .Input {
font-family: "Lora", Georgia, serif;
font-size: 15px;
}
.GridWindow .Input {
font-family: "Source Code Pro", Monaco, Courier, monospace; /* necessary! */
font-size: 14px;
}
/* The following are used for image alignment (in buffer windows). */
.ImageMarginLeft {
float: left;
margin-right: 0.5em;
}
.ImageMarginRight {
float: right;
margin-left: 0.5em;
}
.ImageInlineDown {
vertical-align: text-top;
}
.ImageInlineUp {
vertical-align: text-bottom;
}
.ImageInlineCenter {
vertical-align: middle;
}
.FlowBreak {
clear: both;
}
.GraphicsWindow canvas {
display: block;
background-color: white;
}
a {
color: #00E;
}
.SepiaTheme a {
color: #00E;
}
.SlateTheme a {
color: #BBF;
}
.DarkTheme a {
color: #AAF;
}
/* The following are the standard Glk styles. */
.Style_normal {
}
.Style_emphasized {
font-style: italic;
}
.Style_preformatted {
font-family: "Source Code Pro", Monaco, Courier, monospace;
}
.BufferWindow .Style_preformatted {
font-size: 0.9em;
}
.Style_header {
font-weight: bold;
}
.BufferWindow .Style_header {
font-size: 17px;
}
.Style_subheader {
font-weight: bold;
}
.Style_alert {
font-weight: bold;
}
.Style_note {
font-style: italic;
}
.Style_blockquote {
background: #FFF0C0;
}
.SepiaTheme .Style_blockquote {
background: #E4DDC0;
}
.SlateTheme .Style_blockquote {
background: #667;
}
.DarkTheme .Style_blockquote {
background: #404010;
}
.Style_input {
font-weight: bold;
color: #060;
}
.SepiaTheme .Style_input {
color: #040;
}
.SlateTheme .Style_input {
color: #DFD;
}
.DarkTheme .Style_input {
color: #CFC;
}
.Style_user1 {
}
.Style_user2 {
}
/* End of GlkOte default stylesheet. */