245 lines
4.7 KiB
CSS
245 lines
4.7 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
/* box-sizing: border-box; */
|
|
}
|
|
input{
|
|
border: 0;
|
|
outline:0;
|
|
}
|
|
|
|
body {
|
|
background: #f0f2f4;
|
|
color: #222;
|
|
font-size: 14px;
|
|
}
|
|
.swal2-styled.swal2-cancel{
|
|
font-size: 16px !important;
|
|
margin-right: 30px !important;
|
|
}
|
|
.swal2-styled.swal2-confirm{
|
|
font-size: 16px !important;
|
|
}
|
|
.swal2-styled{
|
|
padding: 0.45em 1.2em !important;
|
|
}
|
|
.swal2-title{
|
|
font-size: 1.4em !important;
|
|
}
|
|
|
|
.ellipsis {
|
|
display: -webkit-box; /* 必须结合 -webkit-line-clamp 使用 */
|
|
-webkit-box-orient: vertical; /* 设置盒子垂直排列子元素 */
|
|
-webkit-line-clamp: 2; /* 显示两行 */
|
|
overflow: hidden; /* 超出内容隐藏 */
|
|
text-overflow: ellipsis; /* 设置省略号 */
|
|
}
|
|
|
|
/* 隐藏横向滚动条 */
|
|
/* ::-webkit-scrollbar {
|
|
width: 0;
|
|
height: 0;
|
|
display: none;
|
|
color: transparent;
|
|
} */
|
|
|
|
|
|
/*小说css*/
|
|
.novel-list{
|
|
|
|
}
|
|
.list-header{
|
|
height: 1.46rem;
|
|
}
|
|
.block_img {
|
|
height: auto;
|
|
border: 0px;
|
|
overflow: hidden;
|
|
/* padding-top: 10px; */
|
|
/* padding-bottom: 10px; */
|
|
float: left;
|
|
margin-right: 5px;
|
|
}
|
|
.block_img img{
|
|
border-radius: 10px;
|
|
}
|
|
.novel-list .block_img img{
|
|
width:1.0rem;
|
|
height:1.32rem;
|
|
}
|
|
.novel-list .block_img{
|
|
position: relative;
|
|
}
|
|
.block_txt {
|
|
border: 0px;
|
|
/* height: 78px; */
|
|
overflow: hidden;
|
|
line-height: 20px;
|
|
/* padding-top: 8px; */
|
|
}
|
|
.block_txt h2 {
|
|
font-size: 0.26rem;
|
|
margin-bottom: 0px;
|
|
display: -webkit-box; /* 必须结合 -webkit-line-clamp 使用 */
|
|
-webkit-box-orient: vertical; /* 设置盒子垂直排列子元素 */
|
|
-webkit-line-clamp: 1; /* 显示两行 */
|
|
overflow: hidden; /* 超出内容隐藏 */
|
|
text-overflow: ellipsis; /* 设置省略号 */
|
|
}
|
|
.block_txt p{
|
|
margin-bottom: 0px;
|
|
}
|
|
.block_txt .xiaoshuo_maioshu{
|
|
|
|
}
|
|
.block_txt .xiaoshuo_maioshu a{
|
|
/* display: inline-block; */
|
|
font-size: 0.2rem;
|
|
/* height: 40px; */
|
|
overflow: hidden;
|
|
color:#898989;
|
|
line-height: 0.26rem;
|
|
|
|
}
|
|
.block_txt .xiaoshuo_info{
|
|
font-size: 0.2rem;
|
|
color:#3b3939;
|
|
}
|
|
.mei_ri_gen_xin_list{
|
|
|
|
}
|
|
|
|
.mei_ri_gen_xin_list .list-header{
|
|
display: block;
|
|
height: 0.66rem;
|
|
border-bottom: 1px solid #cccccc;
|
|
margin-bottom:5px;
|
|
}
|
|
|
|
.mei_ri_gen_xin_list .block_txt{
|
|
height: auto;
|
|
}
|
|
.mei_ri_gen_xin_list .xiaoshuo_info{
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
}
|
|
body .bg-top-pink-minheight{
|
|
height: 0.75rem!important;
|
|
}
|
|
.novel-list .icon-status{
|
|
position: absolute;
|
|
top: .05rem;
|
|
font-size: .24rem;
|
|
color: #fff;
|
|
border-radius: .08rem;
|
|
padding: 0 .08rem;
|
|
left: .05rem;
|
|
background-color: #0ba360;
|
|
}
|
|
|
|
.detail-info{
|
|
|
|
}
|
|
.detail-title-xiangqing h1{
|
|
font-family: PingFang SC;
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
font-size: .25rem;
|
|
line-height: .28rem;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
max-width: 100%;
|
|
color: #191919;
|
|
|
|
}
|
|
.info-btn {
|
|
margin-top:0.5rem;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
flex-flow: row wrap;
|
|
align-content: flex-start;
|
|
}
|
|
.info-btn .jiarushujia{
|
|
width: 2.2rem;
|
|
display: inline-block;
|
|
text-align: center;
|
|
|
|
box-shadow: 0 0 .2rem #999;
|
|
border-radius: .2rem;
|
|
overflow: hidden;
|
|
background-color: #fff;
|
|
padding: .12rem 0;
|
|
color: #000;
|
|
|
|
}
|
|
.novel-reader-title{
|
|
text-align: center;
|
|
line-height: 0.6rem;
|
|
font-size: 0.32rem;
|
|
}
|
|
.novel-new-zj{
|
|
color:#007bff;
|
|
}
|
|
.paihang-bang h2{
|
|
font-size: 0.23rem;
|
|
}
|
|
.paihang-bang .xiaoshuo_info{
|
|
font-size: 0.19rem;
|
|
margin-bottom: 0px;
|
|
display: -webkit-box; /* 必须结合 -webkit-line-clamp 使用 */
|
|
-webkit-box-orient: vertical; /* 设置盒子垂直排列子元素 */
|
|
-webkit-line-clamp: 1; /* 显示两行 */
|
|
overflow: hidden; /* 超出内容隐藏 */
|
|
text-overflow: ellipsis; /* 设置省略号 */
|
|
font-family: "PingFang SC";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
}
|
|
.paihang-bang .sort-index{
|
|
float: left;
|
|
margin-right: 0.1rem;
|
|
}
|
|
.custom-box {
|
|
width: 0.26rem;
|
|
height: 0.26rem;
|
|
text-align: center;
|
|
line-height: 0.16rem;
|
|
font-family: "Yuewen Font";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 0.2rem;
|
|
line-height: 0.25rem;
|
|
margin-bottom: 0.2rem;
|
|
margin-top:0.06rem;
|
|
background: linear-gradient(180deg, #fc3c48 -3.91%, #ffaeb4 96.09%);
|
|
border-radius: 0.05rem 0;
|
|
|
|
color: #fff;
|
|
}
|
|
.tuijian-web h1{
|
|
font-size: 0.3rem;
|
|
}
|
|
|
|
#firendlink {
|
|
border: 1px solid #DDD;
|
|
line-height: 22px;
|
|
width: 100%;
|
|
margin: 10px auto;
|
|
padding: 9px 0 9px 9px;
|
|
}
|
|
#firendlink a {
|
|
color: #548161;
|
|
display: inline-block;
|
|
margin: 0 9px 0 0;
|
|
}
|
|
.footer_cont{
|
|
margin: auto;
|
|
}
|
|
.footer_cont p {
|
|
text-align: center;
|
|
color: #B2B2B2;
|
|
line-height: 20px;
|
|
width: 100%;
|
|
} |