css style.css (retail ebook) - luckylittle/calibre-plugin-remove-extension GitHub Wiki
/*
this style is applied everywhere in the admin pages of WP where the post is. (@dfd)
When exporting (publishing) this is the 1st CSS and will be overriden by epdf.css then pdf.css (@dfd)
================== */
/* Chapter title */
.chapter-number{
font-weight: bold;
font-size: 8.3em;
text-align: right;
font-family: symbol;
}
.chapter-title {
font-size:30pt;
text-align: right;
}
/* Packt Text and Paragraph styles */
h1, .packt_head1 {
font-size: 16pt;
font-weight: bold;
}
h2, .packt_head2 {
font-size: 14pt;
font-weight: bold;
}
h3, .packt_head3 {
font-size: 13pt;
font-weight: bold;
}
h4, .packt_head4 {
font-size: 11pt;
font-weight: normal;
font-style: italic;
}
ul, .packt_bullet {
font-weight: normal;
list-style-type:disc;
}
ol, .packt_numbered {
font-weight: normal;
}
.packt_normal {
font-weight: normal;
}
code, .packt_code, .packt_codeblock, pre {
font-family: monospace;
font-size: 9pt;
font-weight: normal;
border-left: 1px solid black;
margin-left: 20px;
padding-left: 5px;
display: block;
margin-bottom: 0.12in;
}
.packt_figref {
font-size: 10pt;
font-weight: normal;
}
q, .packt_quote {
font-size: 11pt;
font-weight: normal;
color:black;
font-style:italic;
}
.packt_tip {
font-size: 11pt;
font-weight: normal;
color:black;
font-style:italic;
/* CDP-282 */
background-image: url('../assets/4f8a4031-ac43-4b35-8f26-cc11cdaa9757.png');
background-position: left center;
background-repeat: no-repeat;
background-size: 0.6in;
margin-left: 20px;
margin-right: 20px;
padding-left: 0.7in;
min-height: 0.75in;
/* END OF CDP-282 */
}
.packt_infobox {
font-size: 11pt;
font-weight: normal;
color:black;
font-style:italic;
/* CDP-282 */
background-image: url('../assets/0cdcd1f5-7414-42c6-a423-d76aa0154530.png');
background-position: left center;
background-repeat: no-repeat;
background-size: 0.6in;
margin-left: 20px;
margin-right: 20px;
padding-left: 0.7in;
min-height: 0.75in;
/* END OF CDP-282 */
}
kbd, .packt_action {
font-family: monospace;
font-size: 9pt;
font-weight: normal;
}
.packt_italics {
font-size: 11pt;
font-weight: normal;
color:black;
font-style:italic;
}
a, .packt_url {
font-family: monospace;
font-size: 9pt;
font-weight: normal;
text-decoration: none;
word-break: break-all;
}
var, .packt_inlinemsgid {
display:none;
}
p, .packt_para {
text-align: left;
font-size:11pt;
line-height:17px;
}
.underline {
text-decoration: underline;
}
.CDPImageAlign {
width: 100%;
display: block;
}
.CDPAlign {
width: 100%;
display: block;
margin-top: 0.18in;
margin-bottom:0.18in;
}
.CDPAlignCenter {
text-align: center;
}
.CDPAlignLeft {
text-align: left;
}
.CDPAlignRight {
text-align: right;
}
.fm-editor-equation {
border: none;
}
nav a.section {
border-bottom: 1px solid black;
width: 100%;
display: block;
}
/* START OF CDP-1645 */
body table {
border-collapse: collapse;
}
body table td {
border: 1px solid black;
padding: 0.31em 0.62em;
}
.header-title {
font-size: 2.5em;
}
img.inline-image {
height: 1em;
}
.chapter-title {
font-size: 2.5em;
}
h1,
.packt_head1 {
font-size: 2em;
}
h2,
.packt_head2 {
font-size: 1.5em;
}
h3,
.packt_head3 {
font-size: 1.17em;
}
h4,
.packt_head4 {
font-size: 1em;
}
code,
.packt_code,
.packt_codeblock,
pre {
font-size: 0.8em;
margin-left: 1.25em;
padding-left: 0.3em;
margin-bottom: 0.01em;
}
.packt_figref {
font-size: 0.62em;
}
q,
.packt_quote {
font-size: 0.68em;
}
.packt_tip {
font-size: 0.68em;
background-size: 2.5em;
margin-left: 1.25em;
margin-right: 1.25em;
padding-left: 3em;
min-height: 2.5em;
}
.packt_infobox {
font-size: 0.68em;
background-size: 2.5em;
margin-left: 1.25em;
margin-right: 1.25em;
padding-left: 3em;
min-height: 2.5em;
}
kbd,
.packt_action {
font-size: 0.75em;
}
.packt_italics {
font-size: 0.9em;
}
a,
.packt_url {
font-size: 0.7em;
}
p,
.packt_para {
font-size: 1em;
line-height: 1.06em;
}
.CDPImageAlign {
max-width: 100%;
max-height: 100%;
}
.CDPAlign {
margin-top: 0.01em;
margin-bottom:0.01em;
}
/* END OF CDP-1645 */