172 lines
3.4 KiB
CSS
172 lines
3.4 KiB
CSS
|
||
/* <pre>代码块,注意必须写font-weight使字体生效 */
|
||
pre {
|
||
font-family: "Menlo";
|
||
font-weight: normal;
|
||
line-height: 1.5em;
|
||
}
|
||
|
||
/*版权信息*/
|
||
.copyRightTitle {
|
||
color: black;
|
||
font-size: 1.5em;
|
||
font-family: "Source Han Serif CN";
|
||
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;
|
||
}
|
||
|
||
/*标题*/
|
||
.firstTitle, h1.firstTitle {
|
||
font-size: 1.5em;
|
||
font-family: "Source Han Serif CN";
|
||
font-weight: bold;
|
||
line-height: 1.25em;
|
||
}
|
||
.secondTitle, h2.secondTitle {
|
||
font-size: 1.4em;
|
||
font-family: "Source Han Serif CN";
|
||
font-weight: bold;
|
||
line-height: 1.35em;
|
||
}
|
||
.thirdTitle, h3.thirdTitle {
|
||
font-size: 1.3em;
|
||
font-family: "Source Han Serif CN";
|
||
font-weight: bold;
|
||
line-height: 1.5em;
|
||
}
|
||
.fourthTitle, h4.fourthTitle {
|
||
font-size: 1.2em;
|
||
font-family: "Source Han Serif CN";
|
||
font-weight: bold;
|
||
line-height: 1.65em;
|
||
}
|
||
.fifthTitle, h5.fifthTitle {
|
||
font-size: 1.1em;
|
||
font-family: "Source Han Serif CN";
|
||
font-weight: bold;
|
||
line-height: 1.85em;
|
||
}
|
||
.sixthTitle, h6.sixthTitle {
|
||
font-size: 1em;
|
||
font-family: "Source Han Serif CN";
|
||
font-weight: bold;
|
||
line-height: 2em;
|
||
}
|
||
/*首字加大*/
|
||
/*浮动元素有默认的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;
|
||
}
|
||
|
||
.bodyPic {
|
||
wr-vertical-center-style: 2;
|
||
}
|
||
|
||
.qrbodyPic {
|
||
page-break-inside: avoid;
|
||
wr-vertical-center-style: 2;
|
||
}
|
||
|
||
/* 注标图 */
|
||
.qqreader-footnote {
|
||
width: 1em;
|
||
}
|
||
|
||
/* 翻译 */
|
||
.wr-translation {
|
||
line-height: 1.7em !important;
|
||
}
|
||
|
||
/*-------------------- 小文章相关 ----------------------*/
|
||
|
||
/*epub-custom-rule-6 如果 class="weread-page-relate" 在开头,需要把上一页末尾一行移到这一页*/
|
||
.weread-page-relate {
|
||
weread-page-relate:true;
|
||
}
|
||
|
||
/*epub-custom-rule-29 小文章打赏的样式*/
|
||
.chapter-reward {
|
||
display: block;
|
||
height: 120px;
|
||
width: 100%;
|
||
margin-top: 24px;
|
||
}
|
||
|
||
/*epub-custom-rule-7 小文章工具栏标签的样式*/
|
||
.chapter-tool {
|
||
display: block;
|
||
height: 140px;
|
||
width: 100%;
|
||
margin-top: 24px;
|
||
}
|
||
|
||
/* 章节结尾工具 */
|
||
.book-chapter-tool {
|
||
display: block;
|
||
height: 78px;
|
||
width: 100%;
|
||
margin-top: 24px;
|
||
}
|
||
|
||
/* 调试好样式后和安卓同步,交给后台随小文章 css 下发,并把下面的样式从replace.css 删除 */
|
||
|
||
/* 安卓的re_bookItem是通过原生view留出上下空间的,但是iOS是通过css来控制 */
|
||
.re_bookItem{
|
||
display: block;
|
||
margin: 18px 0 18px 0;
|
||
}
|
||
|
||
p {
|
||
text-align:justify;
|
||
}
|
||
|
||
img[data-image-size="large"] {
|
||
width: 100%;
|
||
}
|
||
|
||
/* 文集公众号文章不支持控件的样式 */
|
||
.unsupported_iframe {
|
||
border-radius: 4px;
|
||
border: 1px solid #ffcdc0;
|
||
background: #fee;
|
||
padding: 12px 0px;
|
||
color: #ff8d8d;
|
||
text-align: center;
|
||
font-size: 14px;
|
||
}
|
||
|
||
/* 私有垂直居中类 */
|
||
.wr-vertical-center {
|
||
wr-vertical-center-style: 1 !important;
|
||
}
|