_common.css 1.76 KB
@use postcss-clearfix ;

.clearfix {
    clear: fix;
}

*,
*:before,
*:after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html,
body {
    width: 100%;
    font-size: 24px;
    font-family: helvetica, Arial, "黑体";
    line-height: 1.4;
}

button,
input,
select,
textarea {
    margin: 0;
    font-size: 100%;
}

img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    border: 0;
}

a {
    outline: none;
    color: #000;
    text-decoration: none;
}

*:focus {
    outline: none;
}

.main-wrap {
    position: relative;
    margin-right: auto;
    margin-left: auto;
    max-width: 640px;
    width: 100%;
}

@font-face {
    font-family: "iconfont";
    src: resolve("iconfont.eot"); /* IE9 */
    src: resolve("iconfont.eot?#iefix") format("embedded-opentype"), resolve("iconfont.woff") format("woff"), resolve("iconfont.ttf") format("truetype"), resolve("iconfont.svg#iconfont") format("svg"); /* iOS 4.1- */
}

.iconfont {
    text-decoration: none;
    font-style: normal;
    font-size: 24px;
    font-family: 'iconfont' !important;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.4px;
    -moz-osx-font-smoothing: grayscale;
}

.yoho-tip {
    position: fixed;
    display: none;
    text-align: center;
    width: 70%;
    padding: 18PX 55PX;
    top: 50%;
    left: 50%;
    margin-left: -35%;
    margin-top: -45PX;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 18PX;
    border: none;
    z-index: 4;
    border-radius: 10PX;
}

.order-failure {
    background-image: resolve("common/order-good.jpg");
    background-size: 100%;
}

.good-failure {
    background-image: resolve("common/order-good.jpg");
    background-position-x: 40%;
    background-size: 132px !important;
}