wwwjdic 13.0.1 → 16.1.0

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 (97) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +60 -1
  3. data/Gemfile +7 -1
  4. data/README.md +500 -225
  5. data/Rakefile +10 -3
  6. data/copyright.md +17 -29
  7. data/examples/basics.rb +53 -45
  8. data/examples/translate.rb +159 -86
  9. data/examples/uri.rb +46 -78
  10. data/html/CHANGELOG.html +90 -35
  11. data/html/COPYING_md.html +26 -38
  12. data/html/Gemfile.html +25 -35
  13. data/html/Object.html +838 -74
  14. data/html/README_md.html +322 -175
  15. data/html/Rakefile.html +28 -38
  16. data/html/WWWJDic.html +63 -104
  17. data/html/WWWJDic/ParsableDuckType.html +38 -58
  18. data/html/WWWJDic/Parser.html +52 -92
  19. data/html/WWWJDic/Parsers.html +29 -35
  20. data/html/WWWJDic/Parsers/Dict.html +50 -76
  21. data/html/WWWJDic/Parsers/Display.html +45 -69
  22. data/html/WWWJDic/Parsers/Key.html +46 -70
  23. data/html/WWWJDic/Parsers/Search.html +41 -61
  24. data/html/WWWJDic/Parsers/Server.html +45 -69
  25. data/html/WWWJDic/Splitter.html +81 -175
  26. data/html/WWWJDic/Utils.html +30 -36
  27. data/html/WWWJDic/Utils/Downloader.html +41 -41
  28. data/html/WWWJDic/Utils/Downloader/Downloader.html +65 -92
  29. data/html/WWWJDic/Utils/Raisers.html +46 -98
  30. data/html/WWWJDic/WWWJDic.html +166 -348
  31. data/html/copyright_md.html +219 -239
  32. data/html/created.rid +33 -58
  33. data/html/css/rdoc.css +638 -590
  34. data/html/index.html +313 -182
  35. data/html/js/darkfish.js +84 -161
  36. data/html/js/navigation.js +4 -40
  37. data/html/js/navigation.js.gz +0 -0
  38. data/html/js/search.js +109 -109
  39. data/html/js/search_index.js +1 -1
  40. data/html/js/search_index.js.gz +0 -0
  41. data/html/js/searcher.js +228 -229
  42. data/html/js/searcher.js.gz +0 -0
  43. data/html/table_of_contents.html +161 -200
  44. data/lib/wwwjdic.rb +14 -15
  45. data/lib/wwwjdic/application.rb +68 -36
  46. data/lib/wwwjdic/constants.rb +56 -12
  47. data/lib/wwwjdic/locales/de.yml +9 -4
  48. data/lib/wwwjdic/locales/en.yml +9 -4
  49. data/lib/wwwjdic/locales/es.yml +9 -4
  50. data/lib/wwwjdic/locales/fr.yml +9 -4
  51. data/lib/wwwjdic/locales/hu.yml +9 -4
  52. data/lib/wwwjdic/locales/it.yml +9 -4
  53. data/lib/wwwjdic/locales/ja.yml +11 -5
  54. data/lib/wwwjdic/locales/nl.yml +9 -4
  55. data/lib/wwwjdic/locales/ru.yml +9 -4
  56. data/lib/wwwjdic/locales/sl.yml +9 -4
  57. data/lib/wwwjdic/locales/sv.yml +9 -4
  58. data/lib/wwwjdic/parser.rb +13 -8
  59. data/lib/wwwjdic/parsers/dict.rb +11 -8
  60. data/lib/wwwjdic/parsers/display.rb +8 -3
  61. data/lib/wwwjdic/parsers/key.rb +9 -3
  62. data/lib/wwwjdic/parsers/search.rb +10 -3
  63. data/lib/wwwjdic/parsers/server.rb +8 -3
  64. data/lib/wwwjdic/utils/downloader.rb +37 -34
  65. data/lib/wwwjdic/utils/raisers.rb +12 -15
  66. data/lib/wwwjdic/utils/splitter.rb +32 -18
  67. data/lib/wwwjdic/version.rb +22 -8
  68. data/test/test_helper.rb +10 -1
  69. data/test/test_wwwjdic.rb +10 -4
  70. data/test/wwwjdic/locales/de.yml +9 -1
  71. data/test/wwwjdic/locales/en.yml +9 -1
  72. data/test/wwwjdic/locales/es.yml +9 -1
  73. data/test/wwwjdic/locales/fr.yml +9 -1
  74. data/test/wwwjdic/locales/hu.yml +9 -1
  75. data/test/wwwjdic/locales/it.yml +10 -1
  76. data/test/wwwjdic/locales/ja.yml +11 -2
  77. data/test/wwwjdic/locales/nl.yml +9 -1
  78. data/test/wwwjdic/locales/ru.yml +9 -1
  79. data/test/wwwjdic/locales/sl.yml +9 -1
  80. data/test/wwwjdic/locales/sv.yml +9 -1
  81. data/test/wwwjdic/locales/test_locales.rb +41 -24
  82. data/test/wwwjdic/parsers/test_dict.rb +65 -37
  83. data/test/wwwjdic/parsers/test_display.rb +11 -5
  84. data/test/wwwjdic/parsers/test_key.rb +10 -4
  85. data/test/wwwjdic/parsers/test_server.rb +11 -5
  86. data/test/wwwjdic/test_application.rb +199 -149
  87. data/test/wwwjdic/test_parsable_duck_type.rb +9 -5
  88. data/test/wwwjdic/utils/test_downloader.rb +7 -1
  89. data/test/wwwjdic/utils/test_raisers.rb +46 -29
  90. data/wwwjdic.gemspec +44 -26
  91. metadata +55 -43
  92. data/acknowledgements.md +0 -55
  93. data/authors.md +0 -67
  94. data/html/acknowledgements_md.html +0 -149
  95. data/html/authors_md.html +0 -181
  96. data/html/js/jquery.js +0 -4
  97. data/html/wwwjdic_gemspec.html +0 -161
data/html/created.rid CHANGED
@@ -1,59 +1,34 @@
1
- Thu, 22 Aug 2019 10:08:39 +0200
2
- CHANGELOG Thu, 22 Aug 2019 10:07:03 +0200
1
+ Tue, 17 Aug 2021 08:39:50 +0200
2
+ CHANGELOG Fri, 06 Aug 2021 16:34:55 +0200
3
3
  COPYING.md Mon, 25 Feb 2019 15:42:16 +0100
4
- Gemfile Tue, 26 Feb 2019 12:20:36 +0100
5
- README.md Fri, 01 Mar 2019 15:00:00 +0100
6
- Rakefile Tue, 26 Feb 2019 12:27:31 +0100
7
- acknowledgements.md Mon, 25 Feb 2019 15:40:22 +0100
8
- authors.md Tue, 23 Apr 2019 11:48:58 +0200
9
- copyright.md Tue, 26 Feb 2019 12:20:36 +0100
10
- examples/basics.rb Tue, 23 Apr 2019 13:04:30 +0200
11
- examples/translate.rb Tue, 23 Apr 2019 13:04:30 +0200
12
- examples/uri.rb Tue, 23 Apr 2019 13:05:10 +0200
13
- lib/wwwjdic/application.rb Tue, 23 Apr 2019 14:18:07 +0200
14
- lib/wwwjdic/constants.rb Tue, 23 Apr 2019 14:27:33 +0200
15
- lib/wwwjdic/locales/de.yml Fri, 01 Mar 2019 14:34:54 +0100
16
- lib/wwwjdic/locales/en.yml Fri, 01 Mar 2019 14:34:50 +0100
17
- lib/wwwjdic/locales/es.yml Fri, 01 Mar 2019 14:34:45 +0100
18
- lib/wwwjdic/locales/fr.yml Fri, 01 Mar 2019 14:34:39 +0100
19
- lib/wwwjdic/locales/hu.yml Fri, 01 Mar 2019 14:34:34 +0100
20
- lib/wwwjdic/locales/it.yml Fri, 01 Mar 2019 14:36:02 +0100
21
- lib/wwwjdic/locales/ja.yml Fri, 01 Mar 2019 14:34:09 +0100
22
- lib/wwwjdic/locales/nl.yml Fri, 01 Mar 2019 14:33:47 +0100
23
- lib/wwwjdic/locales/ru.yml Fri, 01 Mar 2019 14:33:40 +0100
24
- lib/wwwjdic/locales/sl.yml Fri, 01 Mar 2019 14:33:36 +0100
25
- lib/wwwjdic/locales/sv.yml Fri, 01 Mar 2019 14:36:02 +0100
26
- lib/wwwjdic/parser.rb Tue, 23 Apr 2019 11:48:58 +0200
27
- lib/wwwjdic/parsers/dict.rb Tue, 23 Apr 2019 11:48:58 +0200
28
- lib/wwwjdic/parsers/display.rb Tue, 23 Apr 2019 11:48:59 +0200
29
- lib/wwwjdic/parsers/key.rb Tue, 23 Apr 2019 11:48:58 +0200
30
- lib/wwwjdic/parsers/search.rb Tue, 23 Apr 2019 11:48:58 +0200
31
- lib/wwwjdic/parsers/server.rb Tue, 23 Apr 2019 11:48:58 +0200
32
- lib/wwwjdic/utils/downloader.rb Fri, 01 Mar 2019 14:40:14 +0100
33
- lib/wwwjdic/utils/raisers.rb Tue, 23 Apr 2019 11:48:58 +0200
34
- lib/wwwjdic/utils/splitter.rb Wed, 24 Apr 2019 17:39:09 +0200
35
- lib/wwwjdic/version.rb Thu, 22 Aug 2019 10:07:11 +0200
36
- lib/wwwjdic.rb Tue, 23 Apr 2019 11:48:58 +0200
37
- test/test_helper.rb Fri, 01 Mar 2019 14:50:11 +0100
38
- test/test_wwwjdic.rb Fri, 01 Mar 2019 14:50:29 +0100
39
- test/wwwjdic/locales/de.yml Tue, 23 Apr 2019 14:41:33 +0200
40
- test/wwwjdic/locales/en.yml Tue, 23 Apr 2019 14:41:33 +0200
41
- test/wwwjdic/locales/es.yml Tue, 23 Apr 2019 14:41:33 +0200
42
- test/wwwjdic/locales/fr.yml Tue, 23 Apr 2019 14:41:33 +0200
43
- test/wwwjdic/locales/hu.yml Tue, 23 Apr 2019 14:41:33 +0200
44
- test/wwwjdic/locales/it.yml Tue, 23 Apr 2019 14:41:33 +0200
45
- test/wwwjdic/locales/ja.yml Tue, 23 Apr 2019 14:41:33 +0200
46
- test/wwwjdic/locales/nl.yml Tue, 23 Apr 2019 14:41:33 +0200
47
- test/wwwjdic/locales/ru.yml Tue, 23 Apr 2019 14:41:33 +0200
48
- test/wwwjdic/locales/sl.yml Tue, 23 Apr 2019 14:41:33 +0200
49
- test/wwwjdic/locales/sv.yml Tue, 23 Apr 2019 14:41:33 +0200
50
- test/wwwjdic/locales/test_locales.rb Fri, 01 Mar 2019 14:50:29 +0100
51
- test/wwwjdic/parsers/test_dict.rb Tue, 23 Apr 2019 13:10:06 +0200
52
- test/wwwjdic/parsers/test_display.rb Tue, 23 Apr 2019 13:10:06 +0200
53
- test/wwwjdic/parsers/test_key.rb Tue, 23 Apr 2019 14:24:37 +0200
54
- test/wwwjdic/parsers/test_server.rb Tue, 23 Apr 2019 13:10:06 +0200
55
- test/wwwjdic/test_application.rb Tue, 23 Apr 2019 13:35:29 +0200
56
- test/wwwjdic/test_parsable_duck_type.rb Tue, 23 Apr 2019 11:48:59 +0200
57
- test/wwwjdic/utils/test_downloader.rb Fri, 01 Mar 2019 14:48:49 +0100
58
- test/wwwjdic/utils/test_raisers.rb Fri, 01 Mar 2019 14:48:56 +0100
59
- wwwjdic.gemspec Thu, 22 Aug 2019 10:05:51 +0200
4
+ Gemfile Mon, 16 Aug 2021 18:07:59 +0200
5
+ README.md Fri, 06 Aug 2021 16:42:04 +0200
6
+ Rakefile Mon, 16 Aug 2021 18:07:59 +0200
7
+ copyright.md Fri, 06 Aug 2021 16:36:45 +0200
8
+ examples/basics.rb Mon, 16 Aug 2021 18:07:59 +0200
9
+ examples/translate.rb Mon, 16 Aug 2021 18:07:59 +0200
10
+ examples/uri.rb Mon, 16 Aug 2021 18:08:00 +0200
11
+ lib/wwwjdic/application.rb Mon, 16 Aug 2021 18:08:00 +0200
12
+ lib/wwwjdic/constants.rb Mon, 16 Aug 2021 18:08:00 +0200
13
+ lib/wwwjdic/parser.rb Mon, 16 Aug 2021 18:08:00 +0200
14
+ lib/wwwjdic/parsers/dict.rb Mon, 16 Aug 2021 18:08:00 +0200
15
+ lib/wwwjdic/parsers/display.rb Mon, 16 Aug 2021 18:08:01 +0200
16
+ lib/wwwjdic/parsers/key.rb Mon, 16 Aug 2021 18:08:01 +0200
17
+ lib/wwwjdic/parsers/search.rb Mon, 16 Aug 2021 18:08:01 +0200
18
+ lib/wwwjdic/parsers/server.rb Mon, 16 Aug 2021 18:08:01 +0200
19
+ lib/wwwjdic/utils/downloader.rb Mon, 16 Aug 2021 17:59:53 +0200
20
+ lib/wwwjdic/utils/raisers.rb Mon, 16 Aug 2021 18:08:01 +0200
21
+ lib/wwwjdic/utils/splitter.rb Mon, 16 Aug 2021 18:08:01 +0200
22
+ lib/wwwjdic/version.rb Mon, 16 Aug 2021 18:08:01 +0200
23
+ lib/wwwjdic.rb Mon, 16 Aug 2021 18:08:00 +0200
24
+ test/test_helper.rb Mon, 16 Aug 2021 18:08:01 +0200
25
+ test/test_wwwjdic.rb Mon, 16 Aug 2021 18:08:01 +0200
26
+ test/wwwjdic/locales/test_locales.rb Mon, 16 Aug 2021 18:08:02 +0200
27
+ test/wwwjdic/parsers/test_dict.rb Mon, 16 Aug 2021 18:08:02 +0200
28
+ test/wwwjdic/parsers/test_display.rb Mon, 16 Aug 2021 18:08:02 +0200
29
+ test/wwwjdic/parsers/test_key.rb Mon, 16 Aug 2021 18:08:02 +0200
30
+ test/wwwjdic/parsers/test_server.rb Mon, 16 Aug 2021 18:08:02 +0200
31
+ test/wwwjdic/test_application.rb Mon, 16 Aug 2021 18:08:02 +0200
32
+ test/wwwjdic/test_parsable_duck_type.rb Mon, 16 Aug 2021 18:08:03 +0200
33
+ test/wwwjdic/utils/test_downloader.rb Mon, 16 Aug 2021 18:08:03 +0200
34
+ test/wwwjdic/utils/test_raisers.rb Mon, 16 Aug 2021 18:08:03 +0200
data/html/css/rdoc.css CHANGED
@@ -1,590 +1,638 @@
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
- /* Base Green is: #6C8C22 */
11
-
12
- * { padding: 0; margin: 0; }
13
-
14
- body {
15
- background: #fafafa;
16
- font-family: Lato, sans-serif;
17
- font-weight: 300;
18
- }
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;
33
- }
34
-
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;
49
- }
50
-
51
- :link,
52
- :visited {
53
- color: #6C8C22;
54
- text-decoration: none;
55
- }
56
-
57
- :link:hover,
58
- :visited:hover {
59
- border-bottom: 1px dotted #6C8C22;
60
- }
61
-
62
- code,
63
- pre {
64
- font-family: "Source Code Pro", Monaco, monospace;
65
- }
66
-
67
- /* @group Generic Classes */
68
-
69
- .initially-hidden {
70
- display: none;
71
- }
72
-
73
- #search-field {
74
- width: 98%;
75
- background: white;
76
- border: none;
77
- height: 1.5em;
78
- -webkit-border-radius: 4px;
79
- -moz-border-radius: 4px;
80
- border-radius: 4px;
81
- text-align: left;
82
- }
83
- #search-field:focus {
84
- background: #f1edba;
85
- }
86
- #search-field:-moz-placeholder,
87
- #search-field::-webkit-input-placeholder {
88
- font-weight: bold;
89
- color: #666;
90
- }
91
-
92
- .missing-docs {
93
- font-size: 120%;
94
- background: white url(images/wrench_orange.png) no-repeat 4px center;
95
- color: #ccc;
96
- line-height: 2em;
97
- border: 1px solid #d00;
98
- opacity: 1;
99
- padding-left: 20px;
100
- text-indent: 24px;
101
- letter-spacing: 3px;
102
- font-weight: bold;
103
- -webkit-border-radius: 5px;
104
- -moz-border-radius: 5px;
105
- }
106
-
107
- .target-section {
108
- border: 2px solid #dcce90;
109
- border-left-width: 8px;
110
- padding: 0 1em;
111
- background: #fff3c2;
112
- }
113
-
114
- /* @end */
115
-
116
- /* @group Index Page, Standalone file pages */
117
- .table-of-contents ul {
118
- margin: 1em;
119
- list-style: none;
120
- }
121
-
122
- .table-of-contents ul ul {
123
- margin-top: 0.25em;
124
- }
125
-
126
- .table-of-contents ul :link,
127
- .table-of-contents ul :visited {
128
- font-size: 16px;
129
- }
130
-
131
- .table-of-contents li {
132
- margin-bottom: 0.25em;
133
- }
134
-
135
- .table-of-contents li .toc-toggle {
136
- width: 16px;
137
- height: 16px;
138
- background: url(images/add.png) no-repeat;
139
- }
140
-
141
- .table-of-contents li .toc-toggle.open {
142
- background: url(images/delete.png) no-repeat;
143
- }
144
-
145
- /* @end */
146
-
147
- /* @group Top-Level Structure */
148
-
149
- nav {
150
- float: left;
151
- width: 260px;
152
- font-family: Helvetica, sans-serif;
153
- font-size: 14px;
154
- }
155
-
156
- main {
157
- display: block;
158
- margin: 0 2em 5em 260px;
159
- padding-left: 20px;
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;
175
- }
176
-
177
- #validator-badges {
178
- clear: both;
179
- margin: 1em 1em 2em;
180
- font-size: smaller;
181
- }
182
-
183
- /* @end */
184
-
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;
193
- font-size: 90%;
194
- overflow: hidden;
195
- }
196
-
197
- nav h2 {
198
- margin: 0;
199
- padding: 2px 8px 2px 8px;
200
- background-color: #e8e8e8;
201
- color: #555;
202
- font-size: 125%;
203
- text-align: center;
204
- }
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;
213
- }
214
-
215
- nav ul,
216
- nav dl,
217
- nav p {
218
- padding: 4px 8px 0;
219
- list-style: none;
220
- }
221
-
222
- #project-navigation .nav-section {
223
- margin: 0;
224
- border-top: 0;
225
- }
226
-
227
- #home-section h2 {
228
- text-align: center;
229
- }
230
-
231
- #table-of-contents-navigation {
232
- font-size: 1.2em;
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;
248
- }
249
-
250
- ul.link-list li {
251
- white-space: nowrap;
252
- line-height: 1.4em;
253
- }
254
-
255
- ul.link-list .type {
256
- font-size: 8px;
257
- text-transform: uppercase;
258
- color: white;
259
- background: #969696;
260
- padding: 2px 4px;
261
- -webkit-border-radius: 5px;
262
- }
263
-
264
- .calls-super {
265
- background: url(images/arrow_up.png) no-repeat right center;
266
- }
267
-
268
- /* @end */
269
-
270
- /* @group Documentation Section */
271
- main {
272
- color: #333;
273
- }
274
-
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;
282
- }
283
-
284
- main sup {
285
- vertical-align: super;
286
- font-size: 0.8em;
287
- }
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;
295
- }
296
-
297
- main h1 {
298
- margin: 2em 0 0.5em;
299
- font-size: 1.7em;
300
- }
301
-
302
- main h2 {
303
- margin: 2em 0 0.5em;
304
- font-size: 1.5em;
305
- }
306
-
307
- main h3 {
308
- margin: 2em 0 0.5em;
309
- font-size: 1.2em;
310
- }
311
-
312
- main h4 {
313
- margin: 2em 0 0.5em;
314
- font-size: 1.1em;
315
- }
316
-
317
- main h5 {
318
- margin: 2em 0 0.5em;
319
- font-size: 1em;
320
- }
321
-
322
- main h6 {
323
- margin: 2em 0 0.5em;
324
- font-size: 1em;
325
- }
326
-
327
- main p {
328
- margin: 0 0 0.5em;
329
- line-height: 1.4em;
330
- }
331
-
332
- main pre {
333
- margin: 1.2em 0.5em;
334
- padding: 1em;
335
- font-size: 0.8em;
336
- }
337
-
338
- main hr {
339
- margin: 1.5em 1em;
340
- border: 2px solid #ddd;
341
- }
342
-
343
- main blockquote {
344
- margin: 0 2em 1.2em 1.2em;
345
- padding-left: 0.5em;
346
- border-left: 2px solid #ddd;
347
- }
348
-
349
- main ol,
350
- main ul {
351
- margin: 1em 2em;
352
- }
353
-
354
- main li > p {
355
- margin-bottom: 0.5em;
356
- }
357
-
358
- main dl {
359
- margin: 1em 0.5em;
360
- }
361
-
362
- main dt {
363
- margin-bottom: 0.5em;
364
- font-weight: bold;
365
- }
366
-
367
- main dd {
368
- margin: 0 1em 1em 0.5em;
369
- }
370
-
371
- main header h2 {
372
- margin-top: 2em;
373
- border-width: 0;
374
- border-top: 4px solid #bbb;
375
- font-size: 130%;
376
- }
377
-
378
- main header h3 {
379
- margin: 2em 0 1.5em;
380
- border-width: 0;
381
- border-top: 3px solid #bbb;
382
- font-size: 120%;
383
- }
384
-
385
- .documentation-section-title {
386
- position: relative;
387
- }
388
- .documentation-section-title .section-click-top {
389
- position: absolute;
390
- top: 6px;
391
- left: 12px;
392
- font-size: 10px;
393
- color: #9b9877;
394
- visibility: hidden;
395
- padding-left: 0.5px;
396
- }
397
-
398
- .documentation-section-title:hover .section-click-top {
399
- visibility: visible;
400
- }
401
-
402
- .constants-list > dl {
403
- margin: 1em 0 2em;
404
- border: 0;
405
- }
406
-
407
- .constants-list > dl dt {
408
- margin-bottom: 0.75em;
409
- padding-left: 0;
410
- font-family: "Source Code Pro", Monaco, monospace;
411
- font-size: 110%;
412
- }
413
-
414
- .constants-list > dl dt a {
415
- color: inherit;
416
- }
417
-
418
- .constants-list > dl dd {
419
- margin: 0 0 2em 0;
420
- padding: 0;
421
- color: #666;
422
- }
423
-
424
- .documentation-section h2 {
425
- position: relative;
426
- }
427
-
428
- .documentation-section h2 a {
429
- position: absolute;
430
- top: 8px;
431
- right: 10px;
432
- font-size: 12px;
433
- color: #9b9877;
434
- visibility: hidden;
435
- }
436
-
437
- .documentation-section h2:hover a {
438
- visibility: visible;
439
- }
440
-
441
- /* @group Method Details */
442
-
443
- main .method-source-code {
444
- display: none;
445
- }
446
-
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;
454
- cursor: pointer;
455
- }
456
-
457
- main .method-detail:target {
458
- margin-left: -10px;
459
- border-left: 10px solid #f1edba;
460
- }
461
-
462
- main .method-heading {
463
- position: relative;
464
- font-family: "Source Code Pro", Monaco, monospace;
465
- font-size: 110%;
466
- font-weight: bold;
467
- color: #333;
468
- }
469
- main .method-heading :link,
470
- main .method-heading :visited {
471
- color: inherit;
472
- }
473
- main .method-click-advice {
474
- position: absolute;
475
- top: 2px;
476
- right: 5px;
477
- font-size: 12px;
478
- color: #9b9877;
479
- visibility: hidden;
480
- padding-right: 20px;
481
- line-height: 20px;
482
- background: url(images/zoom.png) no-repeat right top;
483
- }
484
- main .method-heading:hover .method-click-advice {
485
- visibility: visible;
486
- }
487
-
488
- main .method-alias .method-heading {
489
- color: #666;
490
- }
491
-
492
- main .method-description,
493
- main .aliases {
494
- margin-top: 0.75em;
495
- color: #333;
496
- }
497
-
498
- main .aliases {
499
- padding-top: 4px;
500
- font-style: italic;
501
- cursor: default;
502
- }
503
- main .method-description ul {
504
- margin-left: 1.5em;
505
- }
506
-
507
- main #attribute-method-details .method-detail:hover {
508
- background-color: transparent;
509
- cursor: default;
510
- }
511
- main .attribute-access-type {
512
- text-transform: uppercase;
513
- padding: 0 1em;
514
- }
515
- /* @end */
516
-
517
- /* @end */
518
-
519
- /* @group Source Code */
520
-
521
- pre {
522
- margin: 0.5em 0;
523
- border: 1px dashed #999;
524
- padding: 0.5em;
525
- background: #262626;
526
- color: white;
527
- overflow: auto;
528
- }
529
-
530
- .ruby-constant { color: #7fffd4; background: transparent; }
531
- .ruby-keyword { color: #00ffff; background: transparent; }
532
- .ruby-ivar { color: #eedd82; background: transparent; }
533
- .ruby-operator { color: #00ffee; background: transparent; }
534
- .ruby-identifier { color: #ffdead; background: transparent; }
535
- .ruby-node { color: #ffa07a; background: transparent; }
536
- .ruby-comment { color: #dc0000; background: transparent; }
537
- .ruby-regexp { color: #ffa07a; background: transparent; }
538
- .ruby-value { color: #7fffd4; background: transparent; }
539
-
540
- /* @end */
541
-
542
-
543
- /* @group search results */
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;
551
- font-weight: normal;
552
- }
553
-
554
- #search-results .search-selected {
555
- background: #e8e8e8;
556
- border-bottom: 1px solid transparent;
557
- }
558
-
559
- #search-results li {
560
- list-style: none;
561
- border-bottom: 1px solid #aaa;
562
- margin-bottom: 0.5em;
563
- }
564
-
565
- #search-results li:last-child {
566
- border-bottom: none;
567
- margin-bottom: 0;
568
- }
569
-
570
- #search-results li p {
571
- padding: 0;
572
- margin: 0.5em;
573
- }
574
-
575
- #search-results .search-namespace {
576
- font-weight: bold;
577
- }
578
-
579
- #search-results li em {
580
- background: yellow;
581
- font-style: normal;
582
- }
583
-
584
- #search-results pre {
585
- margin: 0.5em;
586
- font-family: "Source Code Pro", Monaco, monospace;
587
- }
588
-
589
- /* @end */
590
-
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
+ /* Base Green is: #6C8C22 */
11
+
12
+ .hide { display: none !important; }
13
+
14
+ * { margin: 0; padding: 0; }
15
+
16
+ body {
17
+ background: #fafafa;
18
+ font-family: Lato, sans-serif;
19
+ font-weight: 300;
20
+ }
21
+
22
+ h1 span,
23
+ h2 span,
24
+ h3 span,
25
+ h4 span,
26
+ h5 span,
27
+ h6 span {
28
+ display: none;
29
+
30
+ font-size: 10px;
31
+ line-height: 0;
32
+ padding-left: 1em;
33
+ position: relative;
34
+ vertical-align: baseline;
35
+ }
36
+
37
+ h1 span { top: -1.3em; }
38
+ h2 span { top: -1.2em; }
39
+ h3 span { top: -1.0em; }
40
+ h4 span { top: -0.8em; }
41
+ h5 span { top: -0.5em; }
42
+ h6 span { top: -0.5em; }
43
+
44
+ h1:hover span,
45
+ h2:hover span,
46
+ h3:hover span,
47
+ h4:hover span,
48
+ h5:hover span,
49
+ h6:hover span {
50
+ display: inline;
51
+ }
52
+
53
+ h1:target,
54
+ h2:target,
55
+ h3:target,
56
+ h4:target,
57
+ h5:target,
58
+ h6:target {
59
+ border-left: 10px solid #f1edba;
60
+ margin-left: -10px;
61
+ }
62
+
63
+ :link,
64
+ :visited {
65
+ color: #6C8C22;
66
+ text-decoration: none;
67
+ }
68
+
69
+ :link:hover,
70
+ :visited:hover {
71
+ border-bottom: 1px dotted #6C8C22;
72
+ }
73
+
74
+ code,
75
+ pre {
76
+ background-color: rgba(27,31,35,0.05);
77
+ border-radius: 0.2em;
78
+ font-family: "Source Code Pro", Monaco, monospace;
79
+ padding: 0em 0.2em;
80
+ }
81
+
82
+ table {
83
+ border-collapse: collapse;
84
+ border-spacing: 0;
85
+ margin: 0;
86
+ }
87
+
88
+ table tr th, table tr td {
89
+ border: 1px solid #ccc;
90
+ padding: 0.2em 0.4em;
91
+ }
92
+
93
+ table tr th {
94
+ background-color: #eceaed;
95
+ }
96
+
97
+ table tr:nth-child(even) td {
98
+ background-color: #f5f4f6;
99
+ }
100
+
101
+ /* @group Generic Classes */
102
+
103
+ .initially-hidden {
104
+ display: none;
105
+ }
106
+
107
+ #search-field {
108
+ background: white;
109
+ border: none;
110
+ -moz-border-radius: 4px;
111
+ -webkit-border-radius: 4px;
112
+ border-radius: 4px;
113
+ height: 1.5em;
114
+ text-align: left;
115
+ width: 98%;
116
+ }
117
+ #search-field:focus {
118
+ background: #f1edba;
119
+ }
120
+ #search-field:-moz-placeholder,
121
+ #search-field::-webkit-input-placeholder {
122
+ color: #666;
123
+ font-weight: bold;
124
+ }
125
+
126
+ .missing-docs {
127
+ background: white url(../images/wrench_orange.png) no-repeat 4px center;
128
+ border: 1px solid #d00;
129
+ -moz-border-radius: 5px;
130
+ -webkit-border-radius: 5px;
131
+ color: #ccc;
132
+ font-size: 120%;
133
+ font-weight: bold;
134
+ letter-spacing: 3px;
135
+ line-height: 2em;
136
+ opacity: 1;
137
+ padding-left: 20px;
138
+ text-indent: 24px;
139
+ }
140
+
141
+ .target-section {
142
+ background: #fff3c2;
143
+ border: 2px solid #dcce90;
144
+ border-left-width: 8px;
145
+ padding: 0 1em;
146
+ }
147
+
148
+ /* @end */
149
+
150
+ /* @group Index Page, Standalone file pages */
151
+ .table-of-contents ul {
152
+ list-style: none;
153
+ margin: 1em;
154
+ }
155
+
156
+ .table-of-contents ul ul {
157
+ margin-top: 0.25em;
158
+ }
159
+
160
+ .table-of-contents ul :link,
161
+ .table-of-contents ul :visited {
162
+ font-size: 16px;
163
+ }
164
+
165
+ .table-of-contents li {
166
+ margin-bottom: 0.25em;
167
+ }
168
+
169
+ .table-of-contents li .toc-toggle {
170
+ background: url(../images/add.png) no-repeat;
171
+ height: 16px;
172
+ width: 16px;
173
+ }
174
+
175
+ .table-of-contents li .toc-toggle.open {
176
+ background: url(../images/delete.png) no-repeat;
177
+ }
178
+
179
+ /* @end */
180
+
181
+ /* @group Top-Level Structure */
182
+
183
+ nav {
184
+ border-right: 1px solid #ccc;
185
+ float: left;
186
+ font-family: Helvetica, sans-serif;
187
+ font-size: 14px;
188
+ width: 260px;
189
+ }
190
+
191
+ main {
192
+ display: block;
193
+ font-size: 16px;
194
+ margin: 0 2em 5em 260px;
195
+ min-width: 340px;
196
+ padding-left: 20px;
197
+ }
198
+
199
+ main h1,
200
+ main h2,
201
+ main h3,
202
+ main h4,
203
+ main h5,
204
+ main h6 {
205
+ font-family: Helvetica, sans-serif;
206
+ }
207
+
208
+ .table-of-contents main {
209
+ margin-left: 2em;
210
+ }
211
+
212
+ #validator-badges {
213
+ clear: both;
214
+ font-size: smaller;
215
+ margin: 1em 1em 2em;
216
+ }
217
+
218
+ /* @end */
219
+
220
+ /* @group navigation */
221
+ nav {
222
+ margin-bottom: 1em;
223
+ }
224
+
225
+ nav .nav-section {
226
+ border-top: 2px solid #aaa;
227
+ font-size: 90%;
228
+ margin-top: 2em;
229
+ overflow: hidden;
230
+ }
231
+
232
+ nav h2 {
233
+ background-color: #e8e8e8;
234
+ color: #555;
235
+ font-size: 125%;
236
+ margin: 0;
237
+ padding: 2px 8px 2px 8px;
238
+ text-align: center;
239
+ }
240
+
241
+ nav h3,
242
+ #table-of-contents-navigation {
243
+ background-color: #e8e8e8;
244
+ color: #555;
245
+ margin: 0;
246
+ padding: 2px 8px 2px 8px;
247
+ text-align: right;
248
+ }
249
+
250
+ nav ul,
251
+ nav dl,
252
+ nav p {
253
+ list-style: none;
254
+ padding: 4px 8px 0;
255
+ }
256
+
257
+ #project-navigation .nav-section {
258
+ border-top: 0;
259
+ margin: 0;
260
+ }
261
+
262
+ #home-section h2 {
263
+ text-align: center;
264
+ }
265
+
266
+ #table-of-contents-navigation {
267
+ font-size: 1.2em;
268
+ font-weight: bold;
269
+ text-align: center;
270
+ }
271
+
272
+ #search-section {
273
+ border-top: 0;
274
+ margin-top: 0;
275
+ }
276
+
277
+ #search-field-wrapper {
278
+ background-color: #e8e8e8;
279
+ border-bottom: 1px solid #aaa;
280
+ border-top: 1px solid #aaa;
281
+ color: #555;
282
+ padding: 3px 8px;
283
+ }
284
+
285
+ ul.link-list li {
286
+ line-height: 1.4em;
287
+ white-space: nowrap;
288
+ }
289
+
290
+ ul.link-list .type {
291
+ background: #969696;
292
+ -webkit-border-radius: 5px;
293
+ color: white;
294
+ font-size: 8px;
295
+ padding: 2px 4px;
296
+ text-transform: uppercase;
297
+ }
298
+
299
+ dl.note-list dt {
300
+ float: left;
301
+ margin-right: 1em;
302
+ }
303
+
304
+ .calls-super {
305
+ background: url(../images/arrow_up.png) no-repeat right center;
306
+ }
307
+
308
+ /* @end */
309
+
310
+ /* @group Documentation Section */
311
+ main {
312
+ color: #333;
313
+ }
314
+
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;
322
+ }
323
+
324
+ main sup {
325
+ font-size: 0.8em;
326
+ vertical-align: super;
327
+ }
328
+
329
+ /* The heading with the class name */
330
+ main h1[class] {
331
+ color: #6C8C22;
332
+ font-size: 2em;
333
+ margin-bottom: 1em;
334
+ margin-top: 0;
335
+ }
336
+
337
+ main h1 {
338
+ font-size: 1.7em;
339
+ margin: 2em 0 0.5em;
340
+ }
341
+
342
+ main h2 {
343
+ font-size: 1.5em;
344
+ margin: 2em 0 0.5em;
345
+ }
346
+
347
+ main h3 {
348
+ font-size: 1.2em;
349
+ margin: 2em 0 0.5em;
350
+ }
351
+
352
+ main h4 {
353
+ font-size: 1.1em;
354
+ margin: 2em 0 0.5em;
355
+ }
356
+
357
+ main h5 {
358
+ font-size: 1em;
359
+ margin: 2em 0 0.5em;
360
+ }
361
+
362
+ main h6 {
363
+ font-size: 1em;
364
+ margin: 2em 0 0.5em;
365
+ }
366
+
367
+ main p {
368
+ line-height: 1.4em;
369
+ margin: 0 0 0.5em;
370
+ }
371
+
372
+ main pre {
373
+ font-size: 0.8em;
374
+ margin: 1.2em 0.5em;
375
+ padding: 1em;
376
+ }
377
+
378
+ main hr {
379
+ border: 2px solid #ddd;
380
+ margin: 1.5em 1em;
381
+ }
382
+
383
+ main blockquote {
384
+ border-left: 2px solid #ddd;
385
+ margin: 0 2em 1.2em 1.2em;
386
+ padding-left: 0.5em;
387
+ }
388
+
389
+ main ol,
390
+ main ul {
391
+ margin: 1em 2em;
392
+ }
393
+
394
+ main li > p {
395
+ margin-bottom: 0.5em;
396
+ }
397
+
398
+ main dl {
399
+ margin: 1em 0.5em;
400
+ }
401
+
402
+ main dt {
403
+ font-weight: bold;
404
+ margin-bottom: 0.5em;
405
+ }
406
+
407
+ main dd {
408
+ margin: 0 1em 1em 0.5em;
409
+ }
410
+
411
+ main header h2 {
412
+ border-top: 4px solid #bbb;
413
+ border-width: 0;
414
+ font-size: 130%;
415
+ margin-top: 2em;
416
+ }
417
+
418
+ main header h3 {
419
+ border-top: 3px solid #bbb;
420
+ border-width: 0;
421
+ font-size: 120%;
422
+ margin: 2em 0 1.5em;
423
+ }
424
+
425
+ .documentation-section-title {
426
+ position: relative;
427
+ }
428
+ .documentation-section-title .section-click-top {
429
+ color: #9b9877;
430
+ font-size: 10px;
431
+ left: 12px;
432
+ padding-left: 0.5px;
433
+ position: absolute;
434
+ top: 6px;
435
+ visibility: hidden;
436
+ }
437
+
438
+ .documentation-section-title:hover .section-click-top {
439
+ visibility: visible;
440
+ }
441
+
442
+ .constants-list > dl {
443
+ border: 0;
444
+ margin: 1em 0 2em;
445
+ }
446
+
447
+ .constants-list > dl dt {
448
+ font-family: "Source Code Pro", Monaco, monospace;
449
+ font-size: 110%;
450
+ margin-bottom: 0.75em;
451
+ padding-left: 0;
452
+ }
453
+
454
+ .constants-list > dl dt a {
455
+ color: inherit;
456
+ }
457
+
458
+ .constants-list > dl dd {
459
+ color: #666;
460
+ margin: 0 0 2em 0;
461
+ padding: 0;
462
+ }
463
+
464
+ .documentation-section h2 {
465
+ position: relative;
466
+ }
467
+
468
+ .documentation-section h2 a {
469
+ color: #9b9877;
470
+ font-size: 12px;
471
+ position: absolute;
472
+ right: 10px;
473
+ top: 8px;
474
+ visibility: hidden;
475
+ }
476
+
477
+ .documentation-section h2:hover a {
478
+ visibility: visible;
479
+ }
480
+
481
+ /* @group Method Details */
482
+
483
+ main .method-source-code {
484
+ max-height: 0;
485
+ overflow: hidden;
486
+ transition-delay: 0ms;
487
+ transition-duration: 200ms;
488
+ transition-property: all;
489
+ transition-timing-function: ease-in-out;
490
+ }
491
+
492
+ main .method-source-code.active-menu {
493
+ max-height: 100vh;
494
+ }
495
+
496
+ main .method-description .method-calls-super {
497
+ color: #333;
498
+ font-weight: bold;
499
+ }
500
+
501
+ main .method-detail {
502
+ cursor: pointer;
503
+ margin-bottom: 2.5em;
504
+ }
505
+
506
+ main .method-detail:target {
507
+ border-left: 10px solid #f1edba;
508
+ margin-left: -10px;
509
+ }
510
+
511
+ main .method-heading {
512
+ color: #333;
513
+ font-family: "Source Code Pro", Monaco, monospace;
514
+ font-size: 110%;
515
+ font-weight: bold;
516
+ position: relative;
517
+ }
518
+ main .method-heading :link,
519
+ main .method-heading :visited {
520
+ color: inherit;
521
+ }
522
+ main .method-click-advice {
523
+ background: url(../images/zoom.png) no-repeat right top;
524
+ color: #9b9877;
525
+ font-size: 12px;
526
+ line-height: 20px;
527
+ padding-right: 20px;
528
+ position: absolute;
529
+ right: 5px;
530
+ top: 2px;
531
+ visibility: hidden;
532
+ }
533
+ main .method-heading:hover .method-click-advice {
534
+ visibility: visible;
535
+ }
536
+
537
+ main .method-alias .method-heading {
538
+ color: #666;
539
+ }
540
+
541
+ main .method-description,
542
+ main .aliases {
543
+ color: #333;
544
+ margin-top: 0.75em;
545
+ }
546
+
547
+ main .aliases {
548
+ cursor: default;
549
+ font-style: italic;
550
+ padding-top: 4px;
551
+ }
552
+ main .method-description ul {
553
+ margin-left: 1.5em;
554
+ }
555
+
556
+ main #attribute-method-details .method-detail:hover {
557
+ background-color: transparent;
558
+ cursor: default;
559
+ }
560
+ main .attribute-access-type {
561
+ padding: 0 1em;
562
+ text-transform: uppercase;
563
+ }
564
+ /* @end */
565
+
566
+ /* @end */
567
+
568
+ /* @group Source Code */
569
+
570
+ pre {
571
+ background: #262626;
572
+ border: 1px dashed #999;
573
+ color: white;
574
+ margin: 0.5em 0;
575
+ overflow: auto;
576
+ padding: 0.5em;
577
+ }
578
+
579
+ .ruby-constant { background: transparent; color: #7fffd4; }
580
+ .ruby-keyword { background: transparent; color: #00ffff; }
581
+ .ruby-ivar { background: transparent; color: #eedd82; }
582
+ .ruby-operator { background: transparent; color: #00ffee; }
583
+ .ruby-identifier { background: transparent; color: #ffdead; }
584
+ .ruby-node { background: transparent; color: #ffa07a; }
585
+ .ruby-comment { background: transparent; color: #dc0000; }
586
+ .ruby-regexp { background: transparent; color: #ffa07a; }
587
+ .ruby-value { background: transparent; color: #7fffd4; }
588
+
589
+ /* @end */
590
+
591
+
592
+ /* @group search results */
593
+ #search-results {
594
+ font-family: Lato, sans-serif;
595
+ font-weight: 300;
596
+ }
597
+
598
+ #search-results .search-match {
599
+ font-family: Helvetica, sans-serif;
600
+ font-weight: normal;
601
+ }
602
+
603
+ #search-results .search-selected {
604
+ background: #e8e8e8;
605
+ border-bottom: 1px solid transparent;
606
+ }
607
+
608
+ #search-results li {
609
+ border-bottom: 1px solid #aaa;
610
+ list-style: none;
611
+ margin-bottom: 0.5em;
612
+ }
613
+
614
+ #search-results li:last-child {
615
+ border-bottom: none;
616
+ margin-bottom: 0;
617
+ }
618
+
619
+ #search-results li p {
620
+ margin: 0.5em;
621
+ padding: 0;
622
+ }
623
+
624
+ #search-results .search-namespace {
625
+ font-weight: bold;
626
+ }
627
+
628
+ #search-results li em {
629
+ background: yellow;
630
+ font-style: normal;
631
+ }
632
+
633
+ #search-results pre {
634
+ font-family: "Source Code Pro", Monaco, monospace;
635
+ margin: 0.5em;
636
+ }
637
+
638
+ /* @end */