size: 6 KiB
| 1 | /* BEGIN RESET |
| 2 | |
| 3 | Copyright (c) 2010, Yahoo! Inc. All rights reserved. |
| 4 | Code licensed under the BSD License: |
| 5 | http://developer.yahoo.com/yui/license.html |
| 6 | version: 2.8.2r1 |
| 7 | */ |
| 8 | html { |
| 9 | color: #000; |
| 10 | background: #FFF; |
| 11 | } |
| 12 | body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td { |
| 13 | margin: 0; |
| 14 | padding: 0; |
| 15 | } |
| 16 | table { |
| 17 | border-collapse: collapse; |
| 18 | border-spacing: 0; |
| 19 | } |
| 20 | fieldset,img { |
| 21 | border: 0; |
| 22 | } |
| 23 | address,caption,cite,code,dfn,em,strong,th,var,optgroup { |
| 24 | font-style: inherit; |
| 25 | font-weight: inherit; |
| 26 | } |
| 27 | del,ins { |
| 28 | text-decoration: none; |
| 29 | } |
| 30 | li { |
| 31 | margin-left: 20px; |
| 32 | } |
| 33 | caption,th { |
| 34 | text-align: left; |
| 35 | } |
| 36 | h1,h2,h3,h4,h5,h6 { |
| 37 | font-size: 100%; |
| 38 | font-weight: bold; |
| 39 | } |
| 40 | q:before,q:after { |
| 41 | content: ''; |
| 42 | } |
| 43 | abbr,acronym { |
| 44 | border: 0; |
| 45 | font-variant: normal; |
| 46 | } |
| 47 | sup { |
| 48 | vertical-align: baseline; |
| 49 | } |
| 50 | sub { |
| 51 | vertical-align: baseline; |
| 52 | } |
| 53 | legend { |
| 54 | color: #000; |
| 55 | } |
| 56 | input,button,textarea,select,optgroup,option { |
| 57 | font-family: inherit; |
| 58 | font-size: inherit; |
| 59 | font-style: inherit; |
| 60 | font-weight: inherit; |
| 61 | } |
| 62 | input,button,textarea,select {*font-size:100%; |
| 63 | } |
| 64 | /* END RESET */ |
| 65 | |
| 66 | body { |
| 67 | margin-left: 1em; |
| 68 | margin-right: 1em; |
| 69 | font-family: arial, helvetica, geneva, sans-serif; |
| 70 | background-color: #ffffff; margin: 0px; |
| 71 | } |
| 72 | |
| 73 | code, tt { font-family: monospace; font-size: 1.1em; } |
| 74 | span.parameter { font-family:monospace; } |
| 75 | span.parameter:after { content:":"; } |
| 76 | span.types:before { content:"("; } |
| 77 | span.types:after { content:")"; } |
| 78 | .type { font-weight: bold; font-style:italic } |
| 79 | |
| 80 | body, p, td, th { font-size: .95em; line-height: 1.2em;} |
| 81 | |
| 82 | p, ul { margin: 10px 0 0 0px;} |
| 83 | |
| 84 | strong { font-weight: bold;} |
| 85 | |
| 86 | em { font-style: italic;} |
| 87 | |
| 88 | h1 { |
| 89 | font-size: 1.5em; |
| 90 | margin: 20px 0 20px 0; |
| 91 | } |
| 92 | h2, h3, h4 { margin: 15px 0 10px 0; } |
| 93 | h2 { font-size: 1.25em; } |
| 94 | h3 { font-size: 1.15em; } |
| 95 | h4 { font-size: 1.06em; } |
| 96 | |
| 97 | a:link { font-weight: bold; color: #004080; text-decoration: none; } |
| 98 | a:visited { font-weight: bold; color: #006699; text-decoration: none; } |
| 99 | a:link:hover { text-decoration: underline; } |
| 100 | |
| 101 | hr { |
| 102 | color:#cccccc; |
| 103 | background: #00007f; |
| 104 | height: 1px; |
| 105 | } |
| 106 | |
| 107 | blockquote { margin-left: 3em; } |
| 108 | |
| 109 | ul { list-style-type: disc; } |
| 110 | |
| 111 | p.name { |
| 112 | font-family: "Andale Mono", monospace; |
| 113 | padding-top: 1em; |
| 114 | } |
| 115 | |
| 116 | pre { |
| 117 | background-color: rgb(245, 245, 245); |
| 118 | border: 1px solid #C0C0C0; /* silver */ |
| 119 | padding: 10px; |
| 120 | margin: 10px 0 10px 0; |
| 121 | overflow: auto; |
| 122 | font-family: "Andale Mono", monospace; |
| 123 | } |
| 124 | |
| 125 | pre.example { |
| 126 | font-size: .85em; |
| 127 | } |
| 128 | |
| 129 | table.index { border: 1px #00007f; } |
| 130 | table.index td { text-align: left; vertical-align: top; } |
| 131 | |
| 132 | #container { |
| 133 | margin-left: 1em; |
| 134 | margin-right: 1em; |
| 135 | background-color: #f0f0f0; |
| 136 | } |
| 137 | |
| 138 | #product { |
| 139 | text-align: center; |
| 140 | border-bottom: 1px solid #cccccc; |
| 141 | background-color: #ffffff; |
| 142 | } |
| 143 | |
| 144 | #product big { |
| 145 | font-size: 2em; |
| 146 | } |
| 147 | |
| 148 | #main { |
| 149 | background-color: #f0f0f0; |
| 150 | border-left: 2px solid #cccccc; |
| 151 | } |
| 152 | |
| 153 | #navigation { |
| 154 | float: left; |
| 155 | width: 14em; |
| 156 | vertical-align: top; |
| 157 | background-color: #f0f0f0; |
| 158 | overflow: visible; |
| 159 | } |
| 160 | |
| 161 | #navigation h2 { |
| 162 | background-color:#e7e7e7; |
| 163 | font-size:1.1em; |
| 164 | color:#000000; |
| 165 | text-align: left; |
| 166 | padding:0.2em; |
| 167 | border-top:1px solid #dddddd; |
| 168 | border-bottom:1px solid #dddddd; |
| 169 | } |
| 170 | |
| 171 | #navigation ul |
| 172 | { |
| 173 | font-size:1em; |
| 174 | list-style-type: none; |
| 175 | margin: 1px 1px 10px 1px; |
| 176 | } |
| 177 | |
| 178 | #navigation li { |
| 179 | text-indent: -1em; |
| 180 | display: block; |
| 181 | margin: 3px 0px 0px 22px; |
| 182 | } |
| 183 | |
| 184 | #navigation li li a { |
| 185 | margin: 0px 3px 0px -1em; |
| 186 | } |
| 187 | |
| 188 | #content { |
| 189 | margin-left: 14em; |
| 190 | padding: 1em; |
| 191 | width: 700px; |
| 192 | border-left: 2px solid #cccccc; |
| 193 | border-right: 2px solid #cccccc; |
| 194 | background-color: #ffffff; |
| 195 | } |
| 196 | |
| 197 | #about { |
| 198 | clear: both; |
| 199 | padding: 5px; |
| 200 | border-top: 2px solid #cccccc; |
| 201 | background-color: #ffffff; |
| 202 | } |
| 203 | |
| 204 | @media print { |
| 205 | body { |
| 206 | font: 12pt "Times New Roman", "TimeNR", Times, serif; |
| 207 | } |
| 208 | a { font-weight: bold; color: #004080; text-decoration: underline; } |
| 209 | |
| 210 | #main { |
| 211 | background-color: #ffffff; |
| 212 | border-left: 0px; |
| 213 | } |
| 214 | |
| 215 | #container { |
| 216 | margin-left: 2%; |
| 217 | margin-right: 2%; |
| 218 | background-color: #ffffff; |
| 219 | } |
| 220 | |
| 221 | #content { |
| 222 | padding: 1em; |
| 223 | background-color: #ffffff; |
| 224 | } |
| 225 | |
| 226 | #navigation { |
| 227 | display: none; |
| 228 | } |
| 229 | pre.example { |
| 230 | font-family: "Andale Mono", monospace; |
| 231 | font-size: 10pt; |
| 232 | page-break-inside: avoid; |
| 233 | } |
| 234 | } |
| 235 | |
| 236 | table.module_list { |
| 237 | border-width: 1px; |
| 238 | border-style: solid; |
| 239 | border-color: #cccccc; |
| 240 | border-collapse: collapse; |
| 241 | } |
| 242 | table.module_list td { |
| 243 | border-width: 1px; |
| 244 | padding: 3px; |
| 245 | border-style: solid; |
| 246 | border-color: #cccccc; |
| 247 | } |
| 248 | table.module_list td.name { background-color: #f0f0f0; min-width: 200px; } |
| 249 | table.module_list td.summary { width: 100%; } |
| 250 | |
| 251 | |
| 252 | table.function_list { |
| 253 | border-width: 1px; |
| 254 | border-style: solid; |
| 255 | border-color: #cccccc; |
| 256 | border-collapse: collapse; |
| 257 | } |
| 258 | table.function_list td { |
| 259 | border-width: 1px; |
| 260 | padding: 3px; |
| 261 | border-style: solid; |
| 262 | border-color: #cccccc; |
| 263 | } |
| 264 | table.function_list td.name { background-color: #f0f0f0; min-width: 200px; } |
| 265 | table.function_list td.summary { width: 100%; } |
| 266 | |
| 267 | ul.nowrap { |
| 268 | overflow:auto; |
| 269 | white-space:nowrap; |
| 270 | } |
| 271 | |
| 272 | dl.table dt, dl.function dt {border-top: 1px solid #ccc; padding-top: 1em;} |
| 273 | dl.table dd, dl.function dd {padding-bottom: 1em; margin: 10px 0 0 20px;} |
| 274 | dl.table h3, dl.function h3 {font-size: .95em;} |
| 275 | |
| 276 | /* stop sublists from having initial vertical space */ |
| 277 | ul ul { margin-top: 0px; } |
| 278 | ol ul { margin-top: 0px; } |
| 279 | ol ol { margin-top: 0px; } |
| 280 | ul ol { margin-top: 0px; } |
| 281 | |
| 282 | /* make the target distinct; helps when we're navigating to a function */ |
| 283 | a:target + * { |
| 284 | background-color: #FF9; |
| 285 | } |
| 286 | |
| 287 | |
| 288 | /* styles for prettification of source */ |
| 289 | pre .comment { color: #558817; } |
| 290 | pre .constant { color: #a8660d; } |
| 291 | pre .escape { color: #844631; } |
| 292 | pre .keyword { color: #aa5050; font-weight: bold; } |
| 293 | pre .library { color: #0e7c6b; } |
| 294 | pre .marker { color: #512b1e; background: #fedc56; font-weight: bold; } |
| 295 | pre .string { color: #8080ff; } |
| 296 | pre .number { color: #f8660d; } |
| 297 | pre .operator { color: #2239a8; font-weight: bold; } |
| 298 | pre .preprocessor, pre .prepro { color: #a33243; } |
| 299 | pre .global { color: #800080; } |
| 300 | pre .user-keyword { color: #800080; } |
| 301 | pre .prompt { color: #558817; } |
| 302 | pre .url { color: #272fc2; text-decoration: underline; } |
| 303 |