hookapp 2.1.1 → 2.1.2

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.
data/html/css/rdoc.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * "Darkfish" Rdoc CSS
2
+ * "Darkfish" RDoc CSS
3
3
  * $Id: rdoc.css 54 2009-01-27 01:09:48Z deveiant $
4
4
  *
5
5
  * Author: Michael Granger <ged@FaerieMUD.org>
@@ -7,18 +7,45 @@
7
7
  */
8
8
 
9
9
  /* vim: ft=css et sw=2 ts=2 sts=2 */
10
- /* Base Green is: #6C8C22 */
11
-
12
- .hide { display: none !important; }
13
-
14
- * { padding: 0; margin: 0; }
15
10
 
11
+ /* 1. Variables and Root Styles */
12
+ :root {
13
+ --sidebar-width: 300px;
14
+ --highlight-color: #cc342d; /* Reddish color for accents and headings */
15
+ --secondary-highlight-color: #c83045; /* Darker reddish color for secondary highlights */
16
+ --text-color: #505050; /* Dark bluish-grey for text */
17
+ --background-color: #fefefe; /* Near white background */
18
+ --code-block-background-color: #f6f6f3; /* Slightly darker grey for code blocks */
19
+ --link-color: #42405F; /* Dark bluish-grey for links */
20
+ --link-hover-color: var(--highlight-color); /* Reddish color on hover */
21
+ --border-color: #e0e0e0;; /* General border color */
22
+ --source-code-toggle-color: var(--secondary-highlight-color);
23
+ --scrollbar-thumb-hover-background: #505050; /* Hover color for scrollbar thumb */
24
+ --table-header-background-color: #eceaed;
25
+ --table-td-background-color: #f5f4f6;
26
+
27
+ /* Font family variables */
28
+ --font-primary: 'Segoe UI', 'Verdana', 'Arial', sans-serif;
29
+ --font-heading: 'Helvetica', 'Arial', sans-serif;
30
+ --font-code: monospace;
31
+ }
32
+
33
+ /* 2. Global Styles */
16
34
  body {
17
- background: #fafafa;
18
- font-family: Lato, sans-serif;
19
- font-weight: 300;
35
+ background: var(--background-color);
36
+ font-family: var(--font-primary);
37
+ font-weight: 400;
38
+ color: var(--text-color);
39
+ line-height: 1.6;
40
+
41
+ /* Layout */
42
+ display: flex;
43
+ flex-direction: column;
44
+ min-height: 100vh;
45
+ margin: 0;
20
46
  }
21
47
 
48
+ /* 3. Typography */
22
49
  h1 span,
23
50
  h2 span,
24
51
  h3 span,
@@ -57,28 +84,52 @@ h4:target,
57
84
  h5:target,
58
85
  h6:target {
59
86
  margin-left: -10px;
60
- border-left: 10px solid #f1edba;
87
+ border-left: 10px solid var(--border-color);
88
+ scroll-margin-top: 1rem;
61
89
  }
62
90
 
63
- :link,
64
- :visited {
65
- color: #6C8C22;
66
- text-decoration: none;
91
+ main .anchor-link:target {
92
+ scroll-margin-top: 1rem;
93
+ }
94
+
95
+ /* 4. Links */
96
+ a {
97
+ color: var(--link-color);
98
+ transition: color 0.3s ease;
99
+ text-decoration: underline;
100
+ text-underline-offset: 0.2em; /* Make sure it doesn't overlap with underscores in a method name. */
101
+ }
102
+
103
+ a:hover {
104
+ color: var(--link-hover-color);
67
105
  }
68
106
 
69
- :link:hover,
70
- :visited:hover {
71
- border-bottom: 1px dotted #6C8C22;
107
+ a code:hover {
108
+ color: var(--link-hover-color);
72
109
  }
73
110
 
111
+ /* 5. Code and Pre */
74
112
  code,
75
113
  pre {
76
- font-family: "Source Code Pro", Monaco, monospace;
77
- background-color: rgba(27,31,35,0.05);
78
- padding: 0em 0.2em;
79
- border-radius: 0.2em;
114
+ font-family: var(--font-code);
115
+ background-color: var(--code-block-background-color);
116
+ border: 1px solid var(--border-color);
117
+ border-radius: 6px;
118
+ padding: 16px;
119
+ overflow-x: auto;
120
+ font-size: 15px;
121
+ line-height: 1.5;
122
+ margin: 1em 0;
123
+ }
124
+
125
+ code {
126
+ background-color: var(--code-block-background-color);
127
+ padding: 0.1em 0.3em;
128
+ border-radius: 3px;
129
+ font-size: 85%;
80
130
  }
81
131
 
132
+ /* Tables */
82
133
  table {
83
134
  margin: 0;
84
135
  border-spacing: 0;
@@ -87,461 +138,486 @@ table {
87
138
 
88
139
  table tr th, table tr td {
89
140
  padding: 0.2em 0.4em;
90
- border: 1px solid #ccc;
141
+ border: 1px solid var(--border-color);
91
142
  }
92
143
 
93
144
  table tr th {
94
- background-color: #eceaed;
145
+ background-color: var(--table-header-background-color);
95
146
  }
96
147
 
97
148
  table tr:nth-child(even) td {
98
- background-color: #f5f4f6;
149
+ background-color: var(--table-td-background-color);
99
150
  }
100
151
 
101
- /* @group Generic Classes */
102
-
103
- .initially-hidden {
152
+ /* 7. Navigation and Sidebar */
153
+ nav {
154
+ font-family: var(--font-heading);
155
+ font-size: 16px;
156
+ border-right: 1px solid var(--border-color);
157
+ position: fixed;
158
+ top: 0;
159
+ bottom: 0;
160
+ left: 0;
161
+ width: var(--sidebar-width);
162
+ background: var(--background-color); /* It needs an explicit background for toggling narrow screens */
163
+ overflow-y: auto;
164
+ z-index: 10;
165
+ display: flex;
166
+ flex-direction: column;
167
+ color: var(--text-color);
168
+ }
169
+
170
+ nav[hidden] {
104
171
  display: none;
105
172
  }
106
173
 
107
- #search-field {
108
- width: 98%;
109
- background: white;
110
- border: none;
111
- height: 1.5em;
112
- -webkit-border-radius: 4px;
113
- -moz-border-radius: 4px;
114
- border-radius: 4px;
115
- text-align: left;
116
- }
117
- #search-field:focus {
118
- background: #f1edba;
119
- }
120
- #search-field:-moz-placeholder,
121
- #search-field::-webkit-input-placeholder {
122
- font-weight: bold;
123
- color: #666;
174
+ nav footer {
175
+ padding: 1em;
176
+ border-top: 1px solid var(--border-color);
124
177
  }
125
178
 
126
- .missing-docs {
127
- font-size: 120%;
128
- background: white url(../images/wrench_orange.png) no-repeat 4px center;
129
- color: #ccc;
130
- line-height: 2em;
131
- border: 1px solid #d00;
132
- opacity: 1;
133
- padding-left: 20px;
134
- text-indent: 24px;
135
- letter-spacing: 3px;
136
- font-weight: bold;
137
- -webkit-border-radius: 5px;
138
- -moz-border-radius: 5px;
179
+ nav footer a {
180
+ color: var(--secondary-highlight-color);
139
181
  }
140
182
 
141
- .target-section {
142
- border: 2px solid #dcce90;
143
- border-left-width: 8px;
183
+ nav .nav-section {
184
+ margin-top: 1em;
144
185
  padding: 0 1em;
145
- background: #fff3c2;
146
186
  }
147
187
 
148
- /* @end */
188
+ nav h2, nav h3 {
189
+ margin: 0 0 0.5em;
190
+ padding: 0.5em 0;
191
+ color: var(--highlight-color);
192
+ border-bottom: 1px solid var(--border-color);
193
+ }
149
194
 
150
- /* @group Index Page, Standalone file pages */
151
- .table-of-contents ul {
152
- margin: 1em;
153
- list-style: none;
195
+ nav h2 {
196
+ font-size: 1.2em;
154
197
  }
155
198
 
156
- .table-of-contents ul ul {
157
- margin-top: 0.25em;
199
+ nav h3,
200
+ #table-of-contents-navigation {
201
+ font-size: 1em;
158
202
  }
159
203
 
160
- .table-of-contents ul :link,
161
- .table-of-contents ul :visited {
162
- font-size: 16px;
204
+ ol.breadcrumb {
205
+ display: flex;
206
+
207
+ padding: 0;
208
+ margin: 0 0 1em;
163
209
  }
164
210
 
165
- .table-of-contents li {
166
- margin-bottom: 0.25em;
211
+ ol.breadcrumb li {
212
+ display: block;
213
+ list-style: none;
214
+ font-size: 125%;
167
215
  }
168
216
 
169
- .table-of-contents li .toc-toggle {
170
- width: 16px;
171
- height: 16px;
172
- background: url(../images/add.png) no-repeat;
217
+ nav ul,
218
+ nav dl,
219
+ nav p {
220
+ padding: 0;
221
+ list-style: none;
222
+ margin: 0.5em 0;
173
223
  }
174
224
 
175
- .table-of-contents li .toc-toggle.open {
176
- background: url(../images/delete.png) no-repeat;
225
+ nav ul li {
226
+ margin-bottom: 0.3em;
177
227
  }
178
228
 
179
- /* @end */
229
+ nav ul ul {
230
+ padding-left: 1em;
231
+ }
180
232
 
181
- /* @group Top-Level Structure */
233
+ nav ul ul ul {
234
+ padding-left: 1em;
235
+ }
182
236
 
183
- nav {
184
- float: left;
185
- width: 260px;
186
- font-family: Helvetica, sans-serif;
187
- font-size: 14px;
188
- border-right: 1px solid #ccc;
237
+ nav ul ul ul ul {
238
+ padding-left: 1em;
189
239
  }
190
240
 
191
- main {
192
- display: block;
193
- margin: 0 2em 5em 260px;
194
- padding-left: 20px;
195
- min-width: 340px;
196
- font-size: 16px;
241
+ nav a {
242
+ color: var(--link-color);
243
+ text-decoration: none;
197
244
  }
198
245
 
199
- main h1,
200
- main h2,
201
- main h3,
202
- main h4,
203
- main h5,
204
- main h6 {
205
- font-family: Helvetica, sans-serif;
246
+ nav a:hover {
247
+ color: var(--link-hover-color);
248
+ text-decoration: underline;
206
249
  }
207
250
 
208
- .table-of-contents main {
209
- margin-left: 2em;
251
+ #navigation-toggle {
252
+ z-index: 1000;
253
+ font-size: 2em;
254
+ display: block;
255
+ position: fixed;
256
+ top: 10px;
257
+ left: 20px;
258
+ cursor: pointer;
210
259
  }
211
260
 
212
- #validator-badges {
213
- clear: both;
214
- margin: 1em 1em 2em;
215
- font-size: smaller;
261
+ #navigation-toggle[aria-expanded="true"] {
262
+ top: 10px;
263
+ left: 250px;
216
264
  }
217
265
 
218
- /* @end */
266
+ nav ul li details {
267
+ position: relative;
268
+ padding-right: 1.5em; /* Add space for the marker on the right */
269
+ }
219
270
 
220
- /* @group navigation */
221
- nav {
222
- margin-bottom: 1em;
271
+ nav ul li details > summary {
272
+ list-style: none; /* Remove the default marker */
273
+ position: relative; /* So that the open/close triangle can position itself absolutely inside */
223
274
  }
224
275
 
225
- nav .nav-section {
226
- margin-top: 2em;
227
- border-top: 2px solid #aaa;
228
- font-size: 90%;
229
- overflow: hidden;
276
+ nav ul li details > summary::-webkit-details-marker {
277
+ display: none; /* Removes the default marker, in Safari 18. */
230
278
  }
231
279
 
232
- nav h2 {
233
- margin: 0;
234
- padding: 2px 8px 2px 8px;
235
- background-color: #e8e8e8;
236
- color: #555;
237
- font-size: 125%;
238
- text-align: center;
280
+ nav ul li details > summary::after {
281
+ content: '▶'; /* Unicode right-pointing triangle */
282
+ position: absolute;
283
+ font-size: 0.8em;
284
+ bottom: 0.1em;
285
+ margin-left: 0.3em;
286
+ transition: transform 0.2s ease;
239
287
  }
240
288
 
241
- nav h3,
242
- #table-of-contents-navigation {
243
- margin: 0;
244
- padding: 2px 8px 2px 8px;
245
- text-align: right;
246
- background-color: #e8e8e8;
247
- color: #555;
289
+ nav ul li details[open] > summary::after {
290
+ transform: rotate(90deg); /* Rotate the triangle when open */
248
291
  }
249
292
 
250
- nav ul,
251
- nav dl,
252
- nav p {
253
- padding: 4px 8px 0;
254
- list-style: none;
293
+ /* 8. Main Content */
294
+ main {
295
+ flex: 1;
296
+ display: block;
297
+ margin: 3em auto;
298
+ padding: 0 2em;
299
+ max-width: 800px;
300
+ font-size: 16px;
301
+ line-height: 1.6;
302
+ color: var(--text-color);
303
+ box-sizing: border-box;
255
304
  }
256
305
 
257
- #project-navigation .nav-section {
258
- margin: 0;
259
- border-top: 0;
306
+ @media (min-width: 1024px) {
307
+ main {
308
+ margin-left: var(--sidebar-width);
309
+ }
310
+
311
+ .table-of-contents main {
312
+ margin-left: 20em;
313
+ }
314
+
315
+ #navigation-toggle {
316
+ display: none;
317
+ }
260
318
  }
261
319
 
262
- #home-section h2 {
263
- text-align: center;
320
+ main h1[class] {
321
+ margin-top: 0;
322
+ margin-bottom: 1em;
323
+ font-size: 2.5em;
324
+ color: var(--highlight-color);
264
325
  }
265
326
 
266
- #table-of-contents-navigation {
267
- font-size: 1.2em;
268
- font-weight: bold;
269
- text-align: center;
327
+ main h1,
328
+ main h2,
329
+ main h3,
330
+ main h4,
331
+ main h5,
332
+ main h6 {
333
+ font-family: var(--font-heading);
334
+ color: var(--highlight-color);
270
335
  }
271
336
 
337
+ /* Search */
272
338
  #search-section {
273
- margin-top: 0;
274
- border-top: 0;
339
+ padding: 1em;
340
+ background-color: var(--background-color);
341
+ border-bottom: 1px solid var(--border-color);
275
342
  }
276
343
 
277
344
  #search-field-wrapper {
278
- border-top: 1px solid #aaa;
279
- border-bottom: 1px solid #aaa;
280
- padding: 3px 8px;
281
- background-color: #e8e8e8;
282
- color: #555;
345
+ position: relative;
346
+ display: flex;
347
+ align-items: center;
283
348
  }
284
349
 
285
- ul.link-list li {
286
- white-space: nowrap;
287
- line-height: 1.4em;
350
+ #search-field {
351
+ width: 100%;
352
+ padding: 0.5em 1em 0.5em 2.5em;
353
+ border: 1px solid var(--border-color);
354
+ border-radius: 20px;
355
+ font-size: 14px;
356
+ outline: none;
357
+ transition: border-color 0.3s ease;
358
+ color: var(--text-color);
288
359
  }
289
360
 
290
- ul.link-list .type {
291
- font-size: 8px;
292
- text-transform: uppercase;
293
- color: white;
294
- background: #969696;
295
- padding: 2px 4px;
296
- -webkit-border-radius: 5px;
361
+ #search-field:focus {
362
+ border-color: var(--highlight-color);
297
363
  }
298
364
 
299
- dl.note-list dt {
300
- float: left;
301
- margin-right: 1em;
365
+ #search-field::placeholder {
366
+ color: var(--text-color);
302
367
  }
303
368
 
304
- .calls-super {
305
- background: url(../images/arrow_up.png) no-repeat right center;
369
+ #search-field-wrapper::before {
370
+ content: "\1F50D";
371
+ position: absolute;
372
+ left: 0.75em;
373
+ top: 50%;
374
+ transform: translateY(-50%);
375
+ font-size: 14px;
376
+ color: var(--text-color);
377
+ opacity: 0.6;
306
378
  }
307
379
 
308
- /* @end */
380
+ /* Search Results */
381
+ #search-results {
382
+ font-family: var(--font-primary);
383
+ font-weight: 300;
384
+ }
309
385
 
310
- /* @group Documentation Section */
311
- main {
312
- color: #333;
386
+ #search-results .search-match {
387
+ font-family: var(--font-heading);
388
+ font-weight: normal;
313
389
  }
314
390
 
315
- main > h1:first-child,
316
- main > h2:first-child,
317
- main > h3:first-child,
318
- main > h4:first-child,
319
- main > h5:first-child,
320
- main > h6:first-child {
321
- margin-top: 0px;
391
+ #search-results .search-selected {
392
+ background: var(--code-block-background-color);
393
+ border-bottom: 1px solid transparent;
322
394
  }
323
395
 
324
- main sup {
325
- vertical-align: super;
326
- font-size: 0.8em;
396
+ #search-results li {
397
+ list-style: none;
398
+ border-bottom: 1px solid var(--border-color);
399
+ margin-bottom: 0.5em;
327
400
  }
328
401
 
329
- /* The heading with the class name */
330
- main h1[class] {
331
- margin-top: 0;
332
- margin-bottom: 1em;
333
- font-size: 2em;
334
- color: #6C8C22;
402
+ #search-results li:last-child {
403
+ border-bottom: none;
404
+ margin-bottom: 0;
335
405
  }
336
406
 
337
- main h1 {
338
- margin: 2em 0 0.5em;
339
- font-size: 1.7em;
407
+ #search-results li p {
408
+ padding: 0;
409
+ margin: 0.5em;
340
410
  }
341
411
 
342
- main h2 {
343
- margin: 2em 0 0.5em;
344
- font-size: 1.5em;
412
+ #search-results .search-namespace {
413
+ font-weight: bold;
345
414
  }
346
415
 
347
- main h3 {
348
- margin: 2em 0 0.5em;
349
- font-size: 1.2em;
416
+ #search-results li em {
417
+ background-color: rgba(224, 108, 117, 0.1);
418
+ font-style: normal;
350
419
  }
351
420
 
352
- main h4 {
353
- margin: 2em 0 0.5em;
354
- font-size: 1.1em;
421
+ #search-results pre {
422
+ margin: 0.5em;
423
+ font-family: var(--font-code);
355
424
  }
356
425
 
357
- main h5 {
358
- margin: 2em 0 0.5em;
359
- font-size: 1em;
426
+ /* Syntax Highlighting - Gruvbox Light Scheme */
427
+
428
+ .ruby-constant { color: #AF3A03; } /* Dark Orange */
429
+ .ruby-keyword { color: #9D0006; } /* Dark Red */
430
+ .ruby-ivar { color: #B57614; } /* Brown */
431
+ .ruby-operator { color: #427B58; } /* Dark Teal */
432
+ .ruby-identifier { color: #076678; } /* Deep Teal */
433
+ .ruby-node { color: #8F3F71; } /* Plum */
434
+ .ruby-comment { color: #928374; font-style: italic; } /* Gray */
435
+ .ruby-regexp { color: #8F3F71; } /* Plum */
436
+ .ruby-value { color: #AF3A03; } /* Dark Orange */
437
+ .ruby-string { color: #79740E; } /* Olive */
438
+
439
+ /* Emphasis */
440
+ em {
441
+ text-decoration-color: rgba(52, 48, 64, 0.25);
442
+ text-decoration-line: underline;
443
+ text-decoration-style: dotted;
360
444
  }
361
445
 
362
- main h6 {
363
- margin: 2em 0 0.5em;
364
- font-size: 1em;
446
+ strong,
447
+ em {
448
+ color: var(--highlight-color);
449
+ background-color: rgba(255, 111, 97, 0.1); /* Light red background for emphasis */
365
450
  }
366
451
 
452
+ /* Paragraphs */
367
453
  main p {
368
- margin: 0 0 0.5em;
369
- line-height: 1.4em;
454
+ line-height: 1.5em;
455
+ font-weight: 400;
370
456
  }
371
457
 
458
+ /* Preformatted Text */
372
459
  main pre {
373
460
  margin: 1.2em 0.5em;
374
461
  padding: 1em;
375
462
  font-size: 0.8em;
376
463
  }
377
464
 
465
+ /* Horizontal Rules */
378
466
  main hr {
379
467
  margin: 1.5em 1em;
380
- border: 2px solid #ddd;
468
+ border: 2px solid var(--border-color);
381
469
  }
382
470
 
471
+ /* Blockquotes */
383
472
  main blockquote {
384
473
  margin: 0 2em 1.2em 1.2em;
385
474
  padding-left: 0.5em;
386
- border-left: 2px solid #ddd;
387
- }
388
-
389
- main ol,
390
- main ul {
391
- margin: 1em 2em;
475
+ border-left: 2px solid var(--border-color);
392
476
  }
393
477
 
478
+ /* Lists */
394
479
  main li > p {
395
- margin-bottom: 0.5em;
480
+ margin: 0.5em;
396
481
  }
397
482
 
483
+ /* Definition Lists */
398
484
  main dl {
399
485
  margin: 1em 0.5em;
400
486
  }
401
487
 
402
488
  main dt {
403
- margin-bottom: 0.5em;
489
+ line-height: 1.5; /* matches `main p` */
404
490
  font-weight: bold;
405
491
  }
406
492
 
493
+ main dl.note-list dt {
494
+ margin-right: 1em;
495
+ float: left;
496
+ }
497
+
498
+ main dl.note-list dt:has(+ dt) {
499
+ margin-right: 0.25em;
500
+ }
501
+
502
+ main dl.note-list dt:has(+ dt)::after {
503
+ content: ', ';
504
+ font-weight: normal;
505
+ }
506
+
407
507
  main dd {
408
- margin: 0 1em 1em 0.5em;
508
+ margin: 0 0 1em 1em;
509
+ }
510
+
511
+ main dd p:first-child {
512
+ margin-top: 0;
409
513
  }
410
514
 
515
+ /* Headers within Main */
411
516
  main header h2 {
412
517
  margin-top: 2em;
413
518
  border-width: 0;
414
- border-top: 4px solid #bbb;
519
+ border-top: 4px solid var(--border-color);
415
520
  font-size: 130%;
416
521
  }
417
522
 
418
523
  main header h3 {
419
524
  margin: 2em 0 1.5em;
420
525
  border-width: 0;
421
- border-top: 3px solid #bbb;
526
+ border-top: 3px solid var(--border-color);
422
527
  font-size: 120%;
423
528
  }
424
529
 
425
- .documentation-section-title {
426
- position: relative;
427
- }
428
- .documentation-section-title .section-click-top {
429
- position: absolute;
430
- top: 6px;
431
- left: 12px;
432
- font-size: 10px;
433
- color: #9b9877;
434
- visibility: hidden;
435
- padding-left: 0.5px;
436
- }
437
-
438
- .documentation-section-title:hover .section-click-top {
439
- visibility: visible;
440
- }
441
-
442
- .constants-list > dl {
443
- margin: 1em 0 2em;
444
- border: 0;
445
- }
446
-
447
- .constants-list > dl dt {
448
- margin-bottom: 0.75em;
449
- padding-left: 0;
450
- font-family: "Source Code Pro", Monaco, monospace;
451
- font-size: 110%;
452
- }
453
-
454
- .constants-list > dl dt a {
455
- color: inherit;
456
- }
530
+ /* Utility Classes */
531
+ .hide { display: none !important; }
532
+ .initially-hidden { display: none; }
457
533
 
458
- .constants-list > dl dd {
459
- margin: 0 0 2em 0;
460
- padding: 0;
461
- color: #666;
534
+ /* Table of Contents */
535
+ .table-of-contents ul {
536
+ margin: 1em;
537
+ list-style: none;
462
538
  }
463
539
 
464
- .documentation-section h2 {
465
- position: relative;
540
+ .table-of-contents ul ul {
541
+ margin-top: 0.25em;
466
542
  }
467
543
 
468
- .documentation-section h2 a {
469
- position: absolute;
470
- top: 8px;
471
- right: 10px;
472
- font-size: 12px;
473
- color: #9b9877;
474
- visibility: hidden;
544
+ .table-of-contents ul :link,
545
+ .table-of-contents ul :visited {
546
+ font-size: 16px;
475
547
  }
476
548
 
477
- .documentation-section h2:hover a {
478
- visibility: visible;
549
+ .table-of-contents li {
550
+ margin-bottom: 0.25em;
479
551
  }
480
552
 
481
- /* @group Method Details */
482
-
553
+ /* Method Details */
483
554
  main .method-source-code {
555
+ visibility: hidden;
484
556
  max-height: 0;
485
- overflow: hidden;
557
+ overflow: auto;
486
558
  transition-duration: 200ms;
487
559
  transition-delay: 0ms;
488
560
  transition-property: all;
489
561
  transition-timing-function: ease-in-out;
490
562
  }
491
563
 
564
+ main .method-source-code pre {
565
+ border-color: var(--source-code-toggle-color);
566
+ }
567
+
492
568
  main .method-source-code.active-menu {
569
+ visibility: visible;
493
570
  max-height: 100vh;
494
571
  }
495
572
 
496
573
  main .method-description .method-calls-super {
497
- color: #333;
574
+ color: var(--text-color);
498
575
  font-weight: bold;
499
576
  }
500
577
 
501
578
  main .method-detail {
502
579
  margin-bottom: 2.5em;
503
- cursor: pointer;
504
580
  }
505
581
 
506
582
  main .method-detail:target {
507
583
  margin-left: -10px;
508
- border-left: 10px solid #f1edba;
584
+ border-left: 10px solid var(--border-color);
585
+ }
586
+
587
+ main .method-header {
588
+ display: inline-block;
509
589
  }
510
590
 
511
591
  main .method-heading {
512
592
  position: relative;
513
- font-family: "Source Code Pro", Monaco, monospace;
593
+ font-family: var(--font-code);
514
594
  font-size: 110%;
515
595
  font-weight: bold;
516
- color: #333;
517
596
  }
518
- main .method-heading :link,
519
- main .method-heading :visited {
520
- color: inherit;
521
- }
522
- main .method-click-advice {
597
+
598
+ main .method-heading::after {
599
+ content: '¶';
523
600
  position: absolute;
524
- top: 2px;
525
- right: 5px;
526
- font-size: 12px;
527
- color: #9b9877;
528
601
  visibility: hidden;
529
- padding-right: 20px;
530
- line-height: 20px;
531
- background: url(../images/zoom.png) no-repeat right top;
602
+ color: var(--highlight-color);
603
+ font-size: 0.5em;
532
604
  }
533
- main .method-heading:hover .method-click-advice {
605
+
606
+ main .method-heading:hover::after {
534
607
  visibility: visible;
535
608
  }
536
609
 
537
- main .method-alias .method-heading {
538
- color: #666;
610
+ main .method-controls {
611
+ line-height: 20px;
612
+ float: right;
613
+ color: var(--source-code-toggle-color);
614
+ cursor: pointer;
539
615
  }
540
616
 
541
617
  main .method-description,
542
618
  main .aliases {
543
619
  margin-top: 0.75em;
544
- color: #333;
620
+ color: var(--text-color);
545
621
  }
546
622
 
547
623
  main .aliases {
@@ -549,6 +625,17 @@ main .aliases {
549
625
  font-style: italic;
550
626
  cursor: default;
551
627
  }
628
+
629
+ main .aliases a {
630
+ color: var(--secondary-highlight-color);
631
+ }
632
+
633
+ main .mixin-from {
634
+ font-size: 80%;
635
+ font-style: italic;
636
+ margin-bottom: 0.75em;
637
+ }
638
+
552
639
  main .method-description ul {
553
640
  margin-left: 1.5em;
554
641
  }
@@ -557,83 +644,40 @@ main #attribute-method-details .method-detail:hover {
557
644
  background-color: transparent;
558
645
  cursor: default;
559
646
  }
647
+
560
648
  main .attribute-access-type {
561
649
  text-transform: uppercase;
562
- padding: 0 1em;
563
- }
564
- /* @end */
565
-
566
- /* @end */
567
-
568
- /* @group Source Code */
569
-
570
- pre {
571
- margin: 0.5em 0;
572
- border: 1px dashed #999;
573
- padding: 0.5em;
574
- background: #262626;
575
- color: white;
576
- overflow: auto;
577
- }
578
-
579
- .ruby-constant { color: #7fffd4; background: transparent; }
580
- .ruby-keyword { color: #00ffff; background: transparent; }
581
- .ruby-ivar { color: #eedd82; background: transparent; }
582
- .ruby-operator { color: #00ffee; background: transparent; }
583
- .ruby-identifier { color: #ffdead; background: transparent; }
584
- .ruby-node { color: #ffa07a; background: transparent; }
585
- .ruby-comment { color: #dc0000; background: transparent; }
586
- .ruby-regexp { color: #ffa07a; background: transparent; }
587
- .ruby-value { color: #7fffd4; background: transparent; }
588
-
589
- /* @end */
590
-
591
-
592
- /* @group search results */
593
- #search-results {
594
- font-family: Lato, sans-serif;
595
- font-weight: 300;
596
650
  }
597
651
 
598
- #search-results .search-match {
599
- font-family: Helvetica, sans-serif;
600
- font-weight: normal;
601
- }
652
+ /* Responsive Adjustments */
653
+ @media (max-width: 480px) {
654
+ nav {
655
+ width: 100%;
656
+ }
602
657
 
603
- #search-results .search-selected {
604
- background: #e8e8e8;
605
- border-bottom: 1px solid transparent;
606
- }
607
-
608
- #search-results li {
609
- list-style: none;
610
- border-bottom: 1px solid #aaa;
611
- margin-bottom: 0.5em;
612
- }
613
-
614
- #search-results li:last-child {
615
- border-bottom: none;
616
- margin-bottom: 0;
617
- }
658
+ main {
659
+ margin: 1em auto;
660
+ padding: 0 1em;
661
+ max-width: 100%;
662
+ }
618
663
 
619
- #search-results li p {
620
- padding: 0;
621
- margin: 0.5em;
622
- }
664
+ #navigation-toggle {
665
+ right: 10px;
666
+ left: auto;
667
+ }
623
668
 
624
- #search-results .search-namespace {
625
- font-weight: bold;
626
- }
669
+ #navigation-toggle[aria-expanded="true"] {
670
+ left: auto;
671
+ }
627
672
 
628
- #search-results li em {
629
- background: yellow;
630
- font-style: normal;
631
- }
673
+ table {
674
+ display: block;
675
+ overflow-x: auto;
676
+ white-space: nowrap;
677
+ }
632
678
 
633
- #search-results pre {
634
- margin: 0.5em;
635
- font-family: "Source Code Pro", Monaco, monospace;
679
+ main .method-controls {
680
+ margin-top: 10px;
681
+ float: none;
682
+ }
636
683
  }
637
-
638
- /* @end */
639
-