Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright 2014 The Chromium Authors. All rights reserved. | 2 * Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 .documentation-example-code { | 7 .documentation-example-code { |
| 8 border: 1px dotted black; | 8 border: 1px dotted black; |
| 9 border-radius: 6px; | 9 border-radius: 6px; |
| 10 padding: 1em; | 10 padding: 10px; |
| 11 margin-bottom: 1em; | 11 margin-bottom: 10px; |
| 12 } | 12 } |
| 13 | 13 |
| 14 .documentation-code { | 14 .documentation-code { |
|
aandrey
2014/09/05 11:11:49
duplicated css. merge with the above:
.documentat
| |
| 15 border: 1px dotted black; | 15 border: 1px dotted black; |
| 16 border-radius: 6px; | 16 border-radius: 6px; |
| 17 padding:1em; | 17 padding: 10px; |
| 18 margin-bottom: 1em; | 18 margin-bottom: 10px; |
| 19 } | 19 } |
| 20 | 20 |
| 21 .documentation-section-title { | 21 .documentation-section-title { |
| 22 font-size: 120%; | 22 font-size: 120%; |
| 23 padding-bottom: 0.4em; | 23 padding-bottom: 4px; |
| 24 font-weight: bold; | 24 font-weight: bold; |
| 25 } | 25 } |
| 26 | 26 |
| 27 .documentation-link { | 27 .documentation-link { |
| 28 margin-left: 0.5em; | 28 margin-left: 0.5em; |
| 29 } | 29 } |
| 30 | 30 |
| 31 .documentation-highlighted-text { | 31 .documentation-highlighted-text { |
| 32 font-weight: bold; | 32 font-weight: bold; |
| 33 } | 33 } |
| 34 | 34 |
| 35 .documentation-parameter { | 35 .documentation-parameter { |
| 36 margin-bottom: 1em; | 36 margin-left: 5px; |
| 37 } | 37 } |
| 38 | 38 |
| 39 .documentation-section { | 39 .documentation-section { |
| 40 margin-bottom: 1.5em; | 40 margin-bottom: 15px; |
| 41 } | 41 } |
| 42 | 42 |
| 43 .documentation-code-tag { | 43 .documentation-code-tag { |
| 44 font-weight: bold; | 44 font-weight: bold; |
| 45 } | 45 } |
| 46 | 46 |
| 47 .documentation-parameter-optional { | 47 .documentation-parameter-optional { |
| 48 padding: 0.7ex; | 48 padding: 6px; |
| 49 background-color: rgb(219, 234, 249); | 49 background-color: rgb(219, 234, 249); |
| 50 text-decoration: none; | 50 text-decoration: none; |
| 51 margin-left: 1ex; | 51 margin-left: 10px; |
| 52 margin-top: -0.5ex; | 52 margin-top: -5px; |
| 53 border-radius: 5px; | 53 border-radius: 5px; |
| 54 } | 54 } |
| 55 | 55 |
| 56 .documentation-parameter-data-type-value { | 56 .documentation-parameter-data-type-value { |
| 57 margin-right: 0.5em; | 57 margin-right: 5px; |
| 58 padding: 0.7ex; | 58 padding: 6px; |
| 59 background-color: rgb(254, 254, 202); | 59 background-color: rgb(254, 254, 202); |
| 60 text-decoration: none; | 60 text-decoration: none; |
| 61 margin-left: 1ex; | 61 margin-left: 10px; |
| 62 margin-top: -0.5ex; | 62 margin-top: 5px; |
|
aandrey
2014/09/05 11:11:49
use "margin: x x x x;"
| |
| 63 border-radius: 5px; | 63 border-radius: 5px; |
| 64 } | 64 } |
| 65 | 65 |
| 66 .documentation-parameter-name { | 66 .documentation-parameter-name { |
| 67 font-size: 115%; | 67 font-size: 120%; |
| 68 font-style: italic; | 68 font-style: italic; |
| 69 } | 69 } |
| 70 | 70 |
| 71 .documentation-page-title { | 71 .documentation-page-title { |
| 72 font-size: 160%; | 72 font-size: 160%; |
| 73 font-weight: bold; | 73 font-weight: bold; |
| 74 padding-bottom: 0.7em; | 74 padding-bottom: 7px; |
| 75 } | 75 } |
| 76 | 76 |
| 77 .documentation-view { | 77 .documentation-view { |
| 78 -webkit-user-select: text; | 78 -webkit-user-select: text; |
| 79 padding: 1em; | 79 padding: 10px; |
| 80 } | 80 } |
| 81 | 81 |
| 82 .documentation-example-description-section { | 82 .documentation-example-description-section { |
| 83 margin-bottom: 1em; | 83 margin-bottom: 10px; |
| 84 } | 84 } |
| 85 | 85 |
| 86 .documentation-example-link { | 86 .documentation-example-link { |
|
aandrey
2014/09/05 11:11:49
too much css duplication for:
.documentation-para
| |
| 87 float: right; | 87 float: right; |
| 88 padding: 0.7ex; | 88 padding: 6px; |
| 89 background-color: rgb(241, 246, 251); | 89 background-color: rgb(241, 246, 251); |
| 90 text-decoration: none; | 90 text-decoration: none; |
| 91 margin-left: 1ex; | 91 margin-left: 10px; |
| 92 margin-top: -0.5ex; | 92 margin-top: 5px; |
| 93 border-radius: 5px; | 93 border-radius: 5px; |
| 94 } | 94 } |
| OLD | NEW |