/****************************************************************************\ ** ** style.css ** ** This is the default css which is bundled inside the ePUB book, you can modify this file ** to change the styling of the book. Note: Not all book readers honor all the attributes ** specified here. ** ** (c) 1986 - 2013 Quark, Inc. ** All rights reserved. ** \****************************************************************************/ /* Compatibility Hacks *******************************************************/ body { /* Adding default margins as text on some readers like iPad starts from the edge of the screen */ margin-left: 0.5em; margin-right: 0.5em } p { /* This was added for some readers, again can be removed once the reader support gets better. We should ideally use em and not px. 30px = 1.875em */ } /* Classes *******************************************************/ /* Name of the author */ .byline { font-size: 0.8em } /* An image inside a paragraph is always centered, so we apply this style on the p tag */ .figure { text-align: center } /* Caption given to any figure */ .figure-caption { font-size: 0.8em; text-align: center } /* Credit for the source of the image / diagram */ .figure-credit { font-size: 0.6em; text-align: center } .indented-para { margin-left: 2em; margin-right: 2em } /* pullquote is similar to the blockquote, so we will try to mimic blockquote as much as we can */ .pullquote { font-size: 1.25em; margin-left: 2em; margin-right: 2em; text-align: center } .title1 { font-size: 2.5em; text-align: center } .title2 { font-size: 2em; text-align: center } .chapter-name { font-size: 1.8em; text-align: center } .headline1 { font-size: 1.5em } .headline2 { font-size: 1.2em } /* Character attributes can also be modified, by using the following classes */ .bold { font-weight: bold } .italic { font-style: italic } .underline { text-decoration: underline } .strikethrough { text-decoration: line-through } .strikethrough-and-underline { text-decoration: line-through underline } .superscript { vertical-align: super } .subscript { vertical-align: sub } .superior { vertical-align: super }