topic.less 4.84 KB
* {
    margin: 0;
    padding: 0;
    border: none;
}

ul {
    list-style: none;
}

body {
    font: 14px/1.5 normal "SimHei", "Microsoft YaHei", "Simson";
    color: #333;
}

.head {
  height: 44px;
  box-sizing: border-box;
  text-align: center;
}
.logo {
  width: 25px;
  background: url('../images/icon/icon.png') no-repeat;
  background-size: 150px;
  background-position: -125px 11px;
  margin: 0 15px;
}
.m-header {
  z-index: 5;
  color: #FFF;
  background-color: #6c2;
  position: relative;
}
.m-header.header-light {
  background: rgba(255, 255, 255, 0.8);
  color: #000;
  box-shadow: inset 0 0 1px #ddd;
}
.m-header.header-light .text {
  color: #666;
}
.m-header .head {
  padding: 0 50px;
  box-sizing: border-box;
}
.m-header .head h1 {
  display: inline-block;
  vertical-align: middle;
  line-height: 44px;
  font-weight: normal;
  font-size: 18px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.m-header .lt-bar,
.m-header .rt-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  min-width: 44px;
  height: 100%;
  cursor: pointer;
}
.m-header .lt-bar {
  float: left;
}
.m-header .lt-bar.text {
  padding-left: 10px;
  text-align: left;
}
.m-header .rt-bar {
  float: right;
  left: auto;
  right: 0;
}
.m-header .rt-bar.text {
  padding-right: 10px;
  text-align: right;
}
.m-header .text {
  text-align: center;
  line-height: 44px;
  font-size: 15px;
  color: #FFF;
}
.m-header.header-search .head {
  padding: 7px 44px 7px 44px;
}
.m-header.header-search .search-box {
  line-height: 30px;
  font-size: 14px;
  padding: 0 8px;
  background-color: #55bb22;
  border-radius: 3px;
  height: 30px;
  color: #eee;
  cursor: text;
  text-align: left;
}
.m-header.header-search .input-wrap {
  overflow: hidden;
  padding-left: 8px;
  box-sizing: border-box;
}
.m-header.header-search .m-input {
  float: left;
  width: 98%;
  display: block;
  padding: 4px 0;
  color: #FFF;
}
.m-header.header-search .m-input::-webkit-input-placeholder {
  color: #EEE;
}
.m-header.header-search .m-dropdown {
  float: left;
}
.m-header.header-search #search-btn {
  background: none;
  color: #fff;
  font-size: 14px;
}
.m-header.header-home .head {
  position: relative;
  padding: 7px 10px 7px 44px;
  margin-right: 0;
}

.m-page {
    padding-bottom: 0;
}

.m-icon {
  width: 25px;
  height: 25px;
  display: inline-block;
  vertical-align: middle;
  text-align: left;
  text-indent: -999em;
  overflow: hidden;
  background: url("../images/icon/bank_card.png") center center no-repeat;
}
.m-icon.icon-back {
  background-image: url("../images/icon/arrow_rt@2x.png");
  background-size: 10px;
  -webkit-transform: rotateZ(180deg);
  -ms-transform: rotateZ(180deg);
  -o-transform: rotateZ(180deg);
  transform: rotateZ(180deg);
}
.clearfix:after,
.clear:after {
    content: " ";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    line-height: 0px;
}

.m-to-top {
    position: fixed;
    right: 10px;
    bottom: 20px;
    display: block;
    width: 37px;
    height: 37px;
    background: url(../images/icon_top.png)center center no-repeat;
    background-size: cover;
}

.nf_main {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    overflow: hidden;
    .section {
        float: left;
        width: 100%;
        img {
            float: left;
            width: 100%;
            max-width: 100%;
        }
    }
    .store {
        background-color: #ff5757;
        ul {
            width: 100%;
            padding: 0 15px;
            box-sizing: border-box;
        }
        li {
            float: left;
            width: 50%;
            padding: 5px 8px;
            box-sizing: border-box;
            img {
                width: 100%;
                max-width: 100%;
            }
        }
    }
    .footer {
        background: url(../images/main/footer_bg.jpg) no-repeat;
        background-size: cover;
        text-align: center;
        padding: 10px 0 50px;
    }
    .market {
        background: rgba(255, 255, 255, .7);
        text-align: right;
        font-size: 0;
        width: 200px;
        // max-width: 75%;
        display: inline-block;
        margin-right: 70px;
        position: relative;
        padding: 5px;
        dt {
            float: right;
            width: 57px;
            position: absolute;
            right: -62px;
        }
        dd {
            float: left;
            width: 50%;
            padding: 2px 5px;
            box-sizing: border-box;
            height: 20px;
            display: inline-block;
            margin-bottom: 5px;
            font-weight: normal;
            text-align: center;
            a {
                border: 1px solid #e84b4a;
                border-radius: 2px;
                font-size: 14px;
                color: #e53838;
                display: block;
                line-height: 20px;
                text-decoration: none;
            }
        }
    }
}