2025-01-23 09:35:55 +08:00

340 lines
6.0 KiB
CSS

body,p,ul,ol,dl,dd,h1,h2,h3,h4,h5,h6,td,input,select,textarea,figure{
margin:0;
padding:0;
}
body{
font-family:"微软雅黑",Arial;
background:#fff;
position: relative;
-webkit-text-size-adjust: 100% !important;
}
html,body{
width:100%;
}
a{
text-decoration:none;
}
img{
border:none;
display:block;
}
html{
font-size:16px !important;
}
.header{
height:45px;
background-color: #ededed;
display: flex;
align-items: center;
justify-content: space-between;
padding:0 16px;
font-size: 17px !important;
}
.header img:first-child{
display: block;
width:14px;
height:14px;
}
.header img:last-child{
display: block;
width:20px;
}
#min{
min-height:100vh;
}
.content {
height: 100%;
padding: 0 15px 35px;
overflow-y: auto;
background-color: #ffffff;
margin-bottom: 2%;
}
.content h2{
font-size: 20px;
color:#333333;
line-height: 35px;
}
.content span{
font-size:15px;
color:#999999;
/*display: block;*/
line-height: 20px;
padding-top:12px;
}
#pageInfo{
margin-bottom:10px;
text-align: center;
}
.content em{
font-style: normal;
font-size:12px;
color:#999999;
line-height: 26px;
display: inline-block;
}
.content em{
margin-right:13px;
}
.content img{
display: block;
max-width: 100%;
width: auto;
height: auto;
margin: 0 auto 15px auto;
}
.content p{
font-size: 16px;
color: #333333;
letter-spacing: 0px;
line-height:30px;
margin-bottom:10px;
/*text-indent: 2em;*/
}
.content .post{
font-size: 16px;
color: #333333;
letter-spacing: 0;
line-height:30px;
}
.MenuBox{
position: fixed;
bottom:0;
right:20px;
z-index:99;/*图片轮播新增样式*/
}
.MenuBox img{
display: block;
width:40px;
height:40px;
margin-bottom:16px;
cursor: pointer;
border-radius: 50%;
}
.MenuBox a{
display: block;
width:40px;
height:40px;
margin-bottom:16px;
cursor: pointer;
border-radius: 50%;
background-size: cover;
}
.remark{
font-size: 26px;
color: red;
font-weight: bold;
display: none;
}
#fullPage{
display: none;
background: black;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 19930428;
}
#fullPage img{
display: block;
width: 100%;
}
#canvas{
width: 100%;
height: 100%;
background: none;
display: block;
}
/* 遮罩层 */
.Mask_box{
position: relative;
display: none;
}
.Mask{
position: fixed;
top: 0;
background: rgba(0,0,0,.5);
height: 100%;
width: 100%;
}
.shareBox{
position: fixed;
bottom: 0;
z-index: 111;
display: flex;
align-items: center;
justify-content: space-around;
width: 100%;
height:100px;
background: white;
}
.shareBox img{
display: block;
width:35px;
height:35px;
}
.shareBox a{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.shareBox span{
display: block;
color: #333;
font-size: 12px;
text-align: center;
text-decoration: none;
line-height:30px;
}
#min .optTips{
width: 160px;
height: 22px;
position: fixed;
bottom: 25px;
left: 50%;
margin-left: -80px;
background: url('../image20/detailsIptTips.png')no-repeat center / 100% 100%;
opacity: 0.8;
display:none;
}
.codeWraper{
width:100%;
height:auto;
margin-top:20px;
margin-bottom: 42px;
}
.codeWraper .codeTxt{
width: 90%;
text-align: center;
font-size: 12px;
color: #fff;
background-color: #03499e;
line-height: 30px;
border-radius: 5px;
margin:0 auto;
display: block;
}
.codeWraper .codeImg{
max-width: 70%;
height: auto;
margin-top: 20px;
}
/* 为文章内容前添加版面图显示 */
.contentLayoutImg {
width: 100%;
padding: 5px;
background: rgba(0,0,0,0.1);
box-sizing: border-box;
margin-bottom: 10px; /*图片轮播新增样式*/
}
.contentLayoutImg .layoutImgbox{
width:100%;
height:100%;
position:relative;
}
.contentLayoutImg .layoutImgbox canvas{
position:absolute;
/* width:100%;
height:100%; */
top:0;
left:0;
}
.contentLayoutImg img{
width:auto;
max-width:100%;
height:auto;
margin:0 auto;
}
.contentLayoutImg p{
text-align: center;
font-size: 12px;
margin-bottom: 0;
margin-top: 10px;
}
.contentLayoutImg+#imgBox>img:first-child{margin-top:10px;}
#synthWrap .synthHeadContent{
display: flex;
justify-content: space-between;
color: #8F8F8F;
height: 20px;
margin-bottom: 10px;
font-size: 12px;
line-height: 20px;
font-weight: 500;
}
/*图片轮播新增样式*/
/*内容详情图片轮播 swiper*/
.swiper {
height: 2rem;
}
.swiper-slide {
text-align: center;
font-size: 18px;
/* Center slide text vertically */
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
}
.swiper-slide img {
display: block;
width:auto;
max-height:220px;
object-fit: inherit !important;
position: relative;
}
.content .bannerDes {
position: absolute;
left: 0;
bottom: 0;
padding: 10px 10px 20px 10px;
box-sizing: border-box;
width: 100%;
background: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.3));
text-indent: 0rem;
color: #fff;
font-size: 14px;
line-height: 20px;
text-align: justify;
}
.swiper-pagination {
color: #fff;
text-align:right;
}
.content .swiper-pagination span {
position: absolute;
text-align: center;
transition: .3s opacity;
transform: translate3d(0,0,0);
z-index: 10;
color: #fff;
font-size: 14px;
display: contents;
}
/*图片轮播新增样式*/
#articleAuthor{display:none;}
/*造字样式*/
.zaozi{border-style: none!important;display:inline!important;margin:0px!important;}