├── includes └── include.adoc ├── .gitignore ├── wb.pdf ├── essay.pdf ├── images └── tiger.png ├── flags-of-the-world-ex1.pdf ├── flags-of-the-world-wb1.pdf ├── travis-build.sh ├── travis-push.sh ├── .travis.yml ├── LICENSE ├── curriculum.css ├── README.adoc ├── essay.adoc ├── essay.html ├── demo.adoc └── asciidoctor.css /includes/include.adoc: -------------------------------------------------------------------------------- 1 | I come from an include file. 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Output directory for HTML files 2 | output/ 3 | -------------------------------------------------------------------------------- /wb.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ds26gte/asciidoc-to-ghpages/gh-pages/wb.pdf -------------------------------------------------------------------------------- /essay.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ds26gte/asciidoc-to-ghpages/gh-pages/essay.pdf -------------------------------------------------------------------------------- /images/tiger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ds26gte/asciidoc-to-ghpages/gh-pages/images/tiger.png -------------------------------------------------------------------------------- /flags-of-the-world-ex1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ds26gte/asciidoc-to-ghpages/gh-pages/flags-of-the-world-ex1.pdf -------------------------------------------------------------------------------- /flags-of-the-world-wb1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ds26gte/asciidoc-to-ghpages/gh-pages/flags-of-the-world-wb1.pdf -------------------------------------------------------------------------------- /travis-build.sh: -------------------------------------------------------------------------------- 1 | #./build-something-r.sh 2 | ./build-something-a.sh 3 | ./build-something-w.sh 4 | ./build-something-p.sh 5 | 6 | -------------------------------------------------------------------------------- /travis-push.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | git checkout -B travistmp 4 | 5 | git config --global user.email "${GH_USER_EMAIL}" 6 | git config --global user.name "${GH_USER_NAME}" 7 | 8 | git add *.css *.html *.pdf 9 | 10 | git commit -m "committed at $(date)" 11 | 12 | git push --force "https://${GH_TOKEN}@${GH_REF}" travistmp:gh-pages > /dev/null 2>&1 13 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: ruby 2 | rvm: 3 | - 2.2 4 | env: 5 | global: 6 | - RACKET_DIR=~/racket 7 | - RACKET_VERSION=6.12 8 | sudo: required 9 | git: 10 | quiet: true 11 | branches: 12 | only: 13 | - /.*/ 14 | 15 | before_install: 16 | - git clone https://github.com/greghendershott/travis-racket.git 17 | - cat travis-racket/install-racket.sh | bash 18 | - export PATH="${RACKET_DIR}/bin:${PATH}" 19 | - gem install asciidoctor 20 | - wget https://downloads.wkhtmltopdf.org/0.12/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz 21 | - tar xvf wkhtmltox-0.12.4_linux-generic-amd64.tar.xz 22 | - sudo mv wkhtmltox/bin/wkhtmlto* /usr/bin 23 | - sudo apt-get install -y pdftk 24 | 25 | script: 26 | - ./travis-build.sh 27 | 28 | after_success: 29 | - ./travis-push.sh 30 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Maxime Gréau 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /curriculum.css: -------------------------------------------------------------------------------- 1 | @import url("./asciidoctor.css"); 2 | 3 | .standards-table thead { 4 | background-color: #bb29ff; 5 | } 6 | 7 | .lesson-table thead { 8 | background-color: #93c47d; 9 | } 10 | 11 | .left-header tr td:nth-child(1) { 12 | background-color: #b7d893; 13 | } 14 | 15 | .left-header tr td:nth-child(1) p { 16 | font-weight: bold; 17 | } 18 | 19 | .physics-table { 20 | margin-left: auto; 21 | margin-right: auto; 22 | } 23 | 24 | .physics-table thead { 25 | background-color: #ffd966; 26 | } 27 | 28 | .standards-hierarchical-table ul li ul { 29 | display: none; 30 | } 31 | 32 | .standards-hierarchical-table ul li:hover ul { 33 | display: block; 34 | } 35 | 36 | .sidebarblock { 37 | background-color: #efefef; 38 | border-width: thick; 39 | } 40 | 41 | .sidebarblock .content .title { 42 | font-weight: bold; 43 | } 44 | 45 | .notice-box { 46 | border-color: #7747a5; 47 | } 48 | 49 | .notice-box .content .title { 50 | color: #7747a5; 51 | } 52 | 53 | .strategy-box { 54 | border-color: #1a73b5; 55 | } 56 | 57 | .strategy-box .content .title { 58 | color: #1a73b5; 59 | } 60 | 61 | table { 62 | border: 3px solid #7747a5 !important; 63 | } 64 | 65 | td, th { 66 | border: 2px solid #7747a5 !important; 67 | } 68 | -------------------------------------------------------------------------------- /README.adoc: -------------------------------------------------------------------------------- 1 | = AsciiDoc converted to HTML/PDF files and published on gh-pages with Asciidoctor Docker from Travis CI 2 | 3 | :link-github-project-ghpages: https://ds26gte.github.io/asciidoc-to-ghpages 4 | :link-demo-html: {link-github-project-ghpages}/demo.html 5 | :link-demo-pdf: {link-github-project-ghpages}/demo.pdf 6 | :link-demo-adoc: https://raw.githubusercontent.com/mgreau/asciidoc-to-ghpages/master/demo.adoc 7 | :cover-asciidoc-ghpages: https://mgreau.com/posts/images/cover-asciidoc-ghpages.svg 8 | 9 | How to convert *AsciiDoc* to *HTML/PDF* files output and publish it to *gh-pages* with *Travis CI, Asciidoctor and Docker*. 10 | 11 | * Asciidoctor Demo file: 12 | ** {link-demo-adoc}[AsciiDoc source file] 13 | ** {link-demo-html}[HTML output file] 14 | ** {link-demo-pdf}[PDF output file] 15 | 16 | This blog post describes the workflow used to do it: 17 | 18 | * http://mgreau.com/posts/2016/03/28/asciidoc-to-gh-pages-with-travis-ci-docker-asciidoctor.html 19 | 20 | [[asciidoc_ghpages_travis_docker]] 21 | .Convert your AsciiDoc files and Publish the HTML/PDF output to GH Pages thanks to Travis and Asciidoctor with Docker 22 | image::http://mgreau.com/posts/images/cover-asciidoc-ghpages.svg[AsciiDoc to Github Pages with Travis and Docker Asciidoctor,950] 23 | -------------------------------------------------------------------------------- /essay.adoc: -------------------------------------------------------------------------------- 1 | = Lorem ipsum 2 | 3 | wed jul 25 take 4 4 | 5 | Quibusdam sit blanditiis perspiciatis quam dolorem eum beatae. 6 | Repellat et autem aperiam. Et animi vitae numquam voluptatem. 7 | Illum aut velit enim ut sed ab cum. 8 | 9 | Ipsa quam voluptas blanditiis. Nemo distinctio quisquam aut iste 10 | amet enim quidem. Inventore natus et est voluptatum. Unde nostrum 11 | non delectus omnis quisquam enim. 12 | 13 | Exercitationem et fugit eveniet et. Sint qui qui accusamus nihil 14 | id qui deserunt. Illum sit dolor et odit voluptatem quia ipsa. 15 | Saepe enim adipisci maxime ratione sed sit corporis omnis. 16 | Officiis cumque dolorem delectus. Maiores eligendi quam porro. 17 | 18 | Hic quibusdam vel vero reprehenderit quos quos ut eum. 19 | Accusantium nihil eligendi reiciendis quo voluptatem sint 20 | consequatur explicabo. Qui aut consequatur qui molestiae quia. 21 | Natus nesciunt sunt consequatur. Rem est labore et culpa suscipit 22 | dolorem enim laboriosam. 23 | 24 | Molestiae quia est quia corrupti sit. Non expedita minus optio 25 | inventore deleniti. Libero qui qui molestiae quos ipsam esse et. 26 | Vel aspernatur repellat est voluptatem nam. 27 | 28 | Eligendi fugiat et nobis nihil architecto cumque. In modi et 29 | accusamus rem aliquam. Ut vel exercitationem quod delectus illo 30 | dolores sint. Dolores et tenetur rem nemo facere ea omnis. 31 | 32 | Reiciendis non atque quos rem voluptatem. Perferendis omnis a 33 | tempora magni. Non ipsam laudantium ipsa fuga qui saepe. Velit ea 34 | nobis magnam eos doloribus. Ipsum porro animi cumque porro 35 | ducimus reiciendis. 36 | 37 | Sit optio et commodi. Qui possimus et quibusdam id sed qui qui 38 | dignissimos. Nulla ab cupiditate distinctio eos ut autem. 39 | Sapiente assumenda eius sit. Iusto veniam voluptatibus 40 | consectetur quia accusamus provident. 41 | 42 | Qui possimus quod impedit officiis aliquid molestiae deleniti 43 | inventore. Assumenda laboriosam voluptas odit ut. Aut consequatur 44 | omnis rem illo. 45 | -------------------------------------------------------------------------------- /essay.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Lorem ipsum 9 | 10 | 11 | 12 | 15 |
16 |
17 |

wed jul 25 take 4

18 |
19 |
20 |

Quibusdam sit blanditiis perspiciatis quam dolorem eum beatae. 21 | Repellat et autem aperiam. Et animi vitae numquam voluptatem. 22 | Illum aut velit enim ut sed ab cum.

23 |
24 |
25 |

Ipsa quam voluptas blanditiis. Nemo distinctio quisquam aut iste 26 | amet enim quidem. Inventore natus et est voluptatum. Unde nostrum 27 | non delectus omnis quisquam enim.

28 |
29 |
30 |

Exercitationem et fugit eveniet et. Sint qui qui accusamus nihil 31 | id qui deserunt. Illum sit dolor et odit voluptatem quia ipsa. 32 | Saepe enim adipisci maxime ratione sed sit corporis omnis. 33 | Officiis cumque dolorem delectus. Maiores eligendi quam porro.

34 |
35 |
36 |

Hic quibusdam vel vero reprehenderit quos quos ut eum. 37 | Accusantium nihil eligendi reiciendis quo voluptatem sint 38 | consequatur explicabo. Qui aut consequatur qui molestiae quia. 39 | Natus nesciunt sunt consequatur. Rem est labore et culpa suscipit 40 | dolorem enim laboriosam.

41 |
42 |
43 |

Molestiae quia est quia corrupti sit. Non expedita minus optio 44 | inventore deleniti. Libero qui qui molestiae quos ipsam esse et. 45 | Vel aspernatur repellat est voluptatem nam.

46 |
47 |
48 |

Eligendi fugiat et nobis nihil architecto cumque. In modi et 49 | accusamus rem aliquam. Ut vel exercitationem quod delectus illo 50 | dolores sint. Dolores et tenetur rem nemo facere ea omnis.

51 |
52 |
53 |

Reiciendis non atque quos rem voluptatem. Perferendis omnis a 54 | tempora magni. Non ipsam laudantium ipsa fuga qui saepe. Velit ea 55 | nobis magnam eos doloribus. Ipsum porro animi cumque porro 56 | ducimus reiciendis.

57 |
58 |
59 |

Sit optio et commodi. Qui possimus et quibusdam id sed qui qui 60 | dignissimos. Nulla ab cupiditate distinctio eos ut autem. 61 | Sapiente assumenda eius sit. Iusto veniam voluptatibus 62 | consectetur quia accusamus provident.

63 |
64 |
65 |

Qui possimus quod impedit officiis aliquid molestiae deleniti 66 | inventore. Assumenda laboriosam voluptas odit ut. Aut consequatur 67 | omnis rem illo.

68 |
69 |
70 | 75 | 76 | -------------------------------------------------------------------------------- /demo.adoc: -------------------------------------------------------------------------------- 1 | Asciidoctor Demo 2 | ================ 3 | //// 4 | Big ol' comment 5 | 6 | sittin' right 'tween this here title 'n header metadata 7 | //// 8 | Dan Allen 9 | :description: A demo of Asciidoctor. This document + 10 | exercises numerous features of AsciiDoc + 11 | to test Asciidoctor compliance. 12 | :library: Asciidoctor 13 | :idprefix: 14 | :numbered: 15 | :imagesdir: images 16 | :toc: manual 17 | :css-signature: demo 18 | :toc-placement: preamble 19 | //:max-width: 800px 20 | //:doctype: book 21 | //:sectids!: 22 | 23 | Let’s get this show on the road. 24 | 25 | This is a demonstration of {library} {asciidoctor-version}. 26 | And this is the preamble of this document. 27 | 28 | ifdef::env-github[] 29 | ++++ 30 | 31 | ++++ 32 | endif::env-github[] 33 | 34 | [[purpose]] 35 | .Purpose 36 | **** 37 | This document exercises many of the features of AsciiDoc to test the {library} implementation. 38 | **** 39 | 40 | TIP: If you want the output to look familiar, copy (or link) the AsciiDoc stylesheet, asciidoc.css, to the output directory. 41 | 42 | NOTE: Items marked with TODO are either not yet supported or a work in progress. 43 | 44 | == First Steps with AsciiDoc 45 | 46 | .Inline markup 47 | * single quotes around a phrase place 'emphasis' 48 | * astericks around a phrase make the text *bold* 49 | * double astericks around one or more **l**etters in a word make those letters bold 50 | * double underscore around a __sub__string in a word emphasizes that substring 51 | * use carrots around characters to make them ^super^script 52 | * use tildes around characters to make them ~sub~script 53 | 54 | // separate two adjacent lists using a line comment (only the leading // is required) 55 | 56 | - characters can be escaped using a {backslash} 57 | * for instance, you can escape a quote inside emphasized text like 'Here\'s Johnny!' 58 | - you can safely use reserved XML characters like <, > and &, which are escaped when rendering 59 | - force a space{sp}between inline elements using the \{sp} attribute 60 | - hold text together with an intrinsic non-breaking{nbsp}space attribute, \{nbsp} 61 | - handle words with unicode characters like in the name Gregory Romé 62 | - claim your copyright (C), registered trademark (R) or trademark (TM) 63 | 64 | You can write text http://example.com[with inline links], optionally{sp}using 65 | an explicit link:http://example.com[link prefix]. In either case, the link can 66 | have a http://example.com?foo=bar&lang=en[query string]. 67 | 68 | If you want to break a line + 69 | just end it in a {plus} sign + 70 | and continue typing on the next line. 71 | 72 | === Lists Upon Lists 73 | 74 | .Adjacent lists 75 | * this list 76 | * should join 77 | 78 | * to have 79 | * four items 80 | 81 | ifdef::env-github[] 82 | ++++ 83 | 84 | ++++ 85 | endif::env-github[] 86 | 87 | [[ordered]] 88 | .Ordered lists 89 | . These items 90 | . will be auto-numbered 91 | .. and can be nested 92 | . A numbered list can nest 93 | * unordered 94 | * list 95 | * items 96 | 97 | .Statement 98 | I swear I left it in 'Guy\'s' car. Let\'s go look for it. 99 | 100 | [[defs]] 101 | term:: 102 | definition 103 | line two 104 | [[another_term]]another term:: 105 | 106 | another definition, which can be literal (indented) or regular paragraph 107 | 108 | This should be a standalone paragraph, not grabbed by the definition list. 109 | 110 | [[nested]] 111 | * first level 112 | written on two lines 113 | * first level 114 | + 115 | .... 116 | with this literal text 117 | .... 118 | 119 | * first level 120 | 121 | with more literal text 122 | 123 | ** second level 124 | *** third level 125 | - fourth level 126 | * back to + 127 | first level 128 | 129 | // this is just a comment 130 | 131 | Let's make a horizontal rule... 132 | 133 | ''' 134 | 135 | then take a break. 136 | 137 | //// 138 | We'll be right with you... 139 | 140 | after this brief interruption. 141 | //// 142 | 143 | == ...and we're back! 144 | 145 | Want to see a image:tiger.png[Tiger]? 146 | 147 | Do you feel safer with the tiger in a box? 148 | 149 | .Tiger in a box 150 | image::tiger.png[] 151 | 152 | include::includes/include.adoc[] 153 | 154 | .Asciidoctor usage example. The listing should contain 5 lines. 155 | [source,ruby] 156 | -- 157 | require 'asciidoctor' 158 | 159 | doc = Asciidoctor.load '*This* is http://asciidoc.org[AsciiDoc]!', header_footer: true 160 | 161 | puts doc.render 162 | -- 163 | 164 | // TODO: Use ifdef to show output according to current backend 165 | .Output of Asciidoctor usage example 166 | ```html 167 | 168 | 169 | 170 | 171 | 172 | 173 | Untitled 174 | 175 | 176 | 177 | 179 |
180 |
181 |

This is AsciiDoc!

182 |
183 |
184 | 189 | 190 | 191 | ``` 192 | 193 | === Block Quotes and ``Smart'' Ones 194 | 195 | ____ 196 | AsciiDoc is 'so' *powerful*! 197 | ____ 198 | 199 | This verse comes to mind. 200 | 201 | [verse] 202 | La la la 203 | 204 | Here's another quote: 205 | 206 | [quote, Sir Arthur Conan Doyle, The Adventures of Sherlock Holmes] 207 | ____ 208 | When you have eliminated all which is impossible, then whatever remains, 209 | however improbable, must be the truth. 210 | ____ 211 | 212 | ``Get moving!'' he shouted. 213 | 214 | Getting Literal [[literally]] 215 | ----------------------------- 216 | 217 | Want to get literal? Just prefix a line with a space (just 1 space will do). 218 | 219 | .... 220 | I'll join that party, too. 221 | .... 222 | 223 | We forgot to mention in <> that you can change the numbering style. 224 | 225 | .. first item (yeah!) 226 | .. second item, looking `so mono` 227 | .. third item, +mono+ it is! 228 | 229 | // This attribute line will get reattached to the next block 230 | // despite being followed by a trailing blank line 231 | [id='wrapup'] 232 | 233 | == Wrap-up 234 | 235 | NOTE: AsciiDoc is quite cool, you should try it! 236 | 237 | [TIP] 238 | .Info 239 | ===== 240 | Go to this URL to learn more about it: 241 | 242 | * http://asciidoc.org 243 | 244 | Or you could return to the xref:first-steps-with-asciidoc[] or <>. 245 | ===== 246 | 247 | Here's a reference to the definition of <>, in case you forgot it. 248 | 249 | [NOTE] 250 | One more thing. Happy documenting! 251 | 252 | [[google]]When all else fails, head over to . 253 | -------------------------------------------------------------------------------- /asciidoctor.css: -------------------------------------------------------------------------------- 1 | /* Asciidoctor default stylesheet | MIT License | http://asciidoctor.org */ 2 | /* Uncomment @import statement below to use as custom stylesheet */ 3 | /*@import "https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700";*/ 4 | article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block} 5 | audio,canvas,video{display:inline-block} 6 | audio:not([controls]){display:none;height:0} 7 | script{display:none!important} 8 | html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%} 9 | a{background:transparent} 10 | a:focus{outline:thin dotted} 11 | a:active,a:hover{outline:0} 12 | h1{font-size:2em;margin:.67em 0} 13 | abbr[title]{border-bottom:1px dotted} 14 | b,strong{font-weight:bold} 15 | dfn{font-style:italic} 16 | hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0} 17 | mark{background:#ff0;color:#000} 18 | code,kbd,pre,samp{font-family:monospace;font-size:1em} 19 | pre{white-space:pre-wrap} 20 | q{quotes:"\201C" "\201D" "\2018" "\2019"} 21 | small{font-size:80%} 22 | sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline} 23 | sup{top:-.5em} 24 | sub{bottom:-.25em} 25 | img{border:0} 26 | svg:not(:root){overflow:hidden} 27 | figure{margin:0} 28 | fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em} 29 | legend{border:0;padding:0} 30 | button,input,select,textarea{font-family:inherit;font-size:100%;margin:0} 31 | button,input{line-height:normal} 32 | button,select{text-transform:none} 33 | button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer} 34 | button[disabled],html input[disabled]{cursor:default} 35 | input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0} 36 | button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0} 37 | textarea{overflow:auto;vertical-align:top} 38 | table{border-collapse:collapse;border-spacing:0} 39 | *,*::before,*::after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box} 40 | html,body{font-size:100%} 41 | body{background:#fff;color:rgba(0,0,0,.8);padding:0;margin:0;font-family:"Noto Serif","DejaVu Serif",serif;font-weight:400;font-style:normal;line-height:1;position:relative;cursor:auto;tab-size:4;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased} 42 | a:hover{cursor:pointer} 43 | img,object,embed{max-width:100%;height:auto} 44 | object,embed{height:100%} 45 | img{-ms-interpolation-mode:bicubic} 46 | .left{float:left!important} 47 | .right{float:right!important} 48 | .text-left{text-align:left!important} 49 | .text-right{text-align:right!important} 50 | .text-center{text-align:center!important} 51 | .text-justify{text-align:justify!important} 52 | .hide{display:none} 53 | img,object,svg{display:inline-block;vertical-align:middle} 54 | textarea{height:auto;min-height:50px} 55 | select{width:100%} 56 | .center{margin-left:auto;margin-right:auto} 57 | .stretch{width:100%} 58 | .subheader,.admonitionblock td.content>.title,.audioblock>.title,.exampleblock>.title,.imageblock>.title,.listingblock>.title,.literalblock>.title,.stemblock>.title,.openblock>.title,.paragraph>.title,.quoteblock>.title,table.tableblock>.title,.verseblock>.title,.videoblock>.title,.dlist>.title,.olist>.title,.ulist>.title,.qlist>.title,.hdlist>.title{line-height:1.45;color:#7a2518;font-weight:400;margin-top:0;margin-bottom:.25em} 59 | div,dl,dt,dd,ul,ol,li,h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6,pre,form,p,blockquote,th,td{margin:0;padding:0;direction:ltr} 60 | a{color:#2156a5;text-decoration:underline;line-height:inherit} 61 | a:hover,a:focus{color:#1d4b8f} 62 | a img{border:none} 63 | p{font-family:inherit;font-weight:400;font-size:1em;line-height:1.6;margin-bottom:1.25em;text-rendering:optimizeLegibility} 64 | p aside{font-size:.875em;line-height:1.35;font-style:italic} 65 | h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{font-family:"Open Sans","DejaVu Sans",sans-serif;font-weight:300;font-style:normal;color:#ba3925;text-rendering:optimizeLegibility;margin-top:1em;margin-bottom:.5em;line-height:1.0125em} 66 | h1 small,h2 small,h3 small,#toctitle small,.sidebarblock>.content>.title small,h4 small,h5 small,h6 small{font-size:60%;color:#e99b8f;line-height:0} 67 | h1{font-size:2.125em} 68 | h2{font-size:1.6875em} 69 | h3,#toctitle,.sidebarblock>.content>.title{font-size:1.375em} 70 | h4,h5{font-size:1.125em} 71 | h6{font-size:1em} 72 | hr{border:solid #ddddd8;border-width:1px 0 0;clear:both;margin:1.25em 0 1.1875em;height:0} 73 | em,i{font-style:italic;line-height:inherit} 74 | strong,b{font-weight:bold;line-height:inherit} 75 | small{font-size:60%;line-height:inherit} 76 | code{font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;font-weight:400;color:rgba(0,0,0,.9)} 77 | ul,ol,dl{font-size:1em;line-height:1.6;margin-bottom:1.25em;list-style-position:outside;font-family:inherit} 78 | ul,ol{margin-left:1.5em} 79 | ul li ul,ul li ol{margin-left:1.25em;margin-bottom:0;font-size:1em} 80 | ul.square li ul,ul.circle li ul,ul.disc li ul{list-style:inherit} 81 | ul.square{list-style-type:square} 82 | ul.circle{list-style-type:circle} 83 | ul.disc{list-style-type:disc} 84 | ol li ul,ol li ol{margin-left:1.25em;margin-bottom:0} 85 | dl dt{margin-bottom:.3125em;font-weight:bold} 86 | dl dd{margin-bottom:1.25em} 87 | abbr,acronym{text-transform:uppercase;font-size:90%;color:rgba(0,0,0,.8);border-bottom:1px dotted #ddd;cursor:help} 88 | abbr{text-transform:none} 89 | blockquote{margin:0 0 1.25em;padding:.5625em 1.25em 0 1.1875em;border-left:1px solid #ddd} 90 | blockquote cite{display:block;font-size:.9375em;color:rgba(0,0,0,.6)} 91 | blockquote cite::before{content:"\2014 \0020"} 92 | blockquote cite a,blockquote cite a:visited{color:rgba(0,0,0,.6)} 93 | blockquote,blockquote p{line-height:1.6;color:rgba(0,0,0,.85)} 94 | @media screen and (min-width:768px){h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{line-height:1.2} 95 | h1{font-size:2.75em} 96 | h2{font-size:2.3125em} 97 | h3,#toctitle,.sidebarblock>.content>.title{font-size:1.6875em} 98 | h4{font-size:1.4375em}} 99 | table{background:#fff;margin-bottom:1.25em;border:solid 1px #dedede} 100 | table thead,table tfoot{background:#f7f8f7} 101 | table thead tr th,table thead tr td,table tfoot tr th,table tfoot tr td{padding:.5em .625em .625em;font-size:inherit;color:rgba(0,0,0,.8);text-align:left} 102 | table tr th,table tr td{padding:.5625em .625em;font-size:inherit;color:rgba(0,0,0,.8)} 103 | table tr.even,table tr.alt,table tr:nth-of-type(even){background:#f8f8f7} 104 | table thead tr th,table tfoot tr th,table tbody tr td,table tr td,table tfoot tr td{display:table-cell;line-height:1.6} 105 | h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{line-height:1.2;word-spacing:-.05em} 106 | h1 strong,h2 strong,h3 strong,#toctitle strong,.sidebarblock>.content>.title strong,h4 strong,h5 strong,h6 strong{font-weight:400} 107 | .clearfix::before,.clearfix::after,.float-group::before,.float-group::after{content:" ";display:table} 108 | .clearfix::after,.float-group::after{clear:both} 109 | *:not(pre)>code{font-size:.9375em;font-style:normal!important;letter-spacing:0;padding:.1em .5ex;word-spacing:-.15em;background-color:#f7f7f8;-webkit-border-radius:4px;border-radius:4px;line-height:1.45;text-rendering:optimizeSpeed;word-wrap:break-word} 110 | *:not(pre)>code.nobreak{word-wrap:normal} 111 | *:not(pre)>code.nowrap{white-space:nowrap} 112 | pre,pre>code{line-height:1.45;color:rgba(0,0,0,.9);font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;font-weight:400;text-rendering:optimizeSpeed} 113 | em em{font-style:normal} 114 | strong strong{font-weight:400} 115 | .keyseq{color:rgba(51,51,51,.8)} 116 | kbd{font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;display:inline-block;color:rgba(0,0,0,.8);font-size:.65em;line-height:1.45;background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,.2),0 0 0 .1em white inset;box-shadow:0 1px 0 rgba(0,0,0,.2),0 0 0 .1em #fff inset;margin:0 .15em;padding:.2em .5em;vertical-align:middle;position:relative;top:-.1em;white-space:nowrap} 117 | .keyseq kbd:first-child{margin-left:0} 118 | .keyseq kbd:last-child{margin-right:0} 119 | .menuseq,.menuref{color:#000} 120 | .menuseq b:not(.caret),.menuref{font-weight:inherit} 121 | .menuseq{word-spacing:-.02em} 122 | .menuseq b.caret{font-size:1.25em;line-height:.8} 123 | .menuseq i.caret{font-weight:bold;text-align:center;width:.45em} 124 | b.button::before,b.button::after{position:relative;top:-1px;font-weight:400} 125 | b.button::before{content:"[";padding:0 3px 0 2px} 126 | b.button::after{content:"]";padding:0 2px 0 3px} 127 | p a>code:hover{color:rgba(0,0,0,.9)} 128 | #header,#content,#footnotes,#footer{width:100%;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;max-width:62.5em;*zoom:1;position:relative;padding-left:.9375em;padding-right:.9375em} 129 | #header::before,#header::after,#content::before,#content::after,#footnotes::before,#footnotes::after,#footer::before,#footer::after{content:" ";display:table} 130 | #header::after,#content::after,#footnotes::after,#footer::after{clear:both} 131 | #content{margin-top:1.25em} 132 | #content::before{content:none} 133 | #header>h1:first-child{color:rgba(0,0,0,.85);margin-top:2.25rem;margin-bottom:0} 134 | #header>h1:first-child+#toc{margin-top:8px;border-top:1px solid #ddddd8} 135 | #header>h1:only-child,body.toc2 #header>h1:nth-last-child(2){border-bottom:1px solid #ddddd8;padding-bottom:8px} 136 | #header .details{border-bottom:1px solid #ddddd8;line-height:1.45;padding-top:.25em;padding-bottom:.25em;padding-left:.25em;color:rgba(0,0,0,.6);display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-flow:row wrap;-webkit-flex-flow:row wrap;flex-flow:row wrap} 137 | #header .details span:first-child{margin-left:-.125em} 138 | #header .details span.email a{color:rgba(0,0,0,.85)} 139 | #header .details br{display:none} 140 | #header .details br+span::before{content:"\00a0\2013\00a0"} 141 | #header .details br+span.author::before{content:"\00a0\22c5\00a0";color:rgba(0,0,0,.85)} 142 | #header .details br+span#revremark::before{content:"\00a0|\00a0"} 143 | #header #revnumber{text-transform:capitalize} 144 | #header #revnumber::after{content:"\00a0"} 145 | #content>h1:first-child:not([class]){color:rgba(0,0,0,.85);border-bottom:1px solid #ddddd8;padding-bottom:8px;margin-top:0;padding-top:1rem;margin-bottom:1.25rem} 146 | #toc{border-bottom:1px solid #efefed;padding-bottom:.5em} 147 | #toc>ul{margin-left:.125em} 148 | #toc ul.sectlevel0>li>a{font-style:italic} 149 | #toc ul.sectlevel0 ul.sectlevel1{margin:.5em 0} 150 | #toc ul{font-family:"Open Sans","DejaVu Sans",sans-serif;list-style-type:none} 151 | #toc li{line-height:1.3334;margin-top:.3334em} 152 | #toc a{text-decoration:none} 153 | #toc a:active{text-decoration:underline} 154 | #toctitle{color:#7a2518;font-size:1.2em} 155 | @media screen and (min-width:768px){#toctitle{font-size:1.375em} 156 | body.toc2{padding-left:15em;padding-right:0} 157 | #toc.toc2{margin-top:0!important;background-color:#f8f8f7;position:fixed;width:15em;left:0;top:0;border-right:1px solid #efefed;border-top-width:0!important;border-bottom-width:0!important;z-index:1000;padding:1.25em 1em;height:100%;overflow:auto} 158 | #toc.toc2 #toctitle{margin-top:0;margin-bottom:.8rem;font-size:1.2em} 159 | #toc.toc2>ul{font-size:.9em;margin-bottom:0} 160 | #toc.toc2 ul ul{margin-left:0;padding-left:1em} 161 | #toc.toc2 ul.sectlevel0 ul.sectlevel1{padding-left:0;margin-top:.5em;margin-bottom:.5em} 162 | body.toc2.toc-right{padding-left:0;padding-right:15em} 163 | body.toc2.toc-right #toc.toc2{border-right-width:0;border-left:1px solid #efefed;left:auto;right:0}} 164 | @media screen and (min-width:1280px){body.toc2{padding-left:20em;padding-right:0} 165 | #toc.toc2{width:20em} 166 | #toc.toc2 #toctitle{font-size:1.375em} 167 | #toc.toc2>ul{font-size:.95em} 168 | #toc.toc2 ul ul{padding-left:1.25em} 169 | body.toc2.toc-right{padding-left:0;padding-right:20em}} 170 | #content #toc{border-style:solid;border-width:1px;border-color:#e0e0dc;margin-bottom:1.25em;padding:1.25em;background:#f8f8f7;-webkit-border-radius:4px;border-radius:4px} 171 | #content #toc>:first-child{margin-top:0} 172 | #content #toc>:last-child{margin-bottom:0} 173 | #footer{max-width:100%;background-color:rgba(0,0,0,.8);padding:1.25em} 174 | #footer-text{color:rgba(255,255,255,.8);line-height:1.44} 175 | #content{margin-bottom:.625em} 176 | .sect1{padding-bottom:.625em} 177 | @media screen and (min-width:768px){#content{margin-bottom:1.25em} 178 | .sect1{padding-bottom:1.25em}} 179 | .sect1:last-child{padding-bottom:0} 180 | .sect1+.sect1{border-top:1px solid #efefed} 181 | #content h1>a.anchor,h2>a.anchor,h3>a.anchor,#toctitle>a.anchor,.sidebarblock>.content>.title>a.anchor,h4>a.anchor,h5>a.anchor,h6>a.anchor{position:absolute;z-index:1001;width:1.5ex;margin-left:-1.5ex;display:block;text-decoration:none!important;visibility:hidden;text-align:center;font-weight:400} 182 | #content h1>a.anchor::before,h2>a.anchor::before,h3>a.anchor::before,#toctitle>a.anchor::before,.sidebarblock>.content>.title>a.anchor::before,h4>a.anchor::before,h5>a.anchor::before,h6>a.anchor::before{content:"\00A7";font-size:.85em;display:block;padding-top:.1em} 183 | #content h1:hover>a.anchor,#content h1>a.anchor:hover,h2:hover>a.anchor,h2>a.anchor:hover,h3:hover>a.anchor,#toctitle:hover>a.anchor,.sidebarblock>.content>.title:hover>a.anchor,h3>a.anchor:hover,#toctitle>a.anchor:hover,.sidebarblock>.content>.title>a.anchor:hover,h4:hover>a.anchor,h4>a.anchor:hover,h5:hover>a.anchor,h5>a.anchor:hover,h6:hover>a.anchor,h6>a.anchor:hover{visibility:visible} 184 | #content h1>a.link,h2>a.link,h3>a.link,#toctitle>a.link,.sidebarblock>.content>.title>a.link,h4>a.link,h5>a.link,h6>a.link{color:#ba3925;text-decoration:none} 185 | #content h1>a.link:hover,h2>a.link:hover,h3>a.link:hover,#toctitle>a.link:hover,.sidebarblock>.content>.title>a.link:hover,h4>a.link:hover,h5>a.link:hover,h6>a.link:hover{color:#a53221} 186 | .audioblock,.imageblock,.literalblock,.listingblock,.stemblock,.videoblock{margin-bottom:1.25em} 187 | .admonitionblock td.content>.title,.audioblock>.title,.exampleblock>.title,.imageblock>.title,.listingblock>.title,.literalblock>.title,.stemblock>.title,.openblock>.title,.paragraph>.title,.quoteblock>.title,table.tableblock>.title,.verseblock>.title,.videoblock>.title,.dlist>.title,.olist>.title,.ulist>.title,.qlist>.title,.hdlist>.title{text-rendering:optimizeLegibility;text-align:left;font-family:"Noto Serif","DejaVu Serif",serif;font-size:1rem;font-style:italic} 188 | table.tableblock.fit-content>caption.title{white-space:nowrap;width:0} 189 | .paragraph.lead>p,#preamble>.sectionbody>[class="paragraph"]:first-of-type p{font-size:1.21875em;line-height:1.6;color:rgba(0,0,0,.85)} 190 | table.tableblock #preamble>.sectionbody>[class="paragraph"]:first-of-type p{font-size:inherit} 191 | .admonitionblock>table{border-collapse:separate;border:0;background:none;width:100%} 192 | .admonitionblock>table td.icon{text-align:center;width:80px} 193 | .admonitionblock>table td.icon img{max-width:none} 194 | .admonitionblock>table td.icon .title{font-weight:bold;font-family:"Open Sans","DejaVu Sans",sans-serif;text-transform:uppercase} 195 | .admonitionblock>table td.content{padding-left:1.125em;padding-right:1.25em;border-left:1px solid #ddddd8;color:rgba(0,0,0,.6)} 196 | .admonitionblock>table td.content>:last-child>:last-child{margin-bottom:0} 197 | .exampleblock>.content{border-style:solid;border-width:1px;border-color:#e6e6e6;margin-bottom:1.25em;padding:1.25em;background:#fff;-webkit-border-radius:4px;border-radius:4px} 198 | .exampleblock>.content>:first-child{margin-top:0} 199 | .exampleblock>.content>:last-child{margin-bottom:0} 200 | .sidebarblock{border-style:solid;border-width:1px;border-color:#e0e0dc;margin-bottom:1.25em;padding:1.25em;background:#f8f8f7;-webkit-border-radius:4px;border-radius:4px} 201 | .sidebarblock>:first-child{margin-top:0} 202 | .sidebarblock>:last-child{margin-bottom:0} 203 | .sidebarblock>.content>.title{color:#7a2518;margin-top:0;text-align:center} 204 | .exampleblock>.content>:last-child>:last-child,.exampleblock>.content .olist>ol>li:last-child>:last-child,.exampleblock>.content .ulist>ul>li:last-child>:last-child,.exampleblock>.content .qlist>ol>li:last-child>:last-child,.sidebarblock>.content>:last-child>:last-child,.sidebarblock>.content .olist>ol>li:last-child>:last-child,.sidebarblock>.content .ulist>ul>li:last-child>:last-child,.sidebarblock>.content .qlist>ol>li:last-child>:last-child{margin-bottom:0} 205 | .literalblock pre,.listingblock pre:not(.highlight),.listingblock pre[class="highlight"],.listingblock pre[class^="highlight "],.listingblock pre.CodeRay,.listingblock pre.prettyprint{background:#f7f7f8} 206 | .sidebarblock .literalblock pre,.sidebarblock .listingblock pre:not(.highlight),.sidebarblock .listingblock pre[class="highlight"],.sidebarblock .listingblock pre[class^="highlight "],.sidebarblock .listingblock pre.CodeRay,.sidebarblock .listingblock pre.prettyprint{background:#f2f1f1} 207 | .literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{-webkit-border-radius:4px;border-radius:4px;word-wrap:break-word;padding:1em;font-size:.8125em} 208 | .literalblock pre.nowrap,.literalblock pre[class].nowrap,.listingblock pre.nowrap,.listingblock pre[class].nowrap{overflow-x:auto;white-space:pre;word-wrap:normal} 209 | @media screen and (min-width:768px){.literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{font-size:.90625em}} 210 | @media screen and (min-width:1280px){.literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{font-size:1em}} 211 | .literalblock.output pre{color:#f7f7f8;background-color:rgba(0,0,0,.9)} 212 | .listingblock pre.highlightjs{padding:0} 213 | .listingblock pre.highlightjs>code{padding:1em;-webkit-border-radius:4px;border-radius:4px} 214 | .listingblock pre.prettyprint{border-width:0} 215 | .listingblock>.content{position:relative} 216 | .listingblock code[data-lang]::before{display:none;content:attr(data-lang);position:absolute;font-size:.75em;top:.425rem;right:.5rem;line-height:1;text-transform:uppercase;color:#999} 217 | .listingblock:hover code[data-lang]::before{display:block} 218 | .listingblock.terminal pre .command::before{content:attr(data-prompt);padding-right:.5em;color:#999} 219 | .listingblock.terminal pre .command:not([data-prompt])::before{content:"$"} 220 | table.pyhltable{border-collapse:separate;border:0;margin-bottom:0;background:none} 221 | table.pyhltable td{vertical-align:top;padding-top:0;padding-bottom:0;line-height:1.45} 222 | table.pyhltable td.code{padding-left:.75em;padding-right:0} 223 | pre.pygments .lineno,table.pyhltable td:not(.code){color:#999;padding-left:0;padding-right:.5em;border-right:1px solid #ddddd8} 224 | pre.pygments .lineno{display:inline-block;margin-right:.25em} 225 | table.pyhltable .linenodiv{background:none!important;padding-right:0!important} 226 | .quoteblock{margin:0 1em 1.25em 1.5em;display:table} 227 | .quoteblock>.title{margin-left:-1.5em;margin-bottom:.75em} 228 | .quoteblock blockquote,.quoteblock blockquote p{color:rgba(0,0,0,.85);font-size:1.15rem;line-height:1.75;word-spacing:.1em;letter-spacing:0;font-style:italic;text-align:justify} 229 | .quoteblock blockquote{margin:0;padding:0;border:0} 230 | .quoteblock blockquote::before{content:"\201c";float:left;font-size:2.75em;font-weight:bold;line-height:.6em;margin-left:-.6em;color:#7a2518;text-shadow:0 1px 2px rgba(0,0,0,.1)} 231 | .quoteblock blockquote>.paragraph:last-child p{margin-bottom:0} 232 | .quoteblock .attribution{margin-top:.5em;margin-right:.5ex;text-align:right} 233 | .quoteblock .quoteblock{margin-left:0;margin-right:0;padding:.5em 0;border-left:3px solid rgba(0,0,0,.6)} 234 | .quoteblock .quoteblock blockquote{padding:0 0 0 .75em} 235 | .quoteblock .quoteblock blockquote::before{display:none} 236 | .verseblock{margin:0 1em 1.25em} 237 | .verseblock pre{font-family:"Open Sans","DejaVu Sans",sans;font-size:1.15rem;color:rgba(0,0,0,.85);font-weight:300;text-rendering:optimizeLegibility} 238 | .verseblock pre strong{font-weight:400} 239 | .verseblock .attribution{margin-top:1.25rem;margin-left:.5ex} 240 | .quoteblock .attribution,.verseblock .attribution{font-size:.9375em;line-height:1.45;font-style:italic} 241 | .quoteblock .attribution br,.verseblock .attribution br{display:none} 242 | .quoteblock .attribution cite,.verseblock .attribution cite{display:block;letter-spacing:-.025em;color:rgba(0,0,0,.6)} 243 | .quoteblock.abstract{margin:0 1em 1.25em;display:block} 244 | .quoteblock.abstract>.title{margin:0 0 .375em;font-size:1.15em;text-align:center} 245 | .quoteblock.abstract blockquote,.quoteblock.abstract blockquote p{word-spacing:0;line-height:1.6} 246 | .quoteblock.abstract blockquote::before,.quoteblock.abstract p::before{display:none} 247 | table.tableblock{max-width:100%;border-collapse:separate} 248 | p.tableblock:last-child{margin-bottom:0} 249 | td.tableblock>.content{margin-bottom:-1.25em} 250 | table.tableblock,th.tableblock,td.tableblock{border:0 solid #dedede} 251 | table.grid-all>thead>tr>.tableblock,table.grid-all>tbody>tr>.tableblock{border-width:0 1px 1px 0} 252 | table.grid-all>tfoot>tr>.tableblock{border-width:1px 1px 0 0} 253 | table.grid-cols>*>tr>.tableblock{border-width:0 1px 0 0} 254 | table.grid-rows>thead>tr>.tableblock,table.grid-rows>tbody>tr>.tableblock{border-width:0 0 1px} 255 | table.grid-rows>tfoot>tr>.tableblock{border-width:1px 0 0} 256 | table.grid-all>*>tr>.tableblock:last-child,table.grid-cols>*>tr>.tableblock:last-child{border-right-width:0} 257 | table.grid-all>tbody>tr:last-child>.tableblock,table.grid-all>thead:last-child>tr>.tableblock,table.grid-rows>tbody>tr:last-child>.tableblock,table.grid-rows>thead:last-child>tr>.tableblock{border-bottom-width:0} 258 | table.frame-all{border-width:1px} 259 | table.frame-sides{border-width:0 1px} 260 | table.frame-topbot,table.frame-ends{border-width:1px 0} 261 | table.stripes-all tr,table.stripes-odd tr:nth-of-type(odd){background:#f8f8f7} 262 | table.stripes-none tr,table.stripes-odd tr:nth-of-type(even){background:none} 263 | th.halign-left,td.halign-left{text-align:left} 264 | th.halign-right,td.halign-right{text-align:right} 265 | th.halign-center,td.halign-center{text-align:center} 266 | th.valign-top,td.valign-top{vertical-align:top} 267 | th.valign-bottom,td.valign-bottom{vertical-align:bottom} 268 | th.valign-middle,td.valign-middle{vertical-align:middle} 269 | table thead th,table tfoot th{font-weight:bold} 270 | tbody tr th{display:table-cell;line-height:1.6;background:#f7f8f7} 271 | tbody tr th,tbody tr th p,tfoot tr th,tfoot tr th p{color:rgba(0,0,0,.8);font-weight:bold} 272 | p.tableblock>code:only-child{background:none;padding:0} 273 | p.tableblock{font-size:1em} 274 | td>div.verse{white-space:pre} 275 | ol{margin-left:1.75em} 276 | ul li ol{margin-left:1.5em} 277 | dl dd{margin-left:1.125em} 278 | dl dd:last-child,dl dd:last-child>:last-child{margin-bottom:0} 279 | ol>li p,ul>li p,ul dd,ol dd,.olist .olist,.ulist .ulist,.ulist .olist,.olist .ulist{margin-bottom:.625em} 280 | ul.checklist,ul.none,ol.none,ul.no-bullet,ol.no-bullet,ol.unnumbered,ul.unstyled,ol.unstyled{list-style-type:none} 281 | ul.no-bullet,ol.no-bullet,ol.unnumbered{margin-left:.625em} 282 | ul.unstyled,ol.unstyled{margin-left:0} 283 | ul.checklist{margin-left:.625em} 284 | ul.checklist li>p:first-child>.fa-square-o:first-child,ul.checklist li>p:first-child>.fa-check-square-o:first-child{width:1.25em;font-size:.8em;position:relative;bottom:.125em} 285 | ul.checklist li>p:first-child>input[type="checkbox"]:first-child{margin-right:.25em} 286 | ul.inline{display:-ms-flexbox;display:-webkit-box;display:flex;-ms-flex-flow:row wrap;-webkit-flex-flow:row wrap;flex-flow:row wrap;list-style:none;margin:0 0 .625em -1.25em} 287 | ul.inline>li{margin-left:1.25em} 288 | .unstyled dl dt{font-weight:400;font-style:normal} 289 | ol.arabic{list-style-type:decimal} 290 | ol.decimal{list-style-type:decimal-leading-zero} 291 | ol.loweralpha{list-style-type:lower-alpha} 292 | ol.upperalpha{list-style-type:upper-alpha} 293 | ol.lowerroman{list-style-type:lower-roman} 294 | ol.upperroman{list-style-type:upper-roman} 295 | ol.lowergreek{list-style-type:lower-greek} 296 | .hdlist>table,.colist>table{border:0;background:none} 297 | .hdlist>table>tbody>tr,.colist>table>tbody>tr{background:none} 298 | td.hdlist1,td.hdlist2{vertical-align:top;padding:0 .625em} 299 | td.hdlist1{font-weight:bold;padding-bottom:1.25em} 300 | .literalblock+.colist,.listingblock+.colist{margin-top:-.5em} 301 | .colist td:not([class]):first-child{padding:.4em .75em 0;line-height:1;vertical-align:top} 302 | .colist td:not([class]):first-child img{max-width:none} 303 | .colist td:not([class]):last-child{padding:.25em 0} 304 | .thumb,.th{line-height:0;display:inline-block;border:solid 4px #fff;-webkit-box-shadow:0 0 0 1px #ddd;box-shadow:0 0 0 1px #ddd} 305 | .imageblock.left,.imageblock[style*="float: left"]{margin:.25em .625em 1.25em 0} 306 | .imageblock.right,.imageblock[style*="float: right"]{margin:.25em 0 1.25em .625em} 307 | .imageblock>.title{margin-bottom:0} 308 | .imageblock.thumb,.imageblock.th{border-width:6px} 309 | .imageblock.thumb>.title,.imageblock.th>.title{padding:0 .125em} 310 | .image.left,.image.right{margin-top:.25em;margin-bottom:.25em;display:inline-block;line-height:0} 311 | .image.left{margin-right:.625em} 312 | .image.right{margin-left:.625em} 313 | a.image{text-decoration:none;display:inline-block} 314 | a.image object{pointer-events:none} 315 | sup.footnote,sup.footnoteref{font-size:.875em;position:static;vertical-align:super} 316 | sup.footnote a,sup.footnoteref a{text-decoration:none} 317 | sup.footnote a:active,sup.footnoteref a:active{text-decoration:underline} 318 | #footnotes{padding-top:.75em;padding-bottom:.75em;margin-bottom:.625em} 319 | #footnotes hr{width:20%;min-width:6.25em;margin:-.25em 0 .75em;border-width:1px 0 0} 320 | #footnotes .footnote{padding:0 .375em 0 .225em;line-height:1.3334;font-size:.875em;margin-left:1.2em;margin-bottom:.2em} 321 | #footnotes .footnote a:first-of-type{font-weight:bold;text-decoration:none;margin-left:-1.05em} 322 | #footnotes .footnote:last-of-type{margin-bottom:0} 323 | #content #footnotes{margin-top:-.625em;margin-bottom:0;padding:.75em 0} 324 | .gist .file-data>table{border:0;background:#fff;width:100%;margin-bottom:0} 325 | .gist .file-data>table td.line-data{width:99%} 326 | div.unbreakable{page-break-inside:avoid} 327 | .big{font-size:larger} 328 | .small{font-size:smaller} 329 | .underline{text-decoration:underline} 330 | .overline{text-decoration:overline} 331 | .line-through{text-decoration:line-through} 332 | .aqua{color:#00bfbf} 333 | .aqua-background{background-color:#00fafa} 334 | .black{color:#000} 335 | .black-background{background-color:#000} 336 | .blue{color:#0000bf} 337 | .blue-background{background-color:#0000fa} 338 | .fuchsia{color:#bf00bf} 339 | .fuchsia-background{background-color:#fa00fa} 340 | .gray{color:#606060} 341 | .gray-background{background-color:#7d7d7d} 342 | .green{color:#006000} 343 | .green-background{background-color:#007d00} 344 | .lime{color:#00bf00} 345 | .lime-background{background-color:#00fa00} 346 | .maroon{color:#600000} 347 | .maroon-background{background-color:#7d0000} 348 | .navy{color:#000060} 349 | .navy-background{background-color:#00007d} 350 | .olive{color:#606000} 351 | .olive-background{background-color:#7d7d00} 352 | .purple{color:#600060} 353 | .purple-background{background-color:#7d007d} 354 | .red{color:#bf0000} 355 | .red-background{background-color:#fa0000} 356 | .silver{color:#909090} 357 | .silver-background{background-color:#bcbcbc} 358 | .teal{color:#006060} 359 | .teal-background{background-color:#007d7d} 360 | .white{color:#bfbfbf} 361 | .white-background{background-color:#fafafa} 362 | .yellow{color:#bfbf00} 363 | .yellow-background{background-color:#fafa00} 364 | span.icon>.fa{cursor:default} 365 | a span.icon>.fa{cursor:inherit} 366 | .admonitionblock td.icon [class^="fa icon-"]{font-size:2.5em;text-shadow:1px 1px 2px rgba(0,0,0,.5);cursor:default} 367 | .admonitionblock td.icon .icon-note::before{content:"\f05a";color:#19407c} 368 | .admonitionblock td.icon .icon-tip::before{content:"\f0eb";text-shadow:1px 1px 2px rgba(155,155,0,.8);color:#111} 369 | .admonitionblock td.icon .icon-warning::before{content:"\f071";color:#bf6900} 370 | .admonitionblock td.icon .icon-caution::before{content:"\f06d";color:#bf3400} 371 | .admonitionblock td.icon .icon-important::before{content:"\f06a";color:#bf0000} 372 | .conum[data-value]{display:inline-block;color:#fff!important;background-color:rgba(0,0,0,.8);-webkit-border-radius:100px;border-radius:100px;text-align:center;font-size:.75em;width:1.67em;height:1.67em;line-height:1.67em;font-family:"Open Sans","DejaVu Sans",sans-serif;font-style:normal;font-weight:bold} 373 | .conum[data-value] *{color:#fff!important} 374 | .conum[data-value]+b{display:none} 375 | .conum[data-value]::after{content:attr(data-value)} 376 | pre .conum[data-value]{position:relative;top:-.125em} 377 | b.conum *{color:inherit!important} 378 | .conum:not([data-value]):empty{display:none} 379 | dt,th.tableblock,td.content,div.footnote{text-rendering:optimizeLegibility} 380 | h1,h2,p,td.content,span.alt{letter-spacing:-.01em} 381 | p strong,td.content strong,div.footnote strong{letter-spacing:-.005em} 382 | p,blockquote,dt,td.content,span.alt{font-size:1.0625rem} 383 | p{margin-bottom:1.25rem} 384 | .sidebarblock p,.sidebarblock dt,.sidebarblock td.content,p.tableblock{font-size:1em} 385 | .exampleblock>.content{background-color:#fffef7;border-color:#e0e0dc;-webkit-box-shadow:0 1px 4px #e0e0dc;box-shadow:0 1px 4px #e0e0dc} 386 | .print-only{display:none!important} 387 | @page{margin:1.25cm .75cm} 388 | @media print{*{-webkit-box-shadow:none!important;box-shadow:none!important;text-shadow:none!important} 389 | html{font-size:80%} 390 | a{color:inherit!important;text-decoration:underline!important} 391 | a.bare,a[href^="#"],a[href^="mailto:"]{text-decoration:none!important} 392 | a[href^="http:"]:not(.bare)::after,a[href^="https:"]:not(.bare)::after{content:"(" attr(href) ")";display:inline-block;font-size:.875em;padding-left:.25em} 393 | abbr[title]::after{content:" (" attr(title) ")"} 394 | pre,blockquote,tr,img,object,svg{page-break-inside:avoid} 395 | thead{display:table-header-group} 396 | svg{max-width:100%} 397 | p,blockquote,dt,td.content{font-size:1em;orphans:3;widows:3} 398 | h2,h3,#toctitle,.sidebarblock>.content>.title{page-break-after:avoid} 399 | #toc,.sidebarblock,.exampleblock>.content{background:none!important} 400 | #toc{border-bottom:1px solid #ddddd8!important;padding-bottom:0!important} 401 | body.book #header{text-align:center} 402 | body.book #header>h1:first-child{border:0!important;margin:2.5em 0 1em} 403 | body.book #header .details{border:0!important;display:block;padding:0!important} 404 | body.book #header .details span:first-child{margin-left:0!important} 405 | body.book #header .details br{display:block} 406 | body.book #header .details br+span::before{content:none!important} 407 | body.book #toc{border:0!important;text-align:left!important;padding:0!important;margin:0!important} 408 | body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-break-before:always} 409 | .listingblock code[data-lang]::before{display:block} 410 | #footer{padding:0 .9375em} 411 | .hide-on-print{display:none!important} 412 | .print-only{display:block!important} 413 | .hide-for-print{display:none!important} 414 | .show-for-print{display:inherit!important}} 415 | @media print,amzn-kf8{#header>h1:first-child{margin-top:1.25rem} 416 | .sect1{padding:0!important} 417 | .sect1+.sect1{border:0} 418 | #footer{background:none} 419 | #footer-text{color:rgba(0,0,0,.6);font-size:.9em}} 420 | @media amzn-kf8{#header,#content,#footnotes,#footer{padding:0}} --------------------------------------------------------------------------------