forked from leemunroe/motherplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.html
299 lines (250 loc) · 8.47 KB
/
example.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
294
295
296
297
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Motherplate - A bare bones responsive SCSS boilerplate for web designers</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="css/main.css">
<!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]-->
</head>
<body>
<a href="https://github.com/leemunroe/motherplate"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png" alt="Fork me on GitHub"></a>
<div class="container">
<h1>Motherplate</h1>
<h2>A bare bones responsive SCSS boilerplate for web designers</h2>
<iframe src="http://ghbtns.com/github-btn.html?user=leemunroe&repo=motherplate&type=watch&count=true&size=large"
allowtransparency="true" frameborder="0" scrolling="0" width="170" height="30"></iframe>
<iframe src="http://ghbtns.com/github-btn.html?user=leemunroe&repo=motherplate&type=fork&count=true&size=large"
allowtransparency="true" frameborder="0" scrolling="0" width="170" height="30"></iframe>
<hr>
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<p>Paragraph</p>
<p class="subtle">Subtle hint</p>
<p><a href="">Link text</a></p>
<blockquote><p>You're good. Get better. Stop asking for things.</p></blockquote>
<pre><script>Some code block</script></pre>
<p>Some <code><inline code></code> instead.</p>
<hr>
<h2>Buttons</h2>
<p><button class="btn btn-primary">Primary button</button> <button class="btn">Default button</button> <button class="btn btn-link">Link button</button> </p>
<p><button class="btn btn-primary btn-lg">Large button</button> <button class="btn btn-sm">Small button</button></p>
<hr>
<h2>Notifications/Alerts</h2>
<div class="alert alert-danger">
<p>There was a problem.</p>
</div>
<div class="alert alert-success">
<p>Successs! Something succeeded.</p>
</div>
<div class="alert alert-warning">
<p>Watch out, here's a warning.</p>
</div>
<div class="alert alert-info text-center">
<p>Here's some useful information. Text aligned center.</p>
</div>
<div class="alert alert-empty">
<p>This is an empty state. You should probably add something to get started.</p>
</div>
<hr>
<h2>Lists</h2>
<ul>
<li>Option 1</li>
<li>Option 2</li>
<li>Option 3</li>
</ul>
<ol>
<li>Option 1</li>
<li>Option 2</li>
<li>Option 3</li>
</ol>
<ul class="list-unstyled">
<li>Option 1</li>
<li>Option 2</li>
<li>Option 3</li>
</ul>
<hr>
<h2>Navigation</h2>
<nav>
<a href="">Nav Item 1</a>
<a href="">Nav Item 2</a>
<a href="">Nav Item 3</a>
</nav>
<hr>
<h2>Tables</h2>
<table>
<thead>
<tr>
<th scope="col">Column 1</th>
<th scope="col">Column 2</th>
<th scope="col" class="text-right">Column 3</th>
</tr>
</thead>
<tbody>
<tr>
<td>Data 1</td>
<td>Data 2</td>
<td class="text-right">Data 3</td>
</tr>
<tr>
<td>Data 1</td>
<td>Data 2</td>
<td class="text-right">Data 3</td>
</tr>
<tr>
<td>Data 1</td>
<td>Data 2</td>
<td class="text-right">Data 3</td>
</tr>
<tr>
<td>Data 1</td>
<td>Data 2</td>
<td class="text-right">Data 3</td>
</tr>
</tbody>
</table>
<hr>
<h2>Forms</h2>
<form>
<div class="field">
<label for="">Text label</label>
<input type="text">
<p class="hint">Hint/help</p>
</div>
<div class="field">
<label for="">Email</label>
<input type="email">
</div>
<div class="field">
<label for="">Search</label>
<input type="search">
</div>
<div class="field">
<label for="">Password <span class="is-required">(required)</span></label>
<input type="password">
</div>
<div class="field has-error">
<label for="">Text label <span class="req">(required)</span></label>
<input type="text">
<p class="error-description">This field is required</p>
</div>
<div class="field">
<label for="">Textarea</label>
<textarea></textarea>
</div>
<div class="field">
<label for="">Full width</label>
<input type="text" class="full-width">
</div>
<div class="field">
<label><input type="checkbox"> Option 1</label>
<label><input type="checkbox"> Option 2</label>
<label><input type="checkbox"> Option 3</label>
</div>
<div class="field">
<label><input type="radio" name="radio"> Option 1</label>
<label><input type="radio" name="radio"> Option 2</label>
<label><input type="radio" name="radio"> Option 3</label>
</div>
<button>Submit</button>
</form>
<input type="text"> <button class="btn btn-primary">Submit</button>
<hr>
<h2>Responsive Grid</h2>
<style>
/*Style to help visualize grid for demo purposes*/
.grid-style-helper {
background: pink;
border: 1px solid purple;
box-sizing: border-box;
margin-bottom: 10px;
min-height: 50px;
}
</style>
<div class="group">
<div class="span6 grid-style-helper">.span6</div>
<div class="span6 grid-style-helper">.span6</div>
</div>
<div class="group">
<div class="span8 grid-style-helper">.span8</div>
<div class="span4 grid-style-helper">.span4 <br> Extra long piece of text to see what happens when one column is longer than the other...</div>
</div>
<div class="group">
<div class="span3 grid-style-helper">.span3</div>
<div class="span3 grid-style-helper">.span3</div>
<div class="span3 grid-style-helper">.span3</div>
<div class="span3 grid-style-helper">.span3</div>
</div>
<div class="group">
<div class="span12 grid-style-helper">.span12</div>
</div>
<div class="group">
<div class="span11 offset1 grid-style-helper">.span11 .offset1</div>
<div class="span10 offset2 grid-style-helper">.span10 .offset2</div>
<div class="span9 offset3 grid-style-helper">.span9 .offset3</div>
<div class="span8 offset4 grid-style-helper">.span8 .offset4</div>
<div class="span7 offset5 grid-style-helper">.span7 .offset5</div>
<div class="span6 offset6 grid-style-helper">.span6 .offset6</div>
<div class="span5 offset7 grid-style-helper">.span5 .offset7</div>
<div class="span4 offset8 grid-style-helper">.span4 .offset8</div>
<div class="span3 offset9 grid-style-helper">.span3 .offset9</div>
<div class="span2 offset10 grid-style-helper">.span2 .offset10</div>
<div class="span1 offset11 grid-style-helper">.span1 .offset11</div>
</div>
<div class="group">
<div class="span3 grid-style-helper">.span3</div>
</div>
<div class="group">
<div class="span7 grid-style-helper">.span7</div>
</div>
<hr>
<h2>Images</h2>
<!-- Example using picture element -->
<div class="group">
<div class="span12">
<picture>
<source media="(min-width: 1000px)" srcset="img/cat@2x.jpg">
<source media="(min-width: 640px)" srcset="img/cat.jpg">
<img src="img/cat@2x.jpg" alt="Cat">
</picture>
</div>
</div>
<!-- Examples using srcset -->
<div class="group">
<div class="span6">
<img src="img/cat.jpg" alt="Cat" srcset="img/cat@2x.jpg 2x, img/cat.jpg 1x" sizes="(min-width:480px) 100vw, 50vw">
</div>
<div class="span4">
<img src="img/cat.jpg" alt="Cat" srcset="img/cat@2x.jpg 2x, img/cat.jpg 1x" sizes="(min-width:480px) 100vw, 50vw">
</div>
<div class="span2">
<img src="img/cat.jpg" alt="Cat" srcset="img/cat@2x.jpg 2x, img/cat.jpg 1x" sizes="(min-width:480px) 100vw, 50vw">
</div>
</div>
<hr>
<h2>Icons</h2>
<i class="icon-cog"></i>
<i class="icon-download-alt icon-3x"></i>
<i class="icon-github-alt icon-rotate-90"></i>
<i class="icon-remove-sign icon-5x"></i>
<i class="icon-apple"></i>
<i class="icon-android icon-muted"></i>
<i class="icon-cloud icon-border"></i>
<i class="icon-comment"></i>
<i class="icon-star"></i>
<i class="icon-gamepad"></i>
<p><a href="http://fortawesome.github.io/Font-Awesome/cheatsheet/">More icons</a></p>
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/jquery-1.8.3.min.js"><\/script>')</script>
<script src="js/main.js"></script>
</body>
</html>