_editorial.css 2.16 KB
.favorite-editorials {

    .editorial-raw > div {
        float: left;
    }

    .editorial-raw.choose,
    .editorial-raw:hover {
        .fav-cancel {
            display: block;
        }
    }

    .editorial-raw {
        padding: 30px 0;
        border-bottom: 1px solid #eee;
        position: relative;

        .fav-cancel {
            position: absolute;
            display: none;
            top: 30px;
            right: 30px;
            cursor: pointer;

            .iconfont {
                color: #999;
                font-size: 14px;
            }
        }

        .check {
            padding: 80px 0;
            margin-right: 20px;
            cursor: pointer;

            .iconfont {
                font-size: 16px;
                color: #666;
            }
        }

        .editorial-cover {
            width: 240px;
            height: 160px;
            position: relative;

            .editorial-cate {
                position: absolute;
                top: 0;
                left: 0;
                padding: 5px 10px;
                background-color: #000;
                color: #fff;
                font-size: 14px;
            }
        }

        .editorial-info {
            width: 520px;
            height: 160px;
            margin-left: 30px;
            position: relative;

            .editorial-title {
                font-size: 18px;
                line-height: 28px;
            }

            .summer {
                font-size: 14px;
                margin-top: 10px;
            }

        }

        .editorial-tags {

            position: absolute;
            bottom: 0;

            span {
                background-color: #bbb;
                color: #fff;
                display: inline-block;
                padding: 5px 10px;
                font-size: 14px;
                margin-right: 10px;
            }
        }

        .editorial-some {
            margin-top: 15px;
            font-size: 14px;

            .author {
                margin-right: 50px;
                color: #1b1b1b;
            }

            span {
                margin-right: 30px;
                color: #999;
            }

        }
    }

}