Chromium Code Reviews| 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; |
| 11 background-image: url('body-bg.png'); | 11 background-image: url('body-bg.png'); |
| 12 background-repeat: repeat; | 12 background-repeat: repeat; |
| 13 } | 13 } |
| 14 | 14 |
| 15 h2 { | 15 h2 { |
| 16 font: 400 28px/44px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', | 16 font: 400 28px/44px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
| 17 sans-serif; | 17 sans-serif; |
| 18 margin: 0 0 22px 0; | 18 /*margin: 0 0 22px 0;*/» |
|
Lasse Reichstein Nielsen
2012/10/04 07:41:19
Remove commented code.
Johnni Winther
2012/10/04 12:46:21
Done.
| |
| 19 } | 19 } |
| 20 | 20 |
| 21 h3 { | 21 h3 { |
| 22 font: 600 14px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', | 22 font: 600 14px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
| 23 sans-serif; | 23 sans-serif; |
| 24 color: #999; | 24 color: #999; |
| 25 margin: 22px 0 0 0; | 25 margin: 22px 0 0 0; |
| 26 } | 26 } |
| 27 | 27 |
| 28 h4 { | 28 h4 { |
| 29 font: 600 16px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', | 29 font: 600 16px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
| 30 sans-serif; | 30 sans-serif; |
| 31 } | 31 } |
| 32 | 32 |
| 33 p { | 33 p { |
| 34 font-size: 16px; | 34 font-size: 16px; |
| 35 line-height: 22px; | 35 line-height: 22px; |
| 36 margin: 22px 0; | 36 margin: 0 0 22px 0; |
| 37 } | 37 } |
| 38 | 38 |
| 39 h3 + p { | 39 h3 + p { |
| 40 /* Text immediately following a subheader should be snug with it. */ | 40 /* Text immediately following a subheader should be snug with it. */ |
| 41 margin-top: 0; | 41 margin-top: 0; |
| 42 } | 42 } |
| 43 | 43 |
| 44 strong { | 44 strong { |
| 45 font-weight: 700; | 45 font-weight: 700; |
| 46 } | 46 } |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 286 text-align: center; | 286 text-align: center; |
| 287 margin: 22px auto; | 287 margin: 22px auto; |
| 288 color: #888; | 288 color: #888; |
| 289 } | 289 } |
| 290 | 290 |
| 291 .footer p { | 291 .footer p { |
| 292 font: 400 13px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', | 292 font: 400 13px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
| 293 sans-serif; | 293 sans-serif; |
| 294 } | 294 } |
| 295 | 295 |
| 296 .inherited { | |
| 297 } | |
| 298 | |
| 299 .inherited-from { | |
| 300 font: 400 13px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', | |
| 301 sans-serif; | |
| 302 text-align: right; | |
| 303 opacity: 0.7; | |
| 304 } | |
| 305 | |
| 306 .inherited-from, .docs-inherited-from { | |
| 307 font: 400 13px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', | |
| 308 sans-serif; | |
| 309 text-align: right; | |
| 310 opacity: 0.7; | |
| 311 } | |
| 312 | |
| 313 .docs-inherited-from { | |
| 314 margin-top: -22px; | |
| 315 } | |
| 316 | |
| 296 .method .doc, | 317 .method .doc, |
| 297 .field .doc { | 318 .field .doc { |
| 298 padding-left: 44px; | 319 padding-left: 44px; |
| 299 /* Ensure there is some space between members with no documentation. */ | 320 /* Ensure there is some space between members with no documentation. */ |
| 300 min-height: 22px; | 321 margin-bottom: 22px; |
| 301 } | 322 } |
| 302 | 323 |
| 303 .param { | 324 .param { |
| 304 font: 600 14px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', | 325 font: 600 14px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
| 305 sans-serif; | 326 sans-serif; |
| 306 } | 327 } |
| 307 | 328 |
| 308 .crossref { | 329 .crossref { |
| 309 font: 600 15px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', | 330 font: 600 15px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
| 310 sans-serif; | 331 sans-serif; |
| (...skipping 21 matching lines...) Expand all Loading... | |
| 332 .method:hover, | 353 .method:hover, |
| 333 .field:hover { | 354 .field:hover { |
| 334 margin: 0 -22px; | 355 margin: 0 -22px; |
| 335 border: solid 4px hsl(40, 100%, 85%); | 356 border: solid 4px hsl(40, 100%, 85%); |
| 336 padding: 0 18px; | 357 padding: 0 18px; |
| 337 border-top: none; | 358 border-top: none; |
| 338 border-bottom: none; | 359 border-bottom: none; |
| 339 } | 360 } |
| 340 | 361 |
| 341 /* Only show the "code" link for the highlighted member. */ | 362 /* Only show the "code" link for the highlighted member. */ |
| 342 .show-code { | 363 .show-code, .show-inherited { |
| 343 float: right; | 364 float: right; |
| 344 font: 600 11px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', | 365 font: 600 11px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
| 345 sans-serif; | 366 sans-serif; |
| 346 padding-left: 6px; /* In case it gets too close to the member. */ | 367 padding-left: 6px; /* In case it gets too close to the member. */ |
| 347 } | 368 } |
| 348 | 369 |
| 349 .method:hover .show-code, | 370 .method:hover .show-code, |
| 350 .field:hover .show-code { | 371 .field:hover .show-code { |
| 351 display: inline; | 372 display: inline; |
| 352 } | 373 } |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 365 pre.source { | 386 pre.source { |
| 366 display: none; | 387 display: none; |
| 367 } | 388 } |
| 368 | 389 |
| 369 pre.source.expanded { | 390 pre.source.expanded { |
| 370 display: block; | 391 display: block; |
| 371 } | 392 } |
| 372 | 393 |
| 373 /* Links that don't cause a page refresh. */ | 394 /* Links that don't cause a page refresh. */ |
| 374 .anchor-link, .anchor-link:visited, | 395 .anchor-link, .anchor-link:visited, |
| 375 .show-code, .show-code:visited { | 396 .show-code, .show-code:visited, |
| 397 .show-inherited, .show-inherited:visited { | |
| 376 color: hsl(40, 100%, 40%); | 398 color: hsl(40, 100%, 40%); |
| 377 display: none; | |
| 378 cursor: pointer; | 399 cursor: pointer; |
| 379 } | 400 } |
| 380 | 401 |
| 402 .anchor-link, .anchor-link:visited, | |
| 403 .show-code, .show-code:visited { | |
| 404 display: none; | |
| 405 } | |
| 406 | |
| 381 .anchor-link:hover, | 407 .anchor-link:hover, |
| 382 .show-code:hover { | 408 .show-code:hover, |
| 409 .show-inherited:hover { | |
| 383 color: hsl(40, 100%, 60%); | 410 color: hsl(40, 100%, 60%); |
| 384 } | 411 } |
| 385 | 412 |
| 386 /* Syntax highlighting. */ | 413 /* Syntax highlighting. */ |
| 387 /* Note: these correspond to the constants in classify.dart. */ | 414 /* Note: these correspond to the constants in classify.dart. */ |
| 388 pre.source .e { color: hsl( 0, 100%, 70%); } /* Error */ | 415 pre.source .e { color: hsl( 0, 100%, 70%); } /* Error */ |
| 389 pre.source .c { color: hsl(220, 20%, 65%); } /* Comment */ | 416 pre.source .c { color: hsl(220, 20%, 65%); } /* Comment */ |
| 390 pre.source .i { color: hsl(220, 20%, 20%); } /* Identifier */ | 417 pre.source .i { color: hsl(220, 20%, 20%); } /* Identifier */ |
| 391 pre.source .k { color: hsl(220, 100%, 50%); } /* Keyword */ | 418 pre.source .k { color: hsl(220, 100%, 50%); } /* Keyword */ |
| 392 pre.source .p { color: hsl(220, 20%, 50%); } /* Punctuation */ | 419 pre.source .p { color: hsl(220, 20%, 50%); } /* Punctuation */ |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 436 } | 463 } |
| 437 | 464 |
| 438 p { | 465 p { |
| 439 border-left: solid 4px purple; | 466 border-left: solid 4px purple; |
| 440 } | 467 } |
| 441 | 468 |
| 442 section { | 469 section { |
| 443 border-left: solid 4px gray; | 470 border-left: solid 4px gray; |
| 444 } | 471 } |
| 445 */ | 472 */ |
| OLD | NEW |