silicium 0.0.20 → 0.0.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/.codeclimate.yml +3 -3
  3. data/.gitignore +13 -13
  4. data/.rakeTasks +8 -0
  5. data/.travis.yml +28 -25
  6. data/CODE_OF_CONDUCT.md +74 -74
  7. data/Gemfile +8 -8
  8. data/LICENSE.txt +21 -21
  9. data/Makefile +269 -269
  10. data/README.md +588 -46
  11. data/Rakefile +16 -16
  12. data/bin/console +14 -14
  13. data/bin/setup +8 -8
  14. data/docs/Object.html +117 -117
  15. data/docs/README_md.html +142 -142
  16. data/docs/Silicium/Combinatorics.html +270 -270
  17. data/docs/Silicium/Dice/Polyhedron.html +315 -315
  18. data/docs/Silicium/Dice/PolyhedronSet.html +321 -321
  19. data/docs/Silicium/Dice.html +99 -99
  20. data/docs/Silicium/Error.html +106 -106
  21. data/docs/Silicium/Geometry/Line2dCanon.html +243 -243
  22. data/docs/Silicium/Geometry/VariablesOrderException.html +106 -106
  23. data/docs/Silicium/Geometry.html +940 -940
  24. data/docs/Silicium/GraphVisualizer.html +226 -0
  25. data/docs/Silicium/Graphs/GraphError.html +106 -106
  26. data/docs/Silicium/Graphs/OrientedGraph.html +901 -775
  27. data/docs/Silicium/Graphs/UnorientedGraph.html +237 -284
  28. data/docs/Silicium/Graphs.html +374 -164
  29. data/docs/Silicium/IntegralDoesntExistError.html +106 -106
  30. data/docs/Silicium/NumericalIntegration.html +521 -521
  31. data/docs/Silicium/Optimization.html +629 -639
  32. data/docs/Silicium/Plotter/Image.html +297 -297
  33. data/docs/Silicium/Plotter.html +186 -186
  34. data/docs/Silicium.html +101 -101
  35. data/docs/created.rid +9 -9
  36. data/docs/css/fonts.css +167 -167
  37. data/docs/css/rdoc.css +619 -619
  38. data/docs/index.html +134 -132
  39. data/docs/js/darkfish.js +84 -84
  40. data/docs/js/navigation.js +105 -105
  41. data/docs/js/search.js +110 -110
  42. data/docs/js/search_index.js +1 -1
  43. data/docs/js/search_index.js.gz +0 -0
  44. data/docs/js/searcher.js +229 -229
  45. data/docs/table_of_contents.html +697 -608
  46. data/lib/algebra.rb +452 -0
  47. data/lib/algebra_diff.rb +258 -0
  48. data/lib/geometry/figure.rb +62 -0
  49. data/lib/geometry.rb +290 -236
  50. data/lib/geometry3d.rb +270 -0
  51. data/lib/graph/dfs.rb +42 -0
  52. data/lib/graph/kruskal.rb +36 -0
  53. data/lib/graph/scc.rb +97 -0
  54. data/lib/graph.rb +350 -164
  55. data/lib/graph_visualizer.rb +287 -0
  56. data/lib/ml_algorithms.rb +181 -0
  57. data/lib/numerical_integration.rb +184 -147
  58. data/lib/optimization.rb +209 -144
  59. data/lib/plotter.rb +256 -96
  60. data/lib/polynomial_division.rb +132 -0
  61. data/lib/polynomial_interpolation.rb +94 -0
  62. data/lib/regression.rb +120 -0
  63. data/lib/silicium/adding.rb +37 -0
  64. data/lib/silicium/conversions.rb +23 -0
  65. data/lib/silicium/multi.rb +82 -0
  66. data/lib/silicium/sparse.rb +76 -0
  67. data/lib/silicium/sugar.rb +37 -0
  68. data/lib/silicium/trans.rb +26 -0
  69. data/lib/silicium/version.rb +3 -3
  70. data/lib/silicium.rb +5 -5
  71. data/lib/theory_of_probability.rb +240 -226
  72. data/lib/topological_sort.rb +50 -0
  73. data/oriented_graph.png +0 -0
  74. data/plot.png +0 -0
  75. data/silicium.gemspec +38 -39
  76. metadata +38 -16
data/docs/created.rid CHANGED
@@ -1,9 +1,9 @@
1
- Thu, 31 Oct 2019 12:23:50 +0300
2
- README.md Fri, 25 Oct 2019 08:28:50 +0300
3
- lib/geometry.rb Thu, 31 Oct 2019 11:50:16 +0300
4
- lib/graph.rb Tue, 29 Oct 2019 08:22:11 +0300
5
- lib/numerical_integration.rb Wed, 30 Oct 2019 00:11:01 +0300
6
- lib/optimization.rb Thu, 31 Oct 2019 11:50:16 +0300
7
- lib/plotter.rb Thu, 31 Oct 2019 12:02:45 +0300
8
- lib/silicium.rb Wed, 30 Oct 2019 00:11:01 +0300
9
- lib/theory_of_probability.rb Thu, 31 Oct 2019 11:52:42 +0300
1
+ Thu, 31 Oct 2019 23:42:50 +0300
2
+ README.md Thu, 31 Oct 2019 23:22:28 +0300
3
+ lib/geometry.rb Thu, 31 Oct 2019 23:22:28 +0300
4
+ lib/graph.rb Thu, 31 Oct 2019 23:30:10 +0300
5
+ lib/numerical_integration.rb Wed, 30 Oct 2019 00:11:01 +0300
6
+ lib/optimization.rb Thu, 31 Oct 2019 23:38:51 +0300
7
+ lib/plotter.rb Thu, 31 Oct 2019 23:28:23 +0300
8
+ lib/silicium.rb Wed, 30 Oct 2019 00:11:01 +0300
9
+ lib/theory_of_probability.rb Thu, 31 Oct 2019 23:22:28 +0300
data/docs/css/fonts.css CHANGED
@@ -1,167 +1,167 @@
1
- /*
2
- * Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/),
3
- * with Reserved Font Name "Source". All Rights Reserved. Source is a
4
- * trademark of Adobe Systems Incorporated in the United States and/or other
5
- * countries.
6
- *
7
- * This Font Software is licensed under the SIL Open Font License, Version
8
- * 1.1.
9
- *
10
- * This license is copied below, and is also available with a FAQ at:
11
- * http://scripts.sil.org/OFL
12
- */
13
-
14
- @font-face {
15
- font-family: "Source Code Pro";
16
- font-style: normal;
17
- font-weight: 400;
18
- src: local("Source Code Pro"),
19
- local("SourceCodePro-Regular"),
20
- url("../fonts/SourceCodePro-Regular.ttf") format("truetype");
21
- }
22
-
23
- @font-face {
24
- font-family: "Source Code Pro";
25
- font-style: normal;
26
- font-weight: 700;
27
- src: local("Source Code Pro Bold"),
28
- local("SourceCodePro-Bold"),
29
- url("../fonts/SourceCodePro-Bold.ttf") format("truetype");
30
- }
31
-
32
- /*
33
- * Copyright (c) 2010, Łukasz Dziedzic (dziedzic@typoland.com),
34
- * with Reserved Font Name Lato.
35
- *
36
- * This Font Software is licensed under the SIL Open Font License, Version
37
- * 1.1.
38
- *
39
- * This license is copied below, and is also available with a FAQ at:
40
- * http://scripts.sil.org/OFL
41
- */
42
-
43
- @font-face {
44
- font-family: "Lato";
45
- font-style: normal;
46
- font-weight: 300;
47
- src: local("Lato Light"),
48
- local("Lato-Light"),
49
- url("../fonts/Lato-Light.ttf") format("truetype");
50
- }
51
-
52
- @font-face {
53
- font-family: "Lato";
54
- font-style: italic;
55
- font-weight: 300;
56
- src: local("Lato Light Italic"),
57
- local("Lato-LightItalic"),
58
- url("../fonts/Lato-LightItalic.ttf") format("truetype");
59
- }
60
-
61
- @font-face {
62
- font-family: "Lato";
63
- font-style: normal;
64
- font-weight: 700;
65
- src: local("Lato Regular"),
66
- local("Lato-Regular"),
67
- url("../fonts/Lato-Regular.ttf") format("truetype");
68
- }
69
-
70
- @font-face {
71
- font-family: "Lato";
72
- font-style: italic;
73
- font-weight: 700;
74
- src: local("Lato Italic"),
75
- local("Lato-Italic"),
76
- url("../fonts/Lato-RegularItalic.ttf") format("truetype");
77
- }
78
-
79
- /*
80
- * -----------------------------------------------------------
81
- * SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
82
- * -----------------------------------------------------------
83
- *
84
- * PREAMBLE
85
- * The goals of the Open Font License (OFL) are to stimulate worldwide
86
- * development of collaborative font projects, to support the font creation
87
- * efforts of academic and linguistic communities, and to provide a free and
88
- * open framework in which fonts may be shared and improved in partnership
89
- * with others.
90
- *
91
- * The OFL allows the licensed fonts to be used, studied, modified and
92
- * redistributed freely as long as they are not sold by themselves. The
93
- * fonts, including any derivative works, can be bundled, embedded,
94
- * redistributed and/or sold with any software provided that any reserved
95
- * names are not used by derivative works. The fonts and derivatives,
96
- * however, cannot be released under any other type of license. The
97
- * requirement for fonts to remain under this license does not apply
98
- * to any document created using the fonts or their derivatives.
99
- *
100
- * DEFINITIONS
101
- * "Font Software" refers to the set of files released by the Copyright
102
- * Holder(s) under this license and clearly marked as such. This may
103
- * include source files, build scripts and documentation.
104
- *
105
- * "Reserved Font Name" refers to any names specified as such after the
106
- * copyright statement(s).
107
- *
108
- * "Original Version" refers to the collection of Font Software components as
109
- * distributed by the Copyright Holder(s).
110
- *
111
- * "Modified Version" refers to any derivative made by adding to, deleting,
112
- * or substituting -- in part or in whole -- any of the components of the
113
- * Original Version, by changing formats or by porting the Font Software to a
114
- * new environment.
115
- *
116
- * "Author" refers to any designer, engineer, programmer, technical
117
- * writer or other person who contributed to the Font Software.
118
- *
119
- * PERMISSION & CONDITIONS
120
- * Permission is hereby granted, free of charge, to any person obtaining
121
- * a copy of the Font Software, to use, study, copy, merge, embed, modify,
122
- * redistribute, and sell modified and unmodified copies of the Font
123
- * Software, subject to the following conditions:
124
- *
125
- * 1) Neither the Font Software nor any of its individual components,
126
- * in Original or Modified Versions, may be sold by itself.
127
- *
128
- * 2) Original or Modified Versions of the Font Software may be bundled,
129
- * redistributed and/or sold with any software, provided that each copy
130
- * contains the above copyright notice and this license. These can be
131
- * included either as stand-alone text files, human-readable headers or
132
- * in the appropriate machine-readable metadata fields within text or
133
- * binary files as long as those fields can be easily viewed by the user.
134
- *
135
- * 3) No Modified Version of the Font Software may use the Reserved Font
136
- * Name(s) unless explicit written permission is granted by the corresponding
137
- * Copyright Holder. This restriction only applies to the primary font name as
138
- * presented to the users.
139
- *
140
- * 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
141
- * Software shall not be used to promote, endorse or advertise any
142
- * Modified Version, except to acknowledge the contribution(s) of the
143
- * Copyright Holder(s) and the Author(s) or with their explicit written
144
- * permission.
145
- *
146
- * 5) The Font Software, modified or unmodified, in part or in whole,
147
- * must be distributed entirely under this license, and must not be
148
- * distributed under any other license. The requirement for fonts to
149
- * remain under this license does not apply to any document created
150
- * using the Font Software.
151
- *
152
- * TERMINATION
153
- * This license becomes null and void if any of the above conditions are
154
- * not met.
155
- *
156
- * DISCLAIMER
157
- * THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
158
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
159
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
160
- * OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
161
- * COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
162
- * INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
163
- * DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
164
- * FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
165
- * OTHER DEALINGS IN THE FONT SOFTWARE.
166
- */
167
-
1
+ /*
2
+ * Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/),
3
+ * with Reserved Font Name "Source". All Rights Reserved. Source is a
4
+ * trademark of Adobe Systems Incorporated in the United States and/or other
5
+ * countries.
6
+ *
7
+ * This Font Software is licensed under the SIL Open Font License, Version
8
+ * 1.1.
9
+ *
10
+ * This license is copied below, and is also available with a FAQ at:
11
+ * http://scripts.sil.org/OFL
12
+ */
13
+
14
+ @font-face {
15
+ font-family: "Source Code Pro";
16
+ font-style: normal;
17
+ font-weight: 400;
18
+ src: local("Source Code Pro"),
19
+ local("SourceCodePro-Regular"),
20
+ url("../fonts/SourceCodePro-Regular.ttf") format("truetype");
21
+ }
22
+
23
+ @font-face {
24
+ font-family: "Source Code Pro";
25
+ font-style: normal;
26
+ font-weight: 700;
27
+ src: local("Source Code Pro Bold"),
28
+ local("SourceCodePro-Bold"),
29
+ url("../fonts/SourceCodePro-Bold.ttf") format("truetype");
30
+ }
31
+
32
+ /*
33
+ * Copyright (c) 2010, Łukasz Dziedzic (dziedzic@typoland.com),
34
+ * with Reserved Font Name Lato.
35
+ *
36
+ * This Font Software is licensed under the SIL Open Font License, Version
37
+ * 1.1.
38
+ *
39
+ * This license is copied below, and is also available with a FAQ at:
40
+ * http://scripts.sil.org/OFL
41
+ */
42
+
43
+ @font-face {
44
+ font-family: "Lato";
45
+ font-style: normal;
46
+ font-weight: 300;
47
+ src: local("Lato Light"),
48
+ local("Lato-Light"),
49
+ url("../fonts/Lato-Light.ttf") format("truetype");
50
+ }
51
+
52
+ @font-face {
53
+ font-family: "Lato";
54
+ font-style: italic;
55
+ font-weight: 300;
56
+ src: local("Lato Light Italic"),
57
+ local("Lato-LightItalic"),
58
+ url("../fonts/Lato-LightItalic.ttf") format("truetype");
59
+ }
60
+
61
+ @font-face {
62
+ font-family: "Lato";
63
+ font-style: normal;
64
+ font-weight: 700;
65
+ src: local("Lato Regular"),
66
+ local("Lato-Regular"),
67
+ url("../fonts/Lato-Regular.ttf") format("truetype");
68
+ }
69
+
70
+ @font-face {
71
+ font-family: "Lato";
72
+ font-style: italic;
73
+ font-weight: 700;
74
+ src: local("Lato Italic"),
75
+ local("Lato-Italic"),
76
+ url("../fonts/Lato-RegularItalic.ttf") format("truetype");
77
+ }
78
+
79
+ /*
80
+ * -----------------------------------------------------------
81
+ * SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
82
+ * -----------------------------------------------------------
83
+ *
84
+ * PREAMBLE
85
+ * The goals of the Open Font License (OFL) are to stimulate worldwide
86
+ * development of collaborative font projects, to support the font creation
87
+ * efforts of academic and linguistic communities, and to provide a free and
88
+ * open framework in which fonts may be shared and improved in partnership
89
+ * with others.
90
+ *
91
+ * The OFL allows the licensed fonts to be used, studied, modified and
92
+ * redistributed freely as long as they are not sold by themselves. The
93
+ * fonts, including any derivative works, can be bundled, embedded,
94
+ * redistributed and/or sold with any software provided that any reserved
95
+ * names are not used by derivative works. The fonts and derivatives,
96
+ * however, cannot be released under any other type of license. The
97
+ * requirement for fonts to remain under this license does not apply
98
+ * to any document created using the fonts or their derivatives.
99
+ *
100
+ * DEFINITIONS
101
+ * "Font Software" refers to the set of files released by the Copyright
102
+ * Holder(s) under this license and clearly marked as such. This may
103
+ * include source files, build scripts and documentation.
104
+ *
105
+ * "Reserved Font Name" refers to any names specified as such after the
106
+ * copyright statement(s).
107
+ *
108
+ * "Original Version" refers to the collection of Font Software components as
109
+ * distributed by the Copyright Holder(s).
110
+ *
111
+ * "Modified Version" refers to any derivative made by adding to, deleting,
112
+ * or substituting -- in part or in whole -- any of the components of the
113
+ * Original Version, by changing formats or by porting the Font Software to a
114
+ * new environment.
115
+ *
116
+ * "Author" refers to any designer, engineer, programmer, technical
117
+ * writer or other person who contributed to the Font Software.
118
+ *
119
+ * PERMISSION & CONDITIONS
120
+ * Permission is hereby granted, free of charge, to any person obtaining
121
+ * a copy of the Font Software, to use, study, copy, merge, embed, modify,
122
+ * redistribute, and sell modified and unmodified copies of the Font
123
+ * Software, subject to the following conditions:
124
+ *
125
+ * 1) Neither the Font Software nor any of its individual components,
126
+ * in Original or Modified Versions, may be sold by itself.
127
+ *
128
+ * 2) Original or Modified Versions of the Font Software may be bundled,
129
+ * redistributed and/or sold with any software, provided that each copy
130
+ * contains the above copyright notice and this license. These can be
131
+ * included either as stand-alone text files, human-readable headers or
132
+ * in the appropriate machine-readable metadata fields within text or
133
+ * binary files as long as those fields can be easily viewed by the user.
134
+ *
135
+ * 3) No Modified Version of the Font Software may use the Reserved Font
136
+ * Name(s) unless explicit written permission is granted by the corresponding
137
+ * Copyright Holder. This restriction only applies to the primary font name as
138
+ * presented to the users.
139
+ *
140
+ * 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
141
+ * Software shall not be used to promote, endorse or advertise any
142
+ * Modified Version, except to acknowledge the contribution(s) of the
143
+ * Copyright Holder(s) and the Author(s) or with their explicit written
144
+ * permission.
145
+ *
146
+ * 5) The Font Software, modified or unmodified, in part or in whole,
147
+ * must be distributed entirely under this license, and must not be
148
+ * distributed under any other license. The requirement for fonts to
149
+ * remain under this license does not apply to any document created
150
+ * using the Font Software.
151
+ *
152
+ * TERMINATION
153
+ * This license becomes null and void if any of the above conditions are
154
+ * not met.
155
+ *
156
+ * DISCLAIMER
157
+ * THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
158
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
159
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
160
+ * OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
161
+ * COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
162
+ * INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
163
+ * DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
164
+ * FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
165
+ * OTHER DEALINGS IN THE FONT SOFTWARE.
166
+ */
167
+
data/docs/css/rdoc.css CHANGED
@@ -1,619 +1,619 @@
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
- * { padding: 0; margin: 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
- position: relative;
29
-
30
- display: none;
31
- padding-left: 1em;
32
- line-height: 0;
33
- vertical-align: baseline;
34
- font-size: 10px;
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
- margin-left: -10px;
60
- border-left: 10px solid #f1edba;
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
- 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;
80
- }
81
-
82
- /* @group Generic Classes */
83
-
84
- .initially-hidden {
85
- display: none;
86
- }
87
-
88
- #search-field {
89
- width: 98%;
90
- background: white;
91
- border: none;
92
- height: 1.5em;
93
- -webkit-border-radius: 4px;
94
- -moz-border-radius: 4px;
95
- border-radius: 4px;
96
- text-align: left;
97
- }
98
- #search-field:focus {
99
- background: #f1edba;
100
- }
101
- #search-field:-moz-placeholder,
102
- #search-field::-webkit-input-placeholder {
103
- font-weight: bold;
104
- color: #666;
105
- }
106
-
107
- .missing-docs {
108
- font-size: 120%;
109
- background: white url(../images/wrench_orange.png) no-repeat 4px center;
110
- color: #ccc;
111
- line-height: 2em;
112
- border: 1px solid #d00;
113
- opacity: 1;
114
- padding-left: 20px;
115
- text-indent: 24px;
116
- letter-spacing: 3px;
117
- font-weight: bold;
118
- -webkit-border-radius: 5px;
119
- -moz-border-radius: 5px;
120
- }
121
-
122
- .target-section {
123
- border: 2px solid #dcce90;
124
- border-left-width: 8px;
125
- padding: 0 1em;
126
- background: #fff3c2;
127
- }
128
-
129
- /* @end */
130
-
131
- /* @group Index Page, Standalone file pages */
132
- .table-of-contents ul {
133
- margin: 1em;
134
- list-style: none;
135
- }
136
-
137
- .table-of-contents ul ul {
138
- margin-top: 0.25em;
139
- }
140
-
141
- .table-of-contents ul :link,
142
- .table-of-contents ul :visited {
143
- font-size: 16px;
144
- }
145
-
146
- .table-of-contents li {
147
- margin-bottom: 0.25em;
148
- }
149
-
150
- .table-of-contents li .toc-toggle {
151
- width: 16px;
152
- height: 16px;
153
- background: url(../images/add.png) no-repeat;
154
- }
155
-
156
- .table-of-contents li .toc-toggle.open {
157
- background: url(../images/delete.png) no-repeat;
158
- }
159
-
160
- /* @end */
161
-
162
- /* @group Top-Level Structure */
163
-
164
- nav {
165
- float: left;
166
- width: 260px;
167
- font-family: Helvetica, sans-serif;
168
- font-size: 14px;
169
- }
170
-
171
- main {
172
- display: block;
173
- margin: 0 2em 5em 260px;
174
- padding-left: 20px;
175
- min-width: 340px;
176
- font-size: 16px;
177
- }
178
-
179
- main h1,
180
- main h2,
181
- main h3,
182
- main h4,
183
- main h5,
184
- main h6 {
185
- font-family: Helvetica, sans-serif;
186
- }
187
-
188
- .table-of-contents main {
189
- margin-left: 2em;
190
- }
191
-
192
- #validator-badges {
193
- clear: both;
194
- margin: 1em 1em 2em;
195
- font-size: smaller;
196
- }
197
-
198
- /* @end */
199
-
200
- /* @group navigation */
201
- nav {
202
- margin-bottom: 1em;
203
- }
204
-
205
- nav .nav-section {
206
- margin-top: 2em;
207
- border-top: 2px solid #aaa;
208
- font-size: 90%;
209
- overflow: hidden;
210
- }
211
-
212
- nav h2 {
213
- margin: 0;
214
- padding: 2px 8px 2px 8px;
215
- background-color: #e8e8e8;
216
- color: #555;
217
- font-size: 125%;
218
- text-align: center;
219
- }
220
-
221
- nav h3,
222
- #table-of-contents-navigation {
223
- margin: 0;
224
- padding: 2px 8px 2px 8px;
225
- text-align: right;
226
- background-color: #e8e8e8;
227
- color: #555;
228
- }
229
-
230
- nav ul,
231
- nav dl,
232
- nav p {
233
- padding: 4px 8px 0;
234
- list-style: none;
235
- }
236
-
237
- #project-navigation .nav-section {
238
- margin: 0;
239
- border-top: 0;
240
- }
241
-
242
- #home-section h2 {
243
- text-align: center;
244
- }
245
-
246
- #table-of-contents-navigation {
247
- font-size: 1.2em;
248
- font-weight: bold;
249
- text-align: center;
250
- }
251
-
252
- #search-section {
253
- margin-top: 0;
254
- border-top: 0;
255
- }
256
-
257
- #search-field-wrapper {
258
- border-top: 1px solid #aaa;
259
- border-bottom: 1px solid #aaa;
260
- padding: 3px 8px;
261
- background-color: #e8e8e8;
262
- color: #555;
263
- }
264
-
265
- ul.link-list li {
266
- white-space: nowrap;
267
- line-height: 1.4em;
268
- }
269
-
270
- ul.link-list .type {
271
- font-size: 8px;
272
- text-transform: uppercase;
273
- color: white;
274
- background: #969696;
275
- padding: 2px 4px;
276
- -webkit-border-radius: 5px;
277
- }
278
-
279
- dl.label-list dt {
280
- float: left;
281
- margin-right: 1em;
282
- }
283
-
284
- .calls-super {
285
- background: url(../images/arrow_up.png) no-repeat right center;
286
- }
287
-
288
- /* @end */
289
-
290
- /* @group Documentation Section */
291
- main {
292
- color: #333;
293
- }
294
-
295
- main > h1:first-child,
296
- main > h2:first-child,
297
- main > h3:first-child,
298
- main > h4:first-child,
299
- main > h5:first-child,
300
- main > h6:first-child {
301
- margin-top: 0px;
302
- }
303
-
304
- main sup {
305
- vertical-align: super;
306
- font-size: 0.8em;
307
- }
308
-
309
- /* The heading with the class name */
310
- main h1[class] {
311
- margin-top: 0;
312
- margin-bottom: 1em;
313
- font-size: 2em;
314
- color: #6C8C22;
315
- }
316
-
317
- main h1 {
318
- margin: 2em 0 0.5em;
319
- font-size: 1.7em;
320
- }
321
-
322
- main h2 {
323
- margin: 2em 0 0.5em;
324
- font-size: 1.5em;
325
- }
326
-
327
- main h3 {
328
- margin: 2em 0 0.5em;
329
- font-size: 1.2em;
330
- }
331
-
332
- main h4 {
333
- margin: 2em 0 0.5em;
334
- font-size: 1.1em;
335
- }
336
-
337
- main h5 {
338
- margin: 2em 0 0.5em;
339
- font-size: 1em;
340
- }
341
-
342
- main h6 {
343
- margin: 2em 0 0.5em;
344
- font-size: 1em;
345
- }
346
-
347
- main p {
348
- margin: 0 0 0.5em;
349
- line-height: 1.4em;
350
- }
351
-
352
- main pre {
353
- margin: 1.2em 0.5em;
354
- padding: 1em;
355
- font-size: 0.8em;
356
- }
357
-
358
- main hr {
359
- margin: 1.5em 1em;
360
- border: 2px solid #ddd;
361
- }
362
-
363
- main blockquote {
364
- margin: 0 2em 1.2em 1.2em;
365
- padding-left: 0.5em;
366
- border-left: 2px solid #ddd;
367
- }
368
-
369
- main ol,
370
- main ul {
371
- margin: 1em 2em;
372
- }
373
-
374
- main li > p {
375
- margin-bottom: 0.5em;
376
- }
377
-
378
- main dl {
379
- margin: 1em 0.5em;
380
- }
381
-
382
- main dt {
383
- margin-bottom: 0.5em;
384
- font-weight: bold;
385
- }
386
-
387
- main dd {
388
- margin: 0 1em 1em 0.5em;
389
- }
390
-
391
- main header h2 {
392
- margin-top: 2em;
393
- border-width: 0;
394
- border-top: 4px solid #bbb;
395
- font-size: 130%;
396
- }
397
-
398
- main header h3 {
399
- margin: 2em 0 1.5em;
400
- border-width: 0;
401
- border-top: 3px solid #bbb;
402
- font-size: 120%;
403
- }
404
-
405
- .documentation-section-title {
406
- position: relative;
407
- }
408
- .documentation-section-title .section-click-top {
409
- position: absolute;
410
- top: 6px;
411
- left: 12px;
412
- font-size: 10px;
413
- color: #9b9877;
414
- visibility: hidden;
415
- padding-left: 0.5px;
416
- }
417
-
418
- .documentation-section-title:hover .section-click-top {
419
- visibility: visible;
420
- }
421
-
422
- .constants-list > dl {
423
- margin: 1em 0 2em;
424
- border: 0;
425
- }
426
-
427
- .constants-list > dl dt {
428
- margin-bottom: 0.75em;
429
- padding-left: 0;
430
- font-family: "Source Code Pro", Monaco, monospace;
431
- font-size: 110%;
432
- }
433
-
434
- .constants-list > dl dt a {
435
- color: inherit;
436
- }
437
-
438
- .constants-list > dl dd {
439
- margin: 0 0 2em 0;
440
- padding: 0;
441
- color: #666;
442
- }
443
-
444
- .documentation-section h2 {
445
- position: relative;
446
- }
447
-
448
- .documentation-section h2 a {
449
- position: absolute;
450
- top: 8px;
451
- right: 10px;
452
- font-size: 12px;
453
- color: #9b9877;
454
- visibility: hidden;
455
- }
456
-
457
- .documentation-section h2:hover a {
458
- visibility: visible;
459
- }
460
-
461
- /* @group Method Details */
462
-
463
- main .method-source-code {
464
- max-height: 0;
465
- overflow: hidden;
466
- transition-duration: 200ms;
467
- transition-delay: 0ms;
468
- transition-property: all;
469
- transition-timing-function: ease-in-out;
470
- }
471
-
472
- main .method-source-code.active-menu {
473
- max-height: 100vh;
474
- }
475
-
476
- main .method-description .method-calls-super {
477
- color: #333;
478
- font-weight: bold;
479
- }
480
-
481
- main .method-detail {
482
- margin-bottom: 2.5em;
483
- cursor: pointer;
484
- }
485
-
486
- main .method-detail:target {
487
- margin-left: -10px;
488
- border-left: 10px solid #f1edba;
489
- }
490
-
491
- main .method-heading {
492
- position: relative;
493
- font-family: "Source Code Pro", Monaco, monospace;
494
- font-size: 110%;
495
- font-weight: bold;
496
- color: #333;
497
- }
498
- main .method-heading :link,
499
- main .method-heading :visited {
500
- color: inherit;
501
- }
502
- main .method-click-advice {
503
- position: absolute;
504
- top: 2px;
505
- right: 5px;
506
- font-size: 12px;
507
- color: #9b9877;
508
- visibility: hidden;
509
- padding-right: 20px;
510
- line-height: 20px;
511
- background: url(../images/zoom.png) no-repeat right top;
512
- }
513
- main .method-heading:hover .method-click-advice {
514
- visibility: visible;
515
- }
516
-
517
- main .method-alias .method-heading {
518
- color: #666;
519
- }
520
-
521
- main .method-description,
522
- main .aliases {
523
- margin-top: 0.75em;
524
- color: #333;
525
- }
526
-
527
- main .aliases {
528
- padding-top: 4px;
529
- font-style: italic;
530
- cursor: default;
531
- }
532
- main .method-description ul {
533
- margin-left: 1.5em;
534
- }
535
-
536
- main #attribute-method-details .method-detail:hover {
537
- background-color: transparent;
538
- cursor: default;
539
- }
540
- main .attribute-access-type {
541
- text-transform: uppercase;
542
- padding: 0 1em;
543
- }
544
- /* @end */
545
-
546
- /* @end */
547
-
548
- /* @group Source Code */
549
-
550
- pre {
551
- margin: 0.5em 0;
552
- border: 1px dashed #999;
553
- padding: 0.5em;
554
- background: #262626;
555
- color: white;
556
- overflow: auto;
557
- }
558
-
559
- .ruby-constant { color: #7fffd4; background: transparent; }
560
- .ruby-keyword { color: #00ffff; background: transparent; }
561
- .ruby-ivar { color: #eedd82; background: transparent; }
562
- .ruby-operator { color: #00ffee; background: transparent; }
563
- .ruby-identifier { color: #ffdead; background: transparent; }
564
- .ruby-node { color: #ffa07a; background: transparent; }
565
- .ruby-comment { color: #dc0000; background: transparent; }
566
- .ruby-regexp { color: #ffa07a; background: transparent; }
567
- .ruby-value { color: #7fffd4; background: transparent; }
568
-
569
- /* @end */
570
-
571
-
572
- /* @group search results */
573
- #search-results {
574
- font-family: Lato, sans-serif;
575
- font-weight: 300;
576
- }
577
-
578
- #search-results .search-match {
579
- font-family: Helvetica, sans-serif;
580
- font-weight: normal;
581
- }
582
-
583
- #search-results .search-selected {
584
- background: #e8e8e8;
585
- border-bottom: 1px solid transparent;
586
- }
587
-
588
- #search-results li {
589
- list-style: none;
590
- border-bottom: 1px solid #aaa;
591
- margin-bottom: 0.5em;
592
- }
593
-
594
- #search-results li:last-child {
595
- border-bottom: none;
596
- margin-bottom: 0;
597
- }
598
-
599
- #search-results li p {
600
- padding: 0;
601
- margin: 0.5em;
602
- }
603
-
604
- #search-results .search-namespace {
605
- font-weight: bold;
606
- }
607
-
608
- #search-results li em {
609
- background: yellow;
610
- font-style: normal;
611
- }
612
-
613
- #search-results pre {
614
- margin: 0.5em;
615
- font-family: "Source Code Pro", Monaco, monospace;
616
- }
617
-
618
- /* @end */
619
-
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
+ * { padding: 0; margin: 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
+ position: relative;
29
+
30
+ display: none;
31
+ padding-left: 1em;
32
+ line-height: 0;
33
+ vertical-align: baseline;
34
+ font-size: 10px;
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
+ margin-left: -10px;
60
+ border-left: 10px solid #f1edba;
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
+ 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;
80
+ }
81
+
82
+ /* @group Generic Classes */
83
+
84
+ .initially-hidden {
85
+ display: none;
86
+ }
87
+
88
+ #search-field {
89
+ width: 98%;
90
+ background: white;
91
+ border: none;
92
+ height: 1.5em;
93
+ -webkit-border-radius: 4px;
94
+ -moz-border-radius: 4px;
95
+ border-radius: 4px;
96
+ text-align: left;
97
+ }
98
+ #search-field:focus {
99
+ background: #f1edba;
100
+ }
101
+ #search-field:-moz-placeholder,
102
+ #search-field::-webkit-input-placeholder {
103
+ font-weight: bold;
104
+ color: #666;
105
+ }
106
+
107
+ .missing-docs {
108
+ font-size: 120%;
109
+ background: white url(../images/wrench_orange.png) no-repeat 4px center;
110
+ color: #ccc;
111
+ line-height: 2em;
112
+ border: 1px solid #d00;
113
+ opacity: 1;
114
+ padding-left: 20px;
115
+ text-indent: 24px;
116
+ letter-spacing: 3px;
117
+ font-weight: bold;
118
+ -webkit-border-radius: 5px;
119
+ -moz-border-radius: 5px;
120
+ }
121
+
122
+ .target-section {
123
+ border: 2px solid #dcce90;
124
+ border-left-width: 8px;
125
+ padding: 0 1em;
126
+ background: #fff3c2;
127
+ }
128
+
129
+ /* @end */
130
+
131
+ /* @group Index Page, Standalone file pages */
132
+ .table-of-contents ul {
133
+ margin: 1em;
134
+ list-style: none;
135
+ }
136
+
137
+ .table-of-contents ul ul {
138
+ margin-top: 0.25em;
139
+ }
140
+
141
+ .table-of-contents ul :link,
142
+ .table-of-contents ul :visited {
143
+ font-size: 16px;
144
+ }
145
+
146
+ .table-of-contents li {
147
+ margin-bottom: 0.25em;
148
+ }
149
+
150
+ .table-of-contents li .toc-toggle {
151
+ width: 16px;
152
+ height: 16px;
153
+ background: url(../images/add.png) no-repeat;
154
+ }
155
+
156
+ .table-of-contents li .toc-toggle.open {
157
+ background: url(../images/delete.png) no-repeat;
158
+ }
159
+
160
+ /* @end */
161
+
162
+ /* @group Top-Level Structure */
163
+
164
+ nav {
165
+ float: left;
166
+ width: 260px;
167
+ font-family: Helvetica, sans-serif;
168
+ font-size: 14px;
169
+ }
170
+
171
+ main {
172
+ display: block;
173
+ margin: 0 2em 5em 260px;
174
+ padding-left: 20px;
175
+ min-width: 340px;
176
+ font-size: 16px;
177
+ }
178
+
179
+ main h1,
180
+ main h2,
181
+ main h3,
182
+ main h4,
183
+ main h5,
184
+ main h6 {
185
+ font-family: Helvetica, sans-serif;
186
+ }
187
+
188
+ .table-of-contents main {
189
+ margin-left: 2em;
190
+ }
191
+
192
+ #validator-badges {
193
+ clear: both;
194
+ margin: 1em 1em 2em;
195
+ font-size: smaller;
196
+ }
197
+
198
+ /* @end */
199
+
200
+ /* @group navigation */
201
+ nav {
202
+ margin-bottom: 1em;
203
+ }
204
+
205
+ nav .nav-section {
206
+ margin-top: 2em;
207
+ border-top: 2px solid #aaa;
208
+ font-size: 90%;
209
+ overflow: hidden;
210
+ }
211
+
212
+ nav h2 {
213
+ margin: 0;
214
+ padding: 2px 8px 2px 8px;
215
+ background-color: #e8e8e8;
216
+ color: #555;
217
+ font-size: 125%;
218
+ text-align: center;
219
+ }
220
+
221
+ nav h3,
222
+ #table-of-contents-navigation {
223
+ margin: 0;
224
+ padding: 2px 8px 2px 8px;
225
+ text-align: right;
226
+ background-color: #e8e8e8;
227
+ color: #555;
228
+ }
229
+
230
+ nav ul,
231
+ nav dl,
232
+ nav p {
233
+ padding: 4px 8px 0;
234
+ list-style: none;
235
+ }
236
+
237
+ #project-navigation .nav-section {
238
+ margin: 0;
239
+ border-top: 0;
240
+ }
241
+
242
+ #home-section h2 {
243
+ text-align: center;
244
+ }
245
+
246
+ #table-of-contents-navigation {
247
+ font-size: 1.2em;
248
+ font-weight: bold;
249
+ text-align: center;
250
+ }
251
+
252
+ #search-section {
253
+ margin-top: 0;
254
+ border-top: 0;
255
+ }
256
+
257
+ #search-field-wrapper {
258
+ border-top: 1px solid #aaa;
259
+ border-bottom: 1px solid #aaa;
260
+ padding: 3px 8px;
261
+ background-color: #e8e8e8;
262
+ color: #555;
263
+ }
264
+
265
+ ul.link-list li {
266
+ white-space: nowrap;
267
+ line-height: 1.4em;
268
+ }
269
+
270
+ ul.link-list .type {
271
+ font-size: 8px;
272
+ text-transform: uppercase;
273
+ color: white;
274
+ background: #969696;
275
+ padding: 2px 4px;
276
+ -webkit-border-radius: 5px;
277
+ }
278
+
279
+ dl.label-list dt {
280
+ float: left;
281
+ margin-right: 1em;
282
+ }
283
+
284
+ .calls-super {
285
+ background: url(../images/arrow_up.png) no-repeat right center;
286
+ }
287
+
288
+ /* @end */
289
+
290
+ /* @group Documentation Section */
291
+ main {
292
+ color: #333;
293
+ }
294
+
295
+ main > h1:first-child,
296
+ main > h2:first-child,
297
+ main > h3:first-child,
298
+ main > h4:first-child,
299
+ main > h5:first-child,
300
+ main > h6:first-child {
301
+ margin-top: 0px;
302
+ }
303
+
304
+ main sup {
305
+ vertical-align: super;
306
+ font-size: 0.8em;
307
+ }
308
+
309
+ /* The heading with the class name */
310
+ main h1[class] {
311
+ margin-top: 0;
312
+ margin-bottom: 1em;
313
+ font-size: 2em;
314
+ color: #6C8C22;
315
+ }
316
+
317
+ main h1 {
318
+ margin: 2em 0 0.5em;
319
+ font-size: 1.7em;
320
+ }
321
+
322
+ main h2 {
323
+ margin: 2em 0 0.5em;
324
+ font-size: 1.5em;
325
+ }
326
+
327
+ main h3 {
328
+ margin: 2em 0 0.5em;
329
+ font-size: 1.2em;
330
+ }
331
+
332
+ main h4 {
333
+ margin: 2em 0 0.5em;
334
+ font-size: 1.1em;
335
+ }
336
+
337
+ main h5 {
338
+ margin: 2em 0 0.5em;
339
+ font-size: 1em;
340
+ }
341
+
342
+ main h6 {
343
+ margin: 2em 0 0.5em;
344
+ font-size: 1em;
345
+ }
346
+
347
+ main p {
348
+ margin: 0 0 0.5em;
349
+ line-height: 1.4em;
350
+ }
351
+
352
+ main pre {
353
+ margin: 1.2em 0.5em;
354
+ padding: 1em;
355
+ font-size: 0.8em;
356
+ }
357
+
358
+ main hr {
359
+ margin: 1.5em 1em;
360
+ border: 2px solid #ddd;
361
+ }
362
+
363
+ main blockquote {
364
+ margin: 0 2em 1.2em 1.2em;
365
+ padding-left: 0.5em;
366
+ border-left: 2px solid #ddd;
367
+ }
368
+
369
+ main ol,
370
+ main ul {
371
+ margin: 1em 2em;
372
+ }
373
+
374
+ main li > p {
375
+ margin-bottom: 0.5em;
376
+ }
377
+
378
+ main dl {
379
+ margin: 1em 0.5em;
380
+ }
381
+
382
+ main dt {
383
+ margin-bottom: 0.5em;
384
+ font-weight: bold;
385
+ }
386
+
387
+ main dd {
388
+ margin: 0 1em 1em 0.5em;
389
+ }
390
+
391
+ main header h2 {
392
+ margin-top: 2em;
393
+ border-width: 0;
394
+ border-top: 4px solid #bbb;
395
+ font-size: 130%;
396
+ }
397
+
398
+ main header h3 {
399
+ margin: 2em 0 1.5em;
400
+ border-width: 0;
401
+ border-top: 3px solid #bbb;
402
+ font-size: 120%;
403
+ }
404
+
405
+ .documentation-section-title {
406
+ position: relative;
407
+ }
408
+ .documentation-section-title .section-click-top {
409
+ position: absolute;
410
+ top: 6px;
411
+ left: 12px;
412
+ font-size: 10px;
413
+ color: #9b9877;
414
+ visibility: hidden;
415
+ padding-left: 0.5px;
416
+ }
417
+
418
+ .documentation-section-title:hover .section-click-top {
419
+ visibility: visible;
420
+ }
421
+
422
+ .constants-list > dl {
423
+ margin: 1em 0 2em;
424
+ border: 0;
425
+ }
426
+
427
+ .constants-list > dl dt {
428
+ margin-bottom: 0.75em;
429
+ padding-left: 0;
430
+ font-family: "Source Code Pro", Monaco, monospace;
431
+ font-size: 110%;
432
+ }
433
+
434
+ .constants-list > dl dt a {
435
+ color: inherit;
436
+ }
437
+
438
+ .constants-list > dl dd {
439
+ margin: 0 0 2em 0;
440
+ padding: 0;
441
+ color: #666;
442
+ }
443
+
444
+ .documentation-section h2 {
445
+ position: relative;
446
+ }
447
+
448
+ .documentation-section h2 a {
449
+ position: absolute;
450
+ top: 8px;
451
+ right: 10px;
452
+ font-size: 12px;
453
+ color: #9b9877;
454
+ visibility: hidden;
455
+ }
456
+
457
+ .documentation-section h2:hover a {
458
+ visibility: visible;
459
+ }
460
+
461
+ /* @group Method Details */
462
+
463
+ main .method-source-code {
464
+ max-height: 0;
465
+ overflow: hidden;
466
+ transition-duration: 200ms;
467
+ transition-delay: 0ms;
468
+ transition-property: all;
469
+ transition-timing-function: ease-in-out;
470
+ }
471
+
472
+ main .method-source-code.active-menu {
473
+ max-height: 100vh;
474
+ }
475
+
476
+ main .method-description .method-calls-super {
477
+ color: #333;
478
+ font-weight: bold;
479
+ }
480
+
481
+ main .method-detail {
482
+ margin-bottom: 2.5em;
483
+ cursor: pointer;
484
+ }
485
+
486
+ main .method-detail:target {
487
+ margin-left: -10px;
488
+ border-left: 10px solid #f1edba;
489
+ }
490
+
491
+ main .method-heading {
492
+ position: relative;
493
+ font-family: "Source Code Pro", Monaco, monospace;
494
+ font-size: 110%;
495
+ font-weight: bold;
496
+ color: #333;
497
+ }
498
+ main .method-heading :link,
499
+ main .method-heading :visited {
500
+ color: inherit;
501
+ }
502
+ main .method-click-advice {
503
+ position: absolute;
504
+ top: 2px;
505
+ right: 5px;
506
+ font-size: 12px;
507
+ color: #9b9877;
508
+ visibility: hidden;
509
+ padding-right: 20px;
510
+ line-height: 20px;
511
+ background: url(../images/zoom.png) no-repeat right top;
512
+ }
513
+ main .method-heading:hover .method-click-advice {
514
+ visibility: visible;
515
+ }
516
+
517
+ main .method-alias .method-heading {
518
+ color: #666;
519
+ }
520
+
521
+ main .method-description,
522
+ main .aliases {
523
+ margin-top: 0.75em;
524
+ color: #333;
525
+ }
526
+
527
+ main .aliases {
528
+ padding-top: 4px;
529
+ font-style: italic;
530
+ cursor: default;
531
+ }
532
+ main .method-description ul {
533
+ margin-left: 1.5em;
534
+ }
535
+
536
+ main #attribute-method-details .method-detail:hover {
537
+ background-color: transparent;
538
+ cursor: default;
539
+ }
540
+ main .attribute-access-type {
541
+ text-transform: uppercase;
542
+ padding: 0 1em;
543
+ }
544
+ /* @end */
545
+
546
+ /* @end */
547
+
548
+ /* @group Source Code */
549
+
550
+ pre {
551
+ margin: 0.5em 0;
552
+ border: 1px dashed #999;
553
+ padding: 0.5em;
554
+ background: #262626;
555
+ color: white;
556
+ overflow: auto;
557
+ }
558
+
559
+ .ruby-constant { color: #7fffd4; background: transparent; }
560
+ .ruby-keyword { color: #00ffff; background: transparent; }
561
+ .ruby-ivar { color: #eedd82; background: transparent; }
562
+ .ruby-operator { color: #00ffee; background: transparent; }
563
+ .ruby-identifier { color: #ffdead; background: transparent; }
564
+ .ruby-node { color: #ffa07a; background: transparent; }
565
+ .ruby-comment { color: #dc0000; background: transparent; }
566
+ .ruby-regexp { color: #ffa07a; background: transparent; }
567
+ .ruby-value { color: #7fffd4; background: transparent; }
568
+
569
+ /* @end */
570
+
571
+
572
+ /* @group search results */
573
+ #search-results {
574
+ font-family: Lato, sans-serif;
575
+ font-weight: 300;
576
+ }
577
+
578
+ #search-results .search-match {
579
+ font-family: Helvetica, sans-serif;
580
+ font-weight: normal;
581
+ }
582
+
583
+ #search-results .search-selected {
584
+ background: #e8e8e8;
585
+ border-bottom: 1px solid transparent;
586
+ }
587
+
588
+ #search-results li {
589
+ list-style: none;
590
+ border-bottom: 1px solid #aaa;
591
+ margin-bottom: 0.5em;
592
+ }
593
+
594
+ #search-results li:last-child {
595
+ border-bottom: none;
596
+ margin-bottom: 0;
597
+ }
598
+
599
+ #search-results li p {
600
+ padding: 0;
601
+ margin: 0.5em;
602
+ }
603
+
604
+ #search-results .search-namespace {
605
+ font-weight: bold;
606
+ }
607
+
608
+ #search-results li em {
609
+ background: yellow;
610
+ font-style: normal;
611
+ }
612
+
613
+ #search-results pre {
614
+ margin: 0.5em;
615
+ font-family: "Source Code Pro", Monaco, monospace;
616
+ }
617
+
618
+ /* @end */
619
+