-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles-demonstration.html
293 lines (249 loc) · 8.09 KB
/
styles-demonstration.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
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
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<title>Styles Demonstration | TypeScript The Right Way</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="manifest" href="site.webmanifest">
<link rel="apple-touch-icon" href="icon.png">
<!-- Place favicon.ico in the root directory -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<!-- <link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400&display=swap" rel="stylesheet"> -->
<link href="/assets/fonts/open-sans/font-faces.css" rel="stylesheet">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/main.css">
<style>
.heading {
background: grey;
color: white;
margin-top: 2em;
margin-bottom: 1em;
padding: 0.2em 0.5em;
font-size: 0.85em;
text-transform: uppercase;
}
</style>
<meta name="theme-color" content="#fafafa">
</head>
<body>
<header role="banner">
<div role="presentation">
<h1>Styles Demonstration</h1>
</div>
</header>
<main>
<div class="heading">
Headings
</div>
<p>H1. See top of page</p>
<h2>H2. Lorem ipsum dolor sit amet, consectetuer adipiscing elit</h2>
<h3>H3. Lorem ipsum dolor sit amet, consectetuer adipiscing elit</h3>
<h4>H4. Lorem ipsum dolor sit amet, consectetuer adipiscing elit</h4>
<div class="heading">
Paragraph
</div>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam id neque.
Sed quis quam. Proin nec velit eget orci imperdiet pretium. Ut tempus
semper odio. Nam blandit. Nulla eros. Pellentesque tincidunt lacinia arcu.
Sed nisl lacus, commodo in, hendrerit dapibus, aliquam ac, elit.</p>
<div class="heading">
Inline text
</div>
<div>
Lorem <strong>ipsum dolor</strong> sit.<br>
Lorem <em>ipsum dolor</em> sit.<br>
Lorem <span style="text-decoration: underline;">ipsum dolor</span> sit.<br>
Lorem <span style="text-decoration: line-through;">ipsum dolor</span> sit.<br>
Lorem <abbr title="abbreviation">ipsum</abbr> <acronym title="acronym">dolor</acronym> sit.
</div>
<div class="heading">
Code and Pre
</div>
<div>
<p><code>code</code></p>
<pre>pre</pre>
</div>
<div class="heading">
Label and mark
</div>
<div>
<span class="label">label</span>new
</div>
<div class="heading">
Buttons: standard, flat, and primary
</div>
<div>
<a class="button" href="#"><span>Button</span></a>
<a class="button text" href="#"><span>Text button</span></a>
<a class="button outlined" href="#"><span>Outlined button</span></a>
<a class="button primary" href="#"><span>Primary button</span></a>
</div>
<!-- <div class="heading">
Material icons
</div>
<span class="material-icons">place</span>
<span class="material-icons">phone</span>
<span class="material-icons">email</span>
<span class="material-icons">menu</span>
<span class="material-icons">close</span>
<span class="material-icons">done</span>
<span class="material-icons">person</span>
<span class="material-icons">expand_more</span>
<span class="material-icons">unfold_more</span>
<span class="material-icons">unfold_less</span>
<span class="material-icons">play_arrow</span> -->
<div class="heading">
Image
</div>
<div><img alt="100×100" src="http://placehold.it/100x100&text=Image"
title="100×100"></div>
<div class="heading">
Blockquote
</div>
<blockquote>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam id neque.
Sed quis quam. Proin nec velit eget orci imperdiet pretium. Ut tempus
semper odio. Nam blandit. Nulla eros. Pellentesque tincidunt lacinia
arcu. Sed nisl lacus, commodo in, hendrerit dapibus, aliquam ac, elit.
</blockquote>
<div class="heading">
Table
</div>
<table cellspacing="0">
<thead>
<tr>
<th>Header row TH</th>
<th>Header row TH</th>
<th>Header row TH</th>
</tr>
</thead>
<tbody>
<tr>
<td>First column</td>
<td>text</td>
<td>text</td>
</tr>
<tr>
<th colspan="3">Sub-header th</th>
</tr>
<tr>
<td>text</td>
<td>text</td>
<td>text</td>
</tr>
<tr>
<td>text</td>
<td>text</td>
<td>text</td>
</tr>
</tbody>
</table>
<div class="heading">
List: unordered
</div>
<ul>
<li>Fusce non urna. Nam id sem sit amet nulla risus sed leo. Etiam
bibendum, ante vel sodales vulputate, enim ante varius ipsum, sit amet
laoreet risus purus non lacus. Curabitur ullamcorper semper lectus.
Quisque fermentum nulla eget nisi.</li>
<li>sem volutpat elementum. Nunc tempus, enim iaculis nulla risus sed
leo. Etiam bibendum, ante vel sodales vulputate, enim ante varius
ipsum, sit amet laoreet risus purus non lacus. Curabitur ullamcorper
semper lectus. Quisque fermentum.</li>
<li>viverra varius, nulla libero volutpat felis, non</li>
</ul>
<div class="heading">
List: ordered
</div>
<ol>
<li>Fusce non urna. Nam id sem sit amet</li>
<li>sem volutpat elementum. Nunc tempus, enim iaculis</li>
<li>viverra varius, nulla libero volutpat felis, non</li>
</ol>
<div class="heading">
Horizontal ruled line
</div>
<hr>
<div class="heading">
Form
</div>
<form action="#" class="grid_6" enctype="multipart/form-data" method=
"post">
<div>
<label for="name">Name</label>
<input class="input_full" id="name"
name="name" type="text" data-tags="text">
</div>
<div>
<label for="email">Email</label>
<input class="input_full" id=
"email" name="email" type="email" data-tags="text">
</div>
<div>
<label for="cc"><abbr title="Courtesy Copy">CC</abbr></label>
<input id="cc" name="cc" type="checkbox" value="1"> <label for=
"cc">Send me a copy of this email</label>
</div>
<div>
<label for="tel">Phone</label>
<input class="input_full" id="tel"
name="tel" type="tel" data-tags="text">
</div>
<div>
<label for="url">URL</label>
<input class="input_full" id="url"
name="url" type="text" data-tags="text">
</div>
<div>
<label for="budget">Budget</label>
<select
class="input_full"
id="budget"
name="budget">
<option value="">
Select estimate...
</option>
<option value="1k_2k">
$1,000 to 2,000
</option>
<optgroup label="Small">
<option value="2k_3k">
$2,000 to 3,000
</option>
<option value="3k_4k">
$3,000 to 4,000
</option>
</optgroup>
</select>
</div>
<div>
<label>Priority</label>
<input id="priority_urgent" name="priority" type="radio" value="Urgent">
<label for="priority_urgent">Urgent</label>
<input checked="checked" id="priority_normal" name="priority" type=
"radio" value="Normal">
<label for="priority_normal">Normal</label>
</div>
<div>
<label for="description">Project details</label>
<textarea id="description" name="description" rows="8"></textarea>
</div>
</form>
<div class="heading">
Pre-formatted text (code)
</div>
<pre>
function name(parameter) {
var intervalDuration = 6000;
}</pre>
</main>
<footer role="contentinfo">
<div role="presentation">
<p>Work in progress. Help us improve it.</p>
</div>
</footer>
<script src="js/vendor/modernizr-3.11.2.min.js"></script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
</body>
</html>