_coin.css 1.9 KB
.yoho-coin {
    background: #f6f6f6;
    padding-top: 20px;

    .coin-total {
        padding: 38px 0;
        background: white;
        text-align: center;

        p:first-child {
            font-size: 34px;
            line-height: 40px;
        }

        p:nth-child(2) {
            font-size: 78px;
            color: #4a90e2;
            line-height: 80px;
        }

        p:last-child {
            color: #b0b0b0;
            font-size: 28px;
            line-height: 40px;
        }
    }

    .coin-detail {
        margin-top: 40px;

        > p:first-child {
            padding: 0 30px;
            font-size: 28px;
            color: #b0b0b0;
        }

        .coin-detail-list {
            padding: 0 30px;
            background: white;
            border-bottom: 1px solid #eee;

            li {
                height: 128px;
                display: flex;
                padding: 20px 0;
                border-bottom: 1px solid #eee;

                &:last-child {
                    border-bottom: 0 none;
                }
            }

            .coin-source {
                flex: 1;

                p {
                    display: -webkit-box;
                    -webkit-line-clamp: 1;
                    -webkit-box-orient: vertical;
                    text-overflow: ellipsis;
                    height: 1.2em;
                    line-height: 1.25;
                    overflow: hidden;
                    font-size: 34px;
                    margin-right: 60px;
                }

                time {
                    display: block;
                    margin-top: 5px;
                    font-size: 28px;
                    color: #b0b0b0;
                }
            }

            .coin-num {
                font-size: 34px;
                line-height: 92px;

                i {
                    font-style: normal;
                }
            }
        }
    }
}