_hot-category.css 1.45 KB
.hot-category {
    border-bottom: 1px solid #e0e0e0;

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

        li {
            float: left;
            width: 158px;
            height: 158px;
            border-top: 1px solid #e0e0e0;
            border-left: 1px solid #e0e0e0;
            overflow: hidden;
            position: relative;

            .img-box {
                width: 100%;
                height: 100%;
                line-height: 154px;
                text-align: center;
                overflow: hidden;
                font-size: 0;
                position: relative;

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

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

            .img-cover {
                position: absolute;
                height: 42px;
                line-height: 42px;
                text-align: center;
                width: 100%;
                bottom: 0;
                color: #000;
                font-size: 12PX;
            }
        }
    }
}