dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 1 | /** |
vapier | b2053f54 | 2017-03-09 19:46:10 | [diff] [blame] | 2 | * Copyright 2015 Google Inc. All Rights Reserved. |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 15 | */ |
| 16 | |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 17 | /* Markdown rendered in /+doc/ or tree view page . */ |
| 18 | |
vapier | b2053f54 | 2017-03-09 19:46:10 | [diff] [blame] | 19 | .Site-Content--markdown { |
| 20 | padding-top: 0; |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 21 | } |
vapier | b2053f54 | 2017-03-09 19:46:10 | [diff] [blame] | 22 | .Header-nav ul { |
| 23 | max-width: 980px; |
| 24 | margin: 0 auto; |
| 25 | } |
| 26 | .Header-nav li { |
| 27 | display: inline-block; |
| 28 | margin-right: 15px; |
| 29 | } |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 30 | .doc h1, .doc h2, .doc h3, .doc h4, .doc h5, .doc h6 { |
vapier | b2053f54 | 2017-03-09 19:46:10 | [diff] [blame] | 31 | font-weight: normal; |
| 32 | margin: 1.236em 0 .618em; |
| 33 | } |
| 34 | .doc.RepoIndexDoc h1 { |
| 35 | margin-top: .25em; |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 36 | } |
| 37 | .doc h1 { |
vapier | b2053f54 | 2017-03-09 19:46:10 | [diff] [blame] | 38 | font-size: 2em; |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 39 | } |
| 40 | .doc h2 { |
vapier | b2053f54 | 2017-03-09 19:46:10 | [diff] [blame] | 41 | font-size: 1.5em; |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 42 | } |
| 43 | .doc h3 { |
vapier | b2053f54 | 2017-03-09 19:46:10 | [diff] [blame] | 44 | font-size: 1.3em; |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 45 | } |
vapier | b2053f54 | 2017-03-09 19:46:10 | [diff] [blame] | 46 | .doc h4, |
| 47 | .doc h5, |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 48 | .doc h6 { |
vapier | b2053f54 | 2017-03-09 19:46:10 | [diff] [blame] | 49 | font-size: 14px; |
| 50 | font-style: italic; |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 51 | } |
vapier | b2053f54 | 2017-03-09 19:46:10 | [diff] [blame] | 52 | .doc hr { |
| 53 | border: none; |
| 54 | border-top: 1px solid #aaa; |
| 55 | display: block; |
| 56 | margin-top: 25px; |
| 57 | } |
| 58 | .doc a { |
| 59 | text-decoration: none; |
| 60 | } |
| 61 | .doc a:link { |
| 62 | color: #245dc1; |
| 63 | } |
| 64 | .doc a:visited { |
| 65 | color: #7759ae; |
| 66 | } |
| 67 | .doc a:hover { |
| 68 | text-decoration: underline; |
| 69 | } |
| 70 | .doc a.h { |
| 71 | display: inline-block; |
| 72 | font-weight: normal; |
| 73 | width: 1.5em; |
| 74 | margin-left: -1.5em; |
| 75 | margin-top: -1em; |
| 76 | margin-bottom: -1em; |
| 77 | } |
| 78 | .doc a.h:link, |
| 79 | .doc a.h:visited { |
| 80 | color: #444; |
| 81 | } |
| 82 | .doc a.h:focus { |
| 83 | outline: none; |
| 84 | } |
| 85 | .doc a.h:hover { |
| 86 | text-decoration: none; |
| 87 | } |
| 88 | .doc a.h span { |
| 89 | display: inline-block; |
| 90 | width: 1.5em; |
| 91 | } |
| 92 | .doc h1:hover a.h span:before, |
| 93 | .doc h2:hover a.h span:before, |
| 94 | .doc h3:hover a.h span:before, |
| 95 | .doc h4:hover a.h span:before, |
| 96 | .doc h5:hover a.h span:before, |
| 97 | .doc h6:hover a.h span:before { |
| 98 | content: '#'; |
| 99 | font-weight: normal; |
| 100 | color: #AAA; |
| 101 | } |
| 102 | .doc h1:hover a:hover.h span:before, |
| 103 | .doc h2:hover a:hover.h span:before, |
| 104 | .doc h3:hover a:hover.h span:before, |
| 105 | .doc h4:hover a:hover.h span:before, |
| 106 | .doc h5:hover a:hover.h span:before, |
| 107 | .doc h6:hover a:hover.h span:before { |
| 108 | text-decoration: underline; |
| 109 | } |
| 110 | .doc h1:hover a:visited.h span:before, |
| 111 | .doc h2:hover a:visited.h span:before, |
| 112 | .doc h3:hover a:visited.h span:before, |
| 113 | .doc h4:hover a:visited.h span:before, |
| 114 | .doc h5:hover a:visited.h span:before, |
| 115 | .doc h6:hover a:visited.h span:before { |
| 116 | color: #AAA; |
| 117 | } |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 118 | .doc ul, .doc ol { |
| 119 | margin: 10px 10px 10px 30px; |
| 120 | padding: 0; |
| 121 | } |
vapier | b2053f54 | 2017-03-09 19:46:10 | [diff] [blame] | 122 | .doc ul { |
| 123 | list-style-type: disc; |
| 124 | } |
| 125 | .doc ol { |
| 126 | list-style-type: decimal; |
| 127 | } |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 128 | .doc img { |
| 129 | border: 0; |
| 130 | max-width: 100%; |
| 131 | } |
| 132 | .doc iframe { |
| 133 | min-width: 100px; |
| 134 | min-height: 30px; |
| 135 | } |
| 136 | iframe.noborder { |
| 137 | border: 0; |
| 138 | } |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 139 | .doc em { |
| 140 | font-weight: normal; |
| 141 | font-style: italic; |
| 142 | } |
| 143 | .doc strong { |
| 144 | font-weight: bold; |
| 145 | color: inherit; |
| 146 | } |
vapier | b2053f54 | 2017-03-09 19:46:10 | [diff] [blame] | 147 | .doc p { |
| 148 | margin: 10px 0; |
| 149 | } |
| 150 | .doc blockquote { |
| 151 | background-color: #fffde7; |
| 152 | border-left: 2px solid #fab700; |
| 153 | padding: 2px 10px 2px 10px; |
| 154 | } |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 155 | .doc pre { |
vapier | b2053f54 | 2017-03-09 19:46:10 | [diff] [blame] | 156 | padding: 12px; |
| 157 | font-size: 10pt; |
| 158 | background-color: #fafafa; |
| 159 | border: 1px solid #ccc; |
| 160 | overflow-x: auto; |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 161 | } |
vapier | b2053f54 | 2017-03-09 19:46:10 | [diff] [blame] | 162 | .doc code { |
| 163 | padding: 2px 4px; |
| 164 | background-color: #F5F5F5; |
| 165 | border: transparent; |
| 166 | border-radius: 4px; |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 167 | } |
vapier | b2053f54 | 2017-03-09 19:46:10 | [diff] [blame] | 168 | .doc .code { |
| 169 | font-family: 'Source Code Pro', monospace; |
| 170 | } |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 171 | .doc dl dt { |
| 172 | margin-top: 1em; |
| 173 | } |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 174 | .doc table { |
| 175 | border-collapse: collapse; |
| 176 | border-spacing: 0; |
| 177 | } |
| 178 | .doc th { |
| 179 | text-align: center; |
| 180 | } |
vapier | b2053f54 | 2017-03-09 19:46:10 | [diff] [blame] | 181 | .doc th, |
| 182 | .doc td { |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 183 | border: 1px solid #eee; |
| 184 | padding: 4px 12px; |
| 185 | vertical-align: top; |
| 186 | } |
| 187 | .doc th { |
| 188 | background-color: #f5f5f5; |
| 189 | } |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 190 | .toc { |
| 191 | margin-top: 30px; |
| 192 | } |
| 193 | .toc-aux { |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 194 | background: #f9f9f9; |
| 195 | border: 1px solid #f2f2f2; |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 196 | } |
| 197 | .toc h2 { |
| 198 | margin: 0 0 5px 0; |
| 199 | } |
| 200 | .toc ul { |
vapier | b2053f54 | 2017-03-09 19:46:10 | [diff] [blame] | 201 | margin: 10px 10px 10px 30px; |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 202 | } |
| 203 | .toc ul li { |
| 204 | margin-left: 0px; |
| 205 | list-style: disc; |
| 206 | } |
vapier | b2053f54 | 2017-03-09 19:46:10 | [diff] [blame] | 207 | .toc ul ul { |
| 208 | margin-top: 0; |
| 209 | margin-bottom: 0; |
| 210 | } |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 211 | .toc ul ul li { |
| 212 | list-style: circle; |
| 213 | } |
vapier | b2053f54 | 2017-03-09 19:46:10 | [diff] [blame] | 214 | .note, |
| 215 | .promo, |
| 216 | .aside { |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 217 | border: 1px solid; |
| 218 | border-radius: 4px; |
| 219 | margin: 10px 0; |
| 220 | padding: 10px; |
| 221 | } |
| 222 | .note { |
| 223 | background: #fffbe4; |
| 224 | border-color: #f8f6e6; |
| 225 | } |
| 226 | .promo { |
| 227 | background: #f6f9ff; |
| 228 | border-color: #eff2f9; |
| 229 | } |
| 230 | .aside { |
| 231 | background: #f9f9f9; |
| 232 | border-color: #f2f2f2; |
| 233 | } |
| 234 | .note :first-child, |
| 235 | .promo :first-child, |
| 236 | .aside :first-child { |
| 237 | margin-top: 0; |
| 238 | } |
| 239 | .note p:last-child, |
| 240 | .promo p:last-child, |
| 241 | .aside p:last-child { |
| 242 | margin-bottom: 0; |
| 243 | } |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 244 | .cols { |
| 245 | margin: 0 -1.533%; |
| 246 | width: 103.067%; |
| 247 | } |
| 248 | .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, |
| 249 | .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 { |
vapier | b2053f54 | 2017-03-09 19:46:10 | [diff] [blame] | 250 | display: inline-block; |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 251 | margin: 0 1.488% 20px; |
vapier | b2053f54 | 2017-03-09 19:46:10 | [diff] [blame] | 252 | vertical-align: top; |
| 253 | } |
| 254 | .cols h1, .cols h2, .cols h3, .cols h4, .cols h5, .cols h6 { |
| 255 | margin: .67em 0; |
dpranke | 27c171c | 2015-10-07 00:44:36 | [diff] [blame] | 256 | } |
| 257 | .col-1 { width: 5.357%; } |
| 258 | .col-2 { width: 13.690%; } |
| 259 | .col-3 { width: 22.024%; } |
| 260 | .col-4 { width: 30.357%; } |
| 261 | .col-5 { width: 38.690%; } |
| 262 | .col-6 { width: 47.024%; } |
| 263 | .col-7 { width: 55.357%; } |
| 264 | .col-8 { width: 63.690%; } |
| 265 | .col-9 { width: 72.024%; } |
| 266 | .col-10 { width: 80.357%; } |
| 267 | .col-11 { width: 88.690%; } |
| 268 | .col-12 { width: 97.024%; } |
vapier | b2053f54 | 2017-03-09 19:46:10 | [diff] [blame] | 269 | .cols hr { width: 80%; } |