forked from crushlovely/skyline
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample-modules.html
More file actions
224 lines (194 loc) · 9.59 KB
/
example-modules.html
File metadata and controls
224 lines (194 loc) · 9.59 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>***YOUR-TITLE-HERE***</title>
<!-- Styles -->
<link rel="stylesheet" href="css/screen.css">
<!-- Canonical Meta -->
<link rel="canonical" href="**YOUR-URL-HERE***">
<!-- Viewport Meta-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- SEO Meta -->
<meta name="description" content="***YOUR-CONTENT-HERE-***">
<meta name="keywords" content="***YOUR-CONTENT-HERE-***">
<meta name="robots" content="INDEX,FOLLOW">
<!-- Favicons -->
<link rel="shortcut icon" type="image/ico" href="/favicon.ico">
<link rel="apple-touch-icon" href="/apple-touch-icon-precomposed.png">
<meta name="apple-mobile-web-app-title" content="Unsung">
<!-- Facebook -->
<meta property="og:image" content="***YOUR-URUL-HERE-***/images/avatar.png">
<meta property="og:title" content="***YOUR-TITLE-HERE-***">
<meta property="og:site_name" content="***YOUR-SITE'S-NAME-HERE-***">
<meta property="og:url" content="***YOUR-URL-HERE-***">
<meta property="og:description" content="***YOUR-CONTENT-HERE-***">
<!-- Windows 8 Pin app to start screen -->
<meta name="msapplication-TileColor" content="#272727">
<meta name="msapplication-TileImage" content="***YOUR-URL-HERE-***/apple-touch-icon-precomposed.png">
</head>
<body>
<div class="site">
<header class="site-header" role="banner">
<div class="container">
<a class="branding" href="index.html">
<img class="branding__logo" src="images/fpo-logo.png" alt="Site Name">
<h1 class="branding__wordmark">Site Name</h1>
</a>
<nav class="site-nav">
<a href="index.html">Home</a>
<a href="example-grids.html">Grids</a>
<a href="example-modules.html">Modules</a>
<a href="example-forms.html">Forms</a>
<a href="http://skyline.is">Skyline</a>
</nav>
</div>
</header>
<main class="site-main" role="main">
<div class="page">
<section class="page__header">
<div class="container">
<h1>Example Modules</h1>
<p>Reusable components to jumpt start development.</p>
<p>This whole page here is in a <code>.page</code> module. This is a module created for basic pages with a wrapping <code>.page</code> div, and a <code>.page__header</code> and optional <code>.page__footer</code>.</p>
<p>Note that these components use basic inline javascript for some UI actions. Since Skyline focuses on CSS, you are free to use any javascript libraries you wish.</p>
</div>
</section>
<section class="block container">
<h3>Alerts</h3>
<p>Alerts are UI elements that give important info.</p>
<div class="alert alert--error" id="alert-1">
<a href="#" class="btn__close" onclick="document.getElementById('alert-1').style.display = 'none'; return false;">×</a>
<p>ERROR: Uh oh - something went wrong</p>
</div>
<div class="alert alert--warning" id="alert-2">
<a href="#" class="btn__close" onclick="document.getElementById('alert-2').style.display = 'none'; return false;">×</a>
<p>WARNING: Shake it fast, but watch yourself.</p>
</div>
<div class="alert alert--success" id="alert-3">
<a href="#" class="btn__close" onclick="document.getElementById('alert-3').style.display = 'none'; return false;">×</a>
<p>SUCCESS: The secret to my success is that I learn, 25 hours a day!</p>
</div>
<div class="alert alert--info" id="alert-4">
<a href="#" class="btn__close" onclick="document.getElementById('alert-4').style.display = 'none'; return false;">×</a>
<p>INFO: All the planets can fit in the space between the earth and moon.</p>
</div>
</section>
<section class="block container">
<hr>
<h3>Callouts</h3>
<p>Callouts are those sections of featured content that usually contain an icon, a title, and some text. These are usually in a row, and call attention to highlighted features.</p>
<p style="margin-bottom: 4em;">We're putting these into a small 2 up, medium 4 up grid</p>
<div class="gw sm-two-up md-four-up">
<div class="g">
<article class="callout">
<img class="callout__media" src="images/fpo-icon.png">
<h3 class="callout__title">Feature</h3>
<p>This callout is very impressive, and should command your attention</p>
</article>
</div>
<div class="g">
<article class="callout">
<img class="callout__media" src="images/fpo-icon.png">
<h3 class="callout__title">Feature</h3>
<p>This callout is very impressive, and should command your attention</p>
</article>
</div>
<div class="g">
<article class="callout">
<img class="callout__media" src="images/fpo-icon.png">
<h3 class="callout__title">Feature</h3>
<p>This callout is very impressive, and should command your attention</p>
</article>
</div>
<div class="g">
<article class="callout">
<img class="callout__media" src="images/fpo-icon.png">
<h3 class="callout__title">Feature</h3>
<p>This callout is very impressive, and should command your attention</p>
</article>
</div>
</div><!--/gw-->
</section>
<section class="block container">
<hr>
<h3>Thumbnails</h3>
<p>Thumbnails are usually found within a grid or gallery, as a teaser or preview of more content. The common use is to have an image on top of a title and text below, while the entire thumbnail is an anchor link.</p>
<p style="margin-bottom: 4em;">We're putting these into a small 2 up, medium 4 up grid</p>
<div class="gw sm-two-up md-four-up">
<div class="g">
<a class="thumbnail" href="/some/article">
<img class="thumbnail__media" src="images/fpo-500x300.jpg">
<div class="thumbnail__caption">
<h2>A caption title here</h2>
<p>Some more text follows to tease the rest of
the content</p>
</div>
</a>
</div>
<div class="g">
<a class="thumbnail" href="/some/article">
<img class="thumbnail__media" src="images/fpo-500x300.jpg">
<div class="thumbnail__caption">
<h2>A caption title here</h2>
<p>Some more text follows to tease the rest of
the content</p>
</div>
</a>
</div>
<div class="g">
<a class="thumbnail" href="/some/article">
<img class="thumbnail__media" src="images/fpo-500x300.jpg">
<div class="thumbnail__caption">
<h2>A caption title here</h2>
<p>Some more text follows to tease the rest of
the content</p>
</div>
</a>
</div>
<div class="g">
<a class="thumbnail" href="/some/article">
<img class="thumbnail__media" src="images/fpo-500x300.jpg">
<div class="thumbnail__caption">
<h2>A caption title here</h2>
<p>Some more text follows to tease the rest of
the content</p>
</div>
</a>
</div>
</div><!--/gw-->
</section>
<section class="block container">
<hr>
<h3>Modals</h3>
<p>Click the button below to see our basic starter modal.</p>
<button class="btn" onclick="document.getElementById('modal').style.display = 'block'; return false;">Show Modal</button>
<div id="modal" class="modal">
<div class="modal__container">
<div class="modal__body" style="text-align: center;">
<h2>Modal content</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Veniam sint illo asperiores deleniti doloribus, voluptatibus distinctio dolorem ipsam non soluta officia architecto totam sit adipisci explicabo minima ad aliquam. Doloribus?</p>
</div>
</div>
<a href="#" class="modal__close" onclick="document.getElementById('modal').style.display = 'none'; return false;">×</a>
</div>
</section>
</div><!--/.page-->
</main>
<footer class="site-footer">
<div class="container">
<a class="branding" href="/">Site Name</a>
<nav class="site-nav">
<a href="index.html">Home</a>
<a href="example-grids.html">Grids</a>
<a href="example-modules.html">Modules</a>
<a href="example-forms.html">Forms</a>
<a href="http://skyline.is">Skyline</a>
</nav>
<small class="site-credits">© 2014 Site Name</small>
</div>
</footer>
</div><!--/.site-->
</body>
</html>