//页面初始化，重置样式
@import '../themes/default.less';

*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 0;
    outline: 0;
    vertical-align: baseline;
    font-weight: inherit;
    font-family: inherit;
    font-style: inherit;
    font-size: 100%;
    background: transparent;
    // 火狐浏览器滚动条样式
    scrollbar-color: #cccccc; /* 滑块颜色  滚动条背景颜色 */
    scrollbar-width: thin; /* 滚动条宽度有三种：thin、auto、none */
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft Yahei', '宋体',
        Tahoma, Arial, Helvetica, STHeiti, sans-serif;
    font-size-adjust: none;
    color: @text-color;
    font-size: @font-size-base;
    font-stretch: normal;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    background-color: @body-color;
    -webkit-overflow-scrolling: touch;
}

input,
textarea {
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal;
}

ul,
li {
    list-style: none;
}

a,
a:active,
a:hover {
    text-decoration: none;
    color: inherit;
}

u,
del {
    text-decoration: none;
}

img,
fieldset {
    border: 0;
}

th,
em,
strong,
b,
address,
cite {
    font-style: normal;
    font-weight: normal;
}

@media screen and (max-width: @screen-sm) {
    html {
        height: 100%;
        font-size: 10000/750vw;
    }
}

@media screen and (min-width: @screen-sm) {
    html {
        font-size: 50px;
    }

    body {
        font-size: 14px;
        line-height: 1.5;
    }
}
