_hot-category.scss 1.17 KB
.hot-category {
    margin: (30rem / $pxConvertRem) 0 0;
    border-bottom: 1px solid #e0e0e0;

    .category-banner {
        height: 198rem / $pxConvertRem;
        img {
            display: block;
            width: 100%;
            height: 100%;
        }
    }
    .category-list {
        background: #fff;

        li {
            float: left;
            width: 158rem / $pxConvertRem;
            height: 174rem / $pxConvertRem;
            border-top: 1px solid #e0e0e0;
            border-left: 1px solid #e0e0e0;
            overflow: hidden;

            .img-box {
                width: 100%;
                height: 100%;
                line-height: 174rem / $pxConvertRem;
                text-align: center;
                overflow: hidden;
                font-size: 0;

                img {
                    vertical-align: middle;
                    max-width: 100%;
                    max-height: 100%;
                }
            }

            .category-title {
                line-height: 22rem / $pxConvertRem;
                color: #aaa;
                font-size: 18rem / $pxConvertRem;
                text-align: center;
            }
        }
    }
}