UNPKG

2.97 kBCSSView Raw
1html,
2body,
3div,
4span,
5object,
6iframe,
7h1,
8h2,
9h3,
10h4,
11h5,
12h6,
13p,
14blockquote,
15pre,
16a,
17address,
18code,
19em,
20img,
21strong,
22i,
23center,
24ol,
25ul,
26li,
27fieldset,
28form,
29label,
30table,
31caption,
32tbody,
33thead,
34tr,
35th,
36td,
37article,
38aside,
39canvas,
40details,
41figure,
42figcaption,
43footer,
44header,
45hgroup,
46menu,
47nav,
48output,
49section,
50summary,
51audio,
52video {
53 margin: 0;
54 padding: 0;
55 border: 0;
56 font-size: 100%;
57 font: inherit;
58}
59
60article,
61aside,
62details,
63figcaption,
64figure,
65footer,
66header,
67hgroup,
68menu,
69nav,
70section {
71 display: block;
72}
73
74a {
75 text-decoration: none;
76}
77
78a:link {
79 text-decoration: none;
80}
81
82a:visited {
83 text-decoration: none;
84}
85
86a:hover {
87 text-decoration: none;
88}
89
90a:active {
91 text-decoration: none;
92}
93
94a:-webkit-any-link {
95 text-decoration: none;
96}
97
98blockquote,
99q {
100 quotes: none;
101}
102
103blockquote:before,
104blockquote:after,
105q:before,
106q:after {
107 content: "";
108 content: none;
109}
110
111table {
112 border-collapse: collapse;
113 border-spacing: 0;
114}
115
116input {
117 outline: 0;
118 border: 1px solid rgb(240, 240, 240);
119}
120
121button {
122 outline: 0;
123}
124
125input,
126textarea,
127button:focus {
128 outline: none;
129}
130
131::-webkit-scrollbar {
132 height: 6px;
133 width: 6px;
134 overflow: visible;
135}
136
137::-webkit-scrollbar-button {
138 height: 0;
139 width: 0;
140}
141
142::-webkit-scrollbar-track {
143 background-clip: padding-box;
144 border: solid transparent;
145 border-width: 0;
146}
147
148::-webkit-scrollbar-track:hover {
149 background-color: rgba(0, 0, 0, 0.05);
150 box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.1);
151}
152
153::-webkit-scrollbar-track:active {
154 background-color: rgba(0, 0, 0, 0.05);
155 box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.14),
156 inset -1px 0 0 rgba(0, 0, 0, 0.07);
157}
158
159::-webkit-scrollbar-track:horizontal {
160 border-width: 0;
161}
162
163::-webkit-scrollbar-track:horizontal:hover {
164 box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1);
165}
166
167::-webkit-scrollbar-track:horizontal:active {
168 box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.14),
169 inset 0 -1px 0 rgba(0, 0, 0, 0.07);
170}
171
172::-webkit-scrollbar-thumb {
173 background-color: rgba(0, 0, 0, 0.2);
174 min-height: 28px;
175 padding: 20px 0 0;
176 box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1),
177 inset 0 -1px 0 rgba(0, 0, 0, 0.07);
178}
179
180::-webkit-scrollbar-thumb:hover {
181 background-color: rgba(0, 0, 0, 0.4);
182 box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.25);
183}
184
185::-webkit-scrollbar-thumb:horizontal {
186 border-width: 6px 1px 1px;
187 padding: 0 0 0 100px;
188 box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1),
189 inset -1px 0 0 rgba(0, 0, 0, 0.07);
190}
191
192::-webkit-scrollbar-corner {
193 background: transparent;
194}
195
196body {
197 -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
198 font-family: -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue",
199 Helvetica, Arial, "Microsoft Yahei", "Hiragino Sans GB", sans-serif;
200 margin: 0;
201 padding: 0;
202 font-size: 13px;
203}
204
205.flex {
206 display: flex;
207}
208
209.wrap {
210 flex-wrap: wrap;
211}
212
213.column {
214 flex-direction: column;
215}
216
217.center {
218 justify-content: center;
219 align-items: center;
220}
221
222.shrink {
223 flex-shrink: 0;
224}
225
226.grow {
227 flex-grow: 1;
228}