@import './function';
* {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    &.is-component {
        overflow: hidden;
    }
}
#app {
    height: 100%;
    width: 100%;
    @include background_color(backgroundColor1);
    @include font_color(fontColor1);
    @include box_flex($width: 100%, $height: 100%, $direction: row, $justify: center, $align: flex-start);
}
a {
    color: #409eff;
    text-decoration: none;
}

.container {
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        margin: 0 0 14px;
    }
    .tip,
    .warning {
        padding: 8px 16px;
        border-radius: 4px;
        margin: 20px;
        > p {
            margin: 0 !important;
            width: 100% !important;
            font-size: 14px;
            line-height: 25px;
        }
        > pre {
            margin: 0 !important;
            > code {
                width: 100%;
                height: 100%;
                margin: 0 4px;
                display: inline-block;
                padding: 1px 5px;
                font-size: 12px;
                border-radius: 3px;
                line-height: 20px;
            }
        }
    }
    .tip {
        @include background_color(tipBgColor);
        @include font_color(fontColor5);
        border-left: #409eff 5px solid;
    }
    .warning {
        @include background_color(warnBgColor);
        @include font_color(fontColor5);
        border-left: #f56c6c 5px solid;
    }
}

@font-face {
    font-family: 'douyuFont-2';
    src: url('./assets/fonts/douyuFont-2.otf');
    font-weight: normal;
    font-style: normal;
}
