OLD | NEW |
| (Empty) |
1 /* | |
2 * @license | |
3 * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | |
4 * This code may only be used under the BSD style license found at http://polyme
r.github.io/LICENSE.txt | |
5 * The complete set of authors may be found at http://polymer.github.io/AUTHORS.
txt | |
6 * The complete set of contributors may be found at http://polymer.github.io/CON
TRIBUTORS.txt | |
7 * Code distributed by Google as part of the polymer project is also | |
8 * subject to an additional IP rights grant found at http://polymer.github.io/PA
TENTS.txt | |
9 */ | |
10 | |
11 :host { | |
12 display: block; | |
13 } | |
14 | |
15 .main { | |
16 padding: 0 72px; | |
17 max-width: 832px; | |
18 margin: 0 auto; | |
19 } | |
20 | |
21 marked-element { | |
22 display: block; | |
23 } | |
24 | |
25 h1 { | |
26 color: #E91E63; | |
27 font-size: 52px; | |
28 line-height: 60px; | |
29 font-weight: inherit; | |
30 } | |
31 | |
32 .box { | |
33 margin-bottom: 40px; | |
34 } | |
35 .box:not(.top) .details { | |
36 padding: 16px; | |
37 } | |
38 .box:not(.top) .details .params { | |
39 margin-top: 40px; | |
40 } | |
41 | |
42 .box:not(.top) h3 { | |
43 padding: 16px; | |
44 color: white; | |
45 font-weight: inherit; | |
46 font-size: 20px; | |
47 line-height: 48px; | |
48 margin: 0; | |
49 } | |
50 | |
51 .box:not(.top) pre { | |
52 padding: initial; | |
53 background-color: transparent; | |
54 margin: initial; | |
55 font-size: 12px; | |
56 } | |
57 | |
58 .box code { | |
59 color: currentcolor; | |
60 font-weight: 500; | |
61 } | |
62 | |
63 .top pre { | |
64 background-color: rgb(250, 250, 250); | |
65 padding: 16px; | |
66 } | |
67 | |
68 pre { | |
69 max-width: 832px; | |
70 white-space: pre-wrap; | |
71 overflow: hidden; | |
72 border: none; | |
73 } | |
74 | |
75 .attribute-box .details { | |
76 background-color: #ffcbbb; | |
77 border-bottom: 1px solid rgba(255, 86, 33, 0.5); | |
78 } | |
79 .attribute-box h3 { | |
80 background-color: #ff5621; | |
81 } | |
82 | |
83 .property-box .details { | |
84 background-color: #fbe7b1; | |
85 border-bottom: 1px solid rgba(243, 179, 0, 0.5); | |
86 } | |
87 .property-box h3 { | |
88 background-color: #f3b300; | |
89 } | |
90 | |
91 .method-box .details { | |
92 background-color: #a6ffea; | |
93 border-bottom: 1px solid rgba(0, 190, 164, 0.5); | |
94 } | |
95 .method-box h3 { | |
96 background-color: #00bea4; | |
97 } | |
98 | |
99 .event-box .details { | |
100 background-color: #c5d9fb; | |
101 border-bottom: 1px solid rgba(65, 132, 243, 0.5); | |
102 } | |
103 .event-box h3 { | |
104 background-color: #4184f3; | |
105 } | |
106 | |
107 .badge { | |
108 color: currentcolor; | |
109 } | |
110 | |
111 code, pre { | |
112 color: #9f499b; | |
113 font-family: "Source Code Pro",Monaco,Menlo,Consolas,"Courier New",monospace; | |
114 } | |
115 | |
116 pre .typ,pre .inline,.prettyprint .typ,.prettyprint .inline { | |
117 color: #6b499f | |
118 } | |
119 pre .pun,.prettyprint .pun { | |
120 color: #5c6bc0 | |
121 } | |
122 pre .str,pre .string,.prettyprint .str,.prettyprint .string { | |
123 color: #ff4081 | |
124 } | |
125 pre .pln,.prettyprint .pln { | |
126 color: #7986cb | |
127 } | |
128 pre .kwd,.prettyprint .kwd { | |
129 color: #d61a7f | |
130 } | |
131 pre .atn,pre .attribute-name,.prettyprint .atn,.prettyprint .attribute-name { | |
132 color: #6b499f | |
133 } | |
134 pre .atv,pre .attribute-value,.prettyprint .atv,.prettyprint .attribute-value { | |
135 color: #7986cb | |
136 } | |
137 pre .com,pre .comment,.prettyprint .com,.prettyprint .comment { | |
138 color: #8a8a8a | |
139 } | |
OLD | NEW |