_common.css
1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
@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;
}
.hide {
display: none;
}
.overflow-hidden {
overflow: hidden;
}
.main-wrap {
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: 32px;
font-family: "iconfont" !important;
-webkit-font-smoothing: antialiased;
-webkit-text-stroke-width: 0.4px;
-moz-osx-font-smoothing: grayscale;
}
.yoho-tip {
position: fixed;
top: 50%;
left: 50%;
z-index: 4;
display: none;
padding: 68px 0;
max-width: 600px;
width: 70%;
border: none;
border-radius: 20px;
background-color: rgba(0, 0, 0, 0.7);
color: #fff;
text-align: center;
font-size: 36px;
transform: translate(-50%, -50%);
}
.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;
}