_common.css 1.74 KB

@use postcss-clearfix ;

.clearfix {
    clear: fix;
}

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

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

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

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

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

*:focus {
    outline: none;
}

.hide {
    display: none;
}

.overflow-hidden {
    overflow: hidden;
}

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

.iconfont {
    font-family: "iconfont" !important;
    font-size: 32px;
    font-style: normal;
    text-decoration: none;
    -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%;
    max-width: 600px;
    padding: 68px 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 36px;
    border: none;
    z-index: 4;
    border-radius: 20px;
}

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

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