Epub阅读器0.0.1
This commit is contained in:
@@ -0,0 +1,673 @@
|
||||
/****** MP文集 ******/
|
||||
|
||||
/* Copy 自公众号文章 CSS START */
|
||||
|
||||
.rich_media_inner {
|
||||
font-size: 16px;
|
||||
word-wrap: break-word;
|
||||
-webkit-hyphens: auto;
|
||||
-ms-hyphens: auto;
|
||||
hyphens: auto
|
||||
}
|
||||
.rich_media_area_primary {
|
||||
position: relative;
|
||||
padding: 10px 20px 20px;
|
||||
background-color: #fff
|
||||
}
|
||||
.rich_media_area_primary:before {
|
||||
content: " ";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
border-top: 1px solid #e5e5e5;
|
||||
-webkit-transform-origin: 0 0;
|
||||
transform-origin: 0 0;
|
||||
-webkit-transform: scaleY(0.5);
|
||||
transform: scaleY(0.5);
|
||||
top: auto;
|
||||
bottom: -2px
|
||||
}
|
||||
.rich_media_area_primary .original_img_wrp {
|
||||
display: inline-block;
|
||||
font-size: 0
|
||||
}
|
||||
.rich_media_area_primary .original_img_wrp .tips_global {
|
||||
display: block;
|
||||
margin-top: .5em;
|
||||
font-size: 14px;
|
||||
text-align: right;
|
||||
width: auto;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
word-wrap: normal
|
||||
}
|
||||
.rich_media_area_extra {
|
||||
padding: 0 15px 0
|
||||
}
|
||||
.rich_media_title {
|
||||
margin-bottom: 10px;
|
||||
line-height: 1.47;
|
||||
font-weight: 400;
|
||||
font-size: 23px
|
||||
}
|
||||
.rich_media_meta_list {
|
||||
margin-bottom: 18px;
|
||||
line-height: 20px;
|
||||
font-size: 0;
|
||||
display: none;
|
||||
}
|
||||
.rich_media_meta_list em {
|
||||
font-style: normal
|
||||
}
|
||||
.rich_media_meta {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin-right: 8px;
|
||||
margin-bottom: 10px;
|
||||
font-size: 16px
|
||||
}
|
||||
.meta_original_tag {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
padding: 1px .5em;
|
||||
border: 1px solid #9e9e9e;
|
||||
color: #8c8c8c;
|
||||
border-top-left-radius: 20% 50%;
|
||||
-moz-border-radius-topleft: 20% 50%;
|
||||
-webkit-border-top-left-radius: 20% 50%;
|
||||
border-top-right-radius: 20% 50%;
|
||||
-moz-border-radius-topright: 20% 50%;
|
||||
-webkit-border-top-right-radius: 20% 50%;
|
||||
border-bottom-left-radius: 20% 50%;
|
||||
-moz-border-radius-bottomleft: 20% 50%;
|
||||
-webkit-border-bottom-left-radius: 20% 50%;
|
||||
border-bottom-right-radius: 20% 50%;
|
||||
-moz-border-radius-bottomright: 20% 50%;
|
||||
-webkit-border-bottom-right-radius: 20% 50%;
|
||||
font-size: 15px;
|
||||
line-height: 1.1
|
||||
}
|
||||
.meta_enterprise_tag img {
|
||||
width: 30px;
|
||||
height: 30px!important;
|
||||
display: block;
|
||||
position: relative;
|
||||
margin-top: -3px;
|
||||
border: 0
|
||||
}
|
||||
.rich_media_meta_text {
|
||||
color: #8c8c8c
|
||||
}
|
||||
span.rich_media_meta_nickname {
|
||||
display: none
|
||||
}
|
||||
.rich_media_thumb_wrp {
|
||||
margin-bottom: 6px
|
||||
}
|
||||
.rich_media_thumb_wrp .original_img_wrp {
|
||||
display: block
|
||||
}
|
||||
.rich_media_thumb {
|
||||
display: block;
|
||||
width: 100%
|
||||
}
|
||||
.rich_media_content {
|
||||
overflow: hidden;
|
||||
color: #3e3e3e
|
||||
}
|
||||
.rich_media_content * {
|
||||
max-width: 100%!important;
|
||||
box-sizing: border-box!important;
|
||||
-webkit-box-sizing: border-box!important;
|
||||
word-wrap: break-word!important
|
||||
}
|
||||
.rich_media_content p {
|
||||
clear: both;
|
||||
min-height: 1em
|
||||
}
|
||||
.rich_media_content em {
|
||||
font-style: italic
|
||||
}
|
||||
.rich_media_content fieldset {
|
||||
min-width: 0
|
||||
}
|
||||
.rich_media_content .list-paddingleft-2 {
|
||||
padding-left: 30px
|
||||
}
|
||||
.rich_media_content blockquote {
|
||||
margin: 0;
|
||||
padding-left: 10px;
|
||||
border-left: 3px solid #dbdbdb
|
||||
}
|
||||
/*img {*/
|
||||
/* height: auto!important*/
|
||||
/*}*/
|
||||
@media screen and (device-aspect-ratio: 2/3),
|
||||
screen and (device-aspect-ratio: 40/71) {
|
||||
.meta_original_tag {
|
||||
padding-top: 0
|
||||
}
|
||||
}
|
||||
@media(min-device-width:375px) and (max-device-width:667px) and (-webkit-min-device-pixel-ratio:2) {
|
||||
.mm_appmsg .rich_media_inner, .mm_appmsg .rich_media_meta, .mm_appmsg .discuss_list, .mm_appmsg .rich_media_extra, .mm_appmsg .title_tips .tips {
|
||||
font-size: 17px
|
||||
}
|
||||
.mm_appmsg .meta_original_tag {
|
||||
font-size: 15px
|
||||
}
|
||||
}
|
||||
@media(min-device-width:414px) and (max-device-width:736px) and (-webkit-min-device-pixel-ratio:3) {
|
||||
/* .mm_appmsg .rich_media_title {*/
|
||||
/* font-size: 25px*/
|
||||
/* }*/
|
||||
}
|
||||
@media screen and (min-width: 1024px) {
|
||||
.rich_media {
|
||||
width: 740px;
|
||||
margin-left: auto;
|
||||
margin-right: auto
|
||||
}
|
||||
.rich_media_inner {
|
||||
padding: 20px
|
||||
}
|
||||
body {
|
||||
background-color: #fff
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 1025px) {
|
||||
body {
|
||||
font-family: "Helvetica Neue", Helvetica, "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif
|
||||
}
|
||||
.rich_media {
|
||||
position: relative
|
||||
}
|
||||
.rich_media_inner {
|
||||
background-color: #fff;
|
||||
padding-bottom: 100px
|
||||
}
|
||||
}
|
||||
.radius_avatar {
|
||||
display: inline-block;
|
||||
background-color: #fff;
|
||||
padding: 3px;
|
||||
border-radius: 50%;
|
||||
-moz-border-radius: 50%;
|
||||
-webkit-border-radius: 50%;
|
||||
overflow: hidden;
|
||||
vertical-align: middle
|
||||
}
|
||||
.radius_avatar img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 50%;
|
||||
-moz-border-radius: 50%;
|
||||
-webkit-border-radius: 50%;
|
||||
background-color: #eee
|
||||
}
|
||||
.cell {
|
||||
padding: .8em 0;
|
||||
display: block;
|
||||
position: relative
|
||||
}
|
||||
.cell_hd,
|
||||
.cell_bd,
|
||||
.cell_ft {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
word-wrap: break-word;
|
||||
word-break: break-all;
|
||||
white-space: nowrap
|
||||
}
|
||||
.cell_primary {
|
||||
width: 2000px;
|
||||
white-space: normal
|
||||
}
|
||||
.flex_cell {
|
||||
padding: 10px 0;
|
||||
display: -webkit-box;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-align: center;
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center
|
||||
}
|
||||
.flex_cell_primary {
|
||||
width: 100%;
|
||||
-webkit-box-flex: 1;
|
||||
-webkit-flex: 1;
|
||||
-ms-flex: 1;
|
||||
box-flex: 1;
|
||||
flex: 1
|
||||
}
|
||||
#copyright_info.original_tool_area {
|
||||
display: none;
|
||||
}
|
||||
.original_tool_area {
|
||||
display: block;
|
||||
padding: .75em 1em 0;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
color: #3e3e3e;
|
||||
border: 1px solid #eaeaea;
|
||||
margin: 20px 0
|
||||
}
|
||||
.original_tool_area .tips_global {
|
||||
position: relative;
|
||||
padding-bottom: .5em;
|
||||
font-size: 15px
|
||||
}
|
||||
.original_tool_area .tips_global:after {
|
||||
content: " ";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
border-bottom: 1px solid #dbdbdb;
|
||||
-webkit-transform-origin: 0 100%;
|
||||
transform-origin: 0 100%;
|
||||
-webkit-transform: scaleY(0.5);
|
||||
transform: scaleY(0.5)
|
||||
}
|
||||
.original_tool_area .radius_avatar {
|
||||
width: 27px;
|
||||
height: 27px;
|
||||
padding: 0;
|
||||
margin-right: .5em
|
||||
}
|
||||
.original_tool_area .radius_avatar img {
|
||||
height: 100%!important
|
||||
}
|
||||
.original_tool_area .flex_cell_bd {
|
||||
width: auto;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
word-wrap: normal
|
||||
}
|
||||
.original_tool_area .flex_cell_ft {
|
||||
font-size: 14px;
|
||||
color: #8c8c8c;
|
||||
padding-left: 1em;
|
||||
white-space: nowrap
|
||||
}
|
||||
.original_tool_area .icon_access:after {
|
||||
content: " ";
|
||||
display: inline-block;
|
||||
height: 8px;
|
||||
width: 8px;
|
||||
border-width: 1px 1px 0 0;
|
||||
border-color: #cbcad0;
|
||||
border-style: solid;
|
||||
transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
|
||||
-ms-transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
|
||||
-webkit-transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
|
||||
position: relative;
|
||||
top: -2px;
|
||||
top: -1px
|
||||
}
|
||||
.weui_loading {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
-webkit-animation: weuiLoading 1s steps(12, end) infinite;
|
||||
animation: weuiLoading 1s steps(12, end) infinite;
|
||||
background: transparent url(data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iciIgd2lkdGg9JzEyMHB4JyBoZWlnaHQ9JzEyMHB4JyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj4KICAgIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIiBmaWxsPSJub25lIiBjbGFzcz0iYmsiPjwvcmVjdD4KICAgIDxyZWN0IHg9JzQ2LjUnIHk9JzQwJyB3aWR0aD0nNycgaGVpZ2h0PScyMCcgcng9JzUnIHJ5PSc1JyBmaWxsPScjRTlFOUU5JwogICAgICAgICAgdHJhbnNmb3JtPSdyb3RhdGUoMCA1MCA1MCkgdHJhbnNsYXRlKDAgLTMwKSc+CiAgICA8L3JlY3Q+CiAgICA8cmVjdCB4PSc0Ni41JyB5PSc0MCcgd2lkdGg9JzcnIGhlaWdodD0nMjAnIHJ4PSc1JyByeT0nNScgZmlsbD0nIzk4OTY5NycKICAgICAgICAgIHRyYW5zZm9ybT0ncm90YXRlKDMwIDUwIDUwKSB0cmFuc2xhdGUoMCAtMzApJz4KICAgICAgICAgICAgICAgICByZXBlYXRDb3VudD0naW5kZWZpbml0ZScvPgogICAgPC9yZWN0PgogICAgPHJlY3QgeD0nNDYuNScgeT0nNDAnIHdpZHRoPSc3JyBoZWlnaHQ9JzIwJyByeD0nNScgcnk9JzUnIGZpbGw9JyM5Qjk5OUEnCiAgICAgICAgICB0cmFuc2Zvcm09J3JvdGF0ZSg2MCA1MCA1MCkgdHJhbnNsYXRlKDAgLTMwKSc+CiAgICAgICAgICAgICAgICAgcmVwZWF0Q291bnQ9J2luZGVmaW5pdGUnLz4KICAgIDwvcmVjdD4KICAgIDxyZWN0IHg9JzQ2LjUnIHk9JzQwJyB3aWR0aD0nNycgaGVpZ2h0PScyMCcgcng9JzUnIHJ5PSc1JyBmaWxsPScjQTNBMUEyJwogICAgICAgICAgdHJhbnNmb3JtPSdyb3RhdGUoOTAgNTAgNTApIHRyYW5zbGF0ZSgwIC0zMCknPgogICAgPC9yZWN0PgogICAgPHJlY3QgeD0nNDYuNScgeT0nNDAnIHdpZHRoPSc3JyBoZWlnaHQ9JzIwJyByeD0nNScgcnk9JzUnIGZpbGw9JyNBQkE5QUEnCiAgICAgICAgICB0cmFuc2Zvcm09J3JvdGF0ZSgxMjAgNTAgNTApIHRyYW5zbGF0ZSgwIC0zMCknPgogICAgPC9yZWN0PgogICAgPHJlY3QgeD0nNDYuNScgeT0nNDAnIHdpZHRoPSc3JyBoZWlnaHQ9JzIwJyByeD0nNScgcnk9JzUnIGZpbGw9JyNCMkIyQjInCiAgICAgICAgICB0cmFuc2Zvcm09J3JvdGF0ZSgxNTAgNTAgNTApIHRyYW5zbGF0ZSgwIC0zMCknPgogICAgPC9yZWN0PgogICAgPHJlY3QgeD0nNDYuNScgeT0nNDAnIHdpZHRoPSc3JyBoZWlnaHQ9JzIwJyByeD0nNScgcnk9JzUnIGZpbGw9JyNCQUI4QjknCiAgICAgICAgICB0cmFuc2Zvcm09J3JvdGF0ZSgxODAgNTAgNTApIHRyYW5zbGF0ZSgwIC0zMCknPgogICAgPC9yZWN0PgogICAgPHJlY3QgeD0nNDYuNScgeT0nNDAnIHdpZHRoPSc3JyBoZWlnaHQ9JzIwJyByeD0nNScgcnk9JzUnIGZpbGw9JyNDMkMwQzEnCiAgICAgICAgICB0cmFuc2Zvcm09J3JvdGF0ZSgyMTAgNTAgNTApIHRyYW5zbGF0ZSgwIC0zMCknPgogICAgPC9yZWN0PgogICAgPHJlY3QgeD0nNDYuNScgeT0nNDAnIHdpZHRoPSc3JyBoZWlnaHQ9JzIwJyByeD0nNScgcnk9JzUnIGZpbGw9JyNDQkNCQ0InCiAgICAgICAgICB0cmFuc2Zvcm09J3JvdGF0ZSgyNDAgNTAgNTApIHRyYW5zbGF0ZSgwIC0zMCknPgogICAgPC9yZWN0PgogICAgPHJlY3QgeD0nNDYuNScgeT0nNDAnIHdpZHRoPSc3JyBoZWlnaHQ9JzIwJyByeD0nNScgcnk9JzUnIGZpbGw9JyNEMkQyRDInCiAgICAgICAgICB0cmFuc2Zvcm09J3JvdGF0ZSgyNzAgNTAgNTApIHRyYW5zbGF0ZSgwIC0zMCknPgogICAgPC9yZWN0PgogICAgPHJlY3QgeD0nNDYuNScgeT0nNDAnIHdpZHRoPSc3JyBoZWlnaHQ9JzIwJyByeD0nNScgcnk9JzUnIGZpbGw9JyNEQURBREEnCiAgICAgICAgICB0cmFuc2Zvcm09J3JvdGF0ZSgzMDAgNTAgNTApIHRyYW5zbGF0ZSgwIC0zMCknPgogICAgPC9yZWN0PgogICAgPHJlY3QgeD0nNDYuNScgeT0nNDAnIHdpZHRoPSc3JyBoZWlnaHQ9JzIwJyByeD0nNScgcnk9JzUnIGZpbGw9JyNFMkUyRTInCiAgICAgICAgICB0cmFuc2Zvcm09J3JvdGF0ZSgzMzAgNTAgNTApIHRyYW5zbGF0ZSgwIC0zMCknPgogICAgPC9yZWN0Pgo8L3N2Zz4=) no-repeat;
|
||||
-webkit-background-size: 100%;
|
||||
background-size: 100%
|
||||
}
|
||||
@-webkit-keyframes weuiLoading {
|
||||
0% {
|
||||
-webkit-transform: rotate3d(0, 0, 1, 0deg)
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: rotate3d(0, 0, 1, 360deg)
|
||||
}
|
||||
}
|
||||
@keyframes weuiLoading {
|
||||
0% {
|
||||
-webkit-transform: rotate3d(0, 0, 1, 0deg)
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: rotate3d(0, 0, 1, 360deg)
|
||||
}
|
||||
}
|
||||
.gif_img_wrp {
|
||||
display: inline-block;
|
||||
font-size: 0;
|
||||
position: relative;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
text-indent: 0;
|
||||
text-shadow: none 1px 1px rgba(0, 0, 0, 0.5)
|
||||
}
|
||||
.gif_img_wrp img {
|
||||
vertical-align: top
|
||||
}
|
||||
.gif_img_tips {
|
||||
background: rgba(0, 0, 0, 0.6)!important;
|
||||
filter: progid: DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#99000000', endcolorstr '#99000000');
|
||||
border-top-left-radius: 1.2em 50%;
|
||||
-moz-border-radius-topleft: 1.2em 50%;
|
||||
-webkit-border-top-left-radius: 1.2em 50%;
|
||||
border-top-right-radius: 1.2em 50%;
|
||||
-moz-border-radius-topright: 1.2em 50%;
|
||||
-webkit-border-top-right-radius: 1.2em 50%;
|
||||
border-bottom-left-radius: 1.2em 50%;
|
||||
-moz-border-radius-bottomleft: 1.2em 50%;
|
||||
-webkit-border-bottom-left-radius: 1.2em 50%;
|
||||
border-bottom-right-radius: 1.2em 50%;
|
||||
-moz-border-radius-bottomright: 1.2em 50%;
|
||||
-webkit-border-bottom-right-radius: 1.2em 50%;
|
||||
line-height: 2.3;
|
||||
font-size: 11px;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
bottom: 10px;
|
||||
left: 10px;
|
||||
min-width: 65px
|
||||
}
|
||||
.gif_img_tips.loading {
|
||||
min-width: 75px
|
||||
}
|
||||
.gif_img_tips i {
|
||||
vertical-align: middle;
|
||||
margin: -0.2em .73em 0 -2px
|
||||
}
|
||||
.gif_img_play_arrow {
|
||||
display: inline-block;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-width: 8px;
|
||||
border-style: dashed;
|
||||
border-color: transparent;
|
||||
border-right-width: 0;
|
||||
border-left-color: #fff;
|
||||
border-left-style: solid;
|
||||
border-width: 5px 0 5px 8px
|
||||
}
|
||||
.gif_img_loading {
|
||||
width: 14px;
|
||||
height: 14px
|
||||
}
|
||||
i.gif_img_loading {
|
||||
margin-left: -4px
|
||||
}
|
||||
.gif_bg_tips_wrp {
|
||||
position: relative;
|
||||
height: 0;
|
||||
line-height: 0;
|
||||
margin: 0;
|
||||
padding: 0
|
||||
}
|
||||
.gif_bg_tips_wrp .gif_img_tips_group {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 9999
|
||||
}
|
||||
.gif_bg_tips_wrp .gif_img_tips_group .gif_img_tips {
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: auto
|
||||
}
|
||||
.rich_media_global_msg {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
padding: 1em 35px 1em 15px;
|
||||
z-index: 2;
|
||||
background-color: #c6e0f8;
|
||||
color: #8c8c8c;
|
||||
font-size: 13px
|
||||
}
|
||||
.rich_media_global_msg .icon_closed {
|
||||
position: absolute;
|
||||
right: 15px;
|
||||
top: 50%;
|
||||
margin-top: -5px;
|
||||
line-height: 300px;
|
||||
overflow: hidden;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
background: transparent url(//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/icon/appmsg/icon_appmsg_msg_closed_sprite.2x2eb52b.png) no-repeat 0 0;
|
||||
width: 11px;
|
||||
height: 11px;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
-webkit-background-size: 100% auto;
|
||||
background-size: 100% auto
|
||||
}
|
||||
.rich_media_global_msg .icon_closed:active {
|
||||
background-position: 0 -17px
|
||||
}
|
||||
.preview_appmsg .rich_media_title {
|
||||
margin-top: 26px;
|
||||
}
|
||||
@media screen and (min-width: 1024px) {
|
||||
.rich_media_global_msg {
|
||||
position: relative;
|
||||
margin: 0 20px
|
||||
}
|
||||
.preview_appmsg .rich_media_title {
|
||||
margin-top: 0
|
||||
}
|
||||
}
|
||||
.pages_reset {
|
||||
color: #3e3e3e;
|
||||
line-height: 1.6;
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
text-indent: 0;
|
||||
letter-spacing: normal;
|
||||
text-align: left;
|
||||
text-decoration: none
|
||||
}
|
||||
.weapp_element,
|
||||
.weapp_display_element,
|
||||
.mp-miniprogram {
|
||||
display: block;
|
||||
margin: 1em 0
|
||||
}
|
||||
.share_audio_context {
|
||||
margin: 16px 0
|
||||
}
|
||||
.weapp_text_link {
|
||||
font-size: 17px
|
||||
}
|
||||
.weapp_text_link:before {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
line-height: 1;
|
||||
background-size: 12px 12px;
|
||||
background-repeat: no-repeat;
|
||||
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAMAAABF0y+mAAAAb1BMVEUAAAB4it11h9x2h9x2h9x2htx8j+R8i+B1h9x2h9x3h92Snv91htt2h9x1h9x4h9x1h9x1h9x2idx1h9t2h9t1htt1h9x1h9x1htx2h9x1h912h9x4h913iN17juOOjuN1iNx2h9t4h958i+B1htvejBiPAAAAJHRSTlMALPLcxKcVEOXXUgXtspU498sx69DPu5+Yc2JeRDwbCYuIRiGBtoolAAAA3ElEQVQoz62S1xKDIBBFWYiFYImm2DWF///G7DJEROOb58U79zi4O8iOo8zuCRfV8EdFgbYE49qFQs8ksJInajOA1wWfYvLcGSueU/oUGBtPpti09uNS68KTMcrQ5jce4kmN/HKn9XVPAo702JEdx9hTUrWUqVrI3KwUmM1NhIWMKdwiGvpGMWZOAj1PZuzAxHwhVSplrajoseBnbyDHAwvrtvKKhdqTtFBkL8wO5ijcsS3G1JMNvQ5mdW7fc0x0+ZcnlJlZiflAomdEyFaM7qeK2JahEjy5ZyU7jC/q/Rz/DgqEuAAAAABJRU5ErkJggg==');
|
||||
vertical-align: middle;
|
||||
font-size: 11px;
|
||||
color: #888;
|
||||
border-radius: 10px;
|
||||
background-color: #f4f4f4;
|
||||
margin-right: 6px;
|
||||
margin-top: -4px;
|
||||
background-position: center;
|
||||
height: 20px;
|
||||
width: 20px
|
||||
}
|
||||
.weui-mask {
|
||||
position: fixed;
|
||||
z-index: 1000;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0, 0, 0, 0.6)
|
||||
}
|
||||
.weui-dialog {
|
||||
position: fixed;
|
||||
z-index: 5000;
|
||||
width: 80%;
|
||||
max-width: 300px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
-webkit-transform: translate(-50%, -50%);
|
||||
transform: translate(-50%, -50%);
|
||||
background-color: #fff;
|
||||
text-align: center;
|
||||
border-radius: 3px;
|
||||
overflow: hidden
|
||||
}
|
||||
.weui-dialog__hd {
|
||||
padding: 1.3em 1.6em .5em
|
||||
}
|
||||
.weui-dialog__title {
|
||||
font-weight: 400;
|
||||
font-size: 18px
|
||||
}
|
||||
.weui-dialog__bd {
|
||||
padding: 0 1.6em .8em;
|
||||
min-height: 40px;
|
||||
font-size: 15px;
|
||||
line-height: 1.3;
|
||||
word-wrap: break-word;
|
||||
word-break: break-all;
|
||||
color: #999
|
||||
}
|
||||
.weui-dialog__bd:first-child {
|
||||
padding: 2.7em 20px 1.7em;
|
||||
color: #353535
|
||||
}
|
||||
.weui-dialog__ft {
|
||||
position: relative;
|
||||
line-height: 48px;
|
||||
font-size: 18px;
|
||||
display: -webkit-box;
|
||||
display: -webkit-flex;
|
||||
display: flex
|
||||
}
|
||||
.weui-dialog__ft:after {
|
||||
content: " ";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
border-top: 1px solid #d5d5d6;
|
||||
color: #d5d5d6;
|
||||
-webkit-transform-origin: 0 0;
|
||||
transform-origin: 0 0;
|
||||
-webkit-transform: scaleY(0.5);
|
||||
transform: scaleY(0.5)
|
||||
}
|
||||
.weui-dialog__btn {
|
||||
display: block;
|
||||
-webkit-box-flex: 1;
|
||||
-webkit-flex: 1;
|
||||
flex: 1;
|
||||
color: #3cc51f;
|
||||
text-decoration: none;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
position: relative
|
||||
}
|
||||
.weui-dialog__btn:active {
|
||||
background-color: #eee
|
||||
}
|
||||
.weui-dialog__btn:after {
|
||||
content: " ";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 1px;
|
||||
bottom: 0;
|
||||
border-left: 1px solid #d5d5d6;
|
||||
color: #d5d5d6;
|
||||
-webkit-transform-origin: 0 0;
|
||||
transform-origin: 0 0;
|
||||
-webkit-transform: scaleX(0.5);
|
||||
transform: scaleX(0.5)
|
||||
}
|
||||
.weui-dialog__btn:first-child:after {
|
||||
display: none
|
||||
}
|
||||
.weui-dialog__btn_default {
|
||||
color: #353535
|
||||
}
|
||||
.weui-dialog__btn_primary {
|
||||
color: #0bb20c
|
||||
}
|
||||
/* Copy 自公众号文章 CSS END */
|
||||
|
||||
img[data-w] {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
|
||||
iframe.video_iframe {
|
||||
overflow: hidden !important; margin-left:-16px !important;
|
||||
}
|
||||
iframe.vote_iframe {
|
||||
display: none !important;
|
||||
}
|
||||
/* 不支持的 DOM */
|
||||
.unsupported_iframe {
|
||||
border-radius: 4px;
|
||||
border: 1px solid #ffcdc0;
|
||||
background: #fee;
|
||||
padding: 0 16px;
|
||||
line-height: 50px;
|
||||
color: #ff8d8d;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
/* 公众号音频样式 */
|
||||
|
||||
.re .audio_container {border-width: 1px 0; border-color: #D4D6D8; border-style: solid; padding: 16px 20px 16px 0; margin-left: -16px; margin-right: -16px; line-height: 1 !important;}
|
||||
.re .audio_button {width: 40px; height: 40px; background-color: #f0f4f8; border-radius: 20px; float: left; margin-left: 16px !important; margin-top: 10px !important; background: center center no-repeat url(icon_lecture_playing_2x.png); background-size: contain;}
|
||||
.re .audio_button.active { background-image: url(icon_lecture_pause_2x.png);}
|
||||
.re .audio_content { overflow: hidden; padding-left: 16px;}
|
||||
.re .audio_title {font-size: 18px; font-weight: bold; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #353C46;}
|
||||
.re .audio_progress {height: 3px; position: relative; margin-top: 16px !important; margin-right: 16px !important;}
|
||||
.re .audio_progress_bottom {height: 100%; background-color: #E8F3FD; position: absolute; top: 0px; left: 0px; right: -16px;}
|
||||
.re .audio_progress_top {height: 100%;background-color: #3CABFF; position: absolute; top: 0px; left: 0px;}
|
||||
.re .audio_progress_current {width: 16px; height: 16px; border-radius: 8px; z-index: 10; box-shadow:0px 3px 6px rgba(0, 25, 104, 0.12); background-color: #FFFFFF; position: absolute; top: 50%; margin-top: -8px !important;}
|
||||
.re .audio_progress_current::before {content: ''; width: 4px; height: 4px; position: absolute; background-color: #3CABFF; border-radius: 2px; top: 50%; left: 50%; margin-top: -2px; margin-left: -2px;}
|
||||
.re .audio_time {margin-top: 12px !important; overflow: hidden;}
|
||||
.re .audio_time span {color: #54A6F3 !important; font-size: 11px !important;}
|
||||
.re .audio_time_left {float: left;}
|
||||
.re .audio_time_right {float: right;}
|
||||
|
||||
@media (-webkit-min-device-pixel-ratio: 2), (min--moz-device-pixel-ratio: 2), (min-device-pixel-ratio: 2), (-o-min-device-pixel-ratio: 2/1), (min-resolution: 2dppx), (min-resolution: 192dpi) {
|
||||
.re .audio_container { position: relative; border: none; }
|
||||
.re .audio_container:after { content: ""; position: absolute; top: 0; left: 0; width: 200%; height: 200%; border-radius: 0; border-style: solid; border-color: #d4d6d8; border-width: 1px 0 1px 0; -webkit-transform: scale(0.5, 0.5); -ms-transform: scale(0.5, 0.5); transform: scale(0.5, 0.5); -webkit-transform-origin: 0 0; -ms-transform-origin: 0 0; transform-origin: 0 0; -webkit-box-sizing: border-box; box-sizing: border-box; pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (-webkit-min-device-pixel-ratio: 3), (min--moz-device-pixel-ratio: 3), (min-device-pixel-ratio: 3), (-o-min-device-pixel-ratio: 3/1), (min-resolution: 3dppx), (min-resolution: 288dpi) {
|
||||
.re .audio_button { background-image: url(icon_lecture_playing_3x.png); }
|
||||
.re .audio_button.active { background-image: url(icon_lecture_pause_3x.png); }
|
||||
.re .audio_container:after { width: 300%; height: 300%; border-radius: 0; -webkit-transform: scale(0.3333, 0.3333); -ms-transform: scale(0.3333, 0.3333); transform: scale(0.3333, 0.3333);
|
||||
}
|
||||
}
|
||||
|
||||
/* 被删除的公众号底部链接删除,不要直接 display none 而是让他们不显示是因为我们还需要那一块的高度 */
|
||||
|
||||
.weui-msg > .weui-msg__opr-area > .weui-msg__opr-area__tips > a,
|
||||
.page_msg > .extra_area > .tips > a,
|
||||
#activity-detail .extra_area > .tips > a {
|
||||
color: #fff;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* 想法详情 WebView 里的 CSS 会不正确地将 Portrait 识别为 Landscape,但因为我们的想法详情暂时不会出现横屏的情况,先临时这样修改 */
|
||||
@media only screen and (-webkit-device-pixel-ratio: 3) and (device-height: 812px) and (device-width: 375px) and (orientation: landscape) {
|
||||
.rich_media_area_primary {
|
||||
padding: 20px 20px 15px 20px !important;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,140 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/****** @override 微信公众号样式 ******/
|
||||
body {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
img {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
.rich_media_area_primary {
|
||||
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-only !important;
|
||||
font-size: 18px;
|
||||
line-height: 30px;
|
||||
font-family: -apple-system;
|
||||
padding: 0 20px 20px;
|
||||
}
|
||||
|
||||
.rich_media_title {
|
||||
margin: -3px 0 10px 0;
|
||||
overflow: hidden;
|
||||
font-weight: 700;
|
||||
font-size: 24px;
|
||||
line-height: 36px;
|
||||
}
|
||||
|
||||
.rich_media_content {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.rich_media_content p {
|
||||
/* margin: 20px 0px 0px 0px;*/
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.rich_media_content blockquote {
|
||||
margin: 18px 0px 0px 0px;
|
||||
padding: 14px;
|
||||
/* color: #353C46;*/
|
||||
/* border-left: 2px solid #D4D6D8;*/
|
||||
/* background-color: #F4F5F7;*/
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.rich_media_content blockquote p:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.rich_media_content blockquote p:first-child {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
/*复制的内容有可能经过js之后会包一个空的p,所以要找到下一个p去掉margin*/
|
||||
.rich_media_content blockquote p:empty:first-child + p {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
.rich_media_tool {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.rich_media_content img {
|
||||
/* display: inline-block;
|
||||
margin: 0;*/
|
||||
}
|
||||
|
||||
/*覆盖QQ音乐的样式*/
|
||||
.qqmusic_area {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
/*分享图片类型的页面去掉了顶部的信息,需要手动加一个 Margin 防止内容贴着顶部*/
|
||||
.page_share_img .share_notice {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
.share_mod_context .account_info {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* 屏蔽 iPad 上可能出现的 PC 版公众号二维码 */
|
||||
#js_pc_qr_code {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.tts {
|
||||
background-color: rgba(27, 136, 238, .25) !important;
|
||||
}
|
||||
|
||||
/* 自己的想法 */
|
||||
.review {
|
||||
border-bottom: 1px dashed rgba(249, 84, 87, 1) !important;
|
||||
}
|
||||
|
||||
/* 好友的想法 */
|
||||
.friend-review {
|
||||
border-bottom: 1px dashed rgba(133, 140, 150, 1) !important;
|
||||
}
|
||||
|
||||
/* 划线 */
|
||||
.highlight {
|
||||
background-color: rgba(255, 159, 78, .25) !important;
|
||||
}
|
||||
|
||||
/* 从想法圈进来的划线 */
|
||||
.reference {
|
||||
background-color: rgba(247, 247, 0, .25) !important;
|
||||
}
|
||||
|
||||
/* 以下几种复合的情况,只显示 review 的样式,不显示 highlight 的样式 */
|
||||
.review .highlight,
|
||||
.friend-review .highlight,
|
||||
.highlight .review,
|
||||
.highlight .friend-review,
|
||||
.highlight.review,
|
||||
.highlight.friend-review {
|
||||
background-color: none !important;
|
||||
}
|
||||
|
||||
body,
|
||||
#js_article,
|
||||
.review,
|
||||
.highlight,
|
||||
.friend-review,
|
||||
.reference {
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
/* 公众号图片点击链接 */
|
||||
.h5_image_link {
|
||||
pointer-events: none;
|
||||
}
|
||||
+413
@@ -0,0 +1,413 @@
|
||||
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
|
||||
|
||||
/**
|
||||
* 1. Set default font family to sans-serif.
|
||||
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
||||
* user zoom.
|
||||
*/
|
||||
|
||||
html {
|
||||
font-family: sans-serif; /* 1 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default margin.
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* HTML5 display definitions
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Correct `block` display not defined for any HTML5 element in IE 8/9.
|
||||
* Correct `block` display not defined for `details` or `summary` in IE 10/11
|
||||
* and Firefox.
|
||||
* Correct `block` display not defined for `main` in IE 11.
|
||||
*/
|
||||
|
||||
article,
|
||||
aside,
|
||||
details,
|
||||
figcaption,
|
||||
figure,
|
||||
footer,
|
||||
header,
|
||||
hgroup,
|
||||
main,
|
||||
menu,
|
||||
nav,
|
||||
section,
|
||||
summary {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `inline-block` display not defined in IE 8/9.
|
||||
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
||||
*/
|
||||
|
||||
audio,
|
||||
canvas,
|
||||
progress,
|
||||
video {
|
||||
display: inline-block; /* 1 */
|
||||
vertical-align: baseline; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent modern browsers from displaying `audio` without controls.
|
||||
* Remove excess height in iOS 5 devices.
|
||||
*/
|
||||
|
||||
audio:not([controls]) {
|
||||
display: none;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `[hidden]` styling not present in IE 8/9/10.
|
||||
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
|
||||
*/
|
||||
|
||||
[hidden],
|
||||
template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Links
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the gray background color from active links in IE 10.
|
||||
*/
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Improve readability when focused and also mouse hovered in all browsers.
|
||||
*/
|
||||
|
||||
a:active,
|
||||
a:hover {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
/* Text-level semantics
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
abbr[title] {
|
||||
border-bottom: 1px dotted;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in Safari and Chrome.
|
||||
*/
|
||||
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address variable `h1` font-size and margin within `section` and `article`
|
||||
* contexts in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9.
|
||||
*/
|
||||
|
||||
mark {
|
||||
background: #ff0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent and variable font size in all browsers.
|
||||
*/
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
||||
*/
|
||||
|
||||
sub,
|
||||
sup {
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -0.5em;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -0.25em;
|
||||
}
|
||||
|
||||
/* Embedded content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove border when inside `a` element in IE 8/9/10.
|
||||
*/
|
||||
|
||||
img {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct overflow not hidden in IE 9/10/11.
|
||||
*/
|
||||
|
||||
svg:not(:root) {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Grouping content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Address margin not present in IE 8/9 and Safari.
|
||||
*/
|
||||
|
||||
figure {
|
||||
margin: 1em 40px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address differences between Firefox and other browsers.
|
||||
*/
|
||||
|
||||
hr {
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Contain overflow in all browsers.
|
||||
*/
|
||||
|
||||
pre {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address odd `em`-unit font size rendering in all browsers.
|
||||
*/
|
||||
|
||||
code,
|
||||
kbd,
|
||||
pre,
|
||||
samp {
|
||||
font-family: monospace, monospace;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/* Forms
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
||||
* styling of `select`, unless a `border` property is set.
|
||||
*/
|
||||
|
||||
/**
|
||||
* 1. Correct color not being inherited.
|
||||
* Known issue: affects color of disabled elements.
|
||||
* 2. Correct font properties not being inherited.
|
||||
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
color: inherit; /* 1 */
|
||||
font: inherit; /* 2 */
|
||||
margin: 0; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
button {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
||||
* All other form control elements do not inherit `text-transform` values.
|
||||
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
||||
* Correct `select` style inheritance in Firefox.
|
||||
*/
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
||||
* and `video` controls.
|
||||
* 2. Correct inability to style clickable `input` types in iOS.
|
||||
* 3. Improve usability and consistency of cursor style between image-type
|
||||
* `input` and others.
|
||||
*/
|
||||
|
||||
button,
|
||||
html input[type="button"], /* 1 */
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
-webkit-appearance: button; /* 2 */
|
||||
cursor: pointer; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Re-set default cursor for disabled elements.
|
||||
*/
|
||||
|
||||
button[disabled],
|
||||
html input[disabled] {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
||||
* the UA stylesheet.
|
||||
*/
|
||||
|
||||
input {
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
/**
|
||||
* It's recommended that you don't attempt to style these elements.
|
||||
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
||||
*
|
||||
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
||||
* 2. Remove excess padding in IE 8/9/10.
|
||||
*/
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
||||
* `font-size` values of the `input`, it causes the cursor style of the
|
||||
* decrement button to change from `default` to `text`.
|
||||
*/
|
||||
|
||||
input[type="number"]::-webkit-inner-spin-button,
|
||||
input[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
||||
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
|
||||
*/
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
-webkit-box-sizing: content-box; /* 2 */
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
||||
* Safari (but not Chrome) clips the cancel button when the search input has
|
||||
* padding (and `textfield` appearance).
|
||||
*/
|
||||
|
||||
input[type="search"]::-webkit-search-cancel-button,
|
||||
input[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define consistent border, margin, and padding.
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #c0c0c0;
|
||||
margin: 0 2px;
|
||||
padding: 0.35em 0.625em 0.75em;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
||||
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
||||
*/
|
||||
|
||||
legend {
|
||||
border: 0; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default vertical scrollbar in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Don't inherit the `font-weight` (applied by a rule above).
|
||||
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
||||
*/
|
||||
|
||||
optgroup {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Tables
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove most spacing between table cells.
|
||||
*/
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
td,
|
||||
th {
|
||||
padding: 0;
|
||||
}
|
||||
@@ -0,0 +1,173 @@
|
||||
/**
|
||||
* 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 {*/
|
||||
/*}*/
|
||||
@@ -0,0 +1,408 @@
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
|
||||
@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: 18px;
|
||||
line-height: 30px;
|
||||
font-family: -apple-system;
|
||||
color: #0D141E;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
.re_Display {
|
||||
min-height: 0; /* 展示的时候不需要设置 min-height,否则cell里面通过 js 获取高度无法拿到正确的值 */
|
||||
padding: 8px 20px 0;
|
||||
line-height: 32px;
|
||||
-webkit-user-modify: read-only !important;
|
||||
}
|
||||
|
||||
.re_placeholder:before {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
content:attr(placeholder);
|
||||
color: #ADB4BE;
|
||||
}
|
||||
|
||||
/****** widget ******/
|
||||
|
||||
.re div, .re p {
|
||||
margin: 18px 0px 0px 0px;
|
||||
word-break: break-word;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
/** re下第一个element **/
|
||||
.re_Write *:first-child,
|
||||
.re_Display *:first-child {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
.re_Write > :first-child
|
||||
.re_Display > :first-child {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
.re_Write > :empty + * {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
.re div p, .re p div {
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: 18px 0px 0px 0px;
|
||||
padding: 14px;
|
||||
color: #353C46;
|
||||
border-left: 2px solid #D4D6D8;
|
||||
background-color: #F4F5F7;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
blockquote p:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
blockquote p:first-child {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
/*复制的内容有可能经过js之后会包一个空的p,所以要找到下一个p去掉margin*/
|
||||
blockquote p:empty:first-child + p {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
a, .re_link {
|
||||
text-decoration:none;
|
||||
color: rgba(84, 127, 176, 1);
|
||||
-webkit-tap-highlight-color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
list-style-type: none;
|
||||
padding: 0px;
|
||||
margin: 18px 0px 0px 0px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.re div ul, .re div ol {
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.re p ul, .re p ol {
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
ul li, ol li {
|
||||
margin-top: 2px;
|
||||
padding: 0px 0px 0px 24px;
|
||||
}
|
||||
|
||||
ul li:first-of-type, ol li:first-of-type {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
ul li:before, ol li:before {
|
||||
content: "";
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
background-color: #353C46;
|
||||
border-radius: 3px;
|
||||
float: left;
|
||||
margin-top: 11px;
|
||||
margin-left: -18px;
|
||||
}
|
||||
|
||||
.re span{
|
||||
background: none !important;
|
||||
}
|
||||
|
||||
h1, h2 {
|
||||
margin: 19px 0px 0px 0px;
|
||||
overflow: hidden;
|
||||
font-weight: 500;
|
||||
font-size: 24px;
|
||||
color: #0D141E;
|
||||
line-height: 36px;
|
||||
/* FZFSJW--GB1-0字体在iOS平台下,在h1纯英文的场景下会导致文字重叠,所以改用HYXinRenWenSongW */
|
||||
/* HYXinRenWenSongW是自动下载的,为了防止还没有下载的时候读取不到字体,就在后面用FZFSJW--GB1-0作为候补 */
|
||||
/* font-family: 'HYXinRenWenSongW', 'FZFSJW--GB1-0';*/
|
||||
}
|
||||
|
||||
img {
|
||||
vertical-align: middle;
|
||||
/* 防止拖拽表情后变成 blob */
|
||||
-webkit-user-drag: none;
|
||||
user-drag: none;
|
||||
}
|
||||
|
||||
/** hack掉系统产生的奇怪span **/
|
||||
.re p span,
|
||||
.re h1 span,
|
||||
.re h2 span,
|
||||
.re blockquote span,
|
||||
.re ul span{
|
||||
font-family: inherit !important;
|
||||
font-size: inherit !important;
|
||||
color: inherit !important;
|
||||
}
|
||||
|
||||
/****** widgets ******/
|
||||
|
||||
/* bookItem */
|
||||
|
||||
.re .re_bookItem{
|
||||
padding: 0px 16px 0px 0px;
|
||||
margin-top: 18px;
|
||||
-webkit-user-select: none !important;
|
||||
border: 1px solid #dee0e2;
|
||||
box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.03);
|
||||
overflow: hidden;
|
||||
}
|
||||
.re_Write .re_bookItem{
|
||||
display: inline-block;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
}
|
||||
.re .re_bookItem_Touched{
|
||||
background: #f8fafc;
|
||||
}
|
||||
@media (-webkit-min-device-pixel-ratio: 2){
|
||||
.re .re_bookItem{
|
||||
position: relative;
|
||||
border: none;
|
||||
}
|
||||
.re .re_bookItem:after{
|
||||
content:"";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 200%;
|
||||
height: 200%;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid #dee0e2;
|
||||
pointer-events: none;
|
||||
-webkit-transform: scale(0.5);
|
||||
-webkit-transform-origin: 0 0;
|
||||
transform: scale(0.5);
|
||||
transform-origin: 0 0;
|
||||
}
|
||||
}
|
||||
@media (-webkit-min-device-pixel-ratio: 3){
|
||||
.re .re_bookItem:after{
|
||||
width: 300%;
|
||||
height: 300%;
|
||||
transform: scale(0.3333);
|
||||
transform-origin: 0 0;
|
||||
-webkit-transform: scale(0.3333);
|
||||
-webkit-transform-origin: 0 0;
|
||||
}
|
||||
}
|
||||
.re .re_bookItem_cover{
|
||||
float: left;
|
||||
width: 60px;
|
||||
height: 86px;
|
||||
margin-right: 16px;
|
||||
margin-top: 0;
|
||||
background: #fff;
|
||||
border-right: 1px solid rgba(0,0,0,0.10);
|
||||
}
|
||||
@media (-webkit-min-device-pixel-ratio: 2){
|
||||
.re .re_bookItem_cover{
|
||||
position: relative;
|
||||
border: none;
|
||||
}
|
||||
.re .re_bookItem_cover:after{
|
||||
content:"";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 200%;
|
||||
height: 200%;
|
||||
box-sizing: border-box;
|
||||
border-right: 1px solid rgba(0,0,0,0.10);
|
||||
pointer-events: none;
|
||||
transform: scale(0.5);
|
||||
transform-origin: 0 0;
|
||||
-webkit-transform: scale(0.5);
|
||||
-webkit-transform-origin: 0 0;
|
||||
}
|
||||
}
|
||||
@media (-webkit-min-device-pixel-ratio: 3){
|
||||
.re .re_bookItem_cover:after{
|
||||
width: 300%;
|
||||
height: 300%;
|
||||
transform: scale(0.3333);
|
||||
transform-origin: 0 0;
|
||||
-webkit-transform: scale(0.3333);
|
||||
-webkit-transform-origin: 0 0;
|
||||
}
|
||||
}
|
||||
.re .re_bookItem_cover_img{
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.re .re_bookItem_title{
|
||||
line-height: 20px;
|
||||
margin: 0;
|
||||
margin-top: 21px;
|
||||
font-size: 17px;
|
||||
color: #49505A;
|
||||
font-family: 'HYXinRenWenSongW', 'FZFSJW--GB1-0';
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.re .re_bookItem_author{
|
||||
margin-top: 8px;
|
||||
font-size: 15px;
|
||||
line-height: 18px;
|
||||
color: #717882;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
font-family: 'HYXinRenWenSongW', 'FZFSJW--GB1-0';
|
||||
}
|
||||
.re_img {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
margin: 18px auto 0px;
|
||||
background-color: #f4f5f7;
|
||||
}
|
||||
|
||||
.re_Write .re_img{
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
vertical-align: bottom; /** 为了修复图片后面连着文字时文字的光标长度 **/
|
||||
}
|
||||
|
||||
.re_Write .re_img_MarginTop{
|
||||
margin-top: 18px !important;
|
||||
}
|
||||
.re_Write .re_img_MarginBottom{
|
||||
margin-bottom: 18px !important;
|
||||
}
|
||||
.re_Write .re_img_MarginBottom + .re_img_MarginTop{
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
/** display 特供样式 :为了让图片宽度撑满全屏。**/
|
||||
|
||||
.re_Display .bodyPic{
|
||||
margin-left: -16px !important;
|
||||
margin-right: -16px !important;
|
||||
}
|
||||
|
||||
/* QQEmoticon */
|
||||
|
||||
.re_QQEmoticon{
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
.re_Display .emoji,
|
||||
.re_Display .re_QQEmoticon{
|
||||
/* 展示的webview字体比较大,为了视觉居中,加上一个margin */
|
||||
margin-top: -1px;
|
||||
}
|
||||
|
||||
/****** night theme ******/
|
||||
|
||||
.re_Night {
|
||||
color: rgba(196, 200, 204, 1);
|
||||
}
|
||||
|
||||
.re_Night blockquote {
|
||||
color : rgb(218, 220, 224);
|
||||
background-color : rgb(10, 14, 18);
|
||||
border-left: 1px solid rgba(116, 120, 124, 1);
|
||||
}
|
||||
|
||||
.re_Night a, .re_Night .re_Night {
|
||||
color: rgba(84, 127, 176, 1);
|
||||
}
|
||||
|
||||
.re_Night ul li:before, .re_Night ol li:before {
|
||||
background-color: rgba(196, 200, 204, 1);
|
||||
}
|
||||
|
||||
.re_Night h1,
|
||||
.re_Night h2,
|
||||
.re_Night h3,
|
||||
.re_Night h4,
|
||||
.re_Night h5,
|
||||
.re_Night h6,
|
||||
.re_Night p,
|
||||
.re_Night textarea,
|
||||
.re_Night form,
|
||||
.re_Night select,
|
||||
.re_Night input,
|
||||
.re_Night span,
|
||||
.re_Night button,
|
||||
.re_Night em,
|
||||
.re_Night menu,
|
||||
.re_Night aside,
|
||||
.re_Night table,
|
||||
.re_Night tr,
|
||||
.re_Night td,
|
||||
.re_Night nav,
|
||||
.re_Night dl,
|
||||
.re_Night dt,
|
||||
.re_Night dd,
|
||||
.re_Night amp-iframe,
|
||||
.re_Night main,
|
||||
.re_Night section {
|
||||
color: rgba(180, 180, 182, 1) !important;
|
||||
border-color: #555555 !important;
|
||||
text-shadow: 0 0 0 #000;
|
||||
}
|
||||
|
||||
p img {
|
||||
max-width: 100% !important;
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
.re_Night.re_placeholder:before {
|
||||
color: #646466;
|
||||
}
|
||||
@@ -0,0 +1,190 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/****** @override 腾讯视频样式 ******/
|
||||
|
||||
/* 控制器主体 */
|
||||
.tvp_controls {
|
||||
height: 48px!important;
|
||||
background-color: rgba(0, 0, 0, .6)!important;
|
||||
}
|
||||
|
||||
.tvp_controls_hide .tvp_controls {
|
||||
bottom: -48px!important;
|
||||
}
|
||||
|
||||
/* 上次播放到xx,为你继续播放提示 */
|
||||
.tvp_overlay_tips {
|
||||
bottom: 48px!important;
|
||||
background-color: transparent!important;
|
||||
}
|
||||
|
||||
.tvp_controls_hide .tvp_overlay_tips {
|
||||
bottom: 0!important;
|
||||
}
|
||||
|
||||
/* 按钮 */
|
||||
.tvp_btn_value {
|
||||
background: none!important;
|
||||
border: 0!important;
|
||||
width: 20px!important;
|
||||
height: 20px!important;
|
||||
background-size: 134px 40px!important;
|
||||
margin: 0px!important;
|
||||
background-image: url(https://rescdn.qqmail.com/weread/cover/icon/WREpubMPVideo.png)!important;
|
||||
}
|
||||
|
||||
.tvp_pause .tvp_btn_value {
|
||||
background-position: 40px 0!important;
|
||||
}
|
||||
|
||||
.tvp_play .tvp_btn_value {
|
||||
background-position: 20px 0!important;
|
||||
}
|
||||
|
||||
/* 预加载的滑块轨道 */
|
||||
.tvp_time_loaded {
|
||||
background-color: rgb(128, 128, 128)!important;
|
||||
}
|
||||
|
||||
/* 已经播放过的滑块轨道 */
|
||||
.tvp_time_current {
|
||||
background-color: #fff!important;
|
||||
}
|
||||
|
||||
.tvp_time_loaded, .tvp_time_current {
|
||||
top: 0!important;
|
||||
}
|
||||
|
||||
/* 时间显示器 */
|
||||
.tvp_time_panel {
|
||||
width: 100%!important;
|
||||
}
|
||||
|
||||
/* 进度条 */
|
||||
.tvp_time_total {
|
||||
width: 58%!important;
|
||||
left: 21%!important;
|
||||
top: 23px!important;
|
||||
height: 2px!important;
|
||||
}
|
||||
|
||||
/* 滑块handle */
|
||||
.tvp_time_handle {
|
||||
top: -16px!important;
|
||||
background-color: transparent!important;
|
||||
background-size: 134px 40px!important;
|
||||
background-image: url(https://rescdn.qqmail.com/weread/cover/icon/WREpubMPVideo.png)!important;
|
||||
background-position: 90px 0!important;
|
||||
}
|
||||
|
||||
.tvp_time_handle:after {
|
||||
background: none!important;
|
||||
}
|
||||
|
||||
/* 正在播放的时间和总时间: 00:05/03:06 */
|
||||
.tvp_time_panel .tvp_time_panel_current,
|
||||
.tvp_time_panel .tvp_time_panel_total {
|
||||
font-size: 12px!important;
|
||||
color: #fff!important;
|
||||
position: relative!important;
|
||||
top: -15px!important;
|
||||
font-family: Helvetica!important;
|
||||
}
|
||||
|
||||
/* 播放总时间 */
|
||||
.tvp_time_panel .tvp_time_panel_total {
|
||||
float: right!important;
|
||||
}
|
||||
|
||||
/* 正在播放的时间和总时间的分割线 */
|
||||
.tvp_time_panel .tvp_time_panel_split {
|
||||
display: none!important;
|
||||
}
|
||||
|
||||
/* 全屏按钮 */
|
||||
.tvp_fullscreen_button button:before,
|
||||
.tvp_fullscreen_button button:after,
|
||||
.tvp_fullscreen_button .tvp_btn_value:before,
|
||||
.tvp_fullscreen_button .tvp_btn_value:after {
|
||||
display: none!important;
|
||||
}
|
||||
|
||||
.tvp_fullscreen_button {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.tvp_fullscreen_button button {
|
||||
background-image: url(https://rescdn.qqmail.com/weread/cover/icon/WREpubMPVideo.png)!important;
|
||||
width: 20px!important;
|
||||
height: 20px!important;
|
||||
background-size: 134px 40px!important;
|
||||
background-position: 60px 0!important;
|
||||
display: block!important;
|
||||
top: 50%!important;
|
||||
left: 50%!important;
|
||||
margin: -10px 0 0 -10px!important;
|
||||
position:absolute!important;
|
||||
}
|
||||
|
||||
/* 广告 */
|
||||
.tvp_ads_go,
|
||||
.tvp_app_download_onpause {
|
||||
display: none!important;
|
||||
}
|
||||
|
||||
/* 全屏的播放控制器 */
|
||||
.tvp_overlay_play {
|
||||
width: 100%!important;
|
||||
height: 100%!important;
|
||||
bottom: 0!important;
|
||||
background-color: rgba(0, 0, 0, 0.6)!important;
|
||||
}
|
||||
|
||||
.tvp_overlay_play .tvp_button_play {
|
||||
background-color: transparent;
|
||||
width: 40px!important;
|
||||
height: 40px!important;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin: -20px 0 0 -20px;
|
||||
background-size: 134px 40px!important;
|
||||
background-image: url(https://rescdn.qqmail.com/weread/cover/icon/WREpubMPVideo.png)!important;
|
||||
background-position: 0px 0;
|
||||
border: none!important;
|
||||
}
|
||||
|
||||
/* 播放器按钮 */
|
||||
.tvp_playpause_button,
|
||||
.tvp_fullscreen_button {
|
||||
width: 35px;
|
||||
}
|
||||
|
||||
@media only screen
|
||||
and (min-device-width : 375px)
|
||||
and (max-device-width : 667px) {
|
||||
/* iPhone6 尺寸 */
|
||||
.tvp_time_total {
|
||||
width: 60%!important;
|
||||
left: 20%!important;
|
||||
}
|
||||
|
||||
.tvp_playpause_button,
|
||||
.tvp_fullscreen_button {
|
||||
width: 40px!important;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen
|
||||
and (min-device-width : 414px)
|
||||
and (max-device-width : 736px) {
|
||||
/* iPhone6P 尺寸 */
|
||||
.tvp_time_total {
|
||||
width: 64%!important;
|
||||
left: 18%!important;
|
||||
}
|
||||
|
||||
.tvp_playpause_button,
|
||||
.tvp_fullscreen_button {
|
||||
width: 50px!important;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
/* 适配搜狗百科 bar 里的 icon 被染色 */
|
||||
.header-home, .header-home:before, .header-logo, .loginBox, .header-search, .header-search:before, .header-more:before {
|
||||
background-color: transparent !important
|
||||
}
|
||||
|
||||
/* 适配搜狗百科 某些透明的 div 被染色导致挡住图片 */
|
||||
.abstract-img-none {
|
||||
background: none !important
|
||||
}
|
||||
|
||||
/* 适配百度搜索图片丢失 */
|
||||
.c-touchable-feedback-no-default * {
|
||||
background-color: transparent !important
|
||||
}
|
||||
|
||||
img, video {
|
||||
z-index: 1 !important
|
||||
}
|
||||
|
||||
/*背景纯黑*/
|
||||
*, *:before, *:after {
|
||||
background-color: rgba(0, 0, 0, 1) !important;
|
||||
}
|
||||
|
||||
.wr-business-container,
|
||||
.wr-business-container *,
|
||||
.wr-business-container *:before,
|
||||
.wr-business-container *:after {
|
||||
background-color: rgb(28, 28, 29) !important;
|
||||
}
|
||||
|
||||
/*背景颜色和一般字体颜色*/
|
||||
div, h1, h2, h3, h4, h5, h6, p, body, em, html, link, textarea, form, select, input, span, button, em, menu, aside, table, tr, td, nav, dl, dt, dd, amp-iframe, main, section {
|
||||
color: rgba(180, 180, 182, 1) !important;
|
||||
border-color: #555555 !important;
|
||||
text-shadow: 0 0 0 #000;
|
||||
}
|
||||
|
||||
/*超链接*/
|
||||
a {
|
||||
color: rgba(84, 127, 176, 1) !important;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
color : rgb(218, 220, 224);
|
||||
background-color : rgb(10, 14, 18) !important;
|
||||
border-left: 1px solid rgba(116, 120, 124, 1);
|
||||
}
|
||||
|
||||
img {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
ul li:before, ol li:before {
|
||||
background-color: rgba(196, 200, 204, 1) !important;
|
||||
}
|
||||
@@ -0,0 +1,221 @@
|
||||
/* this file is processed with xxd via a build rule and embedded in library */
|
||||
|
||||
/* these styles come from Safari */
|
||||
|
||||
/* note that comments are only permitted before selectors and before the styles */
|
||||
|
||||
/* DO NOT fiddle with this file if you want to have your own styles,
|
||||
pass your own stylesheet via the option parameter to override these defaults */
|
||||
|
||||
head {
|
||||
display:none;
|
||||
}
|
||||
|
||||
title {
|
||||
display:none;
|
||||
}
|
||||
|
||||
style {
|
||||
display:none;
|
||||
}
|
||||
|
||||
link {
|
||||
display: none;
|
||||
}
|
||||
|
||||
meta {
|
||||
display: none;
|
||||
}
|
||||
|
||||
script {
|
||||
display: none;
|
||||
}
|
||||
|
||||
html {
|
||||
display:block;
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
body {
|
||||
display:block;
|
||||
font-size:16px;
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
article,aside,footer,header,hgroup,nav,section {
|
||||
display:block;
|
||||
}
|
||||
|
||||
p {
|
||||
display:block;
|
||||
margin:0;
|
||||
}
|
||||
|
||||
img {
|
||||
margin:0;
|
||||
}
|
||||
|
||||
ul,ol,menu,dir {
|
||||
display:block;
|
||||
margin:1em 0 1em 0;
|
||||
padding-left:24px;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style-type:disc;
|
||||
}
|
||||
|
||||
ol {
|
||||
list-style-type:decimal;
|
||||
}
|
||||
|
||||
li {
|
||||
display:list-item;
|
||||
}
|
||||
|
||||
ul ul, ol ul {
|
||||
list-style-type: circle;
|
||||
}
|
||||
|
||||
ol ol ul, ol ul ul, ul ol ul, ul ul ul {
|
||||
list-style-type: square;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family:Courier;
|
||||
}
|
||||
|
||||
pre, xmp, plaintext, listing {
|
||||
display: block;
|
||||
font-family: monospace;
|
||||
white-space: pre;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
a {
|
||||
color:#2262A3;
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
a:active {
|
||||
color:#2262A3;
|
||||
}
|
||||
|
||||
center {
|
||||
text-align:center;
|
||||
display:block;
|
||||
}
|
||||
|
||||
strong,b {
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
i,em {
|
||||
font-style:italic;
|
||||
}
|
||||
|
||||
u {
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
big {
|
||||
font-size:bigger;
|
||||
}
|
||||
|
||||
small {
|
||||
font-size:smaller;
|
||||
}
|
||||
|
||||
sub {
|
||||
font-size:smaller;
|
||||
vertical-align:sub;
|
||||
}
|
||||
|
||||
sup {
|
||||
font-size:smaller;
|
||||
vertical-align:super;
|
||||
}
|
||||
|
||||
s,strike,del {
|
||||
text-decoration:line-through;
|
||||
}
|
||||
|
||||
tt,code,kbd,samp {
|
||||
font-family:monospace;
|
||||
}
|
||||
|
||||
pre,xmp,plaintext,listing {
|
||||
display:block;
|
||||
font-family:monospace;
|
||||
white-space:pre;
|
||||
margin-top:1em;
|
||||
margin-right:0;
|
||||
margin-bottom:1em;
|
||||
}
|
||||
|
||||
pre {
|
||||
background-color:rgba(0,0,0,.05);
|
||||
padding-top:1em;
|
||||
padding-bottom:1em;
|
||||
border-radius:0.3em;
|
||||
}
|
||||
|
||||
h1 {
|
||||
display:block;
|
||||
font-size:1.5em;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
h2 {
|
||||
display:block;
|
||||
font-size:1.4em;
|
||||
margin-top: 0.83em;
|
||||
}
|
||||
|
||||
h3 {
|
||||
display:block;
|
||||
font-size:1.3em;
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
h4 {
|
||||
display:block;
|
||||
font-size:1.2em;
|
||||
margin-top: 1.33em;
|
||||
}
|
||||
|
||||
h5 {
|
||||
display:block;
|
||||
font-size:1.1em;
|
||||
margin-top: 1.67em;
|
||||
}
|
||||
|
||||
h6 {
|
||||
display:block;
|
||||
font-size:1em;
|
||||
margin-top: 2.33em;
|
||||
}
|
||||
|
||||
div {
|
||||
display: block;
|
||||
}
|
||||
|
||||
hr {
|
||||
display: block;
|
||||
margin:0.5em auto 0.5em auto;
|
||||
border-style: inset;
|
||||
border-width: 1px;
|
||||
}
|
||||
|
||||
table {
|
||||
display: table;
|
||||
border-collapse: separate;
|
||||
border-spacing: 2px;
|
||||
border-color: gray;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
display: block;
|
||||
}
|
||||
@@ -0,0 +1,171 @@
|
||||
|
||||
/* <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;
|
||||
}
|
||||
@@ -0,0 +1,113 @@
|
||||
|
||||
/* <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-weight: normal;
|
||||
}
|
||||
|
||||
/*标题*/
|
||||
.firstTitle, h1.firstTitle {
|
||||
font-size: 1.5em;
|
||||
font-weight: bold;
|
||||
line-height: 1.25em;
|
||||
}
|
||||
.secondTitle, h2.secondTitle {
|
||||
font-size: 1.4em;
|
||||
font-weight: bold;
|
||||
line-height: 1.35em;
|
||||
}
|
||||
.thirdTitle, h3.thirdTitle {
|
||||
font-size: 1.3em;
|
||||
font-weight: bold;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
.fourthTitle, h4.fourthTitle {
|
||||
font-size: 1.2em;
|
||||
font-weight: bold;
|
||||
line-height: 1.65em;
|
||||
}
|
||||
.fifthTitle, h5.fifthTitle {
|
||||
font-size: 1.1em;
|
||||
font-weight: bold;
|
||||
line-height: 1.85em;
|
||||
}
|
||||
.sixthTitle, h6.sixthTitle {
|
||||
font-size: 1em;
|
||||
font-weight: bold;
|
||||
line-height: 2em;
|
||||
}
|
||||
/*首字加大*/
|
||||
/*浮动元素有默认的margin,所以这里会修复一下*/
|
||||
.ftext {
|
||||
float: left;
|
||||
margin: 0em;
|
||||
font-size: 2.38em;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
/*引用内容*/
|
||||
.conQuot {
|
||||
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-vertical-center {
|
||||
wr-vertical-center-style: 1 !important;
|
||||
}
|
||||
|
||||
/* 翻译 */
|
||||
.wr-translation {
|
||||
line-height: 1.7em !important;
|
||||
}
|
||||
|
||||
/* 章节结尾工具 */
|
||||
.book-chapter-tool {
|
||||
display: block;
|
||||
height: 78px;
|
||||
width: 100%;
|
||||
margin-top: 24px;
|
||||
}
|
||||
@@ -0,0 +1,137 @@
|
||||
|
||||
/* <pre>代码块,注意必须写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 忽略公众号文章 <p> 的 background-color,因为公众号太多这样的样式,影响排版效果 */
|
||||
p, strong, span {
|
||||
background-color:transparent !important;
|
||||
}
|
||||
|
||||
/* epub-custom-rule-26 公众号文章背景色强制设为透明 */
|
||||
section, .rich_media_area_primary {
|
||||
background-color:transparent !important;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
.hljs{display:block;overflow-x:auto;padding:0.5em;background:#fff;color:black}.xml .hljs-meta{color:#c0c0c0}.hljs-comment,.hljs-quote{color:#007400}.hljs-tag,.hljs-attribute,.hljs-keyword,.hljs-selector-tag,.hljs-literal,.hljs-name{color:#aa0d91}.hljs-variable,.hljs-template-variable{color:#3F6E74}.hljs-code,.hljs-string,.hljs-meta-string{color:#c41a16}.hljs-regexp,.hljs-link{color:#0E0EFF}.hljs-title,.hljs-symbol,.hljs-bullet,.hljs-number{color:#1c00cf}.hljs-section,.hljs-meta{color:#643820}.hljs-class .hljs-title,.hljs-type,.hljs-built_in,.hljs-builtin-name,.hljs-params{color:#5c2699}.hljs-attr{color:#836C28}.hljs-subst{color:#000}.hljs-formula{background-color:#eee;font-style:italic}.hljs-addition{background-color:#baeeba}.hljs-deletion{background-color:#ffc8bd}.hljs-selector-id,.hljs-selector-class{color:#9b703f}.hljs-doctag,.hljs-strong{font-weight:bold}.hljs-emphasis{font-style:italic}
|
||||
Reference in New Issue
Block a user