topHead.scss 2.47 KB
.top_head {
    display: flex;
    justify-content: space-between;
    background: url('../assets/images/top_bg.png') no-repeat center bottom;
    background-size: 100% auto;
    height: 102px;

    .logo,
    .right_box {
        flex: 1;
        flex-shrink: 0;
        box-sizing: border-box;
    }

    .logo {
        .img {
            width: 166px;
            height: 36px;
            margin: 18px 0 0 32px;
        }
    }

    .title_box {
        box-sizing: border-box;
        padding-top: 19px;
        text-align: center;

        .title {
            flex: 2;

            font-family: SourceHanSansCN-Bold;
            font-weight: 700;
            font-size: 44px;
            letter-spacing: 5px;
            //   background: linear-gradient(left right, #00c8ff 0%, #0069f2 100%);
            //   background-clip: text;
            //   -webkit-background-clip: text;
            //   -webkit-text-fill-color: transparent;

            background: linear-gradient(to right,
                    #00c8ff 0%,
                    #0069f2 100%);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
    }

    .right_box {
        display: flex;
        justify-content: flex-end;

        .time_box {
            display: flex;
            flex-direction: column;
            margin-top: 19px;

            .date {
                font-family: SourceHanSansCN-Medium;
                font-weight: 500;
                font-size: 10px;
                color: #56FEFE;
                letter-spacing: 0;
                line-height: 15px;
            }

            .time {
                font-family: SourceHanSansCN-Medium;
                font-weight: 500;
                font-size: 20px;
                color: #56FEFE;
                letter-spacing: 2px;
                line-height: 29px;
            }
        }

        .welcome {
            width: 196px;
            height: 52px;
            background: url('../assets/images/top_user.png') no-repeat top center;
            background-size: 100% auto;
            text-align: center;
            margin: 10px 24px 0 68px;
            line-height: 52px;

            span {
                font-family: SourceHanSansCN-Regular;
                font-weight: 400;
                font-size: 14px;
                color: #56FEFE;
                letter-spacing: 0;
                // margin-top:16px;
                line-height: 0;
            }
        }
    }

}