midilib 2.0.4 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. checksums.yaml +7 -0
  2. data/README.rdoc +9 -4
  3. data/Rakefile +2 -6
  4. data/examples/from_scratch.rb +3 -5
  5. data/examples/measures_mbt.rb +4 -4
  6. data/examples/print_program_changes.rb +9 -9
  7. data/examples/reader2text.rb +188 -188
  8. data/examples/seq2text.rb +17 -17
  9. data/examples/split.rb +19 -19
  10. data/examples/strings.rb +14 -14
  11. data/examples/transpose.rb +31 -31
  12. data/html/IO.html +65 -169
  13. data/html/MIDI.html +138 -256
  14. data/html/MIDI/ActiveSense.html +89 -178
  15. data/html/MIDI/ChannelEvent.html +95 -183
  16. data/html/MIDI/ChannelPressure.html +105 -190
  17. data/html/MIDI/Clock.html +89 -178
  18. data/html/MIDI/Continue.html +89 -178
  19. data/html/MIDI/Controller.html +107 -192
  20. data/html/MIDI/Event.html +138 -222
  21. data/html/MIDI/IO.html +45 -157
  22. data/html/MIDI/IO/MIDIFile.html +596 -568
  23. data/html/MIDI/IO/SeqReader.html +272 -314
  24. data/html/MIDI/IO/SeqWriter.html +229 -305
  25. data/html/MIDI/KeySig.html +129 -211
  26. data/html/MIDI/MIDI.html +45 -154
  27. data/html/MIDI/MIDI/MIDI.html +45 -154
  28. data/html/MIDI/MIDI/MIDI/Array.html +87 -185
  29. data/html/MIDI/Marker.html +71 -170
  30. data/html/MIDI/Measure.html +95 -190
  31. data/html/MIDI/Measures.html +103 -193
  32. data/html/MIDI/MetaEvent.html +180 -253
  33. data/html/MIDI/NoteEvent.html +118 -204
  34. data/html/MIDI/NoteOff.html +95 -183
  35. data/html/MIDI/NoteOn.html +95 -183
  36. data/html/MIDI/PitchBend.html +106 -191
  37. data/html/MIDI/PolyPressure.html +106 -189
  38. data/html/MIDI/ProgramChange.html +105 -190
  39. data/html/MIDI/Realtime.html +98 -184
  40. data/html/MIDI/Sequence.html +246 -311
  41. data/html/MIDI/SongPointer.html +106 -191
  42. data/html/MIDI/SongSelect.html +105 -190
  43. data/html/MIDI/Start.html +89 -178
  44. data/html/MIDI/Stop.html +89 -178
  45. data/html/MIDI/SystemCommon.html +71 -170
  46. data/html/MIDI/SystemExclusive.html +108 -193
  47. data/html/MIDI/SystemReset.html +89 -178
  48. data/html/MIDI/Tempo.html +135 -213
  49. data/html/MIDI/TimeSig.html +135 -214
  50. data/html/MIDI/Track.html +217 -291
  51. data/html/MIDI/TuneRequest.html +98 -184
  52. data/html/MIDI/Utils.html +89 -189
  53. data/html/README_rdoc.html +237 -257
  54. data/html/TODO_rdoc.html +64 -139
  55. data/html/created.rid +14 -14
  56. data/html/css/fonts.css +167 -0
  57. data/html/{rdoc.css → css/rdoc.css} +265 -218
  58. data/html/fonts/Lato-Light.ttf +0 -0
  59. data/html/fonts/Lato-LightItalic.ttf +0 -0
  60. data/html/fonts/Lato-Regular.ttf +0 -0
  61. data/html/fonts/Lato-RegularItalic.ttf +0 -0
  62. data/html/fonts/SourceCodePro-Bold.ttf +0 -0
  63. data/html/fonts/SourceCodePro-Regular.ttf +0 -0
  64. data/html/images/add.png +0 -0
  65. data/html/images/arrow_up.png +0 -0
  66. data/html/images/delete.png +0 -0
  67. data/html/images/tag_blue.png +0 -0
  68. data/html/index.html +187 -169
  69. data/html/js/darkfish.js +41 -33
  70. data/html/js/jquery.js +4 -18
  71. data/html/js/navigation.js.gz +0 -0
  72. data/html/js/search.js +20 -5
  73. data/html/js/search_index.js +1 -1
  74. data/html/js/search_index.js.gz +0 -0
  75. data/html/js/searcher.js.gz +0 -0
  76. data/html/table_of_contents.html +1111 -498
  77. data/install.rb +43 -32
  78. data/lib/midilib/consts.rb +407 -407
  79. data/lib/midilib/event.rb +295 -294
  80. data/lib/midilib/info.rb +5 -5
  81. data/lib/midilib/io/midifile.rb +266 -267
  82. data/lib/midilib/io/seqreader.rb +106 -106
  83. data/lib/midilib/io/seqwriter.rb +59 -60
  84. data/lib/midilib/measure.rb +69 -69
  85. data/lib/midilib/sequence.rb +68 -70
  86. data/lib/midilib/track.rb +96 -102
  87. data/lib/midilib/utils.rb +15 -15
  88. data/test/event_equality.rb +50 -50
  89. data/test/test_event.rb +120 -122
  90. data/test/test_io.rb +35 -48
  91. data/test/test_sequence.rb +60 -60
  92. data/test/test_track.rb +154 -154
  93. data/test/test_varlen.rb +23 -25
  94. metadata +65 -57
@@ -6,40 +6,62 @@
6
6
  *
7
7
  */
8
8
 
9
+ /* vim: ft=css et sw=2 ts=2 sts=2 */
9
10
  /* Base Green is: #6C8C22 */
10
11
 
11
12
  * { padding: 0; margin: 0; }
12
13
 
13
14
  body {
14
- background: #efefef;
15
- font: 14px "Helvetica Neue", Helvetica, Tahoma, sans-serif;
16
- margin-left: 40px;
15
+ background: #fafafa;
16
+ font-family: Lato, sans-serif;
17
+ font-weight: 300;
17
18
  }
18
- body.file-popup {
19
- font-size: 90%;
20
- margin-left: 0;
19
+
20
+ h1 span,
21
+ h2 span,
22
+ h3 span,
23
+ h4 span,
24
+ h5 span,
25
+ h6 span {
26
+ position: relative;
27
+
28
+ display: none;
29
+ padding-left: 1em;
30
+ line-height: 0;
31
+ vertical-align: baseline;
32
+ font-size: 10px;
21
33
  }
22
34
 
23
- h1 {
24
- font-size: 300%;
25
- text-shadow: rgba(135,145,135,0.65) 2px 2px 3px;
26
- color: #6C8C22;
35
+ h1 span { top: -1.3em; }
36
+ h2 span { top: -1.2em; }
37
+ h3 span { top: -1.0em; }
38
+ h4 span { top: -0.8em; }
39
+ h5 span { top: -0.5em; }
40
+ h6 span { top: -0.5em; }
41
+
42
+ h1:hover span,
43
+ h2:hover span,
44
+ h3:hover span,
45
+ h4:hover span,
46
+ h5:hover span,
47
+ h6:hover span {
48
+ display: inline;
27
49
  }
28
- h2,h3,h4 { margin-top: 1.5em; }
29
50
 
30
51
  :link,
31
52
  :visited {
32
53
  color: #6C8C22;
33
54
  text-decoration: none;
34
55
  }
56
+
35
57
  :link:hover,
36
58
  :visited:hover {
37
59
  border-bottom: 1px dotted #6C8C22;
38
60
  }
39
61
 
62
+ code,
40
63
  pre {
41
- background: #ddd;
42
- padding: 0.5em 0;
64
+ font-family: "Source Code Pro", Monaco, monospace;
43
65
  }
44
66
 
45
67
  /* @group Generic Classes */
@@ -50,10 +72,13 @@ pre {
50
72
 
51
73
  #search-field {
52
74
  width: 98%;
53
- background: #eee;
75
+ background: white;
54
76
  border: none;
55
77
  height: 1.5em;
56
78
  -webkit-border-radius: 4px;
79
+ -moz-border-radius: 4px;
80
+ border-radius: 4px;
81
+ text-align: left;
57
82
  }
58
83
  #search-field:focus {
59
84
  background: #f1edba;
@@ -89,44 +114,31 @@ pre {
89
114
  /* @end */
90
115
 
91
116
  /* @group Index Page, Standalone file pages */
92
- .indexpage ul {
93
- line-height: 160%;
117
+ .table-of-contents ul {
118
+ margin: 1em;
94
119
  list-style: none;
95
120
  }
96
- .indexpage ul :link,
97
- .indexpage ul :visited {
98
- font-size: 16px;
99
- }
100
121
 
101
- .indexpage li {
102
- padding-left: 20px;
122
+ .table-of-contents ul ul {
123
+ margin-top: 0.25em;
103
124
  }
104
125
 
105
- .indexpage ul > li {
106
- background: url(images/bullet_black.png) no-repeat left 4px;
107
- }
108
- .indexpage li.method {
109
- background: url(images/plugin.png) no-repeat left 4px;
110
- }
111
- .indexpage li.module {
112
- background: url(images/package.png) no-repeat left 4px;
113
- }
114
- .indexpage li.class {
115
- background: url(images/ruby.png) no-repeat left 4px;
116
- }
117
- .indexpage li.file {
118
- background: url(images/page_white_text.png) no-repeat left 4px;
126
+ .table-of-contents ul :link,
127
+ .table-of-contents ul :visited {
128
+ font-size: 16px;
119
129
  }
120
- .indexpage li li {
121
- background: url(images/tag_blue.png) no-repeat left 4px;
130
+
131
+ .table-of-contents li {
132
+ margin-bottom: 0.25em;
122
133
  }
123
- .indexpage li .toc-toggle {
134
+
135
+ .table-of-contents li .toc-toggle {
124
136
  width: 16px;
125
137
  height: 16px;
126
138
  background: url(images/add.png) no-repeat;
127
139
  }
128
140
 
129
- .indexpage li .toc-toggle.open {
141
+ .table-of-contents li .toc-toggle.open {
130
142
  background: url(images/delete.png) no-repeat;
131
143
  }
132
144
 
@@ -134,14 +146,32 @@ pre {
134
146
 
135
147
  /* @group Top-Level Structure */
136
148
 
137
- #metadata {
149
+ nav {
138
150
  float: left;
139
151
  width: 260px;
152
+ font-family: Helvetica, sans-serif;
153
+ font-size: 14px;
140
154
  }
141
155
 
142
- #documentation {
143
- margin: 2em 1em 5em 300px;
156
+ main {
157
+ display: block;
158
+ margin: 0 2em 5em 260px;
159
+ padding-left: 20px;
144
160
  min-width: 340px;
161
+ font-size: 16px;
162
+ }
163
+
164
+ main h1,
165
+ main h2,
166
+ main h3,
167
+ main h4,
168
+ main h5,
169
+ main h6 {
170
+ font-family: Helvetica, sans-serif;
171
+ }
172
+
173
+ .table-of-contents main {
174
+ margin-left: 2em;
145
175
  }
146
176
 
147
177
  #validator-badges {
@@ -152,58 +182,76 @@ pre {
152
182
 
153
183
  /* @end */
154
184
 
155
- /* @group Metadata Section */
156
- #metadata .section {
157
- background-color: #dedede;
158
- -moz-border-radius: 5px;
159
- -webkit-border-radius: 5px;
160
- border: 1px solid #aaa;
161
- margin: 0 8px 8px;
185
+ /* @group navigation */
186
+ nav {
187
+ margin-bottom: 1em;
188
+ }
189
+
190
+ nav .nav-section {
191
+ margin-top: 2em;
192
+ border-top: 2px solid #aaa;
162
193
  font-size: 90%;
163
194
  overflow: hidden;
164
195
  }
165
- #metadata h3.section-header {
196
+
197
+ nav h2 {
166
198
  margin: 0;
167
- padding: 2px 8px;
168
- background: #ccc;
169
- color: #666;
170
- -moz-border-radius-topleft: 4px;
171
- -moz-border-radius-topright: 4px;
172
- -webkit-border-top-left-radius: 4px;
173
- -webkit-border-top-right-radius: 4px;
174
- border-bottom: 1px solid #aaa;
199
+ padding: 2px 8px 2px 8px;
200
+ background-color: #e8e8e8;
201
+ color: #555;
202
+ font-size: 125%;
203
+ text-align: center;
175
204
  }
176
- #metadata #home-section h3.section-header {
177
- border-bottom: 0;
205
+
206
+ nav h3,
207
+ #table-of-contents-navigation {
208
+ margin: 0;
209
+ padding: 2px 8px 2px 8px;
210
+ text-align: right;
211
+ background-color: #e8e8e8;
212
+ color: #555;
178
213
  }
179
214
 
180
- #metadata ul,
181
- #metadata dl,
182
- #metadata p {
183
- padding: 8px;
215
+ nav ul,
216
+ nav dl,
217
+ nav p {
218
+ padding: 4px 8px 0;
184
219
  list-style: none;
185
220
  }
186
221
 
187
- #file-metadata {
188
- margin-top: 2em;
222
+ #project-navigation .nav-section {
223
+ margin: 0;
224
+ border-top: 0;
189
225
  }
190
226
 
191
- #file-metadata ul {
192
- padding-left: 28px;
193
- list-style-image: url(images/page_green.png);
227
+ #home-section h2 {
228
+ text-align: center;
194
229
  }
195
230
 
196
- dl.svninfo {
197
- color: #666;
198
- margin: 0;
199
- }
200
- dl.svninfo dt {
231
+ #table-of-contents-navigation {
232
+ font-size: 1.2em;
201
233
  font-weight: bold;
234
+ text-align: center;
235
+ }
236
+
237
+ #search-section {
238
+ margin-top: 0;
239
+ border-top: 0;
240
+ }
241
+
242
+ #search-field-wrapper {
243
+ border-top: 1px solid #aaa;
244
+ border-bottom: 1px solid #aaa;
245
+ padding: 3px 8px;
246
+ background-color: #e8e8e8;
247
+ color: #555;
202
248
  }
203
249
 
204
250
  ul.link-list li {
205
251
  white-space: nowrap;
252
+ line-height: 1.4em;
206
253
  }
254
+
207
255
  ul.link-list .type {
208
256
  font-size: 8px;
209
257
  text-transform: uppercase;
@@ -213,102 +261,125 @@ ul.link-list .type {
213
261
  -webkit-border-radius: 5px;
214
262
  }
215
263
 
264
+ .calls-super {
265
+ background: url(images/arrow_up.png) no-repeat right center;
266
+ }
267
+
216
268
  /* @end */
217
269
 
218
- /* @group Class Metadata Section */
219
- #class-metadata {
220
- margin-top: 2em;
270
+ /* @group Documentation Section */
271
+ main {
272
+ color: #333;
221
273
  }
222
- /* @end */
223
274
 
224
- /* @group Project Metadata Section */
225
- #project-metadata {
226
- margin-top: 2em;
275
+ main > h1:first-child,
276
+ main > h2:first-child,
277
+ main > h3:first-child,
278
+ main > h4:first-child,
279
+ main > h5:first-child,
280
+ main > h6:first-child {
281
+ margin-top: 0px;
227
282
  }
228
283
 
229
- #project-metadata .section {
230
- border: 1px solid #aaa;
284
+ main sup {
285
+ vertical-align: super;
286
+ font-size: 0.8em;
231
287
  }
232
- #project-metadata h3.section-header {
233
- border-bottom: 1px solid #aaa;
234
- position: relative;
288
+
289
+ /* The heading with the class name */
290
+ main h1[class] {
291
+ margin-top: 0;
292
+ margin-bottom: 1em;
293
+ font-size: 2em;
294
+ color: #6C8C22;
235
295
  }
236
296
 
237
- #project-metadata form {
238
- color: #777;
239
- background: #ccc;
297
+ main h1 {
298
+ margin: 2em 0 0.5em;
299
+ font-size: 1.7em;
240
300
  }
241
301
 
242
- /* @end */
302
+ main h2 {
303
+ margin: 2em 0 0.5em;
304
+ font-size: 1.5em;
305
+ }
243
306
 
244
- /* @group Documentation Section */
245
- .description {
246
- font-size: 100%;
247
- color: #333;
307
+ main h3 {
308
+ margin: 2em 0 0.5em;
309
+ font-size: 1.2em;
248
310
  }
249
311
 
250
- .description p {
251
- margin: 1em 0.4em;
312
+ main h4 {
313
+ margin: 2em 0 0.5em;
314
+ font-size: 1.1em;
252
315
  }
253
316
 
254
- .description li p {
255
- margin: 0;
317
+ main h5 {
318
+ margin: 2em 0 0.5em;
319
+ font-size: 1em;
256
320
  }
257
321
 
258
- .description ol,
259
- .description ul {
260
- margin-left: 1.5em;
322
+ main h6 {
323
+ margin: 2em 0 0.5em;
324
+ font-size: 1em;
261
325
  }
262
- .description ol li,
263
- .description ul li {
326
+
327
+ main p {
328
+ margin: 0 0 0.5em;
264
329
  line-height: 1.4em;
265
330
  }
266
331
 
267
- .note-list {
268
- margin: 8px 0;
332
+ main pre {
333
+ margin: 1.2em 0.5em;
334
+ padding: 1em;
335
+ font-size: 0.8em;
269
336
  }
270
337
 
271
- .label-list {
272
- margin: 8px 1.5em;
273
- border: 1px solid #ccc;
338
+ main hr {
339
+ margin: 1.5em 1em;
340
+ border: 2px solid #ddd;
274
341
  }
275
- .description .label-list {
276
- font-size: 14px;
342
+
343
+ main blockquote {
344
+ margin: 0 2em 1.2em 1.2em;
345
+ padding-left: 0.5em;
346
+ border-left: 2px solid #ddd;
277
347
  }
278
348
 
279
- .note-list dt {
280
- font-weight: bold;
349
+ main ol,
350
+ main ul {
351
+ margin: 1em 2em;
281
352
  }
282
- .note-list dd {
283
- padding: 0 12px;
353
+
354
+ main li > p {
355
+ margin-bottom: 0.5em;
284
356
  }
285
357
 
286
- .label-list dt {
287
- padding: 2px 4px;
288
- font-weight: bold;
289
- background: #ddd;
358
+ main dl {
359
+ margin: 1em 0.5em;
290
360
  }
291
- .label-list dd {
292
- padding: 2px 12px;
361
+
362
+ main dt {
363
+ margin-bottom: 0.5em;
364
+ font-weight: bold;
293
365
  }
294
- .label-list dd + dt,
295
- .note-list dd + dt {
296
- margin-top: 0.7em;
366
+
367
+ main dd {
368
+ margin: 0 1em 1em 0.5em;
297
369
  }
298
370
 
299
- #documentation .section {
300
- font-size: 90%;
371
+ main header h2 {
372
+ margin-top: 2em;
373
+ border-width: 0;
374
+ border-top: 4px solid #bbb;
375
+ font-size: 130%;
301
376
  }
302
377
 
303
- #documentation h2.section-header {
304
- margin-top: 1em;
305
- padding: 0.25em 0.5em;
306
- background: #ccc;
307
- color: #333;
308
- font-size: 175%;
309
- border: 1px solid #bbb;
310
- -moz-border-radius: 3px;
311
- -webkit-border-radius: 3px;
378
+ main header h3 {
379
+ margin: 2em 0 1.5em;
380
+ border-width: 0;
381
+ border-top: 3px solid #bbb;
382
+ font-size: 120%;
312
383
  }
313
384
 
314
385
  .documentation-section-title {
@@ -317,47 +388,35 @@ ul.link-list .type {
317
388
  .documentation-section-title .section-click-top {
318
389
  position: absolute;
319
390
  top: 6px;
320
- right: 12px;
391
+ left: 12px;
321
392
  font-size: 10px;
322
393
  color: #9b9877;
323
394
  visibility: hidden;
324
- padding-right: 0.5px;
395
+ padding-left: 0.5px;
325
396
  }
326
397
 
327
398
  .documentation-section-title:hover .section-click-top {
328
399
  visibility: visible;
329
400
  }
330
401
 
331
- #documentation h3.section-header {
332
- margin-top: 1em;
333
- padding: 0.25em 0.5em;
334
- background-color: #dedede;
335
- color: #333;
336
- font-size: 150%;
337
- border: 1px solid #bbb;
338
- -moz-border-radius: 3px;
339
- -webkit-border-radius: 3px;
340
- }
341
-
342
- #constants-list > dl,
343
- #attributes-list > dl {
402
+ .constants-list > dl {
344
403
  margin: 1em 0 2em;
345
404
  border: 0;
346
405
  }
347
- #constants-list > dl dt,
348
- #attributes-list > dl dt {
406
+
407
+ .constants-list > dl dt {
408
+ margin-bottom: 0.75em;
349
409
  padding-left: 0;
350
- font-weight: bold;
351
- font-family: Monaco, "Andale Mono";
352
- background: inherit;
410
+ font-family: "Source Code Pro", Monaco, monospace;
411
+ font-size: 110%;
353
412
  }
354
- #constants-list > dl dt a,
355
- #attributes-list > dl dt a {
413
+
414
+ .constants-list > dl dt a {
356
415
  color: inherit;
357
416
  }
358
- #constants-list > dl dd,
359
- #attributes-list > dl dd {
360
- margin: 0 0 1em 0;
417
+
418
+ .constants-list > dl dd {
419
+ margin: 0 0 2em 0;
361
420
  padding: 0;
362
421
  color: #666;
363
422
  }
@@ -381,88 +440,77 @@ ul.link-list .type {
381
440
 
382
441
  /* @group Method Details */
383
442
 
384
- #documentation .method-source-code {
443
+ main .method-source-code {
385
444
  display: none;
386
445
  }
387
446
 
388
- #documentation .method-detail {
389
- margin: 0.5em 0;
390
- padding: 0.5em 0;
447
+ main .method-description .method-calls-super {
448
+ color: #333;
449
+ font-weight: bold;
450
+ }
451
+
452
+ main .method-detail {
453
+ margin-bottom: 2.5em;
391
454
  cursor: pointer;
392
455
  }
393
- #documentation .method-detail:hover {
394
- background-color: #f1edba;
456
+
457
+ main .method-detail:target {
458
+ margin-left: -10px;
459
+ border-left: 10px solid #f1edba;
395
460
  }
396
- #documentation .method-heading {
461
+
462
+ main .method-heading {
397
463
  position: relative;
398
- padding: 2px 4px 0 20px;
399
- font-size: 125%;
464
+ font-family: "Source Code Pro", Monaco, monospace;
465
+ font-size: 110%;
400
466
  font-weight: bold;
401
467
  color: #333;
402
- background: url(images/brick.png) no-repeat left bottom;
403
468
  }
404
- #documentation .method-heading :link,
405
- #documentation .method-heading :visited {
469
+ main .method-heading :link,
470
+ main .method-heading :visited {
406
471
  color: inherit;
407
472
  }
408
- #documentation .method-click-advice {
473
+ main .method-click-advice {
409
474
  position: absolute;
410
475
  top: 2px;
411
476
  right: 5px;
412
- font-size: 10px;
477
+ font-size: 12px;
413
478
  color: #9b9877;
414
479
  visibility: hidden;
415
480
  padding-right: 20px;
416
481
  line-height: 20px;
417
482
  background: url(images/zoom.png) no-repeat right top;
418
483
  }
419
- #documentation .method-heading:hover .method-click-advice {
484
+ main .method-heading:hover .method-click-advice {
420
485
  visibility: visible;
421
486
  }
422
487
 
423
- #documentation .method-alias .method-heading {
424
- color: #666;
425
- background: url(images/brick_link.png) no-repeat left bottom;
426
- }
427
-
428
- #documentation .method-description,
429
- #documentation .aliases {
430
- margin: 0 20px;
488
+ main .method-alias .method-heading {
431
489
  color: #666;
432
490
  }
433
491
 
434
- #documentation .method-description p,
435
- #documentation .aliases p {
436
- line-height: 1.2em;
492
+ main .method-description,
493
+ main .aliases {
494
+ margin-top: 0.75em;
495
+ color: #333;
437
496
  }
438
497
 
439
- #documentation .aliases {
498
+ main .aliases {
440
499
  padding-top: 4px;
441
500
  font-style: italic;
442
501
  cursor: default;
443
502
  }
444
- #documentation .method-description p {
445
- margin-bottom: 0.5em;
446
- }
447
- #documentation .method-description ul {
503
+ main .method-description ul {
448
504
  margin-left: 1.5em;
449
505
  }
450
- pre {
451
- margin: 0.5em 0;
452
- }
453
506
 
454
- #documentation .attribute-method-heading {
455
- background: url(images/tag_green.png) no-repeat left bottom;
456
- }
457
- #documentation #attribute-method-details .method-detail:hover {
507
+ main #attribute-method-details .method-detail:hover {
458
508
  background-color: transparent;
459
509
  cursor: default;
460
510
  }
461
- #documentation .attribute-access-type {
462
- font-size: 60%;
511
+ main .attribute-access-type {
463
512
  text-transform: uppercase;
464
- vertical-align: super;
465
- padding: 0 2px;
513
+ padding: 0 1em;
466
514
  }
467
515
  /* @end */
468
516
 
@@ -471,15 +519,12 @@ pre {
471
519
  /* @group Source Code */
472
520
 
473
521
  pre {
474
- overflow: auto;
475
- background: #262626;
476
- color: white;
522
+ margin: 0.5em 0;
477
523
  border: 1px dashed #999;
478
524
  padding: 0.5em;
479
- }
480
-
481
- .description pre {
482
- margin: 0 0.4em;
525
+ background: #262626;
526
+ color: white;
527
+ overflow: auto;
483
528
  }
484
529
 
485
530
  .ruby-constant { color: #7fffd4; background: transparent; }
@@ -488,7 +533,7 @@ pre {
488
533
  .ruby-operator { color: #00ffee; background: transparent; }
489
534
  .ruby-identifier { color: #ffdead; background: transparent; }
490
535
  .ruby-node { color: #ffa07a; background: transparent; }
491
- .ruby-comment { color: #dc0000; font-weight: bold; background: transparent; }
536
+ .ruby-comment { color: #dc0000; background: transparent; }
492
537
  .ruby-regexp { color: #ffa07a; background: transparent; }
493
538
  .ruby-value { color: #7fffd4; background: transparent; }
494
539
 
@@ -496,23 +541,24 @@ pre {
496
541
 
497
542
 
498
543
  /* @group search results */
499
- #search-results h1 {
500
- font-size: 1em;
544
+ #search-results {
545
+ font-family: Lato, sans-serif;
546
+ font-weight: 300;
547
+ }
548
+
549
+ #search-results .search-match {
550
+ font-family: Helvetica, sans-serif;
501
551
  font-weight: normal;
502
- text-shadow: none;
503
552
  }
504
553
 
505
- #search-results .current {
506
- background: #ccc;
554
+ #search-results .search-selected {
555
+ background: #e8e8e8;
507
556
  border-bottom: 1px solid transparent;
508
557
  }
509
558
 
510
559
  #search-results li {
511
560
  list-style: none;
512
561
  border-bottom: 1px solid #aaa;
513
- -moz-border-radius: 4px;
514
- -webkit-border-radius: 4px;
515
- border-radius: 4px;
516
562
  margin-bottom: 0.5em;
517
563
  }
518
564
 
@@ -537,6 +583,7 @@ pre {
537
583
 
538
584
  #search-results pre {
539
585
  margin: 0.5em;
586
+ font-family: "Source Code Pro", Monaco, monospace;
540
587
  }
541
588
 
542
589
  /* @end */