-
Notifications
You must be signed in to change notification settings - Fork 27
/
styleguide.html
134 lines (126 loc) · 4.67 KB
/
styleguide.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
---
layout: default
title: JSConf EU 2014
---
<style>
.glyph {
font-size: 14px;
float: left;
text-align: center;
background: #eee;
padding: .75em;
margin: .75em 1.5em .75em 0;
width: 7.5em;
border-radius: .25em;
box-shadow: inset 0 0 0 1px #f8f8f8, 0 0 0 1px #CCC;
}
.glyph input {
font-family: consolas, monospace;
font-size: 13px;
width: 100%;
text-align: center;
border: 0;
box-shadow: 0 0 0 1px #ccc;
padding: .125em;
}
.box1 {
font-size: 14px;
display: inline-block;
width: 15em;
padding: .25em .5em;
background: #eee;
margin: .5em 1em .5em 0;
}
</style>
<h1 id="styleguide">Styleguide</h1>
<section>
<h1 id="test_section">Test Section</h1>
<p>Paragraph Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<h2 id="test_section">Test heading level 2</h2>
<p>Paragraph Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<h3 id="test_section">Test heading level 3</h3>
<p>Paragraph Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<h4 id="test_section">Test heading level 4</h4>
<p>Paragraph Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<h5 id="test_section">Test heading level 4</h5>
<p>Paragraph Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<blockquote>
<p>Paragraph Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</blockquote>
<p>Paragraph Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<ul>
<li>list item Lorem ipsum dolorcupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</li>
<li>list item Lorem ipsum dolorcupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</li>
<li>list item Lorem ipsum dolorcupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</li>
</ul>
<p>Paragraph Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<ol>
<li>list item Lorem ipsum dolorcupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</li>
<li>list item Lorem ipsum dolorcupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</li>
<li>list item Lorem ipsum dolorcupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</li>
</ol>
<hr>
<p>Paragraph Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</section>
<section>
<header>
<h1>Icon Font</h1>
</header>
<span class="box1">
<span aria-hidden="true" class="ico-arrow-left"></span>
ico-arrow-left
</span>
<span class="box1">
<span aria-hidden="true" class="ico-arrow-right"></span>
ico-arrow-right
</span>
<span class="box1">
<span aria-hidden="true" class="ico-twitter"></span>
ico-twitter
</span>
<span class="box1">
<span aria-hidden="true" class="ico-facebook"></span>
ico-facebook
</span>
<span class="box1">
<span aria-hidden="true" class="ico-feed"></span>
ico-feed
</span>
<span class="box1">
<span aria-hidden="true" class="ico-google-plus"></span>
ico-google-plus
</span>
<span class="box1">
<span aria-hidden="true" class="ico-github-alt"></span>
ico-github-alt
</span>
<span class="box1">
<span aria-hidden="true" class="ico-youtube"></span>
ico-youtube
</span>
<span class="box1">
<span aria-hidden="true" class="ico-circle"></span>
ico-circle
</span>
<span class="box1">
<span aria-hidden="true" class="ico-circle_2014"></span>
ico-circle
</span>
<span class="box1">
<span aria-hidden="true" class="ico-logo"></span>
ico-logo
</span>
<span class="box1">
<span aria-hidden="true" class="ico-ticket"></span>
ico-ticket
</span>
</section>
</div>
<script>
document.getElementById("glyphs").addEventListener("click", function(e) {
var target = e.target;
if (target.tagName === "INPUT") {
target.select();
}
});
</script>