jazzy 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +8 -3
- data/CHANGELOG.md +53 -0
- data/Gemfile.lock +11 -15
- data/jazzy.gemspec +3 -4
- data/lib/jazzy/SourceKitten/Commandant.framework/Commandant +1 -0
- data/lib/jazzy/SourceKitten/Commandant.framework/Modules +1 -0
- data/lib/jazzy/SourceKitten/Commandant.framework/Resources +1 -0
- data/lib/jazzy/SourceKitten/Commandant.framework/Versions/A/Commandant +0 -0
- data/lib/jazzy/{sourcekitten → SourceKitten}/Commandant.framework/Versions/A/Modules/Commandant.swiftmodule/x86_64.swiftdoc +0 -0
- data/lib/jazzy/{sourcekitten → SourceKitten}/Commandant.framework/Versions/A/Modules/Commandant.swiftmodule/x86_64.swiftmodule +0 -0
- data/lib/jazzy/{sourcekitten → SourceKitten}/Commandant.framework/Versions/A/Modules/module.modulemap +0 -0
- data/lib/jazzy/{sourcekitten → SourceKitten}/Commandant.framework/Versions/A/Resources/Info.plist +5 -5
- data/lib/jazzy/SourceKitten/Commandant.framework/Versions/Current +1 -0
- data/lib/jazzy/SourceKitten/LlamaKit.framework/LlamaKit +1 -0
- data/lib/jazzy/SourceKitten/LlamaKit.framework/Modules +1 -0
- data/lib/jazzy/SourceKitten/LlamaKit.framework/Resources +1 -0
- data/lib/jazzy/{sourcekitten/LlamaKit.framework → SourceKitten/LlamaKit.framework/Versions/A}/LlamaKit +0 -0
- data/lib/jazzy/{sourcekitten → SourceKitten}/LlamaKit.framework/Versions/A/Modules/LlamaKit.swiftmodule/x86_64.swiftdoc +0 -0
- data/lib/jazzy/{sourcekitten → SourceKitten}/LlamaKit.framework/Versions/A/Modules/LlamaKit.swiftmodule/x86_64.swiftmodule +0 -0
- data/lib/jazzy/{sourcekitten → SourceKitten}/LlamaKit.framework/Versions/A/Modules/module.modulemap +0 -0
- data/lib/jazzy/{sourcekitten → SourceKitten}/LlamaKit.framework/Versions/A/Resources/Info.plist +5 -5
- data/lib/jazzy/SourceKitten/LlamaKit.framework/Versions/Current +1 -0
- data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Modules +1 -0
- data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Resources +1 -0
- data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/SourceKittenFramework +1 -0
- data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/Modules +1 -0
- data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/Resources +1 -0
- data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/SwiftXPC +1 -0
- data/lib/jazzy/{sourcekitten → SourceKitten}/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/Versions/A/Modules/SwiftXPC.swiftmodule/x86_64.swiftdoc +0 -0
- data/lib/jazzy/{sourcekitten → SourceKitten}/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/Versions/A/Modules/SwiftXPC.swiftmodule/x86_64.swiftmodule +0 -0
- data/lib/jazzy/{sourcekitten → SourceKitten}/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/Versions/A/Modules/module.modulemap +0 -0
- data/lib/jazzy/{sourcekitten → SourceKitten}/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/Versions/A/Resources/Info.plist +5 -5
- data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/Versions/A/SwiftXPC +0 -0
- data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/Versions/Current +1 -0
- data/lib/jazzy/{sourcekitten → SourceKitten}/SourceKittenFramework.framework/Versions/A/Frameworks/libswiftCore.dylib +0 -0
- data/lib/jazzy/{sourcekitten → SourceKitten}/SourceKittenFramework.framework/Versions/A/Frameworks/libswiftCoreGraphics.dylib +0 -0
- data/lib/jazzy/{sourcekitten → SourceKitten}/SourceKittenFramework.framework/Versions/A/Frameworks/libswiftDarwin.dylib +0 -0
- data/lib/jazzy/{sourcekitten → SourceKitten}/SourceKittenFramework.framework/Versions/A/Frameworks/libswiftDispatch.dylib +0 -0
- data/lib/jazzy/{sourcekitten → SourceKitten}/SourceKittenFramework.framework/Versions/A/Frameworks/libswiftFoundation.dylib +0 -0
- data/lib/jazzy/{sourcekitten → SourceKitten}/SourceKittenFramework.framework/Versions/A/Frameworks/libswiftObjectiveC.dylib +0 -0
- data/lib/jazzy/{sourcekitten → SourceKitten}/SourceKittenFramework.framework/Versions/A/Frameworks/libswiftSecurity.dylib +0 -0
- data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Modules/SourceKittenFramework.swiftmodule/x86_64.swiftdoc +0 -0
- data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Modules/SourceKittenFramework.swiftmodule/x86_64.swiftmodule +0 -0
- data/lib/jazzy/{sourcekitten → SourceKitten}/SourceKittenFramework.framework/Versions/A/Modules/module.modulemap +0 -0
- data/lib/jazzy/{sourcekitten → SourceKitten}/SourceKittenFramework.framework/Versions/A/Resources/Info.plist +5 -5
- data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/SourceKittenFramework +0 -0
- data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/Current +1 -0
- data/lib/jazzy/SourceKitten/sourcekitten +0 -0
- data/lib/jazzy/assets/css/jazzy.css.scss +319 -810
- data/lib/jazzy/assets/js/jazzy.js +12 -2
- data/lib/jazzy/config.rb +6 -1
- data/lib/jazzy/doc.mustache +10 -36
- data/lib/jazzy/doc_builder.rb +13 -8
- data/lib/jazzy/docset_builder.rb +1 -1
- data/lib/jazzy/executable.rb +44 -0
- data/lib/jazzy/gem_version.rb +1 -1
- data/lib/jazzy/jazzy_markdown.rb +0 -4
- data/lib/jazzy/partials/footer.mustache +2 -2
- data/lib/jazzy/partials/header.mustache +11 -0
- data/lib/jazzy/partials/nav.mustache +5 -5
- data/lib/jazzy/partials/parameter.mustache +3 -3
- data/lib/jazzy/partials/task.mustache +22 -25
- data/lib/jazzy/readme_generator.rb +1 -2
- data/lib/jazzy/source_declaration.rb +2 -0
- data/lib/jazzy/sourcekitten.rb +52 -32
- data/spec/integration_spec.rb +3 -2
- data/spec/sourcekitten_spec.rb +1 -1
- metadata +69 -71
- data/lib/jazzy/sourcekitten/Commandant.framework/Commandant +0 -0
- data/lib/jazzy/sourcekitten/Commandant.framework/Versions/A/Commandant +0 -0
- data/lib/jazzy/sourcekitten/LlamaKit.framework/Versions/A/LlamaKit +0 -0
- data/lib/jazzy/sourcekitten/Rakefile +0 -19
- data/lib/jazzy/sourcekitten/SourceKittenFramework.framework/SourceKittenFramework +0 -0
- data/lib/jazzy/sourcekitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/SwiftXPC +0 -0
- data/lib/jazzy/sourcekitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/Versions/A/SwiftXPC +0 -0
- data/lib/jazzy/sourcekitten/SourceKittenFramework.framework/Versions/A/Modules/SourceKittenFramework.swiftmodule/x86_64.swiftdoc +0 -0
- data/lib/jazzy/sourcekitten/SourceKittenFramework.framework/Versions/A/Modules/SourceKittenFramework.swiftmodule/x86_64.swiftmodule +0 -0
- data/lib/jazzy/sourcekitten/SourceKittenFramework.framework/Versions/A/SourceKittenFramework +0 -0
- data/lib/jazzy/sourcekitten/sourcekitten +0 -0
- data/lib/jazzy/xml_helper.rb +0 -16
@@ -1,925 +1,434 @@
|
|
1
|
+
////////////////////////////////
|
2
|
+
// Constants
|
3
|
+
////////////////////////////////
|
4
|
+
|
5
|
+
$bg_color: #414141;
|
1
6
|
$doc_coverage_color: #999;
|
7
|
+
$code_color: #777;
|
8
|
+
$code_bg_color: #eee;
|
9
|
+
$link_color: #0088cc;
|
10
|
+
$white_color: #fff;
|
11
|
+
$light_gray_bg_color: #f2f2f2;
|
12
|
+
$declaration_bg_color: #f9f9f9;
|
13
|
+
$sidebar_bg_color: #f9f9f9;
|
14
|
+
$declaration_lang_title_swift_color: #4b8afb;
|
15
|
+
|
16
|
+
$sidebar_width: 230px;
|
2
17
|
$content_wrapper_width: 980px;
|
3
|
-
$
|
4
|
-
$
|
18
|
+
$content_top_offset: 70px;
|
19
|
+
$content_body_margin: 16px;
|
20
|
+
$content_body_left_offset: $sidebar_width + $content_body_margin;
|
21
|
+
$header_height: 26px;
|
22
|
+
$breadcrumb_padding_top: 17px;
|
23
|
+
|
24
|
+
$code_font: 0.95em Menlo, monospace;
|
25
|
+
|
26
|
+
$gray_border: 1px solid #e2e2e2;
|
27
|
+
$declaration_swift_border: 5px solid #cde9f4;
|
28
|
+
|
29
|
+
////////////////////////////////
|
30
|
+
// Reset
|
31
|
+
////////////////////////////////
|
5
32
|
|
6
33
|
html, body, div, span, h1, h3, h4, p, a, code, em, img, ul, li, table, tbody, tr, td {
|
7
34
|
background: transparent;
|
8
35
|
border: 0;
|
9
|
-
font-size: 100%;
|
10
36
|
margin: 0;
|
11
37
|
outline: 0;
|
12
38
|
padding: 0;
|
13
39
|
vertical-align: baseline;
|
14
40
|
}
|
15
41
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
white-space: pre-wrap;
|
20
|
-
font-size: 140%;
|
21
|
-
}
|
42
|
+
////////////////////////////////
|
43
|
+
// Global
|
44
|
+
////////////////////////////////
|
22
45
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
border-left: 1px solid rgba(233, 233, 233, 1);
|
30
|
-
border-right: 1px solid rgba(233, 233, 233, 1);
|
31
|
-
border-bottom: 1px solid rgba(233, 233, 233, 1);
|
32
|
-
}
|
33
|
-
.nav-chapters {
|
34
|
-
height: 100%;
|
35
|
-
}
|
36
|
-
.part-name {
|
37
|
-
color: #000;
|
38
|
-
cursor: default;
|
39
|
-
padding: 15px 15px 15px 20px;
|
40
|
-
min-height: 61px;
|
41
|
-
&.tasks {
|
42
|
-
background: #fff;
|
43
|
-
overflow: auto;
|
44
|
-
}
|
45
|
-
}
|
46
|
-
.book-parts a {
|
47
|
-
display: initial;
|
48
|
-
margin-left: 0;
|
49
|
-
}
|
50
|
-
.nav-chapters li {
|
51
|
-
color: rgba(128, 128, 128, 1);
|
52
|
-
margin-left: 12px;
|
53
|
-
padding-left: 10px;
|
54
|
-
text-indent: -10px;
|
55
|
-
}
|
56
|
-
.chapter-name {
|
57
|
-
margin-top: 21px;
|
58
|
-
}
|
46
|
+
body {
|
47
|
+
background-color: $light_gray_bg_color;
|
48
|
+
font-family: Helvetica, freesans, Arial, sans-serif;
|
49
|
+
font-size: 14px;
|
50
|
+
-webkit-font-smoothing: subpixel-antialiased;
|
51
|
+
word-wrap: break-word;
|
59
52
|
}
|
60
53
|
|
61
|
-
|
62
|
-
background: #fff;
|
63
|
-
height: 250px;
|
64
|
-
position: fixed;
|
65
|
-
width: 734px;
|
66
|
-
z-index: -1;
|
67
|
-
top: 70px;
|
68
|
-
margin: 0 0 0 247px;
|
69
|
-
}
|
54
|
+
// Headers
|
70
55
|
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
padding: 35px 25px 0;
|
77
|
-
position: relative;
|
78
|
-
width: 100%;
|
79
|
-
}
|
80
|
-
.section-name {
|
81
|
-
cursor: pointer;
|
82
|
-
display: inline-block;
|
83
|
-
}
|
84
|
-
.section .section {
|
85
|
-
margin-top: 0;
|
86
|
-
}
|
87
|
-
.task-group-section {
|
88
|
-
padding: 1px 25px 0;
|
89
|
-
}
|
90
|
-
.symbol {
|
91
|
-
background: #fff;
|
92
|
-
left: -25px;
|
93
|
-
list-style-type: none;
|
94
|
-
padding: 13px 25px 0;
|
95
|
-
position: relative;
|
96
|
-
width: 100%;
|
97
|
-
}
|
98
|
-
.task-group-term {
|
99
|
-
font-size: 1.4em;
|
100
|
-
word-break: break-all;
|
101
|
-
> code {
|
102
|
-
font: $code-font;
|
103
|
-
display: inline-block;
|
104
|
-
}
|
105
|
-
}
|
106
|
-
dl {
|
107
|
-
border: $graybox-border;
|
108
|
-
@extend .para;
|
109
|
-
dt {
|
110
|
-
float: left;
|
111
|
-
width: 50px;
|
112
|
-
@extend em.term;
|
113
|
-
font-style: italic;
|
114
|
-
text-align: right;
|
115
|
-
padding: 7px;
|
116
|
-
vertical-align: top;
|
117
|
-
}
|
118
|
-
dd {
|
119
|
-
word-break: break-word;
|
120
|
-
margin-left: 64px;
|
121
|
-
padding: 7px;
|
122
|
-
min-width: 70px;
|
123
|
-
border-left: $graybox-border;
|
124
|
-
}
|
125
|
-
}
|
126
|
-
.pointy-thing-container {
|
127
|
-
background: #fff;
|
128
|
-
border-bottom: 1px solid rgba(233, 233, 233, 1);
|
129
|
-
left: -25px;
|
130
|
-
padding-left: 25px;
|
131
|
-
padding-right: 25px;
|
132
|
-
padding-bottom: 13px;
|
133
|
-
position: relative;
|
134
|
-
width: 100%;
|
135
|
-
}
|
136
|
-
.pointy-thing {
|
137
|
-
background: rgba(249, 249, 249, 1);
|
138
|
-
border-left: 1px solid rgba(233, 233, 233, 1);
|
139
|
-
border-top: 1px solid rgba(233, 233, 233, 1);
|
140
|
-
height: 12px;
|
141
|
-
left: 21px;
|
142
|
-
top: -7px;
|
143
|
-
-webkit-transform: rotate(45deg);
|
144
|
-
-moz-transform: rotate(45deg);
|
145
|
-
-o-transform: rotate(45deg);
|
146
|
-
transform: rotate(45deg);
|
147
|
-
position: absolute;
|
148
|
-
width: 12px;
|
149
|
-
}
|
150
|
-
.height-container {
|
151
|
-
display: none;
|
152
|
-
left: -25px;
|
153
|
-
padding: 0 25px;
|
154
|
-
position: relative;
|
155
|
-
width: 100%;
|
156
|
-
overflow: hidden;
|
157
|
-
.section {
|
158
|
-
background: rgba(249, 249, 249, 1);
|
159
|
-
border-bottom: 1px solid rgba(233, 233, 233, 1);
|
160
|
-
left: -25px;
|
161
|
-
margin: 0;
|
162
|
-
padding: 13px 25px 0;
|
163
|
-
position: relative;
|
164
|
-
width: 100%;
|
165
|
-
h4 {
|
166
|
-
font-size: 13px;
|
167
|
-
line-height: 1.5;
|
168
|
-
margin-top: 21px;
|
169
|
-
}
|
170
|
-
}
|
171
|
-
}
|
172
|
-
.section .declaration {
|
173
|
-
margin-top: 21px;
|
174
|
-
code {
|
175
|
-
font: $code-font;
|
176
|
-
color: rgba(128, 128, 128, 1);
|
177
|
-
margin-bottom: 15px;
|
178
|
-
padding-bottom: 6px;
|
179
|
-
}
|
180
|
-
}
|
181
|
-
.declaration div .para {
|
182
|
-
margin-bottom: 0;
|
183
|
-
}
|
184
|
-
.task-group .item .graybox {
|
185
|
-
margin: 5px 0 26px;
|
186
|
-
}
|
187
|
-
.symbol .graybox .para:last-of-type {
|
188
|
-
margin-bottom: 0;
|
189
|
-
padding-bottom: 0;
|
190
|
-
}
|
191
|
-
.parameters .graybox tr td:first-of-type {
|
192
|
-
text-align: right;
|
193
|
-
padding: 7px;
|
194
|
-
vertical-align: top;
|
195
|
-
word-break: normal;
|
196
|
-
width: 40px;
|
197
|
-
}
|
198
|
-
em {
|
199
|
-
&.term, &.parameter-name {
|
200
|
-
color: rgba(65, 65, 65, 1);
|
201
|
-
font-size: 12px;
|
202
|
-
line-height: 1.5;
|
203
|
-
}
|
204
|
-
}
|
205
|
-
.height-container .section > div:last-of-type {
|
206
|
-
margin-bottom: 15px;
|
207
|
-
}
|
208
|
-
#footer {
|
209
|
-
width: 614px;
|
210
|
-
z-index: 1;
|
211
|
-
}
|
212
|
-
.item .para {
|
213
|
-
padding-bottom: 0;
|
214
|
-
margin: 0 0 15px;
|
215
|
-
}
|
216
|
-
a[name] {
|
217
|
-
padding-top: 112px;
|
218
|
-
margin: -112px 0 0;
|
219
|
-
}
|
220
|
-
.height-container td {
|
221
|
-
max-width: inherit;
|
222
|
-
}
|
223
|
-
.declaration .n a {
|
224
|
-
color: inherit;
|
225
|
-
&:hover {
|
226
|
-
border-bottom: 1px solid;
|
227
|
-
}
|
228
|
-
}
|
229
|
-
.copyright {
|
230
|
-
margin: 10px 0;
|
231
|
-
}
|
56
|
+
h1, h2, h3, h4, h5, h6 {
|
57
|
+
margin-top: 0.8em;
|
58
|
+
margin-bottom: 0.3em;
|
59
|
+
font-weight: 100;
|
60
|
+
color: black;
|
232
61
|
}
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
62
|
+
h1 {
|
63
|
+
font-size: 2.5em;
|
64
|
+
}
|
65
|
+
h2 {
|
66
|
+
font-size: 2em;
|
67
|
+
border-bottom: $gray_border;
|
68
|
+
}
|
69
|
+
h3 {
|
70
|
+
font-size: 1.5em;
|
71
|
+
}
|
72
|
+
h4 {
|
73
|
+
font-size: 1.25em;
|
74
|
+
}
|
75
|
+
h5 {
|
76
|
+
font-size: 1.1em;
|
77
|
+
}
|
78
|
+
h6 {
|
79
|
+
font-size: 1.1em;
|
80
|
+
color: $code_color;
|
245
81
|
}
|
246
82
|
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
font
|
251
|
-
|
252
|
-
|
253
|
-
-webkit-font-smoothing: subpixel-antialiased;
|
83
|
+
// Code
|
84
|
+
|
85
|
+
pre, code {
|
86
|
+
font: $code_font;
|
87
|
+
color: $code_color;
|
88
|
+
word-wrap: normal;
|
254
89
|
}
|
90
|
+
p code, li code {
|
91
|
+
background-color: $code_bg_color;
|
92
|
+
padding: 2px 4px;
|
93
|
+
border-radius: 4px;
|
94
|
+
}
|
95
|
+
|
96
|
+
// Links
|
255
97
|
|
256
|
-
a
|
257
|
-
|
258
|
-
|
259
|
-
margin: -85px 0 0;
|
260
|
-
width: 0;
|
261
|
-
height: 0;
|
98
|
+
a {
|
99
|
+
color: $link_color;
|
100
|
+
text-decoration: none;
|
262
101
|
}
|
263
102
|
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
103
|
+
// Lists
|
104
|
+
|
105
|
+
ul {
|
106
|
+
padding-left: 15px;
|
107
|
+
}
|
108
|
+
li {
|
109
|
+
line-height: 1.8em;
|
268
110
|
}
|
269
111
|
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
top: 70px;
|
275
|
-
width: 734px;
|
276
|
-
z-index: 3;
|
277
|
-
top: 70px;
|
278
|
-
margin: 0 0 0 247px;
|
279
|
-
}
|
280
|
-
|
281
|
-
.chapter {
|
282
|
-
background-color: #fff;
|
283
|
-
border: 1px solid rgba(233, 233, 233, 1);
|
284
|
-
border-top: 0;
|
285
|
-
box-shadow: 0 0 1px rgba(0, 0, 0, 0.07);
|
286
|
-
display: block;
|
287
|
-
margin-left: 246px;
|
288
|
-
min-height: calc(100% - 173px);
|
289
|
-
min-height: -moz-calc(100% - 173px);
|
290
|
-
min-height: -webkit-calc(100% - 173px);
|
291
|
-
min-height: -o-calc(100% - 173px);
|
292
|
-
position: absolute;
|
293
|
-
overflow: auto;
|
294
|
-
padding-bottom: 100px;
|
295
|
-
top: 70px;
|
296
|
-
-webkit-overflow-scrolling: touch;
|
297
|
-
width: 734px;
|
112
|
+
// Images
|
113
|
+
|
114
|
+
img {
|
115
|
+
max-width: 100%;
|
298
116
|
}
|
299
117
|
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
margin-
|
304
|
-
|
118
|
+
// Blockquotes
|
119
|
+
|
120
|
+
blockquote {
|
121
|
+
margin-left: 0;
|
122
|
+
padding: 0 10px;
|
123
|
+
border-left: 4px solid #ccc;
|
305
124
|
}
|
306
125
|
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
}
|
126
|
+
// General Content Wrapper
|
127
|
+
|
128
|
+
.content-wrapper {
|
129
|
+
margin: 0 auto;
|
130
|
+
width: $content_wrapper_width;
|
313
131
|
}
|
314
132
|
|
133
|
+
////////////////////////////////
|
134
|
+
// Header & Top Breadcrumbs
|
135
|
+
////////////////////////////////
|
136
|
+
|
315
137
|
header {
|
316
|
-
|
317
|
-
|
318
|
-
color:
|
319
|
-
height: 25px;
|
320
|
-
letter-spacing: .05em;
|
138
|
+
font-size: 0.85em;
|
139
|
+
line-height: $header_height;
|
140
|
+
background-color: $bg_color;
|
321
141
|
position: fixed;
|
322
|
-
top: 0;
|
323
142
|
width: 100%;
|
324
|
-
z-index:
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
padding-top: 6px;
|
331
|
-
vertical-align: middle;
|
332
|
-
float: left;
|
333
|
-
color: $doc_coverage_color;
|
143
|
+
z-index: 1;
|
144
|
+
img {
|
145
|
+
padding-right: 6px;
|
146
|
+
vertical-align: -4px;
|
147
|
+
height: 16px;
|
148
|
+
}
|
334
149
|
a {
|
335
|
-
color:
|
336
|
-
|
150
|
+
color: $white_color;
|
151
|
+
}
|
152
|
+
p {
|
153
|
+
float: left;
|
154
|
+
color: $doc_coverage_color;
|
155
|
+
}
|
156
|
+
.header-right {
|
157
|
+
float: right;
|
158
|
+
margin-left: 16px;
|
337
159
|
}
|
338
160
|
}
|
339
161
|
|
340
|
-
#
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
#header-links a {
|
346
|
-
float: right;
|
347
|
-
padding-top: 4px;
|
348
|
-
padding-left: 16px;
|
349
|
-
font-size: 1.1em;
|
350
|
-
vertical-align: middle;
|
351
|
-
margin: 0 auto;
|
352
|
-
color: #fff;
|
353
|
-
text-decoration: none;
|
354
|
-
}
|
355
|
-
|
356
|
-
#valence {
|
357
|
-
background-color: rgba(242, 242, 242, 1);
|
358
|
-
display: block;
|
359
|
-
height: 60px;
|
360
|
-
padding-top: 10px;
|
162
|
+
#breadcrumbs {
|
163
|
+
background-color: $light_gray_bg_color;
|
164
|
+
height: $content_top_offset - $header_height - $breadcrumb_padding_top;
|
165
|
+
padding-top: $breadcrumb_padding_top;
|
361
166
|
position: fixed;
|
362
|
-
top: 0;
|
363
167
|
width: 100%;
|
364
|
-
z-index:
|
168
|
+
z-index: 1;
|
169
|
+
margin-top: $header_height;
|
170
|
+
#carat {
|
171
|
+
height: 10px;
|
172
|
+
margin: 0 5px;
|
173
|
+
}
|
365
174
|
}
|
366
175
|
|
367
|
-
|
368
|
-
|
369
|
-
|
176
|
+
////////////////////////////////
|
177
|
+
// Side Navigation
|
178
|
+
////////////////////////////////
|
370
179
|
|
371
|
-
|
372
|
-
color:
|
373
|
-
|
180
|
+
.sidebar {
|
181
|
+
background-color: $sidebar_bg_color;
|
182
|
+
border: $gray_border;
|
183
|
+
overflow-y: auto;
|
184
|
+
overflow-x: hidden;
|
185
|
+
position: fixed;
|
186
|
+
top: $content_top_offset;
|
187
|
+
bottom: 0;
|
188
|
+
width: $sidebar_width;
|
189
|
+
word-wrap: normal;
|
374
190
|
}
|
375
191
|
|
376
|
-
.
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
margin-bottom: 15px;
|
192
|
+
.nav-groups {
|
193
|
+
list-style-type: none;
|
194
|
+
background: $white_color;
|
195
|
+
padding-left: 0;
|
381
196
|
}
|
382
197
|
|
383
|
-
.
|
384
|
-
|
385
|
-
|
386
|
-
font-family: Helvetica;
|
387
|
-
font-size: 2.8em;
|
198
|
+
.nav-group-name {
|
199
|
+
border-bottom: $gray_border;
|
200
|
+
font-size: 1.1em;
|
388
201
|
font-weight: 100;
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
202
|
+
padding: 15px 0 15px 20px;
|
203
|
+
> a {
|
204
|
+
color: #333;
|
205
|
+
}
|
393
206
|
}
|
394
207
|
|
395
|
-
.
|
396
|
-
|
397
|
-
text-decoration: none;
|
208
|
+
.nav-group-tasks {
|
209
|
+
margin-top: 5px;
|
398
210
|
}
|
399
211
|
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
212
|
+
.nav-group-task {
|
213
|
+
font-size: 0.9em;
|
214
|
+
list-style-type: none;
|
215
|
+
a {
|
216
|
+
color: #888;
|
217
|
+
}
|
406
218
|
}
|
407
219
|
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
220
|
+
////////////////////////////////
|
221
|
+
// Main Content
|
222
|
+
////////////////////////////////
|
223
|
+
|
224
|
+
.main-content {
|
225
|
+
background-color: $white_color;
|
226
|
+
border: $gray_border;
|
227
|
+
margin-left: $content_body_left_offset;
|
228
|
+
position: absolute;
|
229
|
+
overflow: hidden;
|
230
|
+
padding-bottom: 60px;
|
231
|
+
top: $content_top_offset;
|
232
|
+
width: $content_wrapper_width - $content_body_left_offset;
|
233
|
+
p, a, code, em, ul, table, blockquote {
|
234
|
+
margin-bottom: 1em;
|
235
|
+
}
|
236
|
+
p {
|
237
|
+
line-height: 1.8em;
|
238
|
+
}
|
239
|
+
section {
|
240
|
+
.section:first-child {
|
241
|
+
margin-top: 0;
|
242
|
+
padding-top: 0;
|
243
|
+
}
|
244
|
+
|
245
|
+
.task-group-section .task-group:first-of-type {
|
246
|
+
padding-top: 10px;
|
416
247
|
|
417
|
-
.
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
248
|
+
.section-name {
|
249
|
+
padding-top: 15px;
|
250
|
+
}
|
251
|
+
}
|
252
|
+
}
|
422
253
|
}
|
423
254
|
|
424
|
-
.
|
425
|
-
|
426
|
-
text-decoration: none;
|
255
|
+
.section {
|
256
|
+
padding: 0 25px;
|
427
257
|
}
|
428
258
|
|
429
|
-
.
|
430
|
-
|
431
|
-
padding
|
259
|
+
.highlight {
|
260
|
+
background-color: $code_bg_color;
|
261
|
+
padding: 10px 12px;
|
262
|
+
border: $gray_border;
|
263
|
+
border-radius: 4px;
|
264
|
+
overflow-x: auto;
|
432
265
|
}
|
433
266
|
|
434
|
-
.
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
bottom: 0;
|
440
|
-
box-shadow: 0 0 1px rgba(0, 0, 0, 0.07);
|
441
|
-
overflow: auto;
|
442
|
-
-webkit-overflow-scrolling: touch;
|
443
|
-
position: fixed;
|
444
|
-
top: 70px;
|
445
|
-
width: 230px;
|
267
|
+
.aside-title {
|
268
|
+
font-size: 9px;
|
269
|
+
letter-spacing: 2px;
|
270
|
+
text-transform: uppercase;
|
271
|
+
padding-bottom: 0;
|
446
272
|
}
|
447
273
|
|
448
|
-
.
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
-webkit-padding-start: 0;
|
274
|
+
.declaration .highlight {
|
275
|
+
overflow-x: initial; // This allows the scrollbar to show up inside declarations
|
276
|
+
padding: 0 40px 40px 0;
|
277
|
+
margin-bottom: -25px;
|
278
|
+
background-color: transparent;
|
279
|
+
border: none;
|
455
280
|
}
|
456
281
|
|
457
|
-
.
|
458
|
-
border-bottom: 1px solid rgba(233, 233, 233, 1);
|
459
|
-
font-family: Helvetica;
|
460
|
-
font-size: 1.6em;
|
461
|
-
line-height: 150%;
|
462
|
-
list-style-type: none;
|
282
|
+
.section-name {
|
463
283
|
margin: 0;
|
464
|
-
|
465
|
-
cursor: pointer;
|
284
|
+
margin-left: 18px;
|
466
285
|
}
|
467
286
|
|
468
|
-
.
|
469
|
-
|
470
|
-
|
471
|
-
list-style-position: outside;
|
472
|
-
list-style-type: none;
|
473
|
-
margin: 0;
|
474
|
-
margin-bottom: 10px;
|
475
|
-
padding: 0;
|
476
|
-
height: 0;
|
477
|
-
overflow: hidden;
|
478
|
-
-webkit-transition: height .3s ease-in-out;
|
479
|
-
-moz-transition: height .3s ease-in-out;
|
480
|
-
-o-transition: height .3s ease-in-out;
|
481
|
-
-ms-transition: height .3s ease-in-out;
|
482
|
-
transition: height .3s ease-in-out;
|
287
|
+
.task-group-section {
|
288
|
+
padding-left: 6px;
|
289
|
+
border-top: $gray_border;
|
483
290
|
}
|
484
291
|
|
485
|
-
.
|
486
|
-
|
487
|
-
list-style-position: outside;
|
488
|
-
list-style-type: none;
|
489
|
-
margin: 0;
|
490
|
-
padding: 0 0 8px;
|
292
|
+
.task-group {
|
293
|
+
padding-top: 0px;
|
491
294
|
}
|
492
295
|
|
493
|
-
.
|
494
|
-
|
296
|
+
.item {
|
297
|
+
padding-top: 8px;
|
298
|
+
width: 100%;
|
299
|
+
list-style-type: none;
|
300
|
+
a[name] {
|
301
|
+
&:before {
|
302
|
+
content: "";
|
303
|
+
display: block;
|
304
|
+
padding-top: $content_top_offset;
|
305
|
+
margin: -$content_top_offset 0 0;
|
306
|
+
}
|
307
|
+
}
|
308
|
+
code {
|
309
|
+
background-color: transparent;
|
310
|
+
padding: 0;
|
311
|
+
}
|
312
|
+
.token {
|
313
|
+
padding-left: 3px;
|
314
|
+
margin-left: 15px;
|
315
|
+
}
|
495
316
|
}
|
496
317
|
|
497
|
-
.
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
318
|
+
.pointer-container {
|
319
|
+
border-bottom: $gray_border;
|
320
|
+
left: -23px;
|
321
|
+
padding-bottom: 13px;
|
322
|
+
position: relative;
|
323
|
+
width: 110%;
|
324
|
+
}
|
325
|
+
|
326
|
+
.pointer {
|
327
|
+
background: $declaration_bg_color;
|
328
|
+
border-left: $gray_border;
|
329
|
+
border-top: $gray_border;
|
330
|
+
height: 12px;
|
331
|
+
left: 21px;
|
332
|
+
top: -7px;
|
333
|
+
-webkit-transform: rotate(45deg);
|
334
|
+
-moz-transform: rotate(45deg);
|
335
|
+
-o-transform: rotate(45deg);
|
336
|
+
transform: rotate(45deg);
|
337
|
+
position: absolute;
|
338
|
+
width: 12px;
|
502
339
|
}
|
503
340
|
|
504
|
-
.
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
341
|
+
.height-container {
|
342
|
+
display: none;
|
343
|
+
left: -25px;
|
344
|
+
padding: 0 25px;
|
345
|
+
position: relative;
|
346
|
+
width: 100%;
|
347
|
+
overflow: hidden;
|
348
|
+
.section {
|
349
|
+
background: $declaration_bg_color;
|
350
|
+
border-bottom: $gray_border;
|
351
|
+
left: -25px;
|
352
|
+
position: relative;
|
353
|
+
width: 100%;
|
354
|
+
padding-top: 10px;
|
355
|
+
padding-bottom: 5px;
|
356
|
+
}
|
510
357
|
}
|
511
358
|
|
512
359
|
div.Swift {
|
513
360
|
padding: 4px 0 2px 10px;
|
514
|
-
margin:
|
515
|
-
border-left:
|
361
|
+
margin-bottom: 1em;
|
362
|
+
border-left: $declaration_swift_border;
|
363
|
+
overflow-y: hidden;
|
516
364
|
.aside-title {
|
517
|
-
color:
|
365
|
+
color: $declaration_lang_title_swift_color;
|
518
366
|
-webkit-user-select: none;
|
519
367
|
}
|
520
368
|
}
|
521
369
|
|
522
|
-
#footer {
|
523
|
-
font-size: 1.1em;
|
524
|
-
bottom: 0;
|
525
|
-
color: rgba(0, 136, 204, 1);
|
526
|
-
margin: 0 25px;
|
527
|
-
position: absolute;
|
528
|
-
width: 684px;
|
529
|
-
}
|
530
|
-
|
531
370
|
.graybox {
|
532
|
-
border: $graybox-border;
|
533
371
|
border-collapse: collapse;
|
534
|
-
border-spacing: 0;
|
535
|
-
empty-cells: hide;
|
536
|
-
margin: 20px 0 36px;
|
537
|
-
text-align: left;
|
538
372
|
width: 100%;
|
539
373
|
p {
|
540
374
|
margin: 0;
|
541
375
|
word-break: break-word;
|
542
376
|
min-width: 50px;
|
543
377
|
}
|
378
|
+
td {
|
379
|
+
border: $gray_border;
|
380
|
+
padding: 5px 25px 5px 10px;
|
381
|
+
vertical-align: middle;
|
382
|
+
}
|
383
|
+
tr td:first-of-type {
|
384
|
+
text-align: right;
|
385
|
+
padding: 7px;
|
386
|
+
vertical-align: top;
|
387
|
+
word-break: normal;
|
388
|
+
width: 40px;
|
389
|
+
}
|
544
390
|
}
|
545
391
|
|
546
|
-
|
547
|
-
|
548
|
-
padding: 5px 25px 5px 10px;
|
549
|
-
margin: 0;
|
550
|
-
vertical-align: middle;
|
551
|
-
max-width: 260px;
|
552
|
-
}
|
553
|
-
|
554
|
-
#reference .rubber-band-gap {
|
555
|
-
background: #fff;
|
556
|
-
height: 250px;
|
557
|
-
position: fixed;
|
558
|
-
width: 734px;
|
559
|
-
z-index: -1;
|
392
|
+
.slightly-smaller {
|
393
|
+
font-size: 0.9em;
|
560
394
|
}
|
561
395
|
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif;
|
568
|
-
font-size: 16px;
|
569
|
-
line-height: 1.6;
|
570
|
-
word-wrap: break-word;
|
571
|
-
a {
|
572
|
-
background: transparent;
|
573
|
-
&:active,
|
574
|
-
&:hover {
|
575
|
-
outline: 0;
|
576
|
-
}
|
577
|
-
}
|
578
|
-
strong {
|
579
|
-
font-weight: bold;
|
580
|
-
}
|
581
|
-
h1 {
|
582
|
-
font-size: 2em;
|
583
|
-
margin: 0.67em 0;
|
584
|
-
}
|
585
|
-
img {
|
586
|
-
border: 0;
|
587
|
-
}
|
588
|
-
hr {
|
589
|
-
-moz-box-sizing: content-box;
|
590
|
-
box-sizing: content-box;
|
591
|
-
height: 0;
|
592
|
-
}
|
593
|
-
pre {
|
594
|
-
overflow: auto;
|
595
|
-
}
|
596
|
-
code,
|
597
|
-
kbd,
|
598
|
-
pre {
|
599
|
-
font-family: monospace, monospace;
|
600
|
-
font-size: 1em;
|
601
|
-
}
|
602
|
-
table {
|
603
|
-
border-collapse: collapse;
|
604
|
-
border-spacing: 0;
|
605
|
-
}
|
606
|
-
td,
|
607
|
-
th {
|
608
|
-
padding: 0;
|
609
|
-
}
|
610
|
-
* {
|
611
|
-
-moz-box-sizing: border-box;
|
612
|
-
box-sizing: border-box;
|
613
|
-
}
|
614
|
-
a {
|
615
|
-
color: #4183c4;
|
616
|
-
text-decoration: none;
|
617
|
-
&:hover,
|
618
|
-
&:focus,
|
619
|
-
&:active {
|
620
|
-
text-decoration: underline;
|
621
|
-
}
|
622
|
-
}
|
623
|
-
hr {
|
624
|
-
height: 0;
|
625
|
-
margin: 15px 0;
|
626
|
-
overflow: hidden;
|
627
|
-
background: transparent;
|
628
|
-
border: 0;
|
629
|
-
border-bottom: 1px solid #ddd;
|
630
|
-
&:before {
|
631
|
-
display: table;
|
632
|
-
content: "";
|
633
|
-
}
|
634
|
-
&:after {
|
635
|
-
display: table;
|
636
|
-
clear: both;
|
637
|
-
content: "";
|
638
|
-
}
|
639
|
-
}
|
640
|
-
h1,
|
641
|
-
h2,
|
642
|
-
h3,
|
643
|
-
h4,
|
644
|
-
h5,
|
645
|
-
h6 {
|
646
|
-
margin-top: 15px;
|
647
|
-
margin-bottom: 15px;
|
648
|
-
line-height: 1.1;
|
649
|
-
}
|
650
|
-
h1 {
|
651
|
-
font-size: 30px;
|
652
|
-
}
|
653
|
-
h2 {
|
654
|
-
font-size: 21px;
|
655
|
-
}
|
656
|
-
h3 {
|
657
|
-
font-size: 16px;
|
658
|
-
}
|
659
|
-
h4 {
|
660
|
-
font-size: 14px;
|
661
|
-
}
|
662
|
-
h5 {
|
663
|
-
font-size: 12px;
|
664
|
-
}
|
665
|
-
h6 {
|
666
|
-
font-size: 11px;
|
667
|
-
}
|
668
|
-
blockquote {
|
669
|
-
margin: 0;
|
670
|
-
}
|
671
|
-
ul,
|
672
|
-
ol {
|
673
|
-
padding: 0;
|
674
|
-
margin-top: 0;
|
675
|
-
margin-bottom: 0;
|
676
|
-
}
|
677
|
-
ol ol,
|
678
|
-
ul ol {
|
679
|
-
list-style-type: lower-roman;
|
680
|
-
}
|
681
|
-
ul ul ol,
|
682
|
-
ul ol ol,
|
683
|
-
ol ul ol,
|
684
|
-
ol ol ol {
|
685
|
-
list-style-type: lower-alpha;
|
686
|
-
}
|
687
|
-
dd {
|
688
|
-
margin-left: 0;
|
689
|
-
}
|
690
|
-
code {
|
691
|
-
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
692
|
-
}
|
693
|
-
pre {
|
694
|
-
margin-top: 0;
|
695
|
-
margin-bottom: 0;
|
696
|
-
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
697
|
-
}
|
698
|
-
& > *:first-child {
|
699
|
-
margin-top: 0 !important;
|
700
|
-
}
|
701
|
-
& > *:last-child {
|
702
|
-
margin-bottom: 0 !important;
|
703
|
-
}
|
704
|
-
h1,
|
705
|
-
h2,
|
706
|
-
h3,
|
707
|
-
h4,
|
708
|
-
h5,
|
709
|
-
h6 {
|
710
|
-
position: relative;
|
711
|
-
margin-top: 1em;
|
712
|
-
margin-bottom: 16px;
|
713
|
-
font-weight: bold;
|
714
|
-
line-height: 1.4;
|
715
|
-
}
|
716
|
-
h1 {
|
717
|
-
padding-bottom: 0.3em;
|
718
|
-
font-size: 2.25em;
|
719
|
-
line-height: 1.2;
|
720
|
-
border-bottom: 1px solid #eee;
|
721
|
-
}
|
722
|
-
h2 {
|
723
|
-
padding-bottom: 0.3em;
|
724
|
-
font-size: 1.75em;
|
725
|
-
line-height: 1.225;
|
726
|
-
border-bottom: 1px solid #eee;
|
727
|
-
}
|
728
|
-
h3 {
|
729
|
-
font-size: 1.5em;
|
730
|
-
line-height: 1.43;
|
731
|
-
}
|
732
|
-
h4 {
|
733
|
-
font-size: 1.25em;
|
734
|
-
}
|
735
|
-
h5 {
|
736
|
-
font-size: 1em;
|
737
|
-
}
|
738
|
-
h6 {
|
739
|
-
font-size: 1em;
|
740
|
-
color: #777;
|
741
|
-
}
|
742
|
-
p,
|
743
|
-
blockquote,
|
744
|
-
ul,
|
745
|
-
ol,
|
746
|
-
dl,
|
747
|
-
table,
|
748
|
-
pre {
|
749
|
-
margin-top: 0;
|
750
|
-
margin-bottom: 16px;
|
751
|
-
}
|
752
|
-
hr {
|
753
|
-
height: 4px;
|
754
|
-
padding: 0;
|
755
|
-
margin: 16px 0;
|
756
|
-
background-color: #e7e7e7;
|
757
|
-
border: 0 none;
|
758
|
-
}
|
759
|
-
ul,
|
760
|
-
ol {
|
761
|
-
padding-left: 2em;
|
762
|
-
}
|
763
|
-
ul ul,
|
764
|
-
ul ol,
|
765
|
-
ol ol,
|
766
|
-
ol ul {
|
767
|
-
margin-top: 0;
|
768
|
-
margin-bottom: 0;
|
769
|
-
}
|
770
|
-
li > p {
|
771
|
-
margin-top: 16px;
|
772
|
-
}
|
773
|
-
dl {
|
774
|
-
padding: 0;
|
775
|
-
dt {
|
776
|
-
padding: 0;
|
777
|
-
margin-top: 16px;
|
778
|
-
font-size: 1em;
|
779
|
-
font-style: italic;
|
780
|
-
font-weight: bold;
|
781
|
-
}
|
782
|
-
dd {
|
783
|
-
padding: 0 16px;
|
784
|
-
margin-bottom: 16px;
|
785
|
-
}
|
786
|
-
}
|
787
|
-
blockquote {
|
788
|
-
padding: 0 15px;
|
789
|
-
color: #777;
|
790
|
-
border-left: 4px solid #ddd;
|
791
|
-
& > :first-child {
|
792
|
-
margin-top: 0;
|
793
|
-
}
|
794
|
-
& > :last-child {
|
795
|
-
margin-bottom: 0;
|
796
|
-
}
|
797
|
-
}
|
798
|
-
table {
|
799
|
-
display: block;
|
800
|
-
width: 100%;
|
801
|
-
overflow: auto;
|
802
|
-
word-break: normal;
|
803
|
-
word-break: keep-all;
|
804
|
-
th {
|
805
|
-
font-weight: bold;
|
806
|
-
}
|
807
|
-
th, td {
|
808
|
-
padding: 6px 13px;
|
809
|
-
border: 1px solid #ddd;
|
810
|
-
}
|
811
|
-
tr {
|
812
|
-
background-color: #fff;
|
813
|
-
border-top: 1px solid #ccc;
|
814
|
-
&:nth-child(2n) {
|
815
|
-
background-color: #f8f8f8;
|
816
|
-
}
|
817
|
-
}
|
818
|
-
}
|
819
|
-
img {
|
820
|
-
max-width: 100%;
|
821
|
-
-moz-box-sizing: border-box;
|
822
|
-
box-sizing: border-box;
|
823
|
-
}
|
824
|
-
code {
|
825
|
-
padding: 0;
|
826
|
-
padding-top: 0.2em;
|
827
|
-
padding-bottom: 0.2em;
|
828
|
-
margin: 0;
|
829
|
-
font-size: 85%;
|
830
|
-
background-color: rgba(0, 0, 0, 0.04);
|
831
|
-
border-radius: 3px;
|
832
|
-
&:after,
|
833
|
-
&:before {
|
834
|
-
letter-spacing: -0.2em;
|
835
|
-
content: "\00a0";
|
836
|
-
}
|
837
|
-
}
|
838
|
-
pre > code {
|
839
|
-
padding: 0;
|
396
|
+
#footer {
|
397
|
+
position: absolute;
|
398
|
+
bottom: 10px;
|
399
|
+
margin-left: 25px;
|
400
|
+
p {
|
840
401
|
margin: 0;
|
841
|
-
|
842
|
-
|
843
|
-
white-space: pre;
|
844
|
-
background: transparent;
|
845
|
-
border: 0;
|
846
|
-
}
|
847
|
-
.highlight {
|
848
|
-
margin-bottom: 16px;
|
849
|
-
}
|
850
|
-
.highlight pre,
|
851
|
-
pre {
|
852
|
-
padding: 16px;
|
853
|
-
overflow: auto;
|
854
|
-
font-size: 85%;
|
855
|
-
line-height: 1.45;
|
856
|
-
background-color: #f7f7f7;
|
857
|
-
border-radius: 3px;
|
858
|
-
}
|
859
|
-
.highlight pre {
|
860
|
-
margin-bottom: 0;
|
861
|
-
word-break: normal;
|
862
|
-
}
|
863
|
-
pre {
|
864
|
-
word-wrap: normal;
|
865
|
-
code {
|
866
|
-
display: inline;
|
867
|
-
max-width: initial;
|
868
|
-
padding: 0;
|
869
|
-
margin: 0;
|
870
|
-
overflow: initial;
|
871
|
-
line-height: inherit;
|
872
|
-
word-wrap: normal;
|
873
|
-
background-color: transparent;
|
874
|
-
border: 0;
|
875
|
-
&:before,
|
876
|
-
&:after {
|
877
|
-
content: normal;
|
878
|
-
}
|
879
|
-
}
|
402
|
+
color: #aaa;
|
403
|
+
font-size: 0.8em;
|
880
404
|
}
|
881
405
|
}
|
882
406
|
|
407
|
+
////////////////////////////////
|
408
|
+
// Dash
|
409
|
+
////////////////////////////////
|
410
|
+
|
883
411
|
html.dash {
|
884
|
-
|
885
|
-
font-size: 65%;
|
886
|
-
}
|
887
|
-
a.Swift {
|
888
|
-
font-size: 110%;
|
889
|
-
}
|
890
|
-
.book-parts {
|
412
|
+
header, #breadcrumbs, .sidebar {
|
891
413
|
display: none;
|
892
|
-
width: 0;
|
893
414
|
}
|
894
|
-
.
|
415
|
+
.main-content {
|
895
416
|
width: $content_wrapper_width;
|
896
417
|
margin-left: 0;
|
418
|
+
border: none;
|
419
|
+
width: auto;
|
420
|
+
top: 0;
|
421
|
+
padding-bottom: 0;
|
897
422
|
}
|
898
|
-
|
899
|
-
|
900
|
-
display: block;
|
901
|
-
}
|
902
|
-
.x-instance-method {
|
903
|
-
margin-left: 0;
|
904
|
-
}
|
423
|
+
.height-container {
|
424
|
+
display: block;
|
905
425
|
}
|
906
|
-
|
907
|
-
|
426
|
+
.item .token {
|
427
|
+
margin-left: 0;
|
908
428
|
}
|
909
429
|
.content-wrapper {
|
910
430
|
width: auto;
|
911
431
|
}
|
912
|
-
.chapter {
|
913
|
-
border: none;
|
914
|
-
width: auto;
|
915
|
-
position: static;
|
916
|
-
padding-bottom: 50px;
|
917
|
-
box-shadow: none;
|
918
|
-
}
|
919
|
-
#reference .chapter {
|
920
|
-
border: none;
|
921
|
-
box-shadow: none;
|
922
|
-
}
|
923
432
|
#footer {
|
924
433
|
position: static;
|
925
434
|
}
|