common.css


2018-01-28 css
body,
ol,
ul,
h1,
h2,
h3,
h4,
h5,
h6,
p,
th,
td,
dl,
dd,
form,
fieldset,
legend,
input,
textarea,
select {
  margin: 0;
  padding: 0;
}

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

  -webkit-overflow-scrolling: touch;
}
html{
  overflow-y: overlay;
}
body {
  color: #333;
  background: #fff;

  font: 14px "Microsoft YaHei", 微软雅黑, Arial;

  -webkit-text-size-adjust: 100%;
}

a {
  color: inherit;

  text-decoration: none;
}

a:hover {
  color: inherit;

  text-decoration: none;
}

button {
  cursor: pointer;
}

em {
  font-style: normal;
}

li {
  list-style: none;
}

img {
  border: 0;

  vertical-align: middle;
}

p {
  word-wrap: break-word;
}

textarea {
  display: block;
  overflow-y: auto;

  box-sizing: border-box;
  width: 100%;
  height: 120px;
  min-height: 120px;
  padding: 12px 15px;

  color: #969799;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;

  font: 14px "Microsoft YaHei", 微软雅黑, Arial;
  line-height: 1.5;

  resize: none;
}

.clearfix::after {
  content: "";

  display: block;
  clear: both;
}
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
Last Updated: 2020年11月26日星期四上午10点22分

Failed to load comments