_myqrcode.css 1.12 KB
$white: #fff;
$gray: #e0e0e0;

.myqrcode {
    height: 860px;
    width: 555px;
    margin: 100px auto 30px;
    padding-top: 55px;
    text-align: center;
    border-radius: 8px;
    background: $white;

    &_head {
        height: 120px;
        width: 120px;
        margin-bottom: 20px;
        border: 5px solid $gray;
        border-radius: 50%;
        background: #ccc;
    }

    &_uname {
        display: inline-block;
        margin-bottom: 12px;
    }

    &_vip {
        margin: 0 auto;
        height: 32px;
        width: 72px;
        margin-bottom: 25px;
    }

    &_vip_1 {
        background: url('/home/vip-1.png'); 
    }

    &_vip_2 {
        background: url('/home/vip-2.png'); 
    }

    &_vip_3 {
        background: url('/home/vip-3.png'); 
    }

    &_qr {
        display: inline-block;
        position: relative;
        height: 500px;
        width: 500px;
    }

    &_icon {
        position: absolute;
        top: 50%;
        left: 50%;
        height: 100px;
        width: 100px;
        border: 5px solid #fff;
        border-radius: 50%;
        margin-top: -50px;
        margin-left: -50px;
    }
}