ui-typography.html
30.8 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
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
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Edmin</title>
<link type="text/css" href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link type="text/css" href="bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet">
<link type="text/css" href="css/theme.css" rel="stylesheet">
<link type="text/css" href="images/icons/css/font-awesome.css" rel="stylesheet">
<link type="text/css" href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,400,600'
rel='stylesheet'>
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".navbar-inverse-collapse">
<i class="icon-reorder shaded"></i></a><a class="brand" href="index.html">Edmin </a>
<div class="nav-collapse collapse navbar-inverse-collapse">
<ul class="nav nav-icons">
<li class="active"><a href="#"><i class="icon-envelope"></i></a></li>
<li><a href="#"><i class="icon-eye-open"></i></a></li>
<li><a href="#"><i class="icon-bar-chart"></i></a></li>
</ul>
<form class="navbar-search pull-left input-append" action="#">
<input type="text" class="span3">
<button class="btn" type="button">
<i class="icon-search"></i>
</button>
</form>
<ul class="nav pull-right">
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown
<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#">Item No. 1</a></li>
<li><a href="#">Don't Click</a></li>
<li class="divider"></li>
<li class="nav-header">Example Header</li>
<li><a href="#">A Separated link</a></li>
</ul>
</li>
<li><a href="#">Support </a></li>
<li class="nav-user dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">
<img src="images/user.png" class="nav-avatar" />
<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#">Your Profile</a></li>
<li><a href="#">Edit Profile</a></li>
<li><a href="#">Account Settings</a></li>
<li class="divider"></li>
<li><a href="#">Logout</a></li>
</ul>
</li>
</ul>
</div>
<!-- /.nav-collapse -->
</div>
</div>
<!-- /navbar-inner -->
</div>
<!-- /navbar -->
<div class="wrapper">
<div class="container">
<div class="row">
<div class="span3">
<div class="sidebar">
<ul class="widget widget-menu unstyled">
<li class="active"><a href="index.html"><i class="menu-icon icon-dashboard"></i>Dashboard
</a></li>
<li><a href="activity.html"><i class="menu-icon icon-bullhorn"></i>News Feed </a>
</li>
<li><a href="message.html"><i class="menu-icon icon-inbox"></i>Inbox <b class="label green pull-right">
11</b> </a></li>
<li><a href="task.html"><i class="menu-icon icon-tasks"></i>Tasks <b class="label orange pull-right">
19</b> </a></li>
</ul>
<!--/.widget-nav-->
<ul class="widget widget-menu unstyled">
<li><a href="ui-button-icon.html"><i class="menu-icon icon-bold"></i> Buttons </a></li>
<li><a href="ui-typography.html"><i class="menu-icon icon-book"></i>Typography </a></li>
<li><a href="form.html"><i class="menu-icon icon-paste"></i>Forms </a></li>
<li><a href="table.html"><i class="menu-icon icon-table"></i>Tables </a></li>
<li><a href="charts.html"><i class="menu-icon icon-bar-chart"></i>Charts </a></li>
</ul>
<!--/.widget-nav-->
<ul class="widget widget-menu unstyled">
<li><a class="collapsed" data-toggle="collapse" href="#togglePages"><i class="menu-icon icon-cog">
</i><i class="icon-chevron-down pull-right"></i><i class="icon-chevron-up pull-right">
</i>More Pages </a>
<ul id="togglePages" class="collapse unstyled">
<li><a href="other-login.html"><i class="icon-inbox"></i>Login </a></li>
<li><a href="other-user-profile.html"><i class="icon-inbox"></i>Profile </a></li>
<li><a href="other-user-listing.html"><i class="icon-inbox"></i>All Users </a></li>
</ul>
</li>
<li><a href="#"><i class="menu-icon icon-signout"></i>Logout </a></li>
</div>
<!--/.sidebar-->
</div>
<!--/.span3-->
<div class="span9">
<div class="content">
<div class="module">
<div class="module-head">
<h3>
Typography</h3>
</div>
<div class="module-body">
<section class="docs">
<h2>
Headings</h2>
<p>
All HTML headings, <code><h1></code> through <code><h6></code> are available.</p>
<div class="docs-example">
<h1>
h1. Heading 1</h1>
<h2>
h2. Heading 2</h2>
<h3>
h3. Heading 3</h3>
<h4>
h4. Heading 4</h4>
<h5>
h5. Heading 5</h5>
<h6>
h6. Heading 6</h6>
</div>
</section>
<section class="docs">
<h2>
Body copy</h2>
<p>
This theme's global default <code>font-size</code> is <strong>13px</strong>, <code>font-family</code>
is <strong>'Open Sans', Arial, sans-serif</strong>, with a <code>line-height</code>
of <strong>20px</strong>. This is applied to the <code><body></code> and all
paragraphs. In addition, <code><p></code> (paragraphs) receive a bottom margin
of half their line-height (10px by default).</p>
<div class="docs-example">
<p>
Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus
et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh
ultricies vehicula.</p>
<p>
Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus
mus. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo
luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec ullamcorper
nulla non metus auctor fringilla.</p>
<p>
Maecenas sed diam eget risus varius blandit sit et non magna. Donec id elit non
mi porta gravida at eget metus. Duis mollis, est non commodo luctus, nisi erat porttitor
ligula, eget lacinia odio sem nec elit.</p>
</div>
</section>
<section class="docs">
<h2>
Lead Body copy</h2>
<p>
Make a paragraph stand out by adding <code>.lead</code>.</p>
<div class="docs-example">
<p class="lead">
Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus
et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh
ultricies vehicula.</p>
<p>
Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus
mus. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo
luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec ullamcorper
nulla non metus auctor fringilla.</p>
<p>
Maecenas sed diam eget risus varius blandit sit et non magna. Donec id elit non
mi porta gravida at eget metus. Duis mollis, est non commodo luctus, nisi erat porttitor
ligula, eget lacinia odio sem nec elit.</p>
</div>
</section>
<section class="docs">
<h2>
Emphasis</h2>
<p>
Make use of HTML's default emphasis tags with lightweight styles. For de-emphasizing
inline or blocks of text, use the <code><small></code> tag.</p>
<div class="docs-example">
<p>
Standard text size.</p>
<p>
<small>This line of text is meant to be treated as fine print.</small></p>
<pre class="pre"><span class="tag"><p></span><span class="pln"> </span><span
class="tag"><small></span><span class="pln">This line of text is meant to be treated
as fine print.</span><span class="tag"></small></span><span class="pln">
</span><span class="tag"></p></span></pre>
</div>
</section>
<section class="docs">
<h2>
Bold</h2>
<p>
For emphasizing a snippet of text with a heavier font-weight.</p>
<div class="docs-example">
<p>
The following snippet of text is <strong>rendered as bold text</strong>.</p>
<pre class="pre"><span class="tag"><p></span><span class="pln"> </span>The following snippet of text is
<span class="tag"><strong></span><span class="pln">rendered as bold text</span><span
class="tag"></strong></span>.<span class="pln"> </span><span class="tag"></p></span></pre>
</div>
</section>
<section class="docs">
<h2>
Italics</h2>
<p>
For emphasizing a snippet of text with italics.</p>
<div class="docs-example">
<p>
The following snippet of text is <em>rendered as italicized text</em>.</p>
<pre class="pre"><span class="tag"><p></span><span class="pln"> </span>The following snippet of text is
<span class="tag"><em></span><span class="pln">rendered as italicized text</span><span
class="tag"></em></span>.<span class="pln"> </span><span class="tag"></p></span></pre>
</div>
</section>
<section class="docs">
<h2>
Emphasis classes</h2>
<p>
Convey meaning through color with a handful of emphasis utility classes.</p>
<div class="docs-example">
<p class="muted">
Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.</p>
<p class="text-warning">
Etiam porta sem malesuada magna mollis euismod.</p>
<p class="text-error">
Donec ullamcorper nulla non metus auctor fringilla.</p>
<p class="text-info">
Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.</p>
<p class="text-success">
Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</p>
<pre class="pre"><span class="tag"><p</span><span class="pln"> </span><span class="atn">
class</span><span class="pun">=</span><span class="atv">"muted"</span><span class="tag">></span><span
class="pln">Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.</span><span
class="tag"></p></span>
<span class="tag"><p</span><span class="pln"> </span><span class="atn">class</span><span
class="pun">=</span><span class="atv">"text-warning"</span><span class="tag">></span><span
class="pln">Etiam porta sem malesuada magna mollis euismod.</span><span class="tag"></p></span>
<span class="tag"><p</span><span class="pln"> </span><span class="atn">class</span><span
class="pun">=</span><span class="atv">"text-error"</span><span class="tag">></span><span
class="pln">Donec ullamcorper nulla non metus auctor fringilla.</span><span class="tag"></p></span>
<span class="tag"><p</span><span class="pln"> </span><span class="atn">class</span><span
class="pun">=</span><span class="atv">"text-info"</span><span class="tag">></span><span
class="pln">Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.</span><span
class="tag"></p></span>
<span class="tag"><p</span><span class="pln"> </span><span class="atn">class</span><span
class="pun">=</span><span class="atv">"text-success"</span><span class="tag">></span><span
class="pln">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</span><span
class="tag"></p></span></pre>
</div>
</section>
<section class="docs">
<h2>
Blockquotes</h2>
<p>
For quoting blocks of content from another source within your document.</p>
<h3>
Default</h3>
<p>
Wrap <code><blockquote></code> around any
<abbr title="HyperText Markup Language">
HTML</abbr>
as the quote. For straight quotes we recommend a <code><p></code>.</p>
<div class="docs-example">
<blockquote>
<p>
Lorem ipsum dolor sit et, consectetur adipiscing elit. Integer posuere erat a ante.</p>
</blockquote>
<pre class="pre"><span class="tag"><blockquote></span><span class="pln"> </span>
<span class="tag"><p></span><span class="pln">Lorem ipsum dolor sit et, consectetur
adipiscing elit. Integer posuere erat a ante.</span><span class="tag"></p></span>.<span
class="pln"> </span><span class="tag"></blockquote></span></pre>
</div>
<br />
<h3>
Naming a source</h3>
<p>
Add <code><small></code> tag for identifying the source. Wrap the name of
the source work in <code><cite></code>.</p>
<div class="docs-example">
<blockquote>
<p>
Lorem ipsum dolor sit et, consectetur adipiscing elit. Integer posuere erat a ante.</p>
<small>Someone famous</small>
</blockquote>
<pre class="pre"><span class="tag"><blockquote></span><span class="pln"> </span>
<span class="tag"><p></span><span class="pln">Lorem ipsum dolor sit et, consectetur
adipiscing elit. Integer posuere erat a ante.</span><span class="tag"></p></span>.<span
class="pln"> </span><span class="tag"><small></span><span class="pln">Someone
famous</span><span class="tag"></small></span>.<span class="pln"> </span><span
class="tag"></blockquote></span></pre>
</div>
</section>
<section class="docs">
<h2>
Lists</h2>
<h3>
Unordered</h3>
<p>
A list of items in which the order does <em>not</em> explicitly matter.</p>
<div class="docs-example">
<ul>
<li>Lorem ipsum dolor sit et</li>
<li>Consectetur adipiscing elit</li>
<li>Integer molestie lorem at massa</li>
<li>Facilisis in pretium nisl aliquet</li>
<li>Nulla volutpat aliquam velit
<ul>
<li>Phasellus iaculis neque</li>
<li>Purus sodales ultricies</li>
<li>Vestibulum laoreet porttitor sem</li>
<li>Ac tristique libero volutpat at</li>
</ul>
</li>
<li>Faucibus porta lacus fringilla vel</li>
<li>Aenean sit et erat nunc</li>
<li>Eget porttitor lorem</li>
</ul>
<pre class="pre"><span class="tag"><ul></span>
<span class="pln"> </span><span class="tag"><li></span><span class="pln">...</span><span
class="tag"></li></span>
<span class="tag"></ul></span></pre>
</div>
<br />
<h3>
Ordered</h3>
<p>
A list of items in which the order <em>does</em> explicitly matter.</p>
<div class="docs-example">
<ol>
<li>Lorem ipsum dolor sit et</li>
<li>Consectetur adipiscing elit</li>
<li>Integer molestie lorem at massa</li>
<li>Facilisis in pretium nisl aliquet</li>
<li>Faucibus porta lacus fringilla vel</li>
<li>Aenean sit et erat nunc</li>
<li>Eget porttitor lorem</li>
</ol>
<pre class="pre"><span class="tag"><ol></span>
<span class="pln"> </span><span class="tag"><li></span><span class="pln">...</span><span
class="tag"></li></span>
<span class="tag"></ol></span></pre>
</div>
<br />
<h3>
Unstyled</h3>
<p>
Remove the default <code>list-style</code> and left padding on list items (immediate
children only).</p>
<div class="docs-example">
<ul class="unstyled">
<li>Lorem ipsum dolor sit et</li>
<li>Consectetur adipiscing elit</li>
<li>Integer molestie lorem at massa</li>
<li>Facilisis in pretium nisl aliquet</li>
<li>Faucibus porta lacus fringilla vel</li>
<li>Aenean sit et erat nunc</li>
<li>Eget porttitor lorem</li>
</ul>
<pre class="pre"><span class="tag"><ul</span><span class="pln"> </span><span class="atn">
class</span><span class="pun">=</span><span class="atv">"unstyled"</span><span class="tag">></span>
<span class="tag"><li></span><span class="pln">...</span><span class="tag"></li></span>
<span class="tag"></ol></span></pre>
</div>
<br />
<h3>
Inline</h3>
<p>
Place all list items on a single line with <code>inline-block</code> and some light
padding.</p>
<div class="docs-example">
<ul class="inline">
<li>Lorem ipsum dolor sit et</li>
<li>Consectetur adipiscing elit</li>
<li>Integer molestie lorem at massa</li>
</ul>
<pre class="pre"><span class="tag"><ul</span><span class="pln"> </span><span class="atn">
class</span><span class="pun">=</span><span class="atv">"inline"</span><span class="tag">></span>
<span class="tag"><li></span><span class="pln">...</span><span class="tag"></li></span>
<span class="tag"></ol></span></pre>
</div>
</section>
<section class="docs">
<h2>
Description</h2>
<p>
A list of terms with their associated descriptions.</p>
<div class="docs-example">
<dl>
<dt>Description lists</dt>
<dd>
A description list is perfect for defining terms.</dd>
<dt>Euismod</dt>
<dd>
Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>
<dd>
Donec id elit non mi porta gravida at eget metus.</dd>
<dt>Malesuada porta</dt>
<dd>
Etiam porta sem malesuada magna mollis euismod.</dd>
</dl>
<pre class="pre"><span class="tag"><dl></span>
<span class="tag"><dt></span><span class="pln">...</span><span class="tag"></dt></span>
<span class="tag"><dd></span><span class="pln">...</span><span class="tag"></dd></span>
<span class="tag"></dl></span></pre>
</div>
<br />
<h3>
Horizontal description</h3>
<p>
A list of terms with their associated descriptions.</p>
<div class="docs-example">
<dl class="dl-horizontal">
<dt>Description lists</dt>
<dd>
A description list is perfect for defining terms.</dd>
<dt>Euismod</dt>
<dd>
Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>
<dd>
Donec id elit non mi porta gravida at eget metus.</dd>
<dt>Malesuada porta</dt>
<dd>
Etiam porta sem malesuada magna mollis euismod.</dd>
</dl>
<pre class="pre"><span class="tag"><dl</span><span class="pln"> </span><span class="atn">
class</span><span class="pun">=</span><span class="atv">"dl-horizontal"</span><span
class="tag">></span>
<span class="tag"><dt></span><span class="pln">...</span><span class="tag"></dt></span>
<span class="tag"><dd></span><span class="pln">...</span><span class="tag"></dd></span>
<span class="tag"></dl></span></pre>
</div>
</section>
</div>
</div>
</div>
<!--/.content-->
</div>
<!--/.span9-->
</div>
</div>
<!--/.container-->
</div>
<!--/.wrapper-->
<div class="footer">
<div class="container">
<b class="copyright">© 2014 Edmin - EGrappler </b>All rights reserved. More Templates <a href="http://www.cssmoban.com/" target="_blank" title="模板之家">模板之家</a> - Collect from <a href="http://www.cssmoban.com/" title="网页模板" target="_blank">网页模板</a>
</div>
</div>
<script src="scripts/jquery-1.9.1.min.js" type="text/javascript"></script>
<script src="scripts/jquery-ui-1.10.1.custom.min.js" type="text/javascript"></script>
<script src="bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
</body>