body{ font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; margin: 0.5em 0em; font-size: 1em; text-align: left; } h1, h2, h3, h4, h5, h6{ font-family: Helvetica, Arial, sans-serif; } h1, h2{ margin: 1.5em 0em 0.5em 0em; } h3, h4{ margin: 1.25em 0em 0.5em 0em; } h5, h6{ margin: 1em 0em 0.5em 0em; } h1.chapterNumber{ font-size: 3.5em; text-align: right; margin-top: 1em; } h1.chapterTitle{ font-size: 2.5em; text-align: right; font-style: normal; padding-bottom: 0.5em; /*border-bottom: 2px solid black;*/ margin-top: 0em; } li{ margin-top: 0.35em; margin-bottom: 0.35em; } table{ margin: auto; } table, table td{ border: 1px solid black; border-collapse: collapse; } table td{ padding: 3.5px 8px; font-size: 0.9em; } figure.mediaobject{ margin: 1em 0em; text-align: center; } figure.mediaobject img{ max-width: 100%; } p.normal > img, div.note p img, div.packt_tip p img, li > img{ width: auto; vertical-align: text-bottom; } div.packt_tip, div.note{ text-align: left; font-size: 0.9em; font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; background-color: white; box-shadow: 80px 0px 0px 0px rgba(0, 0, 0, 0.125) inset; background-repeat: no-repeat; background-size: 50px auto; background-position: 15px center; padding: 0px 15px 0px 95px; border: 5px solid rgba(0, 0, 0, 0.125); border-radius: 10px; margin: 1.5em 1em; word-wrap: break-word; } div.packt_tip{ background-image: url("../Images/lightbulb.png"); } div.note{ background-image: url("../Images/Information_Box_Icon.png"); } div.packt_tip::before{ display: block; width: 100%; height: 5px; background: white; content: ""; margin: -5px 0px 10px 0px; } div.packt_tip::after{ display: block; width: 100%; height: 5px; background: white; content: ""; margin: 10px 0px -5px 0px; } div.note::before{ display: block; width: 100%; height: 5px; background: white; content: ""; margin: -5px 0px 10px 0px; } div.note::after{ display: block; width: 100%; height: 5px; background: white; content: ""; margin: 10px 0px -5px 0px; } pre.programlisting{ margin-top: 0.125em; margin-bottom: 0.125em; margin-left: 30px; margin-right: 30px; overflow-x: auto; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; } li pre:first-of-type{ margin-top: 0.75em; } blockquote.packt_quote{ font-family: "Cambria", "Georgia", Serif; font-style: italic; font-size: 1.1em; line-height: 1.4em; background-color: #eeeeee; padding: 10px 15px 10px 25px; border-radius: 10px; border-left: 15px solid lightgray; } blockquote.packt_quote::before{ display: inline-block; float: left; background-image: url("../Images/quote.png"); background-size: contain; background-position: center; background-repeat: no-repeat; margin: -10px 20px 0px -20px; height: 2.5em; width: 2.5em; content: " "; opacity: 0.25; } blockquote p.cite{ text-align: right; } span.url{ font-family: "Courier New", Courier, monospace; word-wrap: break-word; } p.snippet{ font-family: "Courier New", Courier, monospace; margin: 0em 0em 0em 2em; font-size: 0.9em; overflow-x: auto; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; } :not(.snippet) + p.snippet{ margin-top: 0.5em; } li p.snippet:first-of-type{ margin-top: 0.5em; } li p.snippet:last-of-type{ margin-bottom: 0.5em; } code.Code-In-Text--PACKT-{ font-family: "Consolas", "Monaco", "Courier New", monospace; font-size: 0.915em; background-color: #eaeaea; color: black; padding: 1px 5px; border-radius: 2px; } span.highlight{ font-weight: bold; } figcaption, p.packt_figref{ font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; font-size: 0.75em; text-align: center; } p.center{ text-align: center; } pre span.highlight{ font-weight: bold; } /*----------------------------------------------- INDEX -----------------------------------------------*/ .Index-Section-Head{ font-size: 1.25em; font-weight: bold; } body#Packt .Index-Section-Head{ font-size: 2em; font-weight: bold; } .Index-Title{ font-size: 2em; font-weight: bold; } /*----------------------------------------------- FM, PREFACE -----------------------------------------------*/ div.bookTitlePage, p.Book-Title--PACKT-, p.TagLine--PACKT-, p.Author-Name--PACKT-, p.Packt-Logo, .Packt-Logo, p.Birmingham---Mumbai--PACKT-, p.Book-Edition--PACKT-{ text-align: center; } p.Book-Title--PACKT-{ font-size: 2.75em; font-weight: bold; } p.Book-Edition--PACKT-{ font-size: 1.75em; } p.TagLine--PACKT-, .Copyright_BookTitle--PACKT-, p.Author-Name--PACKT-{ font-size: 1.35em; } p.Author-Name--PACKT-{ font-weight: bold; } p.Packt-Logo img, .Packt-Logo img{ margin-top: 6em; width: 9.5em; height: auto; } p.Birmingham---Mumbai--PACKT-{ font-size: 0.85em; } p.eop{ page-break-before: always; } p.Copyright_BookTitle--PACKT-{ font-size: 1.5em; font-weight: bold; } p.Copyright_BookEdition--PACKT-{ font-size: 1.2em; } div.copyrightPage p.content{ font-size: 0.85em; } h1.Introduction-Title--PACKT-{ font-size: 2.5em; font-style: normal; text-align: right; page-break-before: always; } p.acknowledgement{ font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; font-size: 1em; font-style: italic; margin: 1em 2em; } p.PACKTPage-Logo img{ margin-top: 6em; width: auto; height: 85px; } p.PACKTPage-Logo{ page-break-before: always; } p.Acknowledgement--PACKT-{ font-style: italic; } span.Author-Name-In-Bio--PACKT-{ font-size:1.025em; font-weight: bold; } /*----------------------------------------------- TOC -----------------------------------------------*/ ol.noNumber, li.noNumber{ list-style-type: none; } p.Index-Level-1{ font-weight: bold; } p.tocL1, p.Index-Level-2{ padding-left: 40px; margin-top: 0.5em; margin-bottom: 0.5em } p.tocL2{ padding-left: 80px; } /*----------------------------------------------- BM -----------------------------------------------*/ div.bookCover img{ height: 15em; width: auto; }