forked from joshuarudd/typeset.css
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
203 lines (188 loc) · 7.34 KB
/
index.html
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Typeset.css – a no-nonsense CSS typography reset for styling user-generated content like blog posts, comments, and forum content</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="description" content="Typeset.css is a no-nonsense CSS typography reset for styling user-generated content like blog posts, comments, and forum content.">
<style type="text/css" media="screen">
body {
font: normal normal 300 14px/1.3em sans-serif;
margin: 0;
padding: 0px 60px 60px 420px;
}
.header {
position: fixed;
left: 60px;
top: 60px;
width: 300px;
}
.main {
max-width: 800px;
}
.section {
padding: 60px 0;
}
</style>
<link rel="stylesheet" href="typeset.css">
</head>
<body>
<header class="header typeset">
<h1>Typeset.css</h1>
<p>A no-nonsense CSS typography reset for styling user-generated content like blog posts, comments, and forum content.</p>
<ul>
<li><a href="#inline-elements">Inline elements</a></li>
<li>
<a href="#lists">Lists</a>
<ul>
<li>Unordered lists</li>
<li>Ordered lists</li>
<li>Definition lists</li>
</ul>
</li>
<li>
<a href="#block-elements">Block elements</a>
<ul>
<li>Headlines</li>
<li>Paragraphs</li>
<li>Blockquotes</li>
<li>Preformatted text</li>
</ul>
</li>
<li><a href="#tables">Tables</a></li>
<li>
<a href="#media">Media</a>
<ul>
<li>Images</li>
<li>Figures</li>
<li>Embeds</li>
</ul>
</li>
</ul>
<p>
You can download this project in either
<a href="https://github.com/joshuarudd/typeset.css/zipball/master">zip</a> or
<a href="https://github.com/joshuarudd/typeset.css/tarball/master">tar</a> formats.
</p>
<!-- <div class="download">
<a href="https://github.com/joshuarudd/typeset.css/zipball/master">
<img border="0" width="90" src="https://github.com/images/modules/download/zip.png"></a>
<a href="https://github.com/joshuarudd/typeset.css/tarball/master">
<img border="0" width="90" src="https://github.com/images/modules/download/tar.png"></a>
</div> -->
</header>
<article class="main">
<section class="section typeset" id="inline-elements">
<h2 class="section-heading">Inline elements</h2>
<p>Common user-generated content includes <a href="#">anchors</a>, <b>bold</b> and <i>italic</i> text.</p>
<p>Also common phrase tags are <code><code></code>, <strong>strong</strong> and <em>emphasis</em> (much like <b>bold</b> and <i>italic</i>).</p>
<h3>Additional inline styles</h3>
<ul>
<li><a href="#">anchors</a></li>
<li><abbr title="abbreviation">abbr</abbr> (with <code>title</code> attribute)</li>
<li><address>address</address></li>
<li><bold>bold</bold></li>
<li><cite>cite</cite></li>
<li><code><code></code></li>
<li><dfn>definition term</dfn></li>
<li><del>deleted</del> and <ins>inserted</ins></li>
<li><em>emphasis</em></li>
<li><i>italic</i></li>
<li><kbd>keyboard input</kbd></li>
<li><mark>marked</mark> (i.e., highlighted)</li>
<li><samp>sample output</samp></li>
<li><small>small</small></li>
<li><s>strike</s></li>
<li><strong>strong</strong></li>
<li><sub>subscript</sub> and <sup>superscript</sup></li>
<li><var>variable</var></li>
</ul>
</section>
<section class="section typeset" id="lists">
<h2 class="section-heading">Lists</h2>
<p>Block-level elements use <code>line-height: 1.3em;</code> and <code>margin-bottom: .7em;</code> to stack vertical space, like this paragraph!</p>
<h3>Unordered lists</h3>
<ul>
<li>Unordered list item 1</li>
<li>Unordered list item 2
<ul>
<li>Nested list item 2.1</li>
<li>Nested list item 2.2</li>
</ul>
</li>
<li>Unordered list item 3</li>
</ul>
<h3>Ordered lists</h3>
<ol>
<li>Ordered list item 1</li>
<li>Ordered list item 2
<ol>
<li>Nested list item 2.1</li>
<li>Nested list item 2.2</li>
</ol>
</li>
<li>Ordered list item 3</li>
</ol>
<h3>Definition list</h3>
<dl>
<dt>Term</dt>
<dd>Description of an item in a definition list.</dd>
</dl>
</section>
<section class="section typeset" id="block-elements">
<h2 class="section-heading">Block elements</h2>
<h3>Headings</h3>
<header>
<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6>
</header>
<h3>Paragraphs</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
<p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<h3>Blockquotes</h3>
<blockquote><p>Because WYSIWYG editors use <code><blockquote></code> to indent content, we haven’t styled other than a left margin.</p></blockquote>
<h3>Preformatted text</h3>
<pre>Text in a <pre> element
is displayed in a fixed-width
font, and it preserves
both spaces and
line breaks</pre>
</section>
<section class="section typeset" id="tables">
<h2 class="section-heading">Tables</h2>
<table>
<caption>Table caption</caption>
<thead>
<tr>
<th>Table Header</th>
<th>Another column</th>
</tr>
</thead>
<tbody>
<tr>
<td>Column 1</td>
<td>Column 2</td>
</tr>
</tbody>
</table>
</section>
<section class="section typeset" id="media">
<h2 class="section-heading">Media</h2>
<h3>Images</h3>
<p><a href="http://instagr.am/p/IhykNHE-vg/"><img alt="“He’ll never know #happyfriday” by chadbercea" src="https://s3.amazonaws.com/uploads.hipchat.com/15604/60386/xurwgqrz8ydm3y7/upload.png"></a></p>
<h3>Figures</h3>
<figure>
<img alt="I Will Never Lego" src="http://media-cache8.pinterest.com/upload/18858892159635318_W2l4cnIX_f.jpg">
<figcaption><a href="http://www.etsy.com/listing/86109981/i-will-never-lego-print">I Will Never Lego - print</a></figcaption>
</figure>
<h3>Embeds</h3>
<embed src="http://www.youtube.com/v/e4X5z8AQc3s?version=3&feature=player_detailpage" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="360">
</section>
</article>
<a href="https://github.com/joshuarudd/typeset.css"><img style="position: fixed; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
</body>
</html>