jazzy 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +7 -5
  3. data/Rakefile +2 -0
  4. data/bin/jazzy +1 -1
  5. data/jazzy.gemspec +1 -0
  6. data/lib/jazzy.rb +1 -0
  7. data/lib/jazzy/assets/css/highlight.css.scss +63 -0
  8. data/lib/jazzy/assets/css/jazzy.css.scss +27 -1
  9. data/lib/jazzy/assets/js/jazzy.js +8 -2
  10. data/lib/jazzy/config.rb +32 -0
  11. data/lib/jazzy/doc.mustache +15 -1
  12. data/lib/jazzy/doc_builder.rb +24 -12
  13. data/lib/jazzy/docset_builder.rb +77 -0
  14. data/lib/jazzy/docset_builder/info_plist.mustache +20 -0
  15. data/lib/jazzy/gem_version.rb +1 -1
  16. data/lib/jazzy/highlighter.rb +10 -0
  17. data/lib/jazzy/partials/task.mustache +3 -3
  18. data/lib/jazzy/source_declaration.rb +3 -3
  19. data/lib/jazzy/source_declaration/type.rb +136 -0
  20. data/lib/jazzy/source_module.rb +10 -0
  21. data/lib/jazzy/sourcekitten.rb +35 -62
  22. data/logo.sketch +0 -0
  23. data/spec/integration_spec.rb +10 -0
  24. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Info.plist +20 -0
  25. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Classes.html +267 -0
  26. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Classes/Manager.html +488 -0
  27. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Classes/Manager/init(configuration:).html +218 -0
  28. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Classes/Request.html +841 -0
  29. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Enums.html +257 -0
  30. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Enums/ParameterEncoding.html +346 -0
  31. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Extensions.html +708 -0
  32. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Extensions/Manager.html +344 -0
  33. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Extensions/Request.html +368 -0
  34. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Functions.html +1040 -0
  35. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Global Variables.html +226 -0
  36. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Manager.html +344 -0
  37. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Manager/init(configuration:).html +218 -0
  38. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/ParameterEncoding.html +346 -0
  39. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Protocols.html +275 -0
  40. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Protocols/URLRequestConvertible.html +227 -0
  41. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Protocols/URLStringConvertible.html +227 -0
  42. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/Request.html +368 -0
  43. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/URLRequestConvertible.html +227 -0
  44. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/URLStringConvertible.html +227 -0
  45. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/carat.png +0 -0
  46. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/css/highlight.css +202 -0
  47. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/css/jazzy.css +708 -0
  48. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/dash.png +0 -0
  49. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/gh.png +0 -0
  50. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/highlight.css +202 -0
  51. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/img/carat.png +0 -0
  52. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/img/dash.png +0 -0
  53. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/img/gh.png +0 -0
  54. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/index.html +755 -0
  55. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/init(configuration:).html +218 -0
  56. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/jazzy.css +708 -0
  57. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/jazzy.js +21 -0
  58. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/jquery.min.js +4 -0
  59. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/js/jazzy.js +21 -0
  60. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/Documents/js/jquery.min.js +4 -0
  61. data/spec/integration_specs/document_alamofire/after/docs/Alamofire.docset/Contents/Resources/docSet.dsidx.csv +81 -0
  62. data/spec/integration_specs/document_alamofire/after/docs/Classes.html +18 -7
  63. data/spec/integration_specs/document_alamofire/after/docs/Classes/Manager.html +31 -19
  64. data/spec/integration_specs/document_alamofire/after/docs/Classes/Manager/init(configuration:).html +14 -1
  65. data/spec/integration_specs/document_alamofire/after/docs/Classes/Request.html +61 -46
  66. data/spec/integration_specs/document_alamofire/after/docs/Enums.html +18 -7
  67. data/spec/integration_specs/document_alamofire/after/docs/Enums/ParameterEncoding.html +20 -4
  68. data/spec/integration_specs/document_alamofire/after/docs/Extensions.html +68 -48
  69. data/spec/integration_specs/document_alamofire/after/docs/Extensions/Manager.html +21 -7
  70. data/spec/integration_specs/document_alamofire/after/docs/Extensions/Request.html +22 -10
  71. data/spec/integration_specs/document_alamofire/after/docs/Functions.html +51 -34
  72. data/spec/integration_specs/document_alamofire/after/docs/Global Variables.html +15 -4
  73. data/spec/integration_specs/document_alamofire/after/docs/Protocols.html +20 -7
  74. data/spec/integration_specs/document_alamofire/after/docs/Protocols/URLRequestConvertible.html +16 -4
  75. data/spec/integration_specs/document_alamofire/after/docs/Protocols/URLStringConvertible.html +16 -4
  76. data/spec/integration_specs/document_alamofire/after/docs/css/highlight.css +202 -0
  77. data/spec/integration_specs/document_alamofire/after/docs/css/jazzy.css +14 -0
  78. data/spec/integration_specs/document_alamofire/after/docs/index.html +53 -42
  79. data/spec/integration_specs/document_alamofire/after/docs/js/jazzy.js +8 -2
  80. data/spec/integration_specs/misc_jazzy_features/after/docs/Classes.html +34 -22
  81. data/spec/integration_specs/misc_jazzy_features/after/docs/Classes/ImplicitlyInternalTopLevelClass.html +16 -4
  82. data/spec/integration_specs/misc_jazzy_features/after/docs/Enums.html +16 -4
  83. data/spec/integration_specs/misc_jazzy_features/after/docs/Enums/DocumentedEnum.html +14 -1
  84. data/spec/integration_specs/misc_jazzy_features/after/docs/Global Variables.html +16 -4
  85. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Info.plist +20 -0
  86. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/Classes.html +309 -0
  87. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/Classes/ImplicitlyInternalTopLevelClass.html +143 -0
  88. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/DocumentedEnum.html +134 -0
  89. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/Enums.html +147 -0
  90. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/Enums/DocumentedEnum.html +134 -0
  91. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/Global Variables.html +146 -0
  92. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/ImplicitlyInternalTopLevelClass.html +143 -0
  93. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/carat.png +0 -0
  94. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/css/highlight.css +202 -0
  95. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/css/jazzy.css +708 -0
  96. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/dash.png +0 -0
  97. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/gh.png +0 -0
  98. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/highlight.css +202 -0
  99. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/img/carat.png +0 -0
  100. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/img/dash.png +0 -0
  101. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/img/gh.png +0 -0
  102. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/index.html +106 -0
  103. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/jazzy.css +708 -0
  104. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/jazzy.js +21 -0
  105. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/jquery.min.js +4 -0
  106. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/js/jazzy.js +21 -0
  107. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/Documents/js/jquery.min.js +4 -0
  108. data/spec/integration_specs/misc_jazzy_features/after/docs/MiscJazzyFeatures.docset/Contents/Resources/docSet.dsidx.csv +15 -0
  109. data/spec/integration_specs/misc_jazzy_features/after/docs/css/highlight.css +202 -0
  110. data/spec/integration_specs/misc_jazzy_features/after/docs/css/jazzy.css +14 -0
  111. data/spec/integration_specs/misc_jazzy_features/after/docs/index.html +12 -1
  112. data/spec/integration_specs/misc_jazzy_features/after/docs/js/jazzy.js +8 -2
  113. metadata +88 -5
  114. data/lib/jazzy/assets/css/github_syntax_highlighting.css.scss +0 -142
  115. data/spec/integration_specs/document_alamofire/after/docs/css/github_syntax_highlighting.css +0 -98
  116. data/spec/integration_specs/misc_jazzy_features/after/docs/css/github_syntax_highlighting.css +0 -98
@@ -0,0 +1,202 @@
1
+ /* Credit to https://gist.github.com/wataru420/2048287 */
2
+ .highlight {
3
+ /* Comment */
4
+ /* Error */
5
+ /* Keyword */
6
+ /* Operator */
7
+ /* Comment.Multiline */
8
+ /* Comment.Preproc */
9
+ /* Comment.Single */
10
+ /* Comment.Special */
11
+ /* Generic.Deleted */
12
+ /* Generic.Deleted.Specific */
13
+ /* Generic.Emph */
14
+ /* Generic.Error */
15
+ /* Generic.Heading */
16
+ /* Generic.Inserted */
17
+ /* Generic.Inserted.Specific */
18
+ /* Generic.Output */
19
+ /* Generic.Prompt */
20
+ /* Generic.Strong */
21
+ /* Generic.Subheading */
22
+ /* Generic.Traceback */
23
+ /* Keyword.Constant */
24
+ /* Keyword.Declaration */
25
+ /* Keyword.Pseudo */
26
+ /* Keyword.Reserved */
27
+ /* Keyword.Type */
28
+ /* Literal.Number */
29
+ /* Literal.String */
30
+ /* Name.Attribute */
31
+ /* Name.Builtin */
32
+ /* Name.Class */
33
+ /* Name.Constant */
34
+ /* Name.Entity */
35
+ /* Name.Exception */
36
+ /* Name.Function */
37
+ /* Name.Namespace */
38
+ /* Name.Tag */
39
+ /* Name.Variable */
40
+ /* Operator.Word */
41
+ /* Text.Whitespace */
42
+ /* Literal.Number.Float */
43
+ /* Literal.Number.Hex */
44
+ /* Literal.Number.Integer */
45
+ /* Literal.Number.Oct */
46
+ /* Literal.String.Backtick */
47
+ /* Literal.String.Char */
48
+ /* Literal.String.Doc */
49
+ /* Literal.String.Double */
50
+ /* Literal.String.Escape */
51
+ /* Literal.String.Heredoc */
52
+ /* Literal.String.Interpol */
53
+ /* Literal.String.Other */
54
+ /* Literal.String.Regex */
55
+ /* Literal.String.Single */
56
+ /* Literal.String.Symbol */
57
+ /* Name.Builtin.Pseudo */
58
+ /* Name.Variable.Class */
59
+ /* Name.Variable.Global */
60
+ /* Name.Variable.Instance */
61
+ /* Literal.Number.Integer.Long */ }
62
+ .highlight .c {
63
+ color: #999988;
64
+ font-style: italic; }
65
+ .highlight .err {
66
+ color: #a61717;
67
+ background-color: #e3d2d2; }
68
+ .highlight .k {
69
+ color: #000000;
70
+ font-weight: bold; }
71
+ .highlight .o {
72
+ color: #000000;
73
+ font-weight: bold; }
74
+ .highlight .cm {
75
+ color: #999988;
76
+ font-style: italic; }
77
+ .highlight .cp {
78
+ color: #999999;
79
+ font-weight: bold; }
80
+ .highlight .c1 {
81
+ color: #999988;
82
+ font-style: italic; }
83
+ .highlight .cs {
84
+ color: #999999;
85
+ font-weight: bold;
86
+ font-style: italic; }
87
+ .highlight .gd {
88
+ color: #000000;
89
+ background-color: #ffdddd; }
90
+ .highlight .gd .x {
91
+ color: #000000;
92
+ background-color: #ffaaaa; }
93
+ .highlight .ge {
94
+ color: #000000;
95
+ font-style: italic; }
96
+ .highlight .gr {
97
+ color: #aa0000; }
98
+ .highlight .gh {
99
+ color: #999999; }
100
+ .highlight .gi {
101
+ color: #000000;
102
+ background-color: #ddffdd; }
103
+ .highlight .gi .x {
104
+ color: #000000;
105
+ background-color: #aaffaa; }
106
+ .highlight .go {
107
+ color: #888888; }
108
+ .highlight .gp {
109
+ color: #555555; }
110
+ .highlight .gs {
111
+ font-weight: bold; }
112
+ .highlight .gu {
113
+ color: #aaaaaa; }
114
+ .highlight .gt {
115
+ color: #aa0000; }
116
+ .highlight .kc {
117
+ color: #000000;
118
+ font-weight: bold; }
119
+ .highlight .kd {
120
+ color: #000000;
121
+ font-weight: bold; }
122
+ .highlight .kp {
123
+ color: #000000;
124
+ font-weight: bold; }
125
+ .highlight .kr {
126
+ color: #000000;
127
+ font-weight: bold; }
128
+ .highlight .kt {
129
+ color: #445588;
130
+ font-weight: bold; }
131
+ .highlight .m {
132
+ color: #009999; }
133
+ .highlight .s {
134
+ color: #d14; }
135
+ .highlight .na {
136
+ color: #008080; }
137
+ .highlight .nb {
138
+ color: #0086B3; }
139
+ .highlight .nc {
140
+ color: #445588;
141
+ font-weight: bold; }
142
+ .highlight .no {
143
+ color: #008080; }
144
+ .highlight .ni {
145
+ color: #800080; }
146
+ .highlight .ne {
147
+ color: #990000;
148
+ font-weight: bold; }
149
+ .highlight .nf {
150
+ color: #990000;
151
+ font-weight: bold; }
152
+ .highlight .nn {
153
+ color: #555555; }
154
+ .highlight .nt {
155
+ color: #000080; }
156
+ .highlight .nv {
157
+ color: #008080; }
158
+ .highlight .ow {
159
+ color: #000000;
160
+ font-weight: bold; }
161
+ .highlight .w {
162
+ color: #bbbbbb; }
163
+ .highlight .mf {
164
+ color: #009999; }
165
+ .highlight .mh {
166
+ color: #009999; }
167
+ .highlight .mi {
168
+ color: #009999; }
169
+ .highlight .mo {
170
+ color: #009999; }
171
+ .highlight .sb {
172
+ color: #d14; }
173
+ .highlight .sc {
174
+ color: #d14; }
175
+ .highlight .sd {
176
+ color: #d14; }
177
+ .highlight .s2 {
178
+ color: #d14; }
179
+ .highlight .se {
180
+ color: #d14; }
181
+ .highlight .sh {
182
+ color: #d14; }
183
+ .highlight .si {
184
+ color: #d14; }
185
+ .highlight .sx {
186
+ color: #d14; }
187
+ .highlight .sr {
188
+ color: #009926; }
189
+ .highlight .s1 {
190
+ color: #d14; }
191
+ .highlight .ss {
192
+ color: #990073; }
193
+ .highlight .bp {
194
+ color: #999999; }
195
+ .highlight .vc {
196
+ color: #008080; }
197
+ .highlight .vg {
198
+ color: #008080; }
199
+ .highlight .vi {
200
+ color: #008080; }
201
+ .highlight .il {
202
+ color: #009999; }
@@ -0,0 +1,708 @@
1
+ html, body, div, span, h1, h3, h4, p, a, code, em, img, ul, li, table, tbody, tr, td {
2
+ background: transparent;
3
+ border: 0;
4
+ font-size: 100%;
5
+ margin: 0;
6
+ outline: 0;
7
+ padding: 0;
8
+ vertical-align: baseline; }
9
+
10
+ #reference .declaration .Swift pre {
11
+ white-space: pre-wrap;
12
+ font-size: 140%; }
13
+ #reference .x-instance-method.Swift {
14
+ margin-left: 15px; }
15
+ #reference .chapter {
16
+ overflow-x: hidden;
17
+ border-top: 0;
18
+ border-left: 1px solid #e9e9e9;
19
+ border-right: 1px solid #e9e9e9;
20
+ border-bottom: 1px solid #e9e9e9; }
21
+ #reference .nav-chapters {
22
+ height: 100%; }
23
+ #reference .part-name {
24
+ color: #000;
25
+ cursor: default;
26
+ padding: 15px 15px 15px 20px;
27
+ min-height: 61px; }
28
+ #reference .part-name.tasks {
29
+ background: #fff;
30
+ overflow: auto; }
31
+ #reference .book-parts a {
32
+ display: initial;
33
+ margin-left: 0; }
34
+ #reference .nav-chapters li {
35
+ color: gray;
36
+ margin-left: 12px;
37
+ padding-left: 10px;
38
+ text-indent: -10px; }
39
+ #reference .chapter-name {
40
+ margin-top: 21px; }
41
+
42
+ .rubber-band-gap {
43
+ background: #fff;
44
+ height: 250px;
45
+ position: fixed;
46
+ width: 734px;
47
+ z-index: -1;
48
+ top: 70px;
49
+ margin: 0 0 0 247px; }
50
+
51
+ #reference .task-name-container {
52
+ background: #fff;
53
+ left: -25px;
54
+ margin-bottom: 0;
55
+ padding: 35px 25px 0;
56
+ position: relative;
57
+ width: 100%; }
58
+ #reference .section-name {
59
+ cursor: pointer;
60
+ display: inline-block; }
61
+ #reference .section .section {
62
+ margin-top: 0; }
63
+ #reference .task-group-section {
64
+ padding: 1px 25px 0; }
65
+ #reference .symbol {
66
+ background: #fff;
67
+ left: -25px;
68
+ list-style-type: none;
69
+ padding: 13px 25px 0;
70
+ position: relative;
71
+ width: 100%; }
72
+ #reference .task-group-term {
73
+ font-size: 1.4em;
74
+ word-break: break-all; }
75
+ #reference .task-group-term > code {
76
+ display: inline-block; }
77
+ #reference .pointy-thing-container {
78
+ background: #fff;
79
+ border-bottom: 1px solid #e9e9e9;
80
+ left: -25px;
81
+ padding-left: 25px;
82
+ padding-right: 25px;
83
+ padding-bottom: 13px;
84
+ position: relative;
85
+ width: 100%; }
86
+ #reference .pointy-thing {
87
+ background: #f9f9f9;
88
+ border-left: 1px solid #e9e9e9;
89
+ border-top: 1px solid #e9e9e9;
90
+ height: 12px;
91
+ left: 21px;
92
+ top: -7px;
93
+ -webkit-transform: rotate(45deg);
94
+ -moz-transform: rotate(45deg);
95
+ -o-transform: rotate(45deg);
96
+ transform: rotate(45deg);
97
+ position: absolute;
98
+ width: 12px; }
99
+ #reference .height-container {
100
+ display: none;
101
+ left: -25px;
102
+ padding: 0 25px;
103
+ position: relative;
104
+ width: 100%;
105
+ overflow: hidden; }
106
+ #reference .height-container .section {
107
+ background: #f9f9f9;
108
+ border-bottom: 1px solid #e9e9e9;
109
+ left: -25px;
110
+ margin: 0;
111
+ padding: 13px 25px 0;
112
+ position: relative;
113
+ width: 100%; }
114
+ #reference .height-container .section h4 {
115
+ font-size: 13px;
116
+ line-height: 1.5;
117
+ margin-top: 21px; }
118
+ #reference .section .declaration {
119
+ margin-top: 21px; }
120
+ #reference .section .declaration code {
121
+ color: gray;
122
+ margin-bottom: 15px;
123
+ padding-bottom: 6px; }
124
+ #reference .declaration div .para {
125
+ margin-bottom: 0; }
126
+ #reference .task-group .item .graybox {
127
+ margin: 5px 0 26px; }
128
+ #reference .symbol .graybox .para:last-of-type {
129
+ margin-bottom: 0;
130
+ padding-bottom: 0; }
131
+ #reference .parameters .graybox tr td:first-of-type {
132
+ text-align: right;
133
+ padding: 7px;
134
+ vertical-align: top;
135
+ word-break: normal;
136
+ width: 40px; }
137
+ #reference em.term, #reference em.parameter-name {
138
+ color: #414141;
139
+ font-size: 12px;
140
+ line-height: 1.5; }
141
+ #reference .height-container .section > div:last-of-type {
142
+ margin-bottom: 15px; }
143
+ #reference #footer {
144
+ width: 614px;
145
+ z-index: 1; }
146
+ #reference .item .para {
147
+ padding-bottom: 0;
148
+ margin: 0 0 15px; }
149
+ #reference a[name] {
150
+ padding-top: 112px;
151
+ margin: -112px 0 0; }
152
+ #reference .height-container td {
153
+ max-width: inherit; }
154
+ #reference .declaration .n a {
155
+ color: inherit; }
156
+ #reference .declaration .n a:hover {
157
+ border-bottom: 1px solid; }
158
+ #reference .copyright {
159
+ margin: 10px 0; }
160
+
161
+ .nav-chapters {
162
+ font-weight: 400;
163
+ line-height: 110%;
164
+ list-style-position: outside;
165
+ list-style-type: none;
166
+ margin: 0;
167
+ padding: 8px 0 0;
168
+ height: 100%;
169
+ width: 200px;
170
+ position: relative;
171
+ top: 15px; }
172
+
173
+ body {
174
+ background-color: #f2f2f2;
175
+ color: #000;
176
+ font-family: Helvetica, Arial, sans-serif;
177
+ font-size: 62.5%;
178
+ margin: 0 auto;
179
+ -webkit-font-smoothing: subpixel-antialiased; }
180
+
181
+ a[name] {
182
+ display: block;
183
+ padding-top: 85px;
184
+ margin: -85px 0 0;
185
+ width: 0;
186
+ height: 0; }
187
+
188
+ .content-wrapper {
189
+ background-color: #f2f2f2;
190
+ margin: 0 auto;
191
+ width: 980px; }
192
+
193
+ .pixel-line {
194
+ background: #e9e9e9;
195
+ height: 1px;
196
+ position: fixed;
197
+ top: 70px;
198
+ width: 734px;
199
+ z-index: 3;
200
+ top: 70px;
201
+ margin: 0 0 0 247px; }
202
+
203
+ .chapter {
204
+ background-color: #fff;
205
+ border: 1px solid #e9e9e9;
206
+ border-top: 0;
207
+ box-shadow: 0 0 1px rgba(0, 0, 0, 0.07);
208
+ display: block;
209
+ margin-left: 246px;
210
+ min-height: calc(100% - 173px);
211
+ min-height: -moz-calc(100% - 173px);
212
+ min-height: -webkit-calc(100% - 173px);
213
+ min-height: -o-calc(100% - 173px);
214
+ position: absolute;
215
+ overflow: auto;
216
+ padding-bottom: 100px;
217
+ top: 70px;
218
+ -webkit-overflow-scrolling: touch;
219
+ width: 734px; }
220
+
221
+ #hierarchial_navigation {
222
+ float: left;
223
+ font-size: 1.4em;
224
+ margin-top: 29px;
225
+ vertical-align: middle; }
226
+
227
+ .section {
228
+ padding: 15px 25px 0px; }
229
+ .section .section {
230
+ margin: 30px 0 0;
231
+ padding: 0; }
232
+
233
+ header {
234
+ background-color: #414141;
235
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.07);
236
+ color: #fff;
237
+ height: 25px;
238
+ letter-spacing: .05em;
239
+ position: fixed;
240
+ top: 0;
241
+ width: 100%;
242
+ z-index: 4; }
243
+
244
+ .header-text {
245
+ font-size: 1.1em;
246
+ margin: 0 auto;
247
+ padding-top: 6px;
248
+ vertical-align: middle;
249
+ float: left;
250
+ color: #999; }
251
+ .header-text a {
252
+ color: #fff;
253
+ text-decoration: none; }
254
+
255
+ #header-icon {
256
+ padding-right: 8px;
257
+ vertical-align: -3px; }
258
+
259
+ #header-links a {
260
+ float: right;
261
+ padding-top: 4px;
262
+ padding-left: 16px;
263
+ font-size: 1.1em;
264
+ vertical-align: middle;
265
+ margin: 0 auto;
266
+ color: #fff;
267
+ text-decoration: none; }
268
+
269
+ #valence {
270
+ background-color: #f2f2f2;
271
+ display: block;
272
+ height: 60px;
273
+ padding-top: 10px;
274
+ position: fixed;
275
+ top: 0;
276
+ width: 100%;
277
+ z-index: 3; }
278
+
279
+ #carat {
280
+ margin: 0 10px; }
281
+
282
+ #design_resources_link {
283
+ color: #0088cc;
284
+ text-decoration: none; }
285
+
286
+ .para {
287
+ color: #414141;
288
+ font-size: 1.4em;
289
+ line-height: 145%;
290
+ margin-bottom: 15px; }
291
+
292
+ .chapter-name {
293
+ color: black;
294
+ display: block;
295
+ font-family: Helvetica;
296
+ font-size: 2.8em;
297
+ font-weight: 100;
298
+ margin-bottom: 0;
299
+ padding: 15px 25px;
300
+ width: 63%;
301
+ margin-top: 21px; }
302
+
303
+ .chapter a {
304
+ color: #0088cc;
305
+ text-decoration: none; }
306
+
307
+ h3.section-name:before {
308
+ display: block;
309
+ content: " ";
310
+ margin-top: -85px;
311
+ height: 85px;
312
+ visibility: hidden; }
313
+
314
+ .section-name {
315
+ color: gray;
316
+ display: block;
317
+ font-family: Helvetica;
318
+ font-size: 2.2em;
319
+ font-weight: 100;
320
+ margin-bottom: 15px; }
321
+
322
+ .copyright {
323
+ clear: both;
324
+ color: #a0a0a0;
325
+ float: none;
326
+ margin: 70px 25px 10px 0; }
327
+
328
+ .link {
329
+ color: #0088cc;
330
+ text-decoration: none; }
331
+
332
+ .item p {
333
+ margin: 0;
334
+ padding-bottom: 6px; }
335
+
336
+ .book-parts {
337
+ background-color: #f9f9f9;
338
+ border-top: 1px solid #e9e9e9;
339
+ border-left: 1px solid #e9e9e9;
340
+ border-right: 1px solid #e9e9e9;
341
+ bottom: 0;
342
+ box-shadow: 0 0 1px rgba(0, 0, 0, 0.07);
343
+ overflow: auto;
344
+ -webkit-overflow-scrolling: touch;
345
+ position: fixed;
346
+ top: 70px;
347
+ width: 230px; }
348
+
349
+ .nav-parts {
350
+ color: gray;
351
+ font-weight: 100;
352
+ line-height: 140%;
353
+ list-style-type: none;
354
+ margin: 0;
355
+ -webkit-padding-start: 0; }
356
+
357
+ .part-name {
358
+ border-bottom: 1px solid #e9e9e9;
359
+ font-family: Helvetica;
360
+ font-size: 1.6em;
361
+ line-height: 150%;
362
+ list-style-type: none;
363
+ margin: 0;
364
+ padding: 15px 30px 15px 20px;
365
+ cursor: pointer; }
366
+
367
+ .nav-chapters {
368
+ font-weight: 400;
369
+ line-height: 110%;
370
+ list-style-position: outside;
371
+ list-style-type: none;
372
+ margin: 0;
373
+ margin-bottom: 10px;
374
+ padding: 0;
375
+ height: 0;
376
+ overflow: hidden;
377
+ -webkit-transition: height .3s ease-in-out;
378
+ -moz-transition: height .3s ease-in-out;
379
+ -o-transition: height .3s ease-in-out;
380
+ -ms-transition: height .3s ease-in-out;
381
+ transition: height .3s ease-in-out; }
382
+
383
+ .nav-chapter {
384
+ font-size: .8em;
385
+ list-style-position: outside;
386
+ list-style-type: none;
387
+ margin: 0;
388
+ padding: 0 0 8px; }
389
+
390
+ .nav-chapters .nav-chapter {
391
+ margin-left: 0; }
392
+
393
+ .book-parts a {
394
+ color: gray;
395
+ display: block;
396
+ text-decoration: none;
397
+ margin-left: 24px; }
398
+
399
+ .aside-title {
400
+ color: gray;
401
+ font-size: 9px;
402
+ letter-spacing: 2px;
403
+ margin-bottom: 8px;
404
+ text-transform: uppercase; }
405
+
406
+ div.Swift {
407
+ padding: 4px 0 2px 10px;
408
+ margin: 10px 0 21px;
409
+ border-left: 5px solid #cde9f4; }
410
+ div.Swift .aside-title {
411
+ color: #4b8afb;
412
+ -webkit-user-select: none; }
413
+
414
+ #footer {
415
+ font-size: 1.1em;
416
+ bottom: 0;
417
+ color: #0088cc;
418
+ margin: 0 25px;
419
+ position: absolute;
420
+ width: 684px; }
421
+
422
+ .graybox {
423
+ border: 1px solid #e9e9e9;
424
+ border-collapse: collapse;
425
+ border-spacing: 0;
426
+ empty-cells: hide;
427
+ margin: 20px 0 36px;
428
+ text-align: left;
429
+ width: 100%; }
430
+ .graybox p {
431
+ margin: 0;
432
+ word-break: break-word;
433
+ min-width: 50px; }
434
+
435
+ td {
436
+ border: 1px solid #e9e9e9;
437
+ padding: 5px 25px 5px 10px;
438
+ margin: 0;
439
+ vertical-align: middle;
440
+ max-width: 260px; }
441
+
442
+ #reference .rubber-band-gap {
443
+ background: #fff;
444
+ height: 250px;
445
+ position: fixed;
446
+ width: 734px;
447
+ z-index: -1; }
448
+
449
+ .readme {
450
+ -ms-text-size-adjust: 100%;
451
+ -webkit-text-size-adjust: 100%;
452
+ color: #414141;
453
+ overflow: hidden;
454
+ font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif;
455
+ font-size: 16px;
456
+ line-height: 1.6;
457
+ word-wrap: break-word; }
458
+ .readme a {
459
+ background: transparent; }
460
+ .readme a:active, .readme a:hover {
461
+ outline: 0; }
462
+ .readme strong {
463
+ font-weight: bold; }
464
+ .readme h1 {
465
+ font-size: 2em;
466
+ margin: 0.67em 0; }
467
+ .readme img {
468
+ border: 0; }
469
+ .readme hr {
470
+ -moz-box-sizing: content-box;
471
+ box-sizing: content-box;
472
+ height: 0; }
473
+ .readme pre {
474
+ overflow: auto; }
475
+ .readme code,
476
+ .readme kbd,
477
+ .readme pre {
478
+ font-family: monospace, monospace;
479
+ font-size: 1em; }
480
+ .readme table {
481
+ border-collapse: collapse;
482
+ border-spacing: 0; }
483
+ .readme td,
484
+ .readme th {
485
+ padding: 0; }
486
+ .readme * {
487
+ -moz-box-sizing: border-box;
488
+ box-sizing: border-box; }
489
+ .readme a {
490
+ color: #4183c4;
491
+ text-decoration: none; }
492
+ .readme a:hover, .readme a:focus, .readme a:active {
493
+ text-decoration: underline; }
494
+ .readme hr {
495
+ height: 0;
496
+ margin: 15px 0;
497
+ overflow: hidden;
498
+ background: transparent;
499
+ border: 0;
500
+ border-bottom: 1px solid #ddd; }
501
+ .readme hr:before {
502
+ display: table;
503
+ content: ""; }
504
+ .readme hr:after {
505
+ display: table;
506
+ clear: both;
507
+ content: ""; }
508
+ .readme h1,
509
+ .readme h2,
510
+ .readme h3,
511
+ .readme h4,
512
+ .readme h5,
513
+ .readme h6 {
514
+ margin-top: 15px;
515
+ margin-bottom: 15px;
516
+ line-height: 1.1; }
517
+ .readme h1 {
518
+ font-size: 30px; }
519
+ .readme h2 {
520
+ font-size: 21px; }
521
+ .readme h3 {
522
+ font-size: 16px; }
523
+ .readme h4 {
524
+ font-size: 14px; }
525
+ .readme h5 {
526
+ font-size: 12px; }
527
+ .readme h6 {
528
+ font-size: 11px; }
529
+ .readme blockquote {
530
+ margin: 0; }
531
+ .readme ul,
532
+ .readme ol {
533
+ padding: 0;
534
+ margin-top: 0;
535
+ margin-bottom: 0; }
536
+ .readme ol ol,
537
+ .readme ul ol {
538
+ list-style-type: lower-roman; }
539
+ .readme ul ul ol,
540
+ .readme ul ol ol,
541
+ .readme ol ul ol,
542
+ .readme ol ol ol {
543
+ list-style-type: lower-alpha; }
544
+ .readme dd {
545
+ margin-left: 0; }
546
+ .readme code {
547
+ font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace; }
548
+ .readme pre {
549
+ margin-top: 0;
550
+ margin-bottom: 0;
551
+ font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace; }
552
+ .readme > *:first-child {
553
+ margin-top: 0 !important; }
554
+ .readme > *:last-child {
555
+ margin-bottom: 0 !important; }
556
+ .readme h1,
557
+ .readme h2,
558
+ .readme h3,
559
+ .readme h4,
560
+ .readme h5,
561
+ .readme h6 {
562
+ position: relative;
563
+ margin-top: 1em;
564
+ margin-bottom: 16px;
565
+ font-weight: bold;
566
+ line-height: 1.4; }
567
+ .readme h1 {
568
+ padding-bottom: 0.3em;
569
+ font-size: 2.25em;
570
+ line-height: 1.2;
571
+ border-bottom: 1px solid #eee; }
572
+ .readme h2 {
573
+ padding-bottom: 0.3em;
574
+ font-size: 1.75em;
575
+ line-height: 1.225;
576
+ border-bottom: 1px solid #eee; }
577
+ .readme h3 {
578
+ font-size: 1.5em;
579
+ line-height: 1.43; }
580
+ .readme h4 {
581
+ font-size: 1.25em; }
582
+ .readme h5 {
583
+ font-size: 1em; }
584
+ .readme h6 {
585
+ font-size: 1em;
586
+ color: #777; }
587
+ .readme p,
588
+ .readme blockquote,
589
+ .readme ul,
590
+ .readme ol,
591
+ .readme dl,
592
+ .readme table,
593
+ .readme pre {
594
+ margin-top: 0;
595
+ margin-bottom: 16px; }
596
+ .readme hr {
597
+ height: 4px;
598
+ padding: 0;
599
+ margin: 16px 0;
600
+ background-color: #e7e7e7;
601
+ border: 0 none; }
602
+ .readme ul,
603
+ .readme ol {
604
+ padding-left: 2em; }
605
+ .readme ul ul,
606
+ .readme ul ol,
607
+ .readme ol ol,
608
+ .readme ol ul {
609
+ margin-top: 0;
610
+ margin-bottom: 0; }
611
+ .readme li > p {
612
+ margin-top: 16px; }
613
+ .readme dl {
614
+ padding: 0; }
615
+ .readme dl dt {
616
+ padding: 0;
617
+ margin-top: 16px;
618
+ font-size: 1em;
619
+ font-style: italic;
620
+ font-weight: bold; }
621
+ .readme dl dd {
622
+ padding: 0 16px;
623
+ margin-bottom: 16px; }
624
+ .readme blockquote {
625
+ padding: 0 15px;
626
+ color: #777;
627
+ border-left: 4px solid #ddd; }
628
+ .readme blockquote > :first-child {
629
+ margin-top: 0; }
630
+ .readme blockquote > :last-child {
631
+ margin-bottom: 0; }
632
+ .readme table {
633
+ display: block;
634
+ width: 100%;
635
+ overflow: auto;
636
+ word-break: normal;
637
+ word-break: keep-all; }
638
+ .readme table th {
639
+ font-weight: bold; }
640
+ .readme table th, .readme table td {
641
+ padding: 6px 13px;
642
+ border: 1px solid #ddd; }
643
+ .readme table tr {
644
+ background-color: #fff;
645
+ border-top: 1px solid #ccc; }
646
+ .readme table tr:nth-child(2n) {
647
+ background-color: #f8f8f8; }
648
+ .readme img {
649
+ max-width: 100%;
650
+ -moz-box-sizing: border-box;
651
+ box-sizing: border-box; }
652
+ .readme code {
653
+ padding: 0;
654
+ padding-top: 0.2em;
655
+ padding-bottom: 0.2em;
656
+ margin: 0;
657
+ font-size: 85%;
658
+ background-color: rgba(0, 0, 0, 0.04);
659
+ border-radius: 3px; }
660
+ .readme code:after, .readme code:before {
661
+ letter-spacing: -0.2em;
662
+ content: "\00a0"; }
663
+ .readme pre > code {
664
+ padding: 0;
665
+ margin: 0;
666
+ font-size: 100%;
667
+ word-break: normal;
668
+ white-space: pre;
669
+ background: transparent;
670
+ border: 0; }
671
+ .readme .highlight {
672
+ margin-bottom: 16px; }
673
+ .readme .highlight pre,
674
+ .readme pre {
675
+ padding: 16px;
676
+ overflow: auto;
677
+ font-size: 85%;
678
+ line-height: 1.45;
679
+ background-color: #f7f7f7;
680
+ border-radius: 3px; }
681
+ .readme .highlight pre {
682
+ margin-bottom: 0;
683
+ word-break: normal; }
684
+ .readme pre {
685
+ word-wrap: normal; }
686
+ .readme pre code {
687
+ display: inline;
688
+ max-width: initial;
689
+ padding: 0;
690
+ margin: 0;
691
+ overflow: initial;
692
+ line-height: inherit;
693
+ word-wrap: normal;
694
+ background-color: transparent;
695
+ border: 0; }
696
+ .readme pre code:before, .readme pre code:after {
697
+ content: normal; }
698
+
699
+ html.dash .book-parts {
700
+ display: none;
701
+ width: 0; }
702
+ html.dash .chapter {
703
+ width: 980px;
704
+ margin-left: 0; }
705
+ html.dash #reference .height-container {
706
+ display: block; }
707
+ html.dash #reference .x-instance-method {
708
+ margin-left: 0; }