/* CSS Reset do Curso de Produção de eBook - Dualpixel® */ /* Revisão 15 de agosto 2017 */ /* CAPA exportada direto do InDesign - aplicar dentro da tag
do arquivo cover.xhtml */ @charset "UTF-8"; @namespace "http://www.w3.org/1999/xhtml"; @namespace epub "http://www.idpf.org/2007/ops"; body, div, dl, dt, dd, h1, h2, h3, h4, h5, h6, p, pre, code, blockquote, span { border:0; font-size:100%; /* resetar o tamanho da fonte conforme o dispositivo */ font:inherit; vertical-align:baseline; margin:0; padding:0; border-width:0; adobe-text-layout: optimizeSpeed; line-height: inherit; } /*====== Seções ========= */ section { border: 0 !important; } /*====== Evita página em branco ========= */ body > *:last-child { margin-bottom: 0; } /*====== Fotos e Legendas - manter juntas ========= */ figure { page-break-inside: avoid; display: block !important; } figure figcaption { page-break-before: avoid; page-break-after: avoid; display: block !important; } /*====== Hifenização ========= */ p { -webkit-hyphens: auto !important; adobe-hyphenate: auto; -moz-hyphens: auto; -epub-hyphens:auto; hyphens: auto; } p { -webkit-hyphens: none !important; adobe-hyphenate: none; -moz-hyphens: none; -epub-hyphens:none; hyphens: none; } /*=== Margens Laterais em porcentagem ===== */ body { margin-right: 5% !important; margin-left: 5% !important; } /*=== Margem superior e inferior ===== */ @page { margin-top: 1em !important; margin-bottom: 1em !important; } /*============ controle de linhas no inicio e final do texto ===========*/ p { orphans:3; widows:3; } /*============ Mantém a proporção das imagens - ePUB3 ===========*/ img { object-fit: contain; } /*=== declaração de Bold e Itálico ==*/ i, em {font-style: italic;} b, strong {font-weight: bold;} /*====== Hyperlinks ========= */ a { text-decoration: none; color: #960; -webkit-text-fill-color: #960; /*atende a plataforma Apple - iBooks*/ } a:hover { text-decoration: underline; color: #960; -webkit-text-fill-color: #960; background:#CCC; } /*====== Formatação da referência - número - da nota de rodapé ========= */ ._idFootnoteLink { font-weight: bold; color: #2c2a65 !important; -webkit-text-fill-color: #2c2a65; font-size: 1em !important; vertical-align: text-top; } /*====== Formatação do numero junto ao texto da nota de rodapé ========= */ ._idFootnoteAnchor { font-weight: normal; color: #2c2a65 !important; -webkit-text-fill-color: #2c2a65 !important; } /*=== Formatação Especifica para Amazon ==*/ @media amzn-kf8 { /* Specific KF8 styles (Tablet Kindle Fire) */ } @media amzn-mobi { /* Specific Mobi7 styles (old format) */ } /*====== Ocultar as listas de Landmarks e Page-list - EPUB3 ========= */ nav[epub|type~='landmarks'], nav[epub|type~='page-list'] { display:none; visibility: hidden; } nav ol li, nav ul li { list-style-type: none; } /*====== Ocultar as listas de Landmarks e Page-list - EPUB2 ========= */ nav[epub\:type~='landmarks'], nav[epub|type~='page-list'] { display:none; visibility: hidden; } nav ol li, nav ul li { list-style-type: none; } /*====== Exemplo de Animação - Aplicado no Estilo de Objeto ========= */ @-webkit-keyframes shake { 0%, 100% {-webkit-transform: translateX(0);} 10%, 30%, 50%, 70%, 90% {-webkit-transform: translateX(-10px);} 20%, 40%, 60%, 80% {-webkit-transform: translateX(10px);} } /*====== Aplicação de Media Query - Controle de layout ========= */ @media only screen and (max-width: 600px) { }