/
index.jade
57 lines (57 loc) · 1.69 KB
/
index.jade
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
html
head
title Nib
link(rel='stylesheet', href='/test.css')
link(rel='stylesheet', href='/gradients.css')
link(rel='stylesheet', href='/buttons.css')
link(rel='stylesheet', href='/clearfix.css')
script(src='/jquery.min.js')
script
$(function(){
$(':button, :submit, a.button').click(function(){
return false;
});
});
body
h2 Gradients
table#gradients
- var n = 9
tbody
- while (n--)
tr
td
td
h2 Buttons
table#buttons
tbody
- var buttons = []
- buttons.push(['minimal', 'minimal-alternate'])
- buttons.push(['smooth', 'smooth-alternate'])
- buttons.push(['download', 'download-alternate'])
- buttons.push(['bold', 'bold-alternate', 'bold-alternate-2'])
- buttons.push(['pill'])
- each names in buttons
tr
td blur
- each name in names
td: a(href='#', class=name).button= name
tr
td hover
- each name in names
td: input(type='button', value=name, class=name).hover
tr
td active
- each name in names
td: button(class=name).active= name
tr
td focus
- each name in names
td: button(class=name).focus= name
h2 Clearfix
div#clearfix
div
| Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut commodo
| turpis quis mauris tempus commodo a non tellus. Sed eu convallis
| mauris. Donec scelerisque lacus quis orci viverra tincidunt. Nunc sed
| risus lectus. Proin vulputate elit sed eros consectetur interdum.
| Suspendisse potenti.