/** * Copyright (C) 2015 Wasabeef * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /* epub的书籍默认1em=16px,转化px的时候需要注意 */ @charset "UTF-8"; /****** global ******/ * { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-touch-callout: none; } html { height:100%; } body { height:100%; overflow:hidden; overflow-y:auto; -webkit-overflow-scrolling: touch; } .re { min-height:100%; overflow:hidden; outline:0px solid transparent; background-repeat:no-repeat; background-position:center; background-size:cover; -webkit-user-select:auto !important; -webkit-user-modify:read-write !important; font-size: 1em; line-height: 1.75em; font-family: "SF UI Text","PingFang SC","Lucida Grande", STheiti; word-wrap: break-word; word-break: break-all; } /*禁止选择*/ .re_Display { -webkit-touch-callout: none !important; -webkit-user-select: none !important; -webkit-user-modify:read-only !important; } /****** widget ******/ .re p, .re div { text-align:justify; text-indent:2em; } .re div p, .re p div { margin: 0px; } blockquote * { font-family: inherit !important; font-size: inherit !important; } a, .re_link { text-decoration:none; color: rgba(84, 127, 176, 1); } ul, ol { padding-left: 10px; } ul li, ol li { margin-bottom: 4px; } ul li:first-of-type, ol li:first-of-type { margin-top: 0px; } /* FZFSJW--GB1-0字体在iOS平台下,在h1纯英文的场景下会导致文字重叠,所以改用HYXinRenWenSongW */ /* HYXinRenWenSongW是自动下载的,为了防止还没有下载的时候读取不到字体,就在后面用FZFSJW--GB1-0作为候补 */ h1 { margin: 18px 0px 18px 0px; overflow: hidden; font-weight: normal; font-size:1.5em; line-height: 1.4; font-family: 'HYXinRenWenSongW', 'FZFSJW--GB1-0'; } h1 * { font-family: inherit !important; font-size: inherit !important; } img { vertical-align: middle; } /* QQEmoticon */ /* 展示的webview字体比较大,为了视觉居中,加上一个margin */ .re_Display .emoji, .re_Display .re_QQEmoticon { margin-top: -1px; } /* replace 复制过来的 */ h1.articleTitle, h1.articleFirstTitle { margin-bottom:3em; font-size:1.5em; font-family: "SourceHanSerifCN-Medium"; font-weight: normal; } h2.articleSecondTitle { font-size:1.4em; font-family: "SourceHanSerifCN-Medium"; font-weight: normal; margin-top: 0.83em; } blockquote.articleQuote { display: block; margin: 0px; padding: 14px; color: #353C46; border-left: 2px solid #D4D6D8; background-color: rgba(0, 30, 40, 0.04); font-weight: 300; text-indent: 0; } .articleQuote p { margin: 0px; text-indent: 0px; } .re .bodyPic { text-align: center; text-indent: 0px; margin: 18px 0 18px 0; } .re .bodyPic .re_img { display: inline-block; max-width: 100%; outline: 1px solid rgba(0,0,0,0.1); outline-offset: -1px; } /*ul.articleList {*/ /*}*/ /**/ /*li.articleListItem {*/ /*}*/