File tree Expand file tree Collapse file tree 7 files changed +26
-45
lines changed
lib/rdoc/generator/template/darkfish Expand file tree Collapse file tree 7 files changed +26
-45
lines changed Original file line number Diff line number Diff line change 17
17
</ nav >
18
18
19
19
< main role ="main " aria-labelledby ="<%= h klass . aref %> ">
20
- < article >
21
20
< h1 id ="<%= h klass . aref %> " class ="<%= klass . type %> ">
22
21
<%= klass . type %> <%= klass . full_name %>
23
22
</ h1 >
172
171
end %>
173
172
</ section >
174
173
<% end %>
175
- </ article >
176
174
</ main >
Original file line number Diff line number Diff line change 13
13
</ nav >
14
14
15
15
< main role ="main ">
16
- < article >
17
16
<% if @options . main_page and
18
17
main_page = @files . find { |f | f . full_name == @options . main_page } then %>
19
18
<%= main_page . description %>
20
19
<% else %>
21
20
< p > This is the API documentation for <%= @title %> .
22
21
<% end %>
23
- </ article >
24
22
</ main >
25
23
Original file line number Diff line number Diff line change 13
13
</ nav >
14
14
15
15
< main role ="main " aria-label ="Page <%= h file . full_name %> ">
16
- < article >
17
- <%= file . description %>
18
- </ article >
16
+ <%= file . description %>
19
17
</ main >
20
18
Original file line number Diff line number Diff line change @@ -252,109 +252,103 @@ ul.link-list .type {
252
252
/* @end */
253
253
254
254
/* @group Documentation Section */
255
- article {
256
- border-top : 2px solid # bbb ;
257
- font-size : 100% ;
255
+ main {
258
256
color : # 333 ;
259
257
}
260
258
261
- main > article : first-child {
262
- border-top : none;
263
- }
264
-
265
- main > article : first-child > h1 : first-child ,
266
- main > article : first-child > h2 : first-child ,
267
- main > article : first-child > h3 : first-child ,
268
- main > article : first-child > h4 : first-child ,
269
- main > article : first-child > h5 : first-child ,
270
- main > article : first-child > h6 : first-child {
259
+ main > h1 : first-child ,
260
+ main > h2 : first-child ,
261
+ main > h3 : first-child ,
262
+ main > h4 : first-child ,
263
+ main > h5 : first-child ,
264
+ main > h6 : first-child {
271
265
margin-top : 0px ;
272
266
}
273
267
274
- article sup {
268
+ main sup {
275
269
vertical-align : super;
276
270
font-size : 0.8em ;
277
271
}
278
272
279
273
/* The heading with the class name */
280
- article h1 [class ] {
274
+ main h1 [class ] {
281
275
margin-top : 0 ;
282
276
margin-bottom : 1em ;
283
277
font-size : 2em ;
284
278
color : # 6C8C22 ;
285
279
}
286
280
287
- article h1 {
281
+ main h1 {
288
282
margin : 2em 0 0.5em ;
289
283
font-size : 1.7em ;
290
284
}
291
285
292
- article h2 {
286
+ main h2 {
293
287
margin : 2em 0 0.5em ;
294
288
font-size : 1.5em ;
295
289
}
296
290
297
- article h3 {
291
+ main h3 {
298
292
margin : 2em 0 0.5em ;
299
293
font-size : 1.2em ;
300
294
}
301
295
302
- article h4 {
296
+ main h4 {
303
297
margin : 2em 0 0.5em ;
304
298
font-size : 1.1em ;
305
299
}
306
300
307
- article h5 {
301
+ main h5 {
308
302
margin : 2em 0 0.5em ;
309
303
font-size : 1em ;
310
304
}
311
305
312
- article h6 {
306
+ main h6 {
313
307
margin : 2em 0 0.5em ;
314
308
font-size : 1em ;
315
309
}
316
310
317
- article p {
311
+ main p {
318
312
margin : 0 0 0.5em ;
319
313
line-height : 1.4em ;
320
314
}
321
315
322
- article pre {
316
+ main pre {
323
317
margin : 1.2em 0.5em ;
324
318
padding : 1em ;
325
319
font-size : 0.8em ;
326
320
}
327
321
328
- article hr {
322
+ main hr {
329
323
margin : 1.5em 1em ;
330
324
border : 2px solid # ddd ;
331
325
}
332
326
333
- article blockquote {
327
+ main blockquote {
334
328
margin : 0 2em 1.2em 1.2em ;
335
329
padding-left : 0.5em ;
336
330
border-left : 2px solid # ddd ;
337
331
}
338
332
339
- article ol ,
340
- article ul {
333
+ main ol ,
334
+ main ul {
341
335
margin : 1em 2em ;
342
336
}
343
337
344
- article li > p {
338
+ main li > p {
345
339
margin-bottom : 0.5em ;
346
340
}
347
341
348
- article dl {
342
+ main dl {
349
343
margin : 1em 0.5em ;
350
344
}
351
345
352
- article dt {
346
+ main dt {
353
347
margin-bottom : 0.5em ;
354
348
font-weight : bold;
355
349
}
356
350
357
- article dd {
351
+ main dd {
358
352
margin : 0 1em 1em 0.5em ;
359
353
}
360
354
Original file line number Diff line number Diff line change 11
11
</ nav >
12
12
13
13
< main role ="main ">
14
- < article role ="article ">
15
14
< h1 > Not Found</ h1 >
16
15
17
16
< p > <%= message %>
18
- </ article >
19
17
</ main >
20
18
Original file line number Diff line number Diff line change 14
14
</ nav >
15
15
16
16
< main role ="main ">
17
- < article role ="article ">
18
17
< h1 > Local RDoc Documentation</ h1 >
19
18
20
19
< p > Here you can browse local documentation from the ruby standard library and
60
59
<% end %>
61
60
</ ul >
62
61
<% end %>
63
-
64
- </ article >
65
62
</ main >
66
63
Original file line number Diff line number Diff line change 1
1
< body id ="top " class ="table-of-contents ">
2
2
< main role ="main ">
3
- < article role ="directory ">
4
3
< h1 class ="class "> <%= h @title %> </ h1 >
5
4
6
5
<% simple_files = @files . select { |f | f . text? } %>
56
55
< span class ="container "> <%= method . parent . full_name %> </ span >
57
56
<% end %>
58
57
</ ul >
59
- </ article >
60
58
</ main >
You can’t perform that action at this time.
0 commit comments