Authored by 李靖

格式化css

... ... @@ -3,13 +3,15 @@
width: 100%;
overflow: hidden;
background-color: #f0f0f0;
margin:0 auto;
margin: 0 auto;
}
.clearfix:after {
content: '';
content: "";
display: block;
clear: both;
}
.guang-detail-c .editor-info {
width: 100%;
height: 65px;
... ... @@ -17,6 +19,7 @@
padding: 0 20px;
background-color: #fff;
}
.editor-info .pic {
border-radius: 50%;
overflow: hidden;
... ... @@ -25,6 +28,7 @@
height: 45px;
float: left;
}
.editor-info .name {
line-height: 65px;
float: left;
... ... @@ -32,6 +36,7 @@
color: #000;
padding-left: 20px;
}
.editor-info .intro {
line-height: 65px;
float: left;
... ... @@ -39,10 +44,12 @@
color: #b0b0b0;
padding-left: 20px;
}
.article-info {
padding: 10px 20px;
background-color: #fff;
}
.article-info .name {
line-height: 30px;
font-size: 20px;
... ... @@ -50,11 +57,13 @@
font-weight: bold;
clear: both;
}
.article-info .view-c {
color: #b0b0b0;
font-size: 12px;
line-height: 30px;
}
.guang-content {
padding: 0 20px 20px;
background-color: #fff;
... ... @@ -63,38 +72,46 @@
box-sizing: border-box;
width: 100%;
}
.guang-content p {
padding: 5px 0;
}
.guang-content .pic {
clear: both;
margin: 0 auto;
display: block;
max-width: 100%;
}
.related-goods {
float: left;
width: 100%;
background-color: #fff;
}
.related-goods .good-item {
width: 100%;
border-top: 1px solid #e0e0e0;
float: left;
padding: 20px 0;
}
.related-goods .good-item .pic {
width: 25%;
float: left;
}
.pic-mip {
max-width: 100%;
}
.related-goods .good-item .info {
width: 70%;
float: left;
margin-left: 5%;
}
.related-goods .good-item .name {
color: #000;
padding: 10px 0;
... ... @@ -106,10 +123,12 @@
-webkit-box-orient: vertical;
line-height: 25px;
}
.related-goods .good-item .price{
.related-goods .good-item .price {
color: #d62927;
font-size: 14px;
}
.more-goods {
height: 40px;
line-height: 40px;
... ... @@ -121,6 +140,7 @@
padding: 0 20px;
display: block;
}
.recommend-goods {
width: 100%;
overflow-x: scroll;
... ... @@ -129,6 +149,7 @@
background-color: #fff;
-webkit-overflow-scrolling: touch;
}
.good-scroll {
height: 133px;
margin: 20px 0;
... ... @@ -136,13 +157,15 @@
display: inline-flex;
padding-right: 20px;
}
.recommend-goods .good-item {
float: left;
position: relative;
width: 100px;
margin-left: 20px;
}
.recommend-goods .good-item .price{
.recommend-goods .good-item .price {
width: 100px;
height: 20px;
color: #fff;
... ... @@ -154,14 +177,17 @@
background-color: #000;
opacity: 0.7;
}
.related-brand {
background-color: #fff;
}
.brand-c {
width: 100%;
float: left;
background-color: #fff;
}
.related-brand .title {
line-height: 60px;
text-align: center;
... ... @@ -169,11 +195,13 @@
font-size: 18px;
background-color: #fff;
}
.brand-item {
width: 20%;
margin: 10px 2.5%;
float: left;
}
.brand-item p {
font-size: 13px;
color: #babac2;
... ... @@ -184,6 +212,7 @@
text-overflow: ellipsis;
white-space: nowrap;
}
.brand-tag {
border-top: 1px solid #e0e0e0;
float: left;
... ... @@ -193,7 +222,8 @@
padding-right: 20px;
box-sizing: border-box;
}
.brand-tag .tag{
.brand-tag .tag {
background-color: #444;
float: left;
color: #fff;
... ... @@ -201,6 +231,7 @@
padding: 0 10px;
margin: 20px 0 0 20px;
}
.related-info {
margin: 20px 0;
padding: 20px;
... ... @@ -208,21 +239,25 @@
float: left;
padding-bottom: 0;
}
.related-info .info-item {
width: 100%;
float: left;
margin-bottom: 20px;
}
.related-info .info-item .pic {
width: 35%;
float: left;
}
.related-info .info-item .info {
width: 60%;
margin-left: 5%;
float: left;
}
.related-info .info-item .title{
.related-info .info-item .title {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
... ... @@ -230,26 +265,31 @@
overflow: hidden;
line-height: 20px;
}
.related-info .info-item .time {
color: #b0b0b0;
line-height: 22px;
}
.big-pic {
position: relative;
margin-bottom: 3px;
clear: both;
}
.small-pic {
position: relative;
margin-bottom: 3px;
width: 100%;
}
.small-pic .pic {
float: left;
width: 50%;
clear: none;
max-width: 50%;
}
.tag-list-box {
width: 100%;
left: 0;
... ... @@ -257,9 +297,11 @@
position: absolute;
padding: 10px;
}
.label-box {
clear: both;
}
.lable-info-box {
font-size: 12px;
background-color: rgba(0, 0, 0, 0.6);
... ... @@ -275,11 +317,13 @@
white-space: nowrap;
margin-top: 5px;
}
.lable-info-box a {
color: #fff;
overflow: hidden;
text-overflow: ellipsis;
}
.lable-focus {
float: left;
display: flex;
... ... @@ -289,6 +333,7 @@
margin-right: 15px;
margin-top: 5px;
}
.lable-focus .focus-big {
display: flex;
align-items: center;
... ... @@ -300,6 +345,7 @@
-webkit-justify-content: center;
justify-content: center;
}
.lable-focus .focus-small {
width: 17px;
height: 17px;
... ... @@ -309,5 +355,3 @@
transform: scale(0.5, 0.5);
margin: 0;
}
... ...