|
148 | 148 | }
|
149 | 149 | }
|
150 | 150 | </script>
|
| 151 | +<style> |
| 152 | +#body { |
| 153 | + overflow: hidden; |
| 154 | + width: 100%; |
| 155 | +} |
| 156 | + |
| 157 | +article.primary-content { |
| 158 | + float: left; |
| 159 | + width: 75%; |
| 160 | + height: auto; |
| 161 | +} |
| 162 | + |
| 163 | +aside.sidebar { |
| 164 | + background: #F1F1F1; |
| 165 | + float: left; |
| 166 | + min-height: 500px; |
| 167 | + width: 25%; |
| 168 | +} |
| 169 | + |
| 170 | +article.primary-content h4 { |
| 171 | + display: none; |
| 172 | +} |
| 173 | + |
| 174 | +article.primary-content .toc { |
| 175 | + padding-top: 25px; |
| 176 | +} |
| 177 | + |
| 178 | +article.primary-content ul.toc-list { |
| 179 | + list-style: none; |
| 180 | +} |
| 181 | + |
| 182 | +article.primary-content ul.toc-list > li { |
| 183 | + padding-bottom: 10px; |
| 184 | +} |
| 185 | + |
| 186 | +article.primary-content ul.toc-list > li > a { |
| 187 | + color: #205E95; |
| 188 | + display: block; |
| 189 | + font-size: 24px; |
| 190 | + font-weight: bold; |
| 191 | + padding-bottom: 10px; |
| 192 | + text-decoration: none; |
| 193 | +} |
| 194 | + |
| 195 | +article.primary-content ul.toc-list > li > ul { |
| 196 | + list-style: none; |
| 197 | +} |
| 198 | + |
| 199 | +article.primary-content ul.toc-list > li > ul > li { |
| 200 | + line-height: 24px; |
| 201 | +} |
| 202 | + |
| 203 | +article.primary-content .entry.method h2 { |
| 204 | + background: #282828; |
| 205 | + color: #FFF; |
| 206 | + font-size: 24px; |
| 207 | + line-height: 50px; |
| 208 | + height: 50px; |
| 209 | + padding: 0 15px; |
| 210 | + margin: 0; |
| 211 | + border-top-left-radius: 6px; |
| 212 | + border-top-right-radius: 6px; |
| 213 | + -webkit-border-top-left-radius: 6px; |
| 214 | + -webkit-border-top-right-radius: 6px; |
| 215 | + -moz-border-top-left-radius: 6px; |
| 216 | + -moz-border-top-right-radius: 6px; |
| 217 | + -o-border-top-left-radius: 6px; |
| 218 | + -o-border-top-right-radius: 6px; |
| 219 | +} |
| 220 | + |
| 221 | +article.primary-content .entry.method { |
| 222 | + margin: 0 20px; |
| 223 | +} |
| 224 | + |
| 225 | +article.primary-content .entry-details { |
| 226 | + border-left: 1px solid #CCC; |
| 227 | + border-right: 1px solid #CCC; |
| 228 | + border-bottom: 1px solid #CCC; |
| 229 | + border-top-left-radius: 6px; |
| 230 | + border-top-right-radius: 6px; |
| 231 | + -webkit-border-bottom-left-radius: 6px; |
| 232 | + -webkit-border-bottom-right-radius: 6px; |
| 233 | + -moz-border-bottom-left-radius: 6px; |
| 234 | + -moz-border-bottom-right-radius: 6px; |
| 235 | + -o-border-bottom-left-radius: 6px; |
| 236 | + -o-border-bottom-right-radius: 6px; |
| 237 | + padding: 36px; |
| 238 | + margin-bottom: 36px; |
| 239 | +} |
| 240 | + |
| 241 | +article.primary-content .entry-details .desc strong { |
| 242 | + font-size: 18px; |
| 243 | +} |
| 244 | + |
| 245 | +article.primary-content .returns { |
| 246 | + color: #999999; |
| 247 | + display: block; |
| 248 | + float: right; |
| 249 | + font-style: italic; |
| 250 | + font-size: 16px; |
| 251 | + font-weight: normal; |
| 252 | + letter-spacing: 0; |
| 253 | +} |
| 254 | + |
| 255 | +article.primary-content .returns a { |
| 256 | + color: #86D1FC; |
| 257 | +} |
| 258 | + |
| 259 | +.gradient { |
| 260 | + background: #1e5799; /* Old browsers */ |
| 261 | + background: -moz-linear-gradient(top, #1e5799 0%, #2272bc 100%); /* FF3.6+ */ |
| 262 | + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(100%,#2272bc)); /* Chrome,Safari4+ */ |
| 263 | + background: -webkit-linear-gradient(top, #1e5799 0%,#2272bc 100%); /* Chrome10+,Safari5.1+ */ |
| 264 | + background: -o-linear-gradient(top, #1e5799 0%,#2272bc 100%); /* Opera 11.10+ */ |
| 265 | + background: -ms-linear-gradient(top, #1e5799 0%,#2272bc 100%); /* IE10+ */ |
| 266 | + background: linear-gradient(to bottom, #1e5799 0%,#2272bc 100%); /* W3C */ |
| 267 | + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#2272bc',GradientType=0 ); /* IE6-9 */ |
| 268 | + border-top-left-radius: 6px; |
| 269 | + border-top-right-radius: 6px; |
| 270 | + -webkit-border-top-left-radius: 6px; |
| 271 | + -webkit-border-top-right-radius: 6px; |
| 272 | + -moz-border-top-left-radius: 6px; |
| 273 | + -moz-border-top-right-radius: 6px; |
| 274 | + -o-border-top-left-radius: 6px; |
| 275 | + -o-border-top-right-radius: 6px; |
| 276 | +} |
| 277 | + |
| 278 | +article.primary-content code { |
| 279 | + background-color: #E6E6E6; |
| 280 | + color: #666666; |
| 281 | + font-family: "Courier New"; |
| 282 | + -webkit-border-radius: 2px; |
| 283 | + -moz-border-radius: 2px; |
| 284 | + border-radius: 2px; |
| 285 | + text-shadow: 0px 2px 3px #FFFFFF; |
| 286 | +} |
| 287 | + |
| 288 | +article.primary-content code a { |
| 289 | + background-color: #DEE3ED; |
| 290 | + color: #3872A3; |
| 291 | + font-family: "Courier New"; |
| 292 | + -webkit-border-radius: 2px; |
| 293 | + -moz-border-radius: 2px; |
| 294 | + border-radius: 2px; |
| 295 | + text-shadow: 0px 2px 3px #FFFFFF; |
| 296 | +} |
| 297 | + |
| 298 | +article.primary-content blockquote { |
| 299 | + color: #808080; |
| 300 | + font-style: italic; |
| 301 | +} |
| 302 | + |
| 303 | +article.primary-content blockquote strong { |
| 304 | + font-weight: normal !important; |
| 305 | +} |
| 306 | + |
| 307 | +article.primary-content pre { |
| 308 | + background-color: #212121; |
| 309 | +} |
| 310 | +</style> |
151 | 311 | <xsl:if test="count(//entry) > 1">
|
152 | 312 | <div class="toc">
|
153 | 313 | <ul class="toc-list">
|
|
0 commit comments