OLD | NEW |
1 // Uses vertical_rythm library from | 1 // Uses vertical_rythm library from |
2 // http://compass-style.org/reference/compass/typography/vertical_rhythm/ | 2 // http://compass-style.org/reference/compass/typography/vertical_rhythm/ |
3 // as explained in _typography.scss | 3 // as explained in _typography.scss |
4 @import "compass/typography/vertical_rhythm"; | 4 @import "compass/typography/vertical_rhythm"; |
5 | 5 |
6 .api { | 6 .api { |
7 color: #333; | 7 color: #333; |
8 font-size: 14px; | 8 font-size: 14px; |
9 | 9 |
10 .api-summary { | 10 .api-summary { |
11 td, th { | 11 td, th { |
12 padding: 5px 10px; | 12 padding: 5px 10px; |
13 } | 13 } |
14 } | 14 } |
15 | 15 |
16 .api-reference { | 16 .api-reference { |
17 .description { | 17 .description { |
18 margin-left: 20px; | 18 margin-left: 20px; |
19 } | 19 } |
20 table.innerTable { | 20 table { |
21 margin: 10px 0; | 21 .innerTable { |
22 td, th { | 22 margin: 10px 0; |
23 padding: 5px 10px; | 23 td, th { |
24 border: 1px solid #eee; | 24 padding: 5px 10px; |
25 } | 25 border: 1px solid #eee; |
26 th { | 26 } |
27 background: none; | 27 th { |
| 28 background: none; |
| 29 } |
28 } | 30 } |
29 p { | 31 p { |
30 margin: 0; | 32 margin-top: 0.75em; |
| 33 margin-bottom: 0.75em; |
| 34 } |
| 35 p:first-child { |
| 36 margin-top: 0; |
31 } | 37 } |
32 } | 38 } |
33 td, th { | 39 td, th { |
34 vertical-align: top; | 40 vertical-align: top; |
35 border: 1px solid #eee; | 41 border: 1px solid #eee; |
36 } | 42 } |
37 th { | 43 th { |
38 background: #fafafa; | 44 background: #fafafa; |
39 } | 45 } |
40 h2 { | 46 h2 { |
(...skipping 10 matching lines...) Expand all Loading... |
51 .availability { | 57 .availability { |
52 color: #A03; | 58 color: #A03; |
53 } | 59 } |
54 | 60 |
55 table#intro { | 61 table#intro { |
56 .title { | 62 .title { |
57 white-space: nowrap; | 63 white-space: nowrap; |
58 } | 64 } |
59 } | 65 } |
60 } | 66 } |
OLD | NEW |