super-quick-rb 0.0.1

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 (218) hide show
  1. checksums.yaml +7 -0
  2. data/rdoc-8.0.0/CONTRIBUTING.md +195 -0
  3. data/rdoc-8.0.0/CVE-2013-0256.rdoc +49 -0
  4. data/rdoc-8.0.0/History.rdoc +1668 -0
  5. data/rdoc-8.0.0/LEGAL.rdoc +56 -0
  6. data/rdoc-8.0.0/LICENSE.rdoc +63 -0
  7. data/rdoc-8.0.0/README.md +236 -0
  8. data/rdoc-8.0.0/RI.md +842 -0
  9. data/rdoc-8.0.0/TODO.rdoc +60 -0
  10. data/rdoc-8.0.0/doc/markup_reference/markdown.md +659 -0
  11. data/rdoc-8.0.0/doc/markup_reference/rdoc.rdoc +1169 -0
  12. data/rdoc-8.0.0/exe/rdoc +43 -0
  13. data/rdoc-8.0.0/exe/ri +12 -0
  14. data/rdoc-8.0.0/lib/rdoc/code_object/alias.rb +98 -0
  15. data/rdoc-8.0.0/lib/rdoc/code_object/any_method.rb +387 -0
  16. data/rdoc-8.0.0/lib/rdoc/code_object/attr.rb +178 -0
  17. data/rdoc-8.0.0/lib/rdoc/code_object/class_module.rb +969 -0
  18. data/rdoc-8.0.0/lib/rdoc/code_object/constant.rb +221 -0
  19. data/rdoc-8.0.0/lib/rdoc/code_object/context/section.rb +182 -0
  20. data/rdoc-8.0.0/lib/rdoc/code_object/context.rb +1238 -0
  21. data/rdoc-8.0.0/lib/rdoc/code_object/extend.rb +9 -0
  22. data/rdoc-8.0.0/lib/rdoc/code_object/include.rb +9 -0
  23. data/rdoc-8.0.0/lib/rdoc/code_object/method_attr.rb +417 -0
  24. data/rdoc-8.0.0/lib/rdoc/code_object/mixin.rb +123 -0
  25. data/rdoc-8.0.0/lib/rdoc/code_object/normal_class.rb +92 -0
  26. data/rdoc-8.0.0/lib/rdoc/code_object/normal_module.rb +73 -0
  27. data/rdoc-8.0.0/lib/rdoc/code_object/require.rb +51 -0
  28. data/rdoc-8.0.0/lib/rdoc/code_object/single_class.rb +30 -0
  29. data/rdoc-8.0.0/lib/rdoc/code_object/top_level.rb +286 -0
  30. data/rdoc-8.0.0/lib/rdoc/code_object.rb +393 -0
  31. data/rdoc-8.0.0/lib/rdoc/code_objects.rb +5 -0
  32. data/rdoc-8.0.0/lib/rdoc/comment.rb +353 -0
  33. data/rdoc-8.0.0/lib/rdoc/cross_reference.rb +215 -0
  34. data/rdoc-8.0.0/lib/rdoc/encoding.rb +120 -0
  35. data/rdoc-8.0.0/lib/rdoc/erb_partial.rb +18 -0
  36. data/rdoc-8.0.0/lib/rdoc/erbio.rb +37 -0
  37. data/rdoc-8.0.0/lib/rdoc/generator/aliki.rb +200 -0
  38. data/rdoc-8.0.0/lib/rdoc/generator/darkfish.rb +824 -0
  39. data/rdoc-8.0.0/lib/rdoc/generator/json_index.rb +284 -0
  40. data/rdoc-8.0.0/lib/rdoc/generator/markup.rb +196 -0
  41. data/rdoc-8.0.0/lib/rdoc/generator/pot/message_extractor.rb +68 -0
  42. data/rdoc-8.0.0/lib/rdoc/generator/pot/po.rb +84 -0
  43. data/rdoc-8.0.0/lib/rdoc/generator/pot/po_entry.rb +141 -0
  44. data/rdoc-8.0.0/lib/rdoc/generator/pot.rb +94 -0
  45. data/rdoc-8.0.0/lib/rdoc/generator/ri.rb +30 -0
  46. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/DESIGN.md +536 -0
  47. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/_aside_toc.rhtml +8 -0
  48. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/_footer.rhtml +23 -0
  49. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/_head.rhtml +163 -0
  50. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/_header.rhtml +56 -0
  51. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/_icons.rhtml +208 -0
  52. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/_sidebar_ancestors.rhtml +16 -0
  53. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/_sidebar_classes.rhtml +15 -0
  54. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/_sidebar_extends.rhtml +27 -0
  55. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/_sidebar_includes.rhtml +27 -0
  56. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/_sidebar_installed.rhtml +16 -0
  57. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/_sidebar_methods.rhtml +41 -0
  58. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/_sidebar_pages.rhtml +67 -0
  59. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/_sidebar_search.rhtml +15 -0
  60. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/_sidebar_sections.rhtml +21 -0
  61. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/_sidebar_toggle.rhtml +3 -0
  62. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/class.rhtml +230 -0
  63. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/css/rdoc.css +2181 -0
  64. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/index.rhtml +22 -0
  65. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/js/aliki.js +513 -0
  66. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/js/bash_highlighter.js +167 -0
  67. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/js/c_highlighter.js +299 -0
  68. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/js/search_controller.js +129 -0
  69. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/js/search_navigation.js +105 -0
  70. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/js/search_ranker.js +239 -0
  71. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/js/theme-toggle.js +112 -0
  72. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/page.rhtml +18 -0
  73. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/servlet_not_found.rhtml +14 -0
  74. data/rdoc-8.0.0/lib/rdoc/generator/template/aliki/servlet_root.rhtml +65 -0
  75. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/_footer.rhtml +5 -0
  76. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/_head.rhtml +43 -0
  77. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +5 -0
  78. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/_sidebar_extends.rhtml +17 -0
  79. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/_sidebar_includes.rhtml +17 -0
  80. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml +16 -0
  81. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/_sidebar_methods.rhtml +21 -0
  82. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml +11 -0
  83. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +32 -0
  84. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/_sidebar_parent.rhtml +6 -0
  85. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/_sidebar_search.rhtml +15 -0
  86. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml +11 -0
  87. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml +39 -0
  88. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/_sidebar_toggle.rhtml +3 -0
  89. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/class.rhtml +220 -0
  90. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/css/fonts.css +167 -0
  91. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/css/rdoc.css +701 -0
  92. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/fonts/Lato-Light.ttf +0 -0
  93. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/fonts/Lato-LightItalic.ttf +0 -0
  94. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/fonts/Lato-Regular.ttf +0 -0
  95. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/fonts/Lato-RegularItalic.ttf +0 -0
  96. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Bold.ttf +0 -0
  97. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Regular.ttf +0 -0
  98. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/images/add.png +0 -0
  99. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/images/arrow_up.png +0 -0
  100. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/images/brick.png +0 -0
  101. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/images/brick_link.png +0 -0
  102. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/images/bug.png +0 -0
  103. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/images/bullet_black.png +0 -0
  104. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png +0 -0
  105. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png +0 -0
  106. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/images/date.png +0 -0
  107. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/images/delete.png +0 -0
  108. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/images/find.png +0 -0
  109. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/images/loadingAnimation.gif +0 -0
  110. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/images/macFFBgHack.png +0 -0
  111. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/images/package.png +0 -0
  112. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/images/page_green.png +0 -0
  113. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/images/page_white_text.png +0 -0
  114. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/images/page_white_width.png +0 -0
  115. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/images/plugin.png +0 -0
  116. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/images/ruby.png +0 -0
  117. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/images/tag_blue.png +0 -0
  118. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/images/tag_green.png +0 -0
  119. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/images/transparent.png +0 -0
  120. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/images/wrench.png +0 -0
  121. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/images/wrench_orange.png +0 -0
  122. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/images/zoom.png +0 -0
  123. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/index.rhtml +24 -0
  124. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/js/darkfish.js +140 -0
  125. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/js/search.js +120 -0
  126. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/page.rhtml +19 -0
  127. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/servlet_not_found.rhtml +21 -0
  128. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/servlet_root.rhtml +65 -0
  129. data/rdoc-8.0.0/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml +72 -0
  130. data/rdoc-8.0.0/lib/rdoc/generator/template/json_index/js/navigation.js +105 -0
  131. data/rdoc-8.0.0/lib/rdoc/generator/template/json_index/js/searcher.js +271 -0
  132. data/rdoc-8.0.0/lib/rdoc/generator.rb +52 -0
  133. data/rdoc-8.0.0/lib/rdoc/i18n/locale.rb +102 -0
  134. data/rdoc-8.0.0/lib/rdoc/i18n/text.rb +126 -0
  135. data/rdoc-8.0.0/lib/rdoc/i18n.rb +10 -0
  136. data/rdoc-8.0.0/lib/rdoc/known_classes.rb +74 -0
  137. data/rdoc-8.0.0/lib/rdoc/markdown/entities.rb +2131 -0
  138. data/rdoc-8.0.0/lib/rdoc/markdown/literals.kpeg +21 -0
  139. data/rdoc-8.0.0/lib/rdoc/markdown/literals.rb +454 -0
  140. data/rdoc-8.0.0/lib/rdoc/markdown.kpeg +1315 -0
  141. data/rdoc-8.0.0/lib/rdoc/markdown.rb +16865 -0
  142. data/rdoc-8.0.0/lib/rdoc/markup/blank_line.rb +29 -0
  143. data/rdoc-8.0.0/lib/rdoc/markup/block_quote.rb +14 -0
  144. data/rdoc-8.0.0/lib/rdoc/markup/document.rb +164 -0
  145. data/rdoc-8.0.0/lib/rdoc/markup/element.rb +21 -0
  146. data/rdoc-8.0.0/lib/rdoc/markup/formatter.rb +285 -0
  147. data/rdoc-8.0.0/lib/rdoc/markup/hard_break.rb +34 -0
  148. data/rdoc-8.0.0/lib/rdoc/markup/heading.rb +170 -0
  149. data/rdoc-8.0.0/lib/rdoc/markup/include.rb +42 -0
  150. data/rdoc-8.0.0/lib/rdoc/markup/indented_paragraph.rb +47 -0
  151. data/rdoc-8.0.0/lib/rdoc/markup/inline_parser.rb +312 -0
  152. data/rdoc-8.0.0/lib/rdoc/markup/list.rb +101 -0
  153. data/rdoc-8.0.0/lib/rdoc/markup/list_item.rb +99 -0
  154. data/rdoc-8.0.0/lib/rdoc/markup/paragraph.rb +28 -0
  155. data/rdoc-8.0.0/lib/rdoc/markup/parser.rb +585 -0
  156. data/rdoc-8.0.0/lib/rdoc/markup/pre_process.rb +317 -0
  157. data/rdoc-8.0.0/lib/rdoc/markup/raw.rb +66 -0
  158. data/rdoc-8.0.0/lib/rdoc/markup/rule.rb +20 -0
  159. data/rdoc-8.0.0/lib/rdoc/markup/table.rb +64 -0
  160. data/rdoc-8.0.0/lib/rdoc/markup/to_ansi.rb +144 -0
  161. data/rdoc-8.0.0/lib/rdoc/markup/to_bs.rb +86 -0
  162. data/rdoc-8.0.0/lib/rdoc/markup/to_html.rb +682 -0
  163. data/rdoc-8.0.0/lib/rdoc/markup/to_html_crossref.rb +261 -0
  164. data/rdoc-8.0.0/lib/rdoc/markup/to_html_snippet.rb +287 -0
  165. data/rdoc-8.0.0/lib/rdoc/markup/to_joined_paragraph.rb +41 -0
  166. data/rdoc-8.0.0/lib/rdoc/markup/to_label.rb +84 -0
  167. data/rdoc-8.0.0/lib/rdoc/markup/to_markdown.rb +215 -0
  168. data/rdoc-8.0.0/lib/rdoc/markup/to_rdoc.rb +421 -0
  169. data/rdoc-8.0.0/lib/rdoc/markup/to_table_of_contents.rb +88 -0
  170. data/rdoc-8.0.0/lib/rdoc/markup/to_test.rb +77 -0
  171. data/rdoc-8.0.0/lib/rdoc/markup/to_tt_only.rb +107 -0
  172. data/rdoc-8.0.0/lib/rdoc/markup/verbatim.rb +83 -0
  173. data/rdoc-8.0.0/lib/rdoc/markup.rb +219 -0
  174. data/rdoc-8.0.0/lib/rdoc/options.rb +1412 -0
  175. data/rdoc-8.0.0/lib/rdoc/parser/c.rb +1227 -0
  176. data/rdoc-8.0.0/lib/rdoc/parser/changelog.rb +379 -0
  177. data/rdoc-8.0.0/lib/rdoc/parser/markdown.rb +22 -0
  178. data/rdoc-8.0.0/lib/rdoc/parser/rbs.rb +275 -0
  179. data/rdoc-8.0.0/lib/rdoc/parser/rd.rb +22 -0
  180. data/rdoc-8.0.0/lib/rdoc/parser/ruby.rb +1266 -0
  181. data/rdoc-8.0.0/lib/rdoc/parser/ruby_colorizer.rb +253 -0
  182. data/rdoc-8.0.0/lib/rdoc/parser/simple.rb +44 -0
  183. data/rdoc-8.0.0/lib/rdoc/parser/text.rb +11 -0
  184. data/rdoc-8.0.0/lib/rdoc/parser.rb +298 -0
  185. data/rdoc-8.0.0/lib/rdoc/rbs_helper.rb +186 -0
  186. data/rdoc-8.0.0/lib/rdoc/rd/block_parser.rb +1706 -0
  187. data/rdoc-8.0.0/lib/rdoc/rd/block_parser.ry +643 -0
  188. data/rdoc-8.0.0/lib/rdoc/rd/inline.rb +71 -0
  189. data/rdoc-8.0.0/lib/rdoc/rd/inline_parser.rb +1854 -0
  190. data/rdoc-8.0.0/lib/rdoc/rd/inline_parser.ry +593 -0
  191. data/rdoc-8.0.0/lib/rdoc/rd.rb +99 -0
  192. data/rdoc-8.0.0/lib/rdoc/rdoc.rb +724 -0
  193. data/rdoc-8.0.0/lib/rdoc/ri/driver.rb +1572 -0
  194. data/rdoc-8.0.0/lib/rdoc/ri/formatter.rb +6 -0
  195. data/rdoc-8.0.0/lib/rdoc/ri/paths.rb +171 -0
  196. data/rdoc-8.0.0/lib/rdoc/ri/servlet.rb +452 -0
  197. data/rdoc-8.0.0/lib/rdoc/ri/store.rb +6 -0
  198. data/rdoc-8.0.0/lib/rdoc/ri/task.rb +71 -0
  199. data/rdoc-8.0.0/lib/rdoc/ri.rb +21 -0
  200. data/rdoc-8.0.0/lib/rdoc/rubygems_hook.rb +327 -0
  201. data/rdoc-8.0.0/lib/rdoc/server.rb +460 -0
  202. data/rdoc-8.0.0/lib/rdoc/stats/normal.rb +58 -0
  203. data/rdoc-8.0.0/lib/rdoc/stats/quiet.rb +59 -0
  204. data/rdoc-8.0.0/lib/rdoc/stats/verbose.rb +44 -0
  205. data/rdoc-8.0.0/lib/rdoc/stats.rb +484 -0
  206. data/rdoc-8.0.0/lib/rdoc/store.rb +1205 -0
  207. data/rdoc-8.0.0/lib/rdoc/task.rb +355 -0
  208. data/rdoc-8.0.0/lib/rdoc/text.rb +244 -0
  209. data/rdoc-8.0.0/lib/rdoc/token_stream.rb +104 -0
  210. data/rdoc-8.0.0/lib/rdoc/tom_doc.rb +257 -0
  211. data/rdoc-8.0.0/lib/rdoc/version.rb +10 -0
  212. data/rdoc-8.0.0/lib/rdoc.rb +239 -0
  213. data/rdoc-8.0.0/lib/rubygems_plugin.rb +14 -0
  214. data/rdoc-8.0.0/man/ri.1 +249 -0
  215. data/rdoc-8.0.0/rdoc-logo.svg +43 -0
  216. data/rdoc-8.0.0/rdoc.gemspec +74 -0
  217. data/super-quick-rb.gemspec +12 -0
  218. metadata +257 -0
@@ -0,0 +1,701 @@
1
+ /*
2
+ * "Darkfish" RDoc CSS
3
+ * $Id: rdoc.css 54 2009-01-27 01:09:48Z deveiant $
4
+ *
5
+ * Author: Michael Granger <ged@FaerieMUD.org>
6
+ *
7
+ */
8
+
9
+ /* vim: ft=css et sw=2 ts=2 sts=2 */
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 */
34
+ body {
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;
46
+ }
47
+
48
+ /* 3. Typography */
49
+ h1 span,
50
+ h2 span,
51
+ h3 span,
52
+ h4 span,
53
+ h5 span,
54
+ h6 span {
55
+ position: relative;
56
+
57
+ display: none;
58
+ padding-left: 1em;
59
+ line-height: 0;
60
+ vertical-align: baseline;
61
+ font-size: 10px;
62
+ }
63
+
64
+ h1 span { top: -1.3em; }
65
+ h2 span { top: -1.2em; }
66
+ h3 span { top: -1.0em; }
67
+ h4 span { top: -0.8em; }
68
+ h5 span { top: -0.5em; }
69
+ h6 span { top: -0.5em; }
70
+
71
+ h1:hover span,
72
+ h2:hover span,
73
+ h3:hover span,
74
+ h4:hover span,
75
+ h5:hover span,
76
+ h6:hover span {
77
+ display: inline;
78
+ }
79
+
80
+ h1:target,
81
+ h2:target,
82
+ h3:target,
83
+ h4:target,
84
+ h5:target,
85
+ h6:target {
86
+ margin-left: -10px;
87
+ border-left: 10px solid var(--border-color);
88
+ scroll-margin-top: 1rem;
89
+ }
90
+
91
+ main .anchor-link:target {
92
+ scroll-margin-top: 1rem;
93
+ }
94
+
95
+ /* Legacy anchor for backward compatibility with old label- prefix links */
96
+ .legacy-anchor {
97
+ display: block;
98
+ position: relative;
99
+ visibility: hidden;
100
+ scroll-margin-top: 1rem;
101
+ }
102
+
103
+ /* When a legacy anchor is targeted, highlight the next heading sibling */
104
+ .legacy-anchor:target + h1,
105
+ .legacy-anchor:target + h2,
106
+ .legacy-anchor:target + h3,
107
+ .legacy-anchor:target + h4,
108
+ .legacy-anchor:target + h5,
109
+ .legacy-anchor:target + h6 {
110
+ margin-left: -10px;
111
+ border-left: 10px solid var(--border-color);
112
+ }
113
+
114
+ /* 4. Links */
115
+ a {
116
+ color: var(--link-color);
117
+ transition: color 0.3s ease;
118
+ text-decoration: underline;
119
+ text-underline-offset: 0.2em; /* Make sure it doesn't overlap with underscores in a method name. */
120
+ }
121
+
122
+ a:hover {
123
+ color: var(--link-hover-color);
124
+ }
125
+
126
+ a code:hover {
127
+ color: var(--link-hover-color);
128
+ }
129
+
130
+ /* 5. Code and Pre */
131
+ code,
132
+ pre {
133
+ font-family: var(--font-code);
134
+ background-color: var(--code-block-background-color);
135
+ border: 1px solid var(--border-color);
136
+ border-radius: 6px;
137
+ padding: 16px;
138
+ overflow-x: auto;
139
+ font-size: 15px;
140
+ line-height: 1.5;
141
+ margin: 1em 0;
142
+ }
143
+
144
+ code {
145
+ background-color: var(--code-block-background-color);
146
+ padding: 0.1em 0.3em;
147
+ border-radius: 3px;
148
+ font-size: 85%;
149
+ }
150
+
151
+ /* Tables */
152
+ table {
153
+ margin: 0;
154
+ border-spacing: 0;
155
+ border-collapse: collapse;
156
+ }
157
+
158
+ table tr th, table tr td {
159
+ padding: 0.2em 0.4em;
160
+ border: 1px solid var(--border-color);
161
+ }
162
+
163
+ table tr th {
164
+ background-color: var(--table-header-background-color);
165
+ }
166
+
167
+ table tr:nth-child(even) td {
168
+ background-color: var(--table-td-background-color);
169
+ }
170
+
171
+ /* 7. Navigation and Sidebar */
172
+ nav {
173
+ font-family: var(--font-heading);
174
+ font-size: 16px;
175
+ border-right: 1px solid var(--border-color);
176
+ position: fixed;
177
+ top: 0;
178
+ bottom: 0;
179
+ left: 0;
180
+ width: var(--sidebar-width);
181
+ background: var(--background-color); /* It needs an explicit background for toggling narrow screens */
182
+ overflow-y: auto;
183
+ z-index: 10;
184
+ display: flex;
185
+ flex-direction: column;
186
+ color: var(--text-color);
187
+ }
188
+
189
+ nav[hidden] {
190
+ display: none;
191
+ }
192
+
193
+ nav footer {
194
+ padding: 1em;
195
+ border-top: 1px solid var(--border-color);
196
+ }
197
+
198
+ nav footer a {
199
+ color: var(--secondary-highlight-color);
200
+ }
201
+
202
+ nav .nav-section {
203
+ margin-top: 1em;
204
+ padding: 0 1em;
205
+ }
206
+
207
+ nav h2, nav h3 {
208
+ margin: 0 0 0.5em;
209
+ padding: 0.5em 0;
210
+ color: var(--highlight-color);
211
+ border-bottom: 1px solid var(--border-color);
212
+ }
213
+
214
+ nav h2 {
215
+ font-size: 1.2em;
216
+ }
217
+
218
+ nav h3,
219
+ #table-of-contents-navigation {
220
+ font-size: 1em;
221
+ }
222
+
223
+ ol.breadcrumb {
224
+ display: flex;
225
+
226
+ padding: 0;
227
+ margin: 0 0 1em;
228
+ }
229
+
230
+ ol.breadcrumb li {
231
+ display: block;
232
+ list-style: none;
233
+ font-size: 125%;
234
+ }
235
+
236
+ nav ul,
237
+ nav dl,
238
+ nav p {
239
+ padding: 0;
240
+ list-style: none;
241
+ margin: 0.5em 0;
242
+ }
243
+
244
+ nav ul li {
245
+ margin-bottom: 0.3em;
246
+ }
247
+
248
+ nav ul ul {
249
+ padding-left: 1em;
250
+ }
251
+
252
+ nav ul ul ul {
253
+ padding-left: 1em;
254
+ }
255
+
256
+ nav ul ul ul ul {
257
+ padding-left: 1em;
258
+ }
259
+
260
+ nav a {
261
+ color: var(--link-color);
262
+ text-decoration: none;
263
+ }
264
+
265
+ nav a:hover {
266
+ color: var(--link-hover-color);
267
+ text-decoration: underline;
268
+ }
269
+
270
+ #navigation-toggle {
271
+ z-index: 1000;
272
+ font-size: 2em;
273
+ display: block;
274
+ position: fixed;
275
+ top: 10px;
276
+ left: 20px;
277
+ cursor: pointer;
278
+ }
279
+
280
+ #navigation-toggle[aria-expanded="true"] {
281
+ top: 10px;
282
+ left: 250px;
283
+ }
284
+
285
+ nav ul li details {
286
+ position: relative;
287
+ padding-right: 1.5em; /* Add space for the marker on the right */
288
+ }
289
+
290
+ nav ul li details > summary {
291
+ list-style: none; /* Remove the default marker */
292
+ position: relative; /* So that the open/close triangle can position itself absolutely inside */
293
+ }
294
+
295
+ nav ul li details > summary::-webkit-details-marker {
296
+ display: none; /* Removes the default marker, in Safari 18. */
297
+ }
298
+
299
+ nav ul li details > summary::after {
300
+ content: '▶'; /* Unicode right-pointing triangle */
301
+ position: absolute;
302
+ font-size: 0.8em;
303
+ bottom: 0.1em;
304
+ margin-left: 0.3em;
305
+ transition: transform 0.2s ease;
306
+ }
307
+
308
+ nav ul li details[open] > summary::after {
309
+ transform: rotate(90deg); /* Rotate the triangle when open */
310
+ }
311
+
312
+ /* 8. Main Content */
313
+ main {
314
+ flex: 1;
315
+ display: block;
316
+ margin: 3em auto;
317
+ padding: 0 2em;
318
+ max-width: 800px;
319
+ font-size: 16px;
320
+ line-height: 1.6;
321
+ color: var(--text-color);
322
+ box-sizing: border-box;
323
+ }
324
+
325
+ @media (min-width: 1024px) {
326
+ main {
327
+ margin-left: var(--sidebar-width);
328
+ }
329
+
330
+ .table-of-contents main {
331
+ margin-left: 20em;
332
+ }
333
+
334
+ #navigation-toggle {
335
+ display: none;
336
+ }
337
+ }
338
+
339
+ main h1[class] {
340
+ margin-top: 0;
341
+ margin-bottom: 1em;
342
+ font-size: 2.5em;
343
+ color: var(--highlight-color);
344
+ }
345
+
346
+ main h1,
347
+ main h2,
348
+ main h3,
349
+ main h4,
350
+ main h5,
351
+ main h6 {
352
+ font-family: var(--font-heading);
353
+ color: var(--highlight-color);
354
+ }
355
+
356
+ /* Search */
357
+ #search-section {
358
+ padding: 1em;
359
+ background-color: var(--background-color);
360
+ border-bottom: 1px solid var(--border-color);
361
+ }
362
+
363
+ #search-field-wrapper {
364
+ position: relative;
365
+ display: flex;
366
+ align-items: center;
367
+ }
368
+
369
+ #search-field {
370
+ width: 100%;
371
+ padding: 0.5em 1em 0.5em 2.5em;
372
+ border: 1px solid var(--border-color);
373
+ border-radius: 20px;
374
+ font-size: 14px;
375
+ outline: none;
376
+ transition: border-color 0.3s ease;
377
+ color: var(--text-color);
378
+ }
379
+
380
+ #search-field:focus {
381
+ border-color: var(--highlight-color);
382
+ }
383
+
384
+ #search-field::placeholder {
385
+ color: var(--text-color);
386
+ }
387
+
388
+ #search-field-wrapper::before {
389
+ content: "\1F50D";
390
+ position: absolute;
391
+ left: 0.75em;
392
+ top: 50%;
393
+ transform: translateY(-50%);
394
+ font-size: 14px;
395
+ color: var(--text-color);
396
+ opacity: 0.6;
397
+ }
398
+
399
+ /* Search Results */
400
+ #search-results {
401
+ font-family: var(--font-primary);
402
+ font-weight: 300;
403
+ }
404
+
405
+ #search-results .search-match {
406
+ font-family: var(--font-heading);
407
+ font-weight: normal;
408
+ }
409
+
410
+ #search-results .search-selected {
411
+ background: var(--code-block-background-color);
412
+ border-bottom: 1px solid transparent;
413
+ }
414
+
415
+ #search-results li {
416
+ list-style: none;
417
+ border-bottom: 1px solid var(--border-color);
418
+ margin-bottom: 0.5em;
419
+ }
420
+
421
+ #search-results li:last-child {
422
+ border-bottom: none;
423
+ margin-bottom: 0;
424
+ }
425
+
426
+ #search-results li p {
427
+ padding: 0;
428
+ margin: 0.5em;
429
+ }
430
+
431
+ #search-results .search-namespace {
432
+ font-weight: bold;
433
+ }
434
+
435
+ #search-results li em {
436
+ background-color: rgba(224, 108, 117, 0.1);
437
+ font-style: normal;
438
+ }
439
+
440
+ #search-results pre {
441
+ margin: 0.5em;
442
+ font-family: var(--font-code);
443
+ }
444
+
445
+ /* Syntax Highlighting - Gruvbox Light Scheme */
446
+
447
+ .ruby-constant { color: #AF3A03; } /* Dark Orange */
448
+ .ruby-keyword { color: #9D0006; } /* Dark Red */
449
+ .ruby-ivar { color: #B57614; } /* Brown */
450
+ .ruby-operator { color: #427B58; } /* Dark Teal */
451
+ .ruby-identifier { color: #076678; } /* Deep Teal */
452
+ .ruby-comment { color: #928374; font-style: italic; } /* Gray */
453
+ .ruby-regexp { color: #8F3F71; } /* Plum */
454
+ .ruby-value { color: #AF3A03; } /* Dark Orange */
455
+ .ruby-string { color: #79740E; } /* Olive */
456
+
457
+ /* Emphasis */
458
+ em {
459
+ text-decoration-color: rgba(52, 48, 64, 0.25);
460
+ text-decoration-line: underline;
461
+ text-decoration-style: dotted;
462
+ }
463
+
464
+ strong,
465
+ em {
466
+ color: var(--highlight-color);
467
+ background-color: rgba(255, 111, 97, 0.1); /* Light red background for emphasis */
468
+ }
469
+
470
+ /* Paragraphs */
471
+ main p {
472
+ line-height: 1.5em;
473
+ font-weight: 400;
474
+ }
475
+
476
+ /* Preformatted Text */
477
+ main pre {
478
+ margin: 1.2em 0.5em;
479
+ padding: 1em;
480
+ font-size: 0.8em;
481
+ }
482
+
483
+ /* Horizontal Rules */
484
+ main hr {
485
+ margin: 1.5em 1em;
486
+ border: 2px solid var(--border-color);
487
+ }
488
+
489
+ /* Blockquotes */
490
+ main blockquote {
491
+ margin: 0 2em 1.2em 1.2em;
492
+ padding-left: 0.5em;
493
+ border-left: 2px solid var(--border-color);
494
+ }
495
+
496
+ /* Lists */
497
+ main li > p {
498
+ margin: 0.5em;
499
+ }
500
+
501
+ /* Definition Lists */
502
+ main dl {
503
+ margin: 1em 0.5em;
504
+ }
505
+
506
+ main dt {
507
+ line-height: 1.5; /* matches `main p` */
508
+ font-weight: bold;
509
+ }
510
+
511
+ main dl.note-list dt {
512
+ margin-right: 1em;
513
+ float: left;
514
+ }
515
+
516
+ main dl.note-list dt:has(+ dt) {
517
+ margin-right: 0.25em;
518
+ }
519
+
520
+ main dl.note-list dt:has(+ dt)::after {
521
+ content: ', ';
522
+ font-weight: normal;
523
+ }
524
+
525
+ main dd {
526
+ margin: 0 0 1em 1em;
527
+ }
528
+
529
+ main dd p:first-child {
530
+ margin-top: 0;
531
+ }
532
+
533
+ /* Headers within Main */
534
+ main header h2 {
535
+ margin-top: 2em;
536
+ border-width: 0;
537
+ border-top: 4px solid var(--border-color);
538
+ font-size: 130%;
539
+ }
540
+
541
+ main header h3 {
542
+ margin: 2em 0 1.5em;
543
+ border-width: 0;
544
+ border-top: 3px solid var(--border-color);
545
+ font-size: 120%;
546
+ }
547
+
548
+ /* Utility Classes */
549
+ .hide { display: none !important; }
550
+ .initially-hidden { display: none; }
551
+
552
+ /* Table of Contents */
553
+ .table-of-contents ul {
554
+ margin: 1em;
555
+ list-style: none;
556
+ }
557
+
558
+ .table-of-contents ul ul {
559
+ margin-top: 0.25em;
560
+ }
561
+
562
+ .table-of-contents ul :link,
563
+ .table-of-contents ul :visited {
564
+ font-size: 16px;
565
+ }
566
+
567
+ .table-of-contents li {
568
+ margin-bottom: 0.25em;
569
+ }
570
+
571
+ /* Method Details */
572
+ main .method-source-code {
573
+ visibility: hidden;
574
+ max-height: 0;
575
+ overflow: auto;
576
+ transition-duration: 200ms;
577
+ transition-delay: 0ms;
578
+ transition-property: all;
579
+ transition-timing-function: ease-in-out;
580
+ }
581
+
582
+ main .method-source-code pre {
583
+ border-color: var(--source-code-toggle-color);
584
+ }
585
+
586
+ main .method-source-code.active-menu {
587
+ visibility: visible;
588
+ max-height: 100vh;
589
+ }
590
+
591
+ main .method-description .method-calls-super {
592
+ color: var(--text-color);
593
+ font-weight: bold;
594
+ }
595
+
596
+ main .method-detail {
597
+ margin-bottom: 2.5em;
598
+ }
599
+
600
+ main .method-detail:target {
601
+ margin-left: -10px;
602
+ border-left: 10px solid var(--border-color);
603
+ }
604
+
605
+ main .method-header {
606
+ display: inline-block;
607
+ }
608
+
609
+ main .method-heading {
610
+ position: relative;
611
+ font-family: var(--font-code);
612
+ font-size: 110%;
613
+ font-weight: bold;
614
+ }
615
+
616
+ main .method-heading::after {
617
+ content: '¶';
618
+ position: absolute;
619
+ visibility: hidden;
620
+ color: var(--highlight-color);
621
+ font-size: 0.5em;
622
+ }
623
+
624
+ main .method-heading:hover::after {
625
+ visibility: visible;
626
+ }
627
+
628
+ main .method-controls {
629
+ line-height: 20px;
630
+ float: right;
631
+ color: var(--source-code-toggle-color);
632
+ cursor: pointer;
633
+ }
634
+
635
+ main .method-description,
636
+ main .aliases {
637
+ margin-top: 0.75em;
638
+ color: var(--text-color);
639
+ }
640
+
641
+ main .aliases {
642
+ padding-top: 4px;
643
+ font-style: italic;
644
+ cursor: default;
645
+ }
646
+
647
+ main .aliases a {
648
+ color: var(--secondary-highlight-color);
649
+ }
650
+
651
+ main .mixin-from {
652
+ font-size: 80%;
653
+ font-style: italic;
654
+ margin-bottom: 0.75em;
655
+ }
656
+
657
+ main .method-description ul {
658
+ margin-left: 1.5em;
659
+ }
660
+
661
+ main #attribute-method-details .method-detail:hover {
662
+ background-color: transparent;
663
+ cursor: default;
664
+ }
665
+
666
+ main .attribute-access-type {
667
+ text-transform: uppercase;
668
+ }
669
+
670
+ /* Responsive Adjustments */
671
+ @media (max-width: 480px) {
672
+ nav {
673
+ width: 100%;
674
+ }
675
+
676
+ main {
677
+ margin: 1em auto;
678
+ padding: 0 1em;
679
+ max-width: 100%;
680
+ }
681
+
682
+ #navigation-toggle {
683
+ right: 10px;
684
+ left: auto;
685
+ }
686
+
687
+ #navigation-toggle[aria-expanded="true"] {
688
+ left: auto;
689
+ }
690
+
691
+ table {
692
+ display: block;
693
+ overflow-x: auto;
694
+ white-space: nowrap;
695
+ }
696
+
697
+ main .method-controls {
698
+ margin-top: 10px;
699
+ float: none;
700
+ }
701
+ }