OLD | NEW |
---|---|
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
4 */ | 4 */ |
5 | 5 |
6 /* | |
7 * Site-wide styles. | |
8 */ | |
9 | |
6 .hidden { | 10 .hidden { |
7 display: none; | 11 display: none; |
8 } | 12 } |
9 | 13 |
10 body { | 14 body { |
11 font: 14px/22px 'Open Sans',arial,sans-serif; | 15 font: 14px/22px 'Open Sans',arial,sans-serif; |
12 margin: auto; | 16 margin: auto; |
13 padding: 0; | 17 padding: 0; |
14 background-color: white; | 18 background-color: white; |
15 } | 19 } |
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
584 border: 1px solid #ccc; | 588 border: 1px solid #ccc; |
585 margin-top: -1px; | 589 margin-top: -1px; |
586 } | 590 } |
587 tabs content.unselected { | 591 tabs content.unselected { |
588 display: none; | 592 display: none; |
589 } | 593 } |
590 tabs content pre { | 594 tabs content pre { |
591 margin: 0; | 595 margin: 0; |
592 padding: 10px; | 596 padding: 10px; |
593 } | 597 } |
598 | |
599 /* | |
600 * API references. | |
601 */ | |
602 | |
603 .type_name, | |
604 .variable, | |
605 .property { | |
606 font-style: italic; | |
607 } | |
608 | |
609 .api_reference div.summary { | |
610 border: 1px solid #93B4D9; | |
611 font-family: "Courier New", courier, monospace; | |
612 padding: 0.5em 0.5em 0.5em 2em; | |
613 text-indent: -1.5em; | |
614 background-color: #CADEF4; | |
615 margin-top: 1em; | |
miket_OOO
2013/08/21 19:32:37
CSS readability: alphabetize declarations. http://
not at google - send to devlin
2013/08/21 22:44:29
Done.
For everything. Might as well.
| |
616 } | |
617 | |
618 /* This style is used because types with functions prefix the function with the | |
619 * type name, using a lowercase first letter. */ | |
620 .api_reference .uncapitalize:first-letter { | |
621 text-transform: lowercase; | |
622 } | |
623 | |
624 .api_reference .capitalize:first-letter { | |
625 text-transform: uppercase; | |
626 } | |
627 | |
628 .api_reference div.description { | |
629 margin-left: 2em; | |
630 } | |
631 | |
632 div.summary .subdued { | |
633 color: #7594B8; | |
634 } | |
635 | |
636 .optional { | |
637 color: #7D7D7D; | |
638 } | |
OLD | NEW |