-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
382 lines (356 loc) · 12.7 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="description" content="A minimal front-end CSS framework" />
<!-- facebook meta -->
<meta property="og:site_name" content="Bagpakk" />
<meta property="og:url" content="http://brutaldesign.github.com/bagpakk/" />
<meta property="og:image" content="http://bagpakk.csag.co/images/og.jpg" />
<meta property="og:type" content="article" />
<meta property="og:title" content="Bagpakk | A minimal front-end CSS framework" />
<meta property="og:description" content="Bagpakk is a minimal front-end CSS framework">
<!-- googe plus meta -->
<meta itemprop="name" content="Bagpakk | A minimal front-end CSS framework">
<meta itemprop="image" content="http://bagpakk.csag.co/images/og.jpg">
<meta itemprop="description" content="Bagpakk is a minimal front-end CSS framework">
<!-- google fonts -->
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700|Droid+Serif:400,700|Montserrat:400,700&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/bagpakk.css">
<link rel="stylesheet" href="demo/css/demo.css">
<title>Bagpakk | A minimal front-end CSS framework</title>
<!-- share buttons -->
<script type="text/javascript">
(function(doc, script) {
var js,
fjs = doc.getElementsByTagName(script)[0],
add = function(url, id) {
if (doc.getElementById(id)) {return;}
js = doc.createElement(script);
js.src = url;
id && (js.id = id);
fjs.parentNode.insertBefore(js, fjs);
};add("//connect.facebook.net/en_US/all.js#xfbml=1", "facebook-jssdk");
add("//platform.twitter.com/widgets.js", "twitter-wjs");
}(document, "script"));
</script>
<!-- end share buttons -->
</head>
<body>
<header class="font-color-alt container" id="homepage-hero">
<div class="wrap text-center">
<h1 class="big-boy">Bagpakk</h1>
<p class="big">A minimal front-end CSS framework.</p>
<div id="share" class="text-center">
<div id="twitter">
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://brutaldesign.github.com/bagpakk" data-text="Bagpakk | A minimal front-end CSS framework." data-via="brutaldesign">Tweet</a>
</div>
<div id="fb">
<div class="fb-like" data-href="http://brutaldesign.github.com/bagpakk/" data-send="false" data-layout="button_count" data-width="110" data-show-faces="false" data-colorscheme="light" data-action="like"></div>
</div>
</div>
<p>
<a href="https://github.com/brutaldesign/bagpakk/archive/master.zip" class="button-alt-light-big">Download</a>
<a href="https://github.com/brutaldesign/bagpakk/" class="button-alt-light-big">Source</a>
</p>
</div>
</header>
<section class="container text-center">
<div class="wrap">
<div class="col-4 first">
<p>
<i aria-hidden="true" class="bp-icon-wordpress"></i>
</p>
<h3>Wordpress Ready</h3>
<p class="caption small">
The WP version of bagpakk comes with all <a target="_blank" href="https://codex.wordpress.org/CSS">wordpress default classes</a>.
</p>
</div>
<div class="col-4">
<p>
<i class="bp-icon-tablet"></i>
</p>
<h3>Fluid & Responsive</h3>
<p class="caption small">
Fits to any devices using Progressive Enhancement
</p>
</div>
<div class="col-4 last">
<p>
<i class ="bp-icon-console"></i>
</p>
<h3>Developper Friendly</h3>
<p class="caption small">
Build for developper with a simple & readable SCSS structure.
</p>
</div>
</div>
</section>
<section id="lead" class="container font-color-alt">
<div class="wrap">
<div class="col-8 first">
<h2>Bagpakk comes with the minimum. Nothing more.</h2>
<p class="big caption">
Unlike huge CSS frameworks like twitter bootstrap or foundation, Bagpakk offers a minimal scaffold to build your web application.</p>
<p>Each section use this basic structure:</p>
<p>
<pre class="box-emboss font-color-alt">
<section class="container">
<div class="wrap">
<span>// content goes here</span>
</div>
</section>
</pre>
</p>
</div>
<div class="col-4 last">
<h3>Features</h3>
<ul>
<li>typography</li>
<li>main container classes</li>
<li>grid system</li>
<li>buttons</li>
<li>form</li>
<li>fluid video wrapper</li>
<li>media queries</li>
<li>useful scss mixins</li>
</ul>
</div>
</div>
</section>
<section class="container">
<div class="wrap">
<h2 class="text-center">Typography</h2>
<blockquote>
<p>Readability is one of the more important aspects of Web design usability. Readable text affects how users process the information in the content.</p>
<cite>Smashing Magazine</cite>
</blockquote>
<hr>
<div class="col-5 first">
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
</div>
<div class="col-7 last">
<p class="dropcap">The Bagpakk typography is focused on readability on every devices. Nothing's better than a good big font size and a good contrast to be able to read any text easily.</p>
<p class="text-center">The Bagpakk typography is focused on readability on every devices. Nothing's better than a good big font size and a good contrast to be able to read any text easily.</p>
<p class="text-justify">The Bagpakk typography is focused on readability on every devices. Nothing's better than a good big font size and a good contrast to be able to read any text easily.</p>
</div>
<div class="clear"></div>
<hr>
<div class="col-7 first">
<h3 class="text-center">Table</h3>
<table>
<thead>
<th>This</th>
<th>That</th>
<th>Those</th>
</thead>
<tbody>
<tr>
<td>John</td>
<td>Doe</td>
<td>Other</td>
</tr>
<tr>
<td>John</td>
<td>Doe</td>
<td>Other</td>
</tr>
</tbody>
</table>
</div>
<div class="col-5 last">
<h3 class="text-center">Inline list</h3>
<ul class="inline-list text-center">
<li>item</li>
<li>item</li>
<li>item</li>
<li>item</li>
</ul>
</div>
</div>
</section>
<section class="container" id="mockup">
<div class="wrap">
<div style="height:300px;"></div>
</div>
</section>
<section class="container">
<div class="wrap">
<article class="small-width">
<p><a href="#"><img src="http://bagpakk.csag.co/images/featured.jpg" alt=""></a></p>
<h2>Nothing is better than a readable post</h2>
<pre><article class="small-width">
<p>My awesome content goes here.</p>
<article class="small-width"></pre>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Atque, numquam accusamus nulla molestiae totam eveniet doloribus molestias esse. Veniam, corrupti exercitationem nam laboriosam nihil explicabo alias illo ducimus dolorum quas.</p>
</article>
</div>
</section>
<section id="dark-section" class="container font-color-alt">
<div class="wrap">
<div class="small-width">
<h2>Fluid video</h2>
<p>To display a responsive video use the <code>.fluid-video</code> container. Additionally, we use the <code>.font-color-alt</code> container class to use an alternative font color in this section.</p>
<span class="fluid-video">
<iframe src="//player.vimeo.com/video/29193046" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
</span>
<pre>
<span class="fluid-video">
<iframe src="//player.vimeo.com/video/29193046" ... ></iframe>
</span>
</pre>
</div>
</div>
</section>
<section class="container text-center">
<div class="wrap">
<h2>Buttons</h2>
<p>
<a onclick="return false;" href="#" class="button-big">I want to be clicked</a> <a onclick="return false;"href="#" class="button-alt-big">I want to be clicked</a>
</p>
<p>
<a onclick="return false;" href="#" class="button">I want to be clicked</a> <a onclick="return false;" href="#" class="button-alt">I want to be clicked</a>
</p>
<p><code>a.button-big</code> <code>a.button-alt-big</code></p>
<p><code>a.button</code> <code>a.button-alt</code></p>
</div>
</section>
<section id="light-buttons" class="container text-center font-color-alt">
<div class="wrap">
<h3>
You can also use the alternative button on a dark background
</h3>
<p>
<a onclick="return false;" href="#" class="button-alt-light-big">I want to be clicked</a>
</p>
<p><code>a.button-alt-light</code> <code>a.button-alt-light-big</code></p>
</div>
</section>
<section id="grid" class="container text-center">
<div class="wrap">
<h3>Grid System</h3>
<p>A minimal 12 columns grid markup.</p>
<div class="col-6 first"><span>.col-6.first</span></div>
<div class="col-6 last"><span>.col-6.last</span></div>
<div class="col-4 first"><span>.col-4.first</span></div>
<div class="col-4"><span>.col-4</span></div>
<div class="col-4 last"><span>.col-4.last</span></div>
<div class="col-3 first"><span>.col-3.first</span></div>
<div class="col-3"><span>.col-3</span></div>
<div class="col-3"><span>.col-3</span></div>
<div class="col-3 last"><span>.col-3.last</span></div>
<div class="col-4 first"><span>.col-4.first</span></div>
<div class="col-8 last"><span>.col-8.last</span></div>
</div>
</section>
<section class="container">
<div class="wrap">
<h2 class="text-center">Form</h2>
<p class="text-center">Here is the default form styles. Each input is simply wrapped in a <code>p</code> tag.</p>
<div class="col-6 first">
<form action="">
<p>
<label>Text field</label>
<input type="text">
</p>
<p>
<label>Textarea</label>
<textarea name="" id="" cols="30" rows="10"></textarea>
</p>
<p><input type="submit" value="Submit"></p>
</form>
</div>
<div class="col-6 last">
<form action="">
<p>
<label>Your Choice</label>
<select>
<option>Select an option</option>
<option>Option 1</option>
<option>Option 2</option>
<option>Option 3</option>
</select>
</p>
<p>
<label><input type="checkbox">
Check it</label>
</p>
<p>
<label><input type="radio">
Check it</label>
</p>
</form>
</div>
</div>
</section>
<section id="scss" class="container font-color-alt">
<div class="wrap">
<div class="small-width">
<h2 class="text-center">SCSS Usage</h2>
<ol>
<li>Paste the content of the bagpakk SCSS folder into your web app SCSS folder</li>
<li>Rename the bagpakk.scss file or bagpakk-wordpress.scss file with an underscore:<br><code>_bagpakk.scss</code></li>
<li>Import the bagpakk SCSS file into your main project stylsheet</li>
<li>Edit the <code>_settings.scss</code> file variables if needed to change the accent color, fonts, mobile break points etc...</li>
<li>Now you can extend your CSS selectors from any bagpakk class and use all mixins and functions</li>
</ol>
<h3>Example</h3>
<pre>
<span>// Make sure the charset is set appropriately</span>
@charset "UTF-8";
<span>// Import bagpakk</span>
@import "bagpakk";
<span>// Example</span>
#my-container{
@extend .container;
background:black(0.3); <span>// black rgba mixin</span>
}
</pre>
</div>
</div>
</section>
<section id="bower" class="container">
<div class="wrap">
<div class="col-6 first">
<img width="350" src="http://bower.io/img/bower-logo.png" alt="bower">
</div>
<div class="col-6 last">
<h3>Install Bagpakk with Bower</h3>
<p>You can use <a href="http://bower.io/">Bower</a> to import the bagpakk package directly into your web app.</p>
<pre class="box-emboss">bower install bagpakk</pre>
</div>
</div>
</section>
<section id="github" class="container">
<div class="wrap">
<div class="col-6 first">
<h3>Bagpakk on GitHub</h3>
<p>Check the bagpakk GitHub repository to view the source code.</p>
<p>
<a href="https://github.com/brutaldesign/bagpakk/" class="button-alt-big">View Source</a>
</p>
</div>
<div class="col-6 last text-right">
<img width="350" src="https://octodex.github.com/images/octobiwan.jpg" alt="">
</div>
</div>
</section>
<section id="download" class="container text-center">
<div class="wrap">
<p><a href="https://github.com/brutaldesign/bagpakk/archive/master.zip" class="button-big">Download Bagpakk</a></p>
</div>
</section>
<footer class="site-footer text-center">
<div class="wrap">
<small><a href="http://csag.co">csag.co</a> / <a href="http://wpwolf.com">wpwlf.co</a></small>
</div>
</footer>
</body>
</html>