/*! normalize.css v3.0.2 | MIT License | git.io/normalize */ /** * 1. Set default font family to sans-serif. * 2. Prevent iOS text size adjust after orientation change, without disabling * user zoom. */ /* line 9, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ html { font-family: sans-serif; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ } /** * Remove default margin. */ /* line 19, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ body { margin: 0; } /* HTML5 display definitions ========================================================================== */ /** * Correct `block` display not defined for any HTML5 element in IE 8/9. * Correct `block` display not defined for `details` or `summary` in IE 10/11 * and Firefox. * Correct `block` display not defined for `main` in IE 11. */ /* line 33, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { display: block; } /** * 1. Correct `inline-block` display not defined in IE 8/9. * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. */ /* line 54, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ audio, canvas, progress, video { display: inline-block; /* 1 */ vertical-align: baseline; /* 2 */ } /** * Prevent modern browsers from displaying `audio` without controls. * Remove excess height in iOS 5 devices. */ /* line 67, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ audio:not([controls]) { display: none; height: 0; } /** * Address `[hidden]` styling not present in IE 8/9/10. * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22. */ /* line 77, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ [hidden], template { display: none; } /* Links ========================================================================== */ /** * Remove the gray background color from active links in IE 10. */ /* line 89, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ a { background-color: transparent; } /** * Improve readability when focused and also mouse hovered in all browsers. */ /* line 97, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ a:active, a:hover { outline: 0; } /* Text-level semantics ========================================================================== */ /** * Address styling not present in IE 8/9/10/11, Safari, and Chrome. */ /* line 109, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ abbr[title] { border-bottom: 1px dotted; } /** * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. */ /* line 117, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ b, strong { font-weight: bold; } /** * Address styling not present in Safari and Chrome. */ /* line 126, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ dfn { font-style: italic; } /** * Address variable `h1` font-size and margin within `section` and `article` * contexts in Firefox 4+, Safari, and Chrome. */ /* line 135, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ h1 { font-size: 2em; margin: 0.67em 0; } /** * Address styling not present in IE 8/9. */ /* line 144, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ mark { background: #ff0; color: #000; } /** * Address inconsistent and variable font size in all browsers. */ /* line 153, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ small { font-size: 80%; } /** * Prevent `sub` and `sup` affecting `line-height` in all browsers. */ /* line 161, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } /* line 169, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ sup { top: -0.5em; } /* line 173, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ sub { bottom: -0.25em; } /* Embedded content ========================================================================== */ /** * Remove border when inside `a` element in IE 8/9/10. */ /* line 184, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ img { border: 0; } /** * Correct overflow not hidden in IE 9/10/11. */ /* line 192, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ svg:not(:root) { overflow: hidden; } /* Grouping content ========================================================================== */ /** * Address margin not present in IE 8/9 and Safari. */ /* line 203, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ figure { margin: 1em 40px; } /** * Address differences between Firefox and other browsers. */ /* line 211, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; } /** * Contain overflow in all browsers. */ /* line 221, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ pre { overflow: auto; } /** * Address odd `em`-unit font size rendering in all browsers. */ /* line 229, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; } /* Forms ========================================================================== */ /** * Known limitation: by default, Chrome and Safari on OS X allow very limited * styling of `select`, unless a `border` property is set. */ /** * 1. Correct color not being inherited. * Known issue: affects color of disabled elements. * 2. Correct font properties not being inherited. * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. */ /* line 252, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ button, input, optgroup, select, textarea { color: inherit; /* 1 */ font: inherit; /* 2 */ margin: 0; /* 3 */ } /** * Address `overflow` set to `hidden` in IE 8/9/10/11. */ /* line 266, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ button { overflow: visible; } /** * Address inconsistent `text-transform` inheritance for `button` and `select`. * All other form control elements do not inherit `text-transform` values. * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. * Correct `select` style inheritance in Firefox. */ /* line 277, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ button, select { text-transform: none; } /** * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` * and `video` controls. * 2. Correct inability to style clickable `input` types in iOS. * 3. Improve usability and consistency of cursor style between image-type * `input` and others. */ /* line 290, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; /* 2 */ cursor: pointer; /* 3 */ } /** * Re-set default cursor for disabled elements. */ /* line 302, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ button[disabled], html input[disabled] { cursor: default; } /** * Remove inner padding and border in Firefox 4+. */ /* line 311, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } /** * Address Firefox 4+ setting `line-height` on `input` using `!important` in * the UA stylesheet. */ /* line 322, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ input { line-height: normal; } /** * It's recommended that you don't attempt to style these elements. * Firefox's implementation doesn't respect box-sizing, padding, or width. * * 1. Address box sizing set to `content-box` in IE 8/9/10. * 2. Remove excess padding in IE 8/9/10. */ /* line 334, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ input[type="checkbox"], input[type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ } /** * Fix the cursor style for Chrome's increment/decrement buttons. For certain * `font-size` values of the `input`, it causes the cursor style of the * decrement button to change from `default` to `text`. */ /* line 346, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { height: auto; } /** * 1. Address `appearance` set to `searchfield` in Safari and Chrome. * 2. Address `box-sizing` set to `border-box` in Safari and Chrome * (include `-moz` to future-proof). */ /* line 357, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ input[type="search"] { -webkit-appearance: textfield; /* 1 */ -moz-box-sizing: content-box; -webkit-box-sizing: content-box; /* 2 */ box-sizing: content-box; } /** * Remove inner padding and search cancel button in Safari and Chrome on OS X. * Safari (but not Chrome) clips the cancel button when the search input has * padding (and `textfield` appearance). */ /* line 370, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; } /** * Define consistent border, margin, and padding. */ /* line 379, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; } /** * 1. Correct `color` not being inherited in IE 8/9/10/11. * 2. Remove padding so people aren't caught out if they zero out fieldsets. */ /* line 390, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ legend { border: 0; /* 1 */ padding: 0; /* 2 */ } /** * Remove default vertical scrollbar in IE 8/9/10/11. */ /* line 399, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ textarea { overflow: auto; } /** * Don't inherit the `font-weight` (applied by a rule above). * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. */ /* line 408, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ optgroup { font-weight: bold; } /* Tables ========================================================================== */ /** * Remove most spacing between table cells. */ /* line 419, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ table { border-collapse: collapse; border-spacing: 0; } /* line 424, /Users/fnando/Projects/kitabu/examples/kitabu/templates/styles/files/_normalize.scss */ td, th { padding: 0; } @page { size: 19.05cm 22.86cm portrait; } @page chapter:left { @bottom-left { background: #000; color: #fff; content: counter(page); font-size: 12px; margin-left: -100px; text-align: center; width: 35px; } } @page chapter:right { @bottom-right { background: #000; color: #fff; content: counter(page); font-size: 12px; margin-right: -100px; text-align: center; width: 35px; } } @page frontcover { margin: 0; background: #5091b1; border-left: 50px solid #40748e; } @page chapter { margin: 100px 100px 50px; background: #fff; @footnotes { border-top: thin solid #777; margin-top: 1em; padding-top: .5em; } } @page white { margin: 0; background: #fff; display: block; height: 100%; } /* line 61 */ * { box-sizing: border-box; } /* line 65 */ body { font-family: Caslon, serif; font-size: 14px; line-height: 1.5; } /* line 71 */ a { color: #5091b1; } /* line 75 */ .go-top { display: none; } /* line 80 */ .white-page { page: white; page-break-before: always; page-break-after: always; } /* line 86 */ .white-page:before { content: 'This page intentionally left blank'; text-transform: uppercase; position: absolute; left: 0; right: 0; text-align: center; top: 50%; transform: translatey(-50%); } /* line 98 */ .frontcover { page: frontcover; padding: 50px; padding-left: 0; text-align: center; font-family: sans-serif; } /* line 106 */ .frontcover * { margin: 0; } /* line 110 */ .frontcover .logo { background: url("../images/kitabu-word.svg") no-repeat center bottom; height: 150px; margin-bottom: 35px; } /* line 116 */ .frontcover .logo img { display: none; } /* line 120 */ .frontcover .description { display: inline-block; width: 400px; font-size: 20px; color: rgba(255, 255, 255, 0.7); } /* line 127 */ .frontcover .description:after { content: ''; display: block; background: url("../images/kitabu-icon.svg") no-repeat center bottom; background-size: 200px; height: 300px; margin-top: 50px; } /* line 136 */ .frontcover .authors { font-size: 24px; padding: 50px; font-weight: bold; margin-top: 30px; color: rgba(0, 0, 0, 0.4); text-transform: uppercase; } /* line 145 */ .frontcover .authors:before { content: 'By '; } /* line 150 */ .chapters { counter-reset: chapter; } /* line 154 */ .chapter { page: chapter; page-break-before: always; counter-increment: chapter; } /* line 160 */ .chapter > h2 { font-family: sans-serif; margin: -100px -100px 75px -100px; background: #5091b1; padding: 100px; color: rgba(255, 255, 255, 0.6); font-size: 40px; } /* line 169 */ .chapter > h3 { margin-top: 40px; } /* line 173 */ .chapter > h2:before { content: "Chapter " counter(chapter); display: block; font-size: 18px; text-transform: uppercase; color: #fff; } /* line 182 */ p code, li code { font-size: 12px; font-family: Menlo, monospace; } /* line 188 */ .highlight { padding: 15px; font-size: 12px; } /* line 193 */ .highlight * { font-family: Menlo, monospace; } /* line 197 */ .highlight .gutter { color: #aaa; padding-right: 15px; } /* line 203 */ .lexers-list { margin: 0; padding: 0; columns: 2; list-style: none; } /* line 210 */ .lexers-list li { -webkit-column-break-inside: avoid; break-inside: avoid-column; } /* line 215 */ .lexers-list span { font-size: 13px; } /* line 219 */ .lexers-list li + li { margin-top: 15px; } /* line 224 */ .fn { counter-increment: footnote; display: prince-footnote; font-size: 9pt; footnote-style-position: inside; line-height: 1.4; position: footnote; } /* line 233 */ .fn::footnote-call { content: ""; font-size: 80%; } /* line 238 */ .fn::footnote-marker { padding-right: 0.4em; vertical-align: super; display: none; } /* line 244 */ .footnote a, .fn a { color: #000; } /* line 249 */ .fn code { font-size: 8pt; } /* line 254 */ .table-of-contents { page: chapter; font-family: sans-serif; } /* line 259 */ .table-of-contents > h2 { font-family: sans-serif; margin: -100px -100px 75px -100px; background: #5091b1; padding: 100px; color: rgba(255, 255, 255, 0.6); font-size: 40px; } /* line 268 */ .table-of-contents a { text-decoration: none; } /* line 273 */ .table-of-contents .level4 { display: none; } /* line 274 */ .table-of-contents .level5 { display: none; } /* line 275 */ .table-of-contents .level6 { display: none; } /* line 278 */ .table-of-contents * + .level2 { margin-top: 25px; } /* line 282 */ .table-of-contents .level2 a { text-transform: uppercase; font-weight: bold; color: #000; font-size: 20px; position: relative; padding-left: 25px; } /* line 290 */ .table-of-contents .level2 a:before { content: target-counter(attr(href), page) " "; position: absolute; left: 0; transform: translatex(-100%); } /* line 298 */ .table-of-contents .level3 { padding-left: 25px; } /* line 302 */ .table-of-contents .level3 { margin-top: 10px; } /* line 306 */ .table-of-contents .level3 a { position: relative; color: #777; } /* line 310 */ .table-of-contents .level3 a:after { content: leader(".") target-counter(attr(href), page) " "; cursor: default; } /* line 317 */ .chapters { counter-reset: fnref; counter-reset: fndesc; } /* line 322 */ .fn-ref { counter-increment: fnref; } /* line 326 */ .fn-desc { counter-increment: fndesc; display: prince-footnote; footnote-style-position: inside; position: footnote; } /* line 333 */ .fn-desc:footnote-marker { vertical-align: super; content: counter(fndesc); margin-right: 5px; } /* line 340 */ .note { font-size: 13px; float: right; overflow: hidden; position: relative; padding-left: 50px; margin: 30px 0; } /* line 349 */ .note:before { content: '!'; display: inline-block; font-size: 25px; width: 10px; height: 10px; padding: 15px; line-height: 15px; text-align: center; position: absolute; top: 15px; left: 0; } /* line 363 */ .note.info:before { background: #f5be28; color: #fff; } /* line 368 */ .note.warning:before { background: #e42e24; color: #fff; }