| OLD | NEW |
| 1 /* Reset */ | 1 /* Reset */ |
| 2 body, h1, h2, h3, h4, li, ol, p, pre, section, ul { | 2 body, h1, h2, h3, h4, li, ol, p, pre, section, ul { |
| 3 margin: 0; | 3 margin: 0; |
| 4 padding: 0; | 4 padding: 0; |
| 5 } | 5 } |
| 6 | 6 |
| 7 body { | 7 body { |
| 8 font-family: Georgia, serif; | 8 font-family: Georgia, serif; |
| 9 background: #e8e8e8; | 9 background: #e8e8e8; |
| 10 color: #333; | 10 color: #333; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 font: 600 16px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', | 29 font: 600 16px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
| 30 sans-serif; | 30 sans-serif; |
| 31 } | 31 } |
| 32 | 32 |
| 33 p { | 33 p { |
| 34 font-size: 16px; | 34 font-size: 16px; |
| 35 line-height: 22px; | 35 line-height: 22px; |
| 36 margin: 22px 0; | 36 margin: 22px 0; |
| 37 } | 37 } |
| 38 | 38 |
| 39 h3 + p { |
| 40 /* Text immediately following a subheader should be snug with it. */ |
| 41 margin-top: 0; |
| 42 } |
| 43 |
| 39 strong { | 44 strong { |
| 40 font-weight: 700; | 45 font-weight: 700; |
| 41 } | 46 } |
| 42 | 47 |
| 43 pre, code { | 48 pre, code { |
| 44 font: 14px/22px Menlo, Monaco, Consolas, Courier, monospace; | 49 font: 14px/22px Menlo, Monaco, Consolas, Courier, monospace; |
| 45 color: hsl(220, 20%, 30%); | 50 color: hsl(220, 20%, 30%); |
| 46 background: hsl(220, 20%, 95%); | 51 background: hsl(220, 20%, 95%); |
| 47 margin: 22px 0; | 52 margin: 22px 0; |
| 48 padding: 0 4px; | 53 padding: 0 4px; |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 margin: 0 -21px; | 139 margin: 0 -21px; |
| 135 padding: 11px 22px; | 140 padding: 11px 22px; |
| 136 | 141 |
| 137 /* Using http://www.colorzilla.com/gradient-editor/ */ | 142 /* Using http://www.colorzilla.com/gradient-editor/ */ |
| 138 background: -moz-linear-gradient(top, hsla(0,0%,0%,0.05) 0%, hsla(0,0%,0%,0) 1
00%); | 143 background: -moz-linear-gradient(top, hsla(0,0%,0%,0.05) 0%, hsla(0,0%,0%,0) 1
00%); |
| 139 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,hsla
(0,0%,0%,0.05)), color-stop(100%,hsla(0,0%,0%,0))); | 144 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,hsla
(0,0%,0%,0.05)), color-stop(100%,hsla(0,0%,0%,0))); |
| 140 background: -webkit-linear-gradient(top, hsla(0,0%,0%,0.05) 0%,hsla(0,0%,0%,0)
100%); | 145 background: -webkit-linear-gradient(top, hsla(0,0%,0%,0.05) 0%,hsla(0,0%,0%,0)
100%); |
| 141 background: -o-linear-gradient(top, hsla(0,0%,0%,0.05) 0%,hsla(0,0%,0%,0) 100%
); | 146 background: -o-linear-gradient(top, hsla(0,0%,0%,0.05) 0%,hsla(0,0%,0%,0) 100%
); |
| 142 background: -ms-linear-gradient(top, hsla(0,0%,0%,0.05) 0%,hsla(0,0%,0%,0) 100
%); | 147 background: -ms-linear-gradient(top, hsla(0,0%,0%,0.05) 0%,hsla(0,0%,0%,0) 100
%); |
| 143 background: linear-gradient(top, hsla(0,0%,0%,0.05) 0%,hsla(0,0%,0%,0) 100%); | 148 background: linear-gradient(top, hsla(0,0%,0%,0.05) 0%,hsla(0,0%,0%,0) 100%); |
| 144 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0d000000',
endColorstr='#00000000',GradientType=0); | |
| 145 } | 149 } |
| 146 | 150 |
| 147 .nav li { | 151 ul.icon { |
| 152 margin: 0 0 22px 0; |
| 153 padding: 0; |
| 154 } |
| 155 |
| 156 ul.icon li { |
| 148 font: 600 13px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', | 157 font: 600 13px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
| 149 sans-serif; | 158 sans-serif; |
| 150 list-style-type: none; | 159 list-style-type: none; |
| 151 white-space: nowrap; | 160 white-space: nowrap; |
| 152 } | 161 } |
| 153 | 162 |
| 154 .nav ul { | 163 /* Indent nested lists. */ |
| 155 margin: 0 0 22px 0; | 164 ul.icon ul { |
| 156 padding: 0; | 165 margin-left: 22px; |
| 157 } | 166 } |
| 158 | 167 |
| 159 .icon-class, | 168 .icon-class, |
| 160 .icon-exception, | 169 .icon-exception, |
| 161 .icon-interface { | 170 .icon-interface { |
| 162 display: inline-block; | 171 display: inline-block; |
| 163 width: 14px; | 172 width: 14px; |
| 164 height: 14px; | 173 height: 14px; |
| 165 margin: 5px 10px 0 2px; | 174 margin: 5px 10px 0 2px; |
| 166 vertical-align: top; | 175 vertical-align: top; |
| 167 } | 176 } |
| 168 | 177 |
| 169 .icon-class { background: url('class.png'); } | 178 .icon-class { background: url('class.png'); } |
| 170 .icon-exception { background: url('exception.png'); } | 179 .icon-exception { background: url('exception.png'); } |
| 171 .icon-interface { background: url('interface.png'); } | 180 .icon-interface { background: url('interface.png'); } |
| 172 | 181 |
| 173 .icon-library { | 182 .icon-library { |
| 174 background: url('library.png'); | 183 background: url('library.png'); |
| 175 width: 16px; | 184 width: 16px; |
| 176 height: 14px; | 185 height: 14px; |
| 177 display: inline-block; | 186 display: inline-block; |
| 178 margin: 4px 8px 0 0; | 187 margin: 4px 8px 0 0; |
| 179 vertical-align: top; | 188 vertical-align: top; |
| 180 } | 189 } |
| 181 | 190 |
| 191 .type-box { |
| 192 display: inline-block; |
| 193 font: 600 13px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
| 194 sans-serif; |
| 195 background: #f4f4f4; |
| 196 padding: 0 6px 0 3px; |
| 197 border-radius: 4px; |
| 198 } |
| 199 |
| 200 .type-box .icon-class, |
| 201 .type-box .icon-exception, |
| 202 .type-box .icon-interface { |
| 203 /* Make a little snugger with the text. */ |
| 204 margin-right: 5px; |
| 205 } |
| 206 |
| 182 .content { | 207 .content { |
| 183 margin-left: 308px; /* 14 x 22 */ | 208 margin-left: 308px; /* 14 x 22 */ |
| 184 padding: 22px 22px; | 209 padding: 22px 22px; |
| 185 } | 210 } |
| 186 | 211 |
| 187 .clear { | 212 .clear { |
| 188 clear: both; | 213 clear: both; |
| 189 } | 214 } |
| 190 | 215 |
| 191 .footer { | 216 .footer { |
| 192 max-width: 956px; /* 1000 - 22 - 22 */ | 217 max-width: 956px; /* 1000 - 22 - 22 */ |
| 193 text-align: center; | 218 text-align: center; |
| 194 margin: 22px auto; | 219 margin: 22px auto; |
| 195 color: #888; | 220 color: #888; |
| 196 } | 221 } |
| 197 | 222 |
| 198 .footer p { | 223 .footer p { |
| 199 font: 400 13px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', | 224 font: 400 13px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
| 200 sans-serif; | 225 sans-serif; |
| 201 } | 226 } |
| 202 | 227 |
| 203 .method .doc, | 228 .method .doc, |
| 204 .field .doc { | 229 .field .doc { |
| 205 padding-left: 44px; | 230 padding-left: 44px; |
| 206 } | 231 } |
| 207 | 232 |
| 208 .param { | 233 .param { |
| 209 font: 600 14px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', | 234 font: 600 14px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
| 210 sans-serif; | 235 sans-serif; |
| 211 } | 236 } |
| 212 | 237 |
| 213 .crossref { | 238 .crossref { |
| 214 font: 600 15px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', | 239 font: 600 15px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
| 215 sans-serif; | 240 sans-serif; |
| 216 } | 241 } |
| 217 | 242 |
| 218 .doc h1 { | 243 .doc h1 { |
| 219 font: 700 17px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', | 244 font: 700 17px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
| 220 sans-serif; | 245 sans-serif; |
| 221 color: #666; | 246 color: #666; |
| 222 } | 247 } |
| 223 | 248 |
| 224 .doc h2 { | 249 .doc h2 { |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 } | 360 } |
| 336 | 361 |
| 337 p { | 362 p { |
| 338 border-left: solid 4px purple; | 363 border-left: solid 4px purple; |
| 339 } | 364 } |
| 340 | 365 |
| 341 section { | 366 section { |
| 342 border-left: solid 4px gray; | 367 border-left: solid 4px gray; |
| 343 } | 368 } |
| 344 */ | 369 */ |
| OLD | NEW |