/*
代码块,注意必须写font-weight使字体生效 */
pre {
font-family: "Menlo";
font-weight: normal;
line-height: 1.5em;
}
/*版权信息*/
.copyRightTitle {
color: black;
font-size: 1.5em;
font-family: "SourceHanSerifCN-Medium";
font-weight: normal;
}
/*图片说明文字*/
.eepub-single-image-title {
font-size: 0.75em;
text-align: center;
line-height: 1.4em;
color: rgba(0, 0, 0, 0.9);
margin: 0.2em 0.4em 1em 0.4em;
font-family: "FZFSJW--GB1-0";
font-weight: normal;
}
/*标题*/
.preface {
font-size:1.5em;
font-family: "SourceHanSerifCN-Medium";
font-weight: normal;
color: rgba(0, 0, 0, .9);
}
.firstTitle, h1.firstTitle {
font-size:1.5em;
font-family: "SourceHanSerifCN-Medium";
font-weight: normal;
}
.secondTitle, h2.secondTitle {
font-size:1.4em;
font-family: "SourceHanSerifCN-Medium";
font-weight: normal;
margin-top: 0.83em;
}
.thirdTitle, h3.thirdTitle {
font-size:1.3em;
font-family: "SourceHanSerifCN-Medium";
font-weight: normal;
margin-top: 1em;
}
.fourthTitle, h4.fourthTitle {
font-size:1.2em;
font-family: "SourceHanSerifCN-Medium";
font-weight: bold;
margin-top: 1.33em;
}
.fifthTitle, h5.fifthTitle {
font-size:1.1em;
font-family: "SourceHanSerifCN-Medium";
font-weight: bold;
margin-top: 1.67em;
}
.sixthTitle, h6.sixthTitle {
font-size:1em;
font-family: "SourceHanSerifCN-Medium";
font-weight: bold;
margin-top: 2.33em;
}
/*首字加大*/
/*浮动元素有默认的margin,所以这里会修复一下*/
.ftext {
float: left;
margin: 0em;
font-size: 2.38em;
font-weight: normal;
}
/*引用内容*/
.conQuot {
font-family: "FZFSJW--GB1-0";
font-weight: normal;
margin: 0em 0em 0.2em 0em;
}
/*标题下来可能会有一行subHead*/
.subHead{
text-indent: 2em;
}
pre, pre span, pre code {
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size:.7em!important;
}
.qrbodyPic {
page-break-inside: avoid;
}
/* 注标图 */
.qqreader-footnote {
width: 1em;
}
/*-------------------- 小文章相关 ----------------------*/
/*epub-custom-rule-6 如果 class="weread-page-relate" 在开头,需要把上一页末尾一行移到这一页*/
.weread-page-relate {
weread-page-relate:true;
}
/*epub-custom-rule-7 小文章工具栏标签的样式*/
.chapter-tool {
display: block;
height: 160px;
width: 100%;
margin-top: 24px;
}
/* 调试好样式后和安卓同步,交给后台随小文章 css 下发,并把下面的样式从replace.css 删除 */
/* 安卓的re_bookItem是通过原生view留出上下空间的,但是iOS是通过css来控制 */
.re_bookItem{
display: block;
margin: 18px 0 18px 0;
}
/* epub-custom-rule-21 忽略公众号文章 的 background-color,因为公众号太多这样的样式,影响排版效果 */
p, strong, span {
background-color:transparent !important;
}
/* epub-custom-rule-26 公众号文章背景色强制设为透明 */
section, .rich_media_area_primary {
background-color:transparent !important;
}