Chromium Code Reviews| Index: chrome/common/extensions/docs/static/css/site.css |
| diff --git a/chrome/common/extensions/docs/static/css/site.css b/chrome/common/extensions/docs/static/css/site.css |
| index c441eb6e843d49d40a9aed5f1127647fbb6f402c..7c9443eaa75cdf775dc46ad90dde7a07427dd865 100644 |
| --- a/chrome/common/extensions/docs/static/css/site.css |
| +++ b/chrome/common/extensions/docs/static/css/site.css |
| @@ -3,6 +3,10 @@ |
| * found in the LICENSE file. |
| */ |
| +/* |
| + * Site-wide styles. |
| + */ |
| + |
| .hidden { |
| display: none; |
| } |
| @@ -591,3 +595,44 @@ tabs content pre { |
| margin: 0; |
| padding: 10px; |
| } |
| + |
| +/* |
| + * API references. |
| + */ |
| + |
| +.type_name, |
| +.variable, |
| +.property { |
| + font-style: italic; |
| +} |
| + |
| +.api_reference div.summary { |
| + border: 1px solid #93B4D9; |
| + font-family: "Courier New", courier, monospace; |
| + padding: 0.5em 0.5em 0.5em 2em; |
| + text-indent: -1.5em; |
| + background-color: #CADEF4; |
| + 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.
|
| +} |
| + |
| +/* This style is used because types with functions prefix the function with the |
| + * type name, using a lowercase first letter. */ |
| +.api_reference .uncapitalize:first-letter { |
| + text-transform: lowercase; |
| +} |
| + |
| +.api_reference .capitalize:first-letter { |
| + text-transform: uppercase; |
| +} |
| + |
| +.api_reference div.description { |
| + margin-left: 2em; |
| +} |
| + |
| +div.summary .subdued { |
| + color: #7594B8; |
| +} |
| + |
| +.optional { |
| + color: #7D7D7D; |
| +} |