OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 The Chromium Authors. All rights reserved. | 2 * Copyright 2014 The Chromium Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 .documentation-example-code { | 7 .documentation-example-code { |
8 border: 1px dotted black; | 8 border: 1px dotted black; |
9 border-radius: 6px; | 9 border-radius: 6px; |
10 padding: 10px; | 10 padding: 10px; |
11 margin-bottom: 10px; | 11 margin-bottom: 10px; |
12 } | 12 } |
13 | 13 |
14 .documentation-code { | 14 .documentation-code { |
15 border: 1px dotted black; | 15 border: 1px dotted black; |
16 border-radius: 6px; | 16 border-radius: 6px; |
17 padding: 10px; | 17 padding: 10px; |
18 margin-bottom: 10px; | 18 margin-bottom: 10px; |
19 } | 19 } |
20 | 20 |
21 .documentation-section-title { | 21 .documentation-section-title { |
22 font-size: 120%; | 22 font-size: 120%; |
23 padding-bottom: 4px; | 23 padding-bottom: 4px; |
24 font-weight: bold; | 24 font-weight: bold; |
25 } | 25 } |
26 | 26 |
27 .documentation-link { | 27 .documentation-link { |
28 margin-left: 0.5em; | 28 margin-left: 5px; |
29 } | 29 } |
30 | 30 |
31 .documentation-highlighted-text { | 31 .documentation-highlighted-text { |
32 font-weight: bold; | 32 font-weight: bold; |
33 } | 33 } |
34 | 34 |
35 .documentation-parameter { | 35 .documentation-method-signature { |
36 margin-left: 5px; | 36 font-size: 120% !important; |
| 37 border: 1px solid gray; |
| 38 border-radius: 6px; |
| 39 padding: 10px; |
37 } | 40 } |
38 | 41 |
39 .documentation-section { | 42 .documentation-section { |
40 margin-bottom: 15px; | 43 margin-bottom: 15px; |
41 } | 44 } |
42 | 45 |
| 46 .documentation-section-content { |
| 47 margin-left: 16px; |
| 48 } |
| 49 |
43 .documentation-code-tag { | 50 .documentation-code-tag { |
44 font-weight: bold; | 51 font-weight: bold; |
45 } | 52 } |
46 | 53 |
47 .documentation-parameter-optional { | 54 .documentation-parameter-optional { |
48 padding: 6px; | 55 padding: 6px; |
49 background-color: rgb(219, 234, 249); | 56 background-color: rgb(219, 234, 249); |
| 57 padding-left: 10px; |
| 58 padding-right: 10px; |
50 text-decoration: none; | 59 text-decoration: none; |
51 margin-left: 10px; | 60 margin-left: 10px; |
52 margin-top: -5px; | 61 margin-top: -5px; |
53 border-radius: 5px; | 62 border-radius: 5px; |
54 } | 63 } |
55 | 64 |
56 .documentation-parameter-data-type-value { | 65 .documentation-parameter-data-type-value { |
57 margin-right: 5px; | 66 margin-right: 5px; |
58 padding: 6px; | 67 padding: 6px; |
59 background-color: rgb(254, 254, 202); | 68 background-color: rgb(254, 254, 202); |
| 69 padding-left: 10px; |
| 70 padding-right: 10px; |
| 71 border-radius: 5px; |
60 text-decoration: none; | 72 text-decoration: none; |
61 margin-left: 10px; | 73 } |
62 margin-top: 5px; | 74 |
| 75 .documentation-parameter-margin { |
| 76 margin-left: 1ex; |
| 77 margin-top: -0.5ex; |
63 border-radius: 5px; | 78 border-radius: 5px; |
64 } | 79 } |
65 | 80 |
66 .documentation-parameter-name { | 81 .documentation-parameter-name { |
67 font-size: 120%; | 82 font-size: 120%; |
68 font-style: italic; | 83 font-style: italic; |
69 } | 84 } |
70 | 85 |
71 .documentation-page-title { | 86 .documentation-page-title { |
72 font-size: 160%; | 87 font-size: 160%; |
73 font-weight: bold; | 88 font-weight: bold; |
74 padding-bottom: 7px; | 89 padding-bottom: 7px; |
75 } | 90 } |
76 | 91 |
77 .documentation-view { | 92 .documentation-view { |
78 -webkit-user-select: text; | 93 -webkit-user-select: text; |
79 padding: 10px; | 94 padding: 10px; |
80 } | 95 } |
81 | 96 |
82 .documentation-example-description-section { | 97 .documentation-example-description-section { |
83 margin-bottom: 10px; | 98 margin-bottom: 10px; |
84 } | 99 } |
85 | 100 |
86 .documentation-example-link { | 101 .documentation-example-link { |
87 float: right; | 102 float: right; |
88 padding: 6px; | 103 padding: 6px; |
89 background-color: rgb(241, 246, 251); | 104 background-color: rgb(219, 234, 249); |
| 105 padding-left: 10px; |
| 106 padding-right: 10px; |
90 text-decoration: none; | 107 text-decoration: none; |
91 margin-left: 10px; | 108 margin-left: 10px; |
92 margin-top: 5px; | 109 margin-top: 5px; |
93 border-radius: 5px; | 110 border-radius: 5px; |
94 } | 111 } |
| 112 |
| 113 .documentation-example-link:visited { |
| 114 color: rgb(109, 114, 255); |
| 115 } |
| 116 |
| 117 .documentation-text { |
| 118 line-height: 1.5; |
| 119 } |
OLD | NEW |