OLD | NEW |
1 /* Reset */ | 1 /* Reset */ |
2 body, h1, h2, h3, h4, li, ol, p, pre, section, ul { | 2 body, h1, h2, h3, h4, li, ol, p, pre, section, ul { |
3 margin: 0; | 3 margin: 0; |
4 padding: 0; | 4 padding: 0; |
5 } | 5 } |
6 | 6 |
7 body { | 7 body { |
8 font-family: Georgia, serif; | 8 font-family: Georgia, serif; |
9 background: #e8e8e8; | 9 background: #e8e8e8; |
10 color: #333; | 10 color: #333; |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 } | 221 } |
222 | 222 |
223 .footer p { | 223 .footer p { |
224 font: 400 13px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', | 224 font: 400 13px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
225 sans-serif; | 225 sans-serif; |
226 } | 226 } |
227 | 227 |
228 .method .doc, | 228 .method .doc, |
229 .field .doc { | 229 .field .doc { |
230 padding-left: 44px; | 230 padding-left: 44px; |
| 231 /* Ensure there is some space between members with no documentation. */ |
| 232 min-height: 22px; |
231 } | 233 } |
232 | 234 |
233 .param { | 235 .param { |
234 font: 600 14px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', | 236 font: 600 14px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
235 sans-serif; | 237 sans-serif; |
236 } | 238 } |
237 | 239 |
238 .crossref { | 240 .crossref { |
239 font: 600 15px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', | 241 font: 600 15px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
240 sans-serif; | 242 sans-serif; |
241 } | 243 } |
242 | 244 |
243 .doc h1 { | 245 .doc h1 { |
244 font: 700 17px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', | 246 font: 700 17px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
245 sans-serif; | 247 sans-serif; |
246 color: #666; | 248 color: #666; |
247 } | 249 } |
248 | 250 |
249 .doc h2 { | 251 .doc h2 { |
250 font: 600 16px/22px 'Open Sans', 'Lucida Sans Unicode', | 252 font: 600 16px/22px 'Open Sans', 'Lucida Sans Unicode', |
251 'Lucida Grande', sans-serif; | 253 'Lucida Grande', sans-serif; |
252 color: #666; | 254 color: #666; |
253 } | 255 } |
254 | 256 |
| 257 /* Style external links in docs differently. */ |
| 258 .doc a[href^="http:"]:after, |
| 259 .doc a[href^="https:"]:after { |
| 260 content: url('external-link.png'); |
| 261 } |
| 262 |
255 /* Highlight members on hover so you can see which docs are for which member. */ | 263 /* Highlight members on hover so you can see which docs are for which member. */ |
256 .method:hover, | 264 .method:hover, |
257 .field:hover { | 265 .field:hover { |
258 margin: 0 -22px; | 266 margin: 0 -22px; |
259 border: solid 4px hsl(40, 100%, 85%); | 267 border: solid 4px hsl(40, 100%, 85%); |
260 padding: 0 18px; | 268 padding: 0 18px; |
261 border-top: none; | 269 border-top: none; |
262 border-bottom: none; | 270 border-bottom: none; |
263 } | 271 } |
264 | 272 |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 } | 368 } |
361 | 369 |
362 p { | 370 p { |
363 border-left: solid 4px purple; | 371 border-left: solid 4px purple; |
364 } | 372 } |
365 | 373 |
366 section { | 374 section { |
367 border-left: solid 4px gray; | 375 border-left: solid 4px gray; |
368 } | 376 } |
369 */ | 377 */ |
OLD | NEW |