-
Notifications
You must be signed in to change notification settings - Fork 10
/
style.css
324 lines (275 loc) · 4.94 KB
/
style.css
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
/*
* learning javascript style
*
**/
.wrap {
width: 1000px;
margin: 0 auto;
}
#uyan_frame { width: 1000px; margin: 0 auto;}
/*!
* typo-dev.css v0.9
* 依赖于 normalize.css
* 修改自 bootstrap,实现统一的标签样式(非生产线使用)
*/
/*
* 基于 如下 body 属性
* body { font: 14px/1.5 Tahoma,Arial,\5b8b\4f53,sans-serif;}
* 用于开发研究,默认 14px 字体
*/
.small {
font-size: 80%;
color: #888;
font-weight: normal;
}
.em {
font-style: italic;
}
/* p有上边距,在table中导致td的下边框未合并? */
table p { margin-top: 0;}
/* 紧凑段落布局 TODO */
.compact_p p {
margin : 0;
line-height: 1.6em;
}
.page-header {
padding-bottom: 9px;
margin: 20px 0 30px;
border-bottom: 1px solid #eeeeee;
}
ul,
ol {
padding: 0;
margin: 10px 0 10px 25px;
margin: 10px 0 10px 2em;
}
ul ul,
ul ol,
ol ol,
ol ul {
margin-top: 0;
margin-bottom: 0;
}
ul.unstyled,
ol.unstyled {
margin-left: 0;
list-style: none;
}
ul.inline,
ol.inline {
margin-left: 0;
list-style: none;
}
ul.inline > li,
ol.inline > li {
display: inline-block;
/* IE7 inline-block hack */
*display: inline;
padding-right: 5px;
padding-left: 5px;
*zoom: 1;
}
/*
* <li>• <a href=""></a></li>
* 字体为宋体时 • 能良好的表示 ul 列表项中的点
*/
ul.ul,
ol.ol {
font-family: \5b8b\4f53, sans-serif;
}
/*
* 同 ul/ol,在文章中应具备 table 基本格式
* 此处仅设置样式 .table-info
* 出于统一的目的,更多表格设置请参看 tables.css
*/
.table-info th,
.table-info td,
.table-info td table caption{
border: 1px solid #ddd;
padding: 4px 8px;
}
.table-info th {
background: #fbfbfb;
}
.table-info td {
background: #fff;
}
.table-info thead th {
background: #f1f1f1;
}
.table-info table .caption {
border-bottom:none;
}
dt,
dd {
line-height: 20px;
}
dt {
font-weight: bold;
}
dd {
margin-left: 10px;
}
.dl-hor,
.dl-horizontal {
*zoom: 1;
}
.dl-hor:before,
.dl-hor:after,
.dl-horizontal:before,
.dl-horizontal:after {
display: table;
line-height: 0;
content: "";
}
.dl-hor:after,
.dl-horizontal:after {
clear: both;
}
.dl-hor dt,
.dl-horizontal dt {
float: left;
width: 160px;
overflow: hidden;
clear: left;
text-align: right;
text-overflow: ellipsis;
white-space: nowrap;
}
.dl-horizontal dd {
margin-left: 180px;
}
.dl-hor dt {
width: 100px;
font-weight: normal;
}
.dl-hor dd {
margin-left: 120px;
}
hr {
margin: 20px 0;
border: 0;
border-top: 1px solid #eeeeee;
border-bottom: 1px solid #ffffff;
}
abbr[title],
abbr[data-original-title] {
cursor: help;
border-bottom: 1px dotted #999999;
}
abbr.initialism {
font-size: 90%;
text-transform: uppercase;
}
blockquote {
padding: 0 15px;
margin: 15px 0;
border-left: 5px solid #ddd;
color: #555;
}
blockquote p {
margin: 0.6em 0 0.4em;
line-height: 1.5;
}
blockquote small {
display: block;
line-height: 20px;
color: #999;
}
blockquote small:before {
content: '\2014 \00A0';
}
blockquote em {
margin-left: 1em;
color: green;
}
blockquote blockquote {
margin-left: 2em;
padding: 0 15px;
}
blockquote.pull-right {
float: right;
float: none;
padding-right: 15px;
padding-left: 0;
border-right: 5px solid #ddd;
border-left: 0;
}
blockquote.pull-right p,
blockquote.pull-right small {
text-align: right;
}
blockquote.pull-right small:before {
content: '';
}
blockquote.pull-right small:after {
content: '\00A0 \2014';
}
q:before,
q:after,
blockquote:before,
blockquote:after {
content: "";
}
address {
display: block;
margin-bottom: 20px;
font-style: normal;
line-height: 20px;
}
p {
margin: 0 0 0 10px;
margin: 0.8em 0 0.6em;
}
h1, h2, h3, h4, h5, h6 {
margin: 10px 0;
font-weight: bold;
line-height: 22px;
}
h1 { font-size: 36px;}
h2 { font-size: 28px;}
h3 { font-size: 22px;}
h4 { font-size: 18px;}
h5 { font-size: 14px;}
h6 { font-size: 12px;}
/* 标题应该更贴紧内容,并与其他块区分,margin 值要相应做优化 @引自sofish的typo.css */
h1, h2, h3, h4, h5, h6 {
margin: 1em 0 0.6em;
line-height: 1;
font-weight: bold;
}
h1 { font-size: 2.6em;}
h2 { font-size: 2.0em;}
h3 { font-size: 1.6em;}
h4 { font-size: 1.3em;}
h5 { font-size: 1em;}
h6 { font-size: 12px;}
h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {
line-height: 1;
color: #888;
display: inline-block;
}
h1 small { font-size: 24px;}
h2 small { font-size: 18px;}
h3 small { font-size: 14px;}
h4 small { font-size: 14px;}
h5 small,
h6 small { font-size: 12px;}
/* 重设无样式状态 */
.typo .none li {
list-style-type: none !immportant;
}
.notypo * {
margin: 0;
padding: 0;
list-style: none;
}
.tc { text-align: center;}
@media (min-width: 1240px) {
.wrap,#uyan_frame { width: 1200px; }
}