Blame view

public/scss/channel/hot-category.scss 1.1 KB
毕凯 authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
.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;
19
            width: 160px;
毕凯 authored
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
            height: 174px;
            border-top: 1px solid #e0e0e0;
            border-left: 1px solid #e0e0e0;
            overflow: hidden;

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

                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;
            }
        }
    }
}