]>
Commit | Line | Data |
---|---|---|
1 | body { | |
2 | font-family: Helvetica, arial, sans-serif; | |
3 | font-size: 14px; | |
4 | line-height: 1.6; | |
5 | padding-top: 10px; | |
6 | padding-bottom: 10px; | |
7 | background-color: white; | |
8 | padding: 10px 20%; } | |
9 | ||
10 | body > *:first-child { | |
11 | margin-top: 0 !important; } | |
12 | body > *:last-child { | |
13 | margin-bottom: 0 !important; } | |
14 | ||
15 | a { | |
16 | color: #4183C4; } | |
17 | a.absent { | |
18 | color: #cc0000; } | |
19 | a.anchor { | |
20 | display: block; | |
21 | padding-left: 30px; | |
22 | margin-left: -30px; | |
23 | cursor: pointer; | |
24 | position: absolute; | |
25 | top: 0; | |
26 | left: 0; | |
27 | bottom: 0; } | |
28 | ||
29 | h1, h2, h3, h4, h5, h6 { | |
30 | margin: 20px 0 10px; | |
31 | padding: 0; | |
32 | font-weight: bold; | |
33 | -webkit-font-smoothing: antialiased; | |
34 | cursor: text; | |
35 | position: relative; } | |
36 | ||
37 | h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor, h5:hover a.anchor, h6:hover a.anchor { | |
38 | background: url("../../images/modules/styleguide/para.png") no-repeat 10px center; | |
39 | text-decoration: none; } | |
40 | ||
41 | h1 tt, h1 code { | |
42 | font-size: inherit; } | |
43 | ||
44 | h2 tt, h2 code { | |
45 | font-size: inherit; } | |
46 | ||
47 | h3 tt, h3 code { | |
48 | font-size: inherit; } | |
49 | ||
50 | h4 tt, h4 code { | |
51 | font-size: inherit; } | |
52 | ||
53 | h5 tt, h5 code { | |
54 | font-size: inherit; } | |
55 | ||
56 | h6 tt, h6 code { | |
57 | font-size: inherit; } | |
58 | ||
59 | h1 { | |
60 | font-size: 28px; | |
61 | color: black; } | |
62 | ||
63 | h2 { | |
64 | font-size: 24px; | |
65 | border-bottom: 1px solid #cccccc; | |
66 | color: black; } | |
67 | ||
68 | h3 { | |
69 | font-size: 18px; } | |
70 | ||
71 | h4 { | |
72 | font-size: 16px; } | |
73 | ||
74 | h5 { | |
75 | font-size: 14px; } | |
76 | ||
77 | h6 { | |
78 | color: #777777; | |
79 | font-size: 14px; } | |
80 | ||
81 | p, blockquote, ol, dl, table, pre { | |
82 | margin: 15px 0; } | |
83 | ||
84 | hr { | |
85 | background: transparent url("../../images/modules/pulls/dirty-shade.png") repeat-x 0 0; | |
86 | border: 0 none; | |
87 | color: #cccccc; | |
88 | height: 4px; | |
89 | padding: 0; } | |
90 | ||
91 | body > h2:first-child { | |
92 | margin-top: 0; | |
93 | padding-top: 0; } | |
94 | body > h1:first-child { | |
95 | margin-top: 0; | |
96 | padding-top: 0; } | |
97 | body > h1:first-child + h2 { | |
98 | margin-top: 0; | |
99 | padding-top: 0; } | |
100 | body > h3:first-child, body > h4:first-child, body > h5:first-child, body > h6:first-child { | |
101 | margin-top: 0; | |
102 | padding-top: 0; } | |
103 | ||
104 | a:first-child h1, a:first-child h2, a:first-child h3, a:first-child h4, a:first-child h5, a:first-child h6 { | |
105 | margin-top: 0; | |
106 | padding-top: 0; } | |
107 | ||
108 | h1 p, h2 p, h3 p, h4 p, h5 p, h6 p { | |
109 | margin-top: 0; } | |
110 | ||
111 | li p.first { | |
112 | display: inline-block; } | |
113 | ||
114 | ul, ol { | |
115 | padding-left: 30px; } | |
116 | ||
117 | ul :first-child, ol :first-child { | |
118 | margin-top: 0; } | |
119 | ||
120 | ul :last-child, ol :last-child { | |
121 | margin-bottom: 0; } | |
122 | ||
123 | dl { | |
124 | padding: 0; } | |
125 | dl dt { | |
126 | font-size: 14px; | |
127 | font-weight: bold; | |
128 | font-style: italic; | |
129 | padding: 0; | |
130 | margin: 15px 0 5px; } | |
131 | dl dt:first-child { | |
132 | padding: 0; } | |
133 | dl dt > :first-child { | |
134 | margin-top: 0; } | |
135 | dl dt > :last-child { | |
136 | margin-bottom: 0; } | |
137 | dl dd { | |
138 | margin: 0 0 15px; | |
139 | padding: 0 15px; } | |
140 | dl dd > :first-child { | |
141 | margin-top: 0; } | |
142 | dl dd > :last-child { | |
143 | margin-bottom: 0; } | |
144 | ||
145 | blockquote { | |
146 | border-left: 4px solid #dddddd; | |
147 | padding: 0 15px; | |
148 | color: #777777; } | |
149 | blockquote > :first-child { | |
150 | margin-top: 0; } | |
151 | blockquote > :last-child { | |
152 | margin-bottom: 0; } | |
153 | ||
154 | table { | |
155 | padding: 0; } | |
156 | table tr { | |
157 | border-top: 1px solid #cccccc; | |
158 | background-color: white; | |
159 | margin: 0; | |
160 | padding: 0; } | |
161 | table tr:nth-child(2n) { | |
162 | background-color: #f8f8f8; } | |
163 | table tr th { | |
164 | font-weight: bold; | |
165 | border: 1px solid #cccccc; | |
166 | text-align: left; | |
167 | margin: 0; | |
168 | padding: 6px 13px; } | |
169 | table tr td { | |
170 | border: 1px solid #cccccc; | |
171 | text-align: left; | |
172 | margin: 0; | |
173 | padding: 6px 13px; } | |
174 | table tr th :first-child, table tr td :first-child { | |
175 | margin-top: 0; } | |
176 | table tr th :last-child, table tr td :last-child { | |
177 | margin-bottom: 0; } | |
178 | ||
179 | img { | |
180 | max-width: 100%; } | |
181 | ||
182 | span.frame { | |
183 | display: block; | |
184 | overflow: hidden; } | |
185 | span.frame > span { | |
186 | border: 1px solid #dddddd; | |
187 | display: block; | |
188 | float: left; | |
189 | overflow: hidden; | |
190 | margin: 13px 0 0; | |
191 | padding: 7px; | |
192 | width: auto; } | |
193 | span.frame span img { | |
194 | display: block; | |
195 | float: left; } | |
196 | span.frame span span { | |
197 | clear: both; | |
198 | color: #333333; | |
199 | display: block; | |
200 | padding: 5px 0 0; } | |
201 | span.align-center { | |
202 | display: block; | |
203 | overflow: hidden; | |
204 | clear: both; } | |
205 | span.align-center > span { | |
206 | display: block; | |
207 | overflow: hidden; | |
208 | margin: 13px auto 0; | |
209 | text-align: center; } | |
210 | span.align-center span img { | |
211 | margin: 0 auto; | |
212 | text-align: center; } | |
213 | span.align-right { | |
214 | display: block; | |
215 | overflow: hidden; | |
216 | clear: both; } | |
217 | span.align-right > span { | |
218 | display: block; | |
219 | overflow: hidden; | |
220 | margin: 13px 0 0; | |
221 | text-align: right; } | |
222 | span.align-right span img { | |
223 | margin: 0; | |
224 | text-align: right; } | |
225 | span.float-left { | |
226 | display: block; | |
227 | margin-right: 13px; | |
228 | overflow: hidden; | |
229 | float: left; } | |
230 | span.float-left span { | |
231 | margin: 13px 0 0; } | |
232 | span.float-right { | |
233 | display: block; | |
234 | margin-left: 13px; | |
235 | overflow: hidden; | |
236 | float: right; } | |
237 | span.float-right > span { | |
238 | display: block; | |
239 | overflow: hidden; | |
240 | margin: 13px auto 0; | |
241 | text-align: right; } | |
242 | ||
243 | code, tt { | |
244 | margin: 0 2px; | |
245 | padding: 0 5px; | |
246 | white-space: nowrap; | |
247 | border: 1px solid #eaeaea; | |
248 | background-color: #f8f8f8; | |
249 | border-radius: 3px; } | |
250 | ||
251 | pre code { | |
252 | margin: 0; | |
253 | padding: 0; | |
254 | white-space: pre; | |
255 | border: none; | |
256 | background: transparent; } | |
257 | ||
258 | .highlight pre { | |
259 | background-color: #f8f8f8; | |
260 | border: 1px solid #cccccc; | |
261 | font-size: 13px; | |
262 | line-height: 19px; | |
263 | overflow: auto; | |
264 | padding: 6px 10px; | |
265 | border-radius: 3px; } | |
266 | ||
267 | pre { | |
268 | background-color: #f8f8f8; | |
269 | border: 1px solid #cccccc; | |
270 | font-size: 13px; | |
271 | line-height: 19px; | |
272 | overflow: auto; | |
273 | padding: 6px 10px; | |
274 | border-radius: 3px; } | |
275 | pre code, pre tt { | |
276 | background-color: transparent; | |
277 | border: none; } |