forked from nostalgic-css/NES.css
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
390 lines (348 loc) · 14.6 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
383
384
385
386
387
388
389
390
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta name="description" content="NES.css is a NES-style CSS Framework." />
<meta name="keywords" content="html5,css,framework,sass,NES,8bit" />
<meta name="author" content="© 2018 B.C.Rikko" />
<link rel="shortcut icon" type="image/png" href="favicon.png">
<link rel="shortcut icon" sizes="196x196" href="favicon.png">
<link rel="apple-touch-icon" href="favicon.png">
<title>NES.css - NES-style CSS Framework</title>
<link href="https://fonts.googleapis.com/css?family=Press+Start+2P" rel="stylesheet">
<link href="https://unpkg.com/nes.css/css/nes.min.css" rel="stylesheet" />
<link href="./style.css" rel="stylesheet" />
<meta property="og:type" content="website" />
<meta property="og:title" content="NES.css" />
<meta property="og:url" content="https://nostalgic-css.github.io/NES.css/" />
<meta property="og:description" content="NES-style CSS Framework | ファミコン風CSSフレームワーク" />
<meta property="og:image" content="https://user-images.githubusercontent.com/5305599/49061716-da649680-f254-11e8-9a89-d95a7407ec6a.png" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@bc_rikko" />
<meta name="twitter:creator" content="@bc_rikko" />
<meta name="twitter:image" content="https://user-images.githubusercontent.com/5305599/49061716-da649680-f254-11e8-9a89-d95a7407ec6a.png" />
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-41640153-4"></script>
<script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag("js", new Date());gtag("config", "UA-41640153-4");</script>
</head>
<body>
<header>
<h1><i class="snes-jp-logo brand"></i>NES.css</h1>
<p>NES-style CSS Framework.</p>
</header>
<a class="github-link" href="https://github.com/nostalgic-css/NES.css" target="_blank">
<p class="nes-balloon from-right">Fork me<br />on GitHub</p>
<i class="nes-octocat"></i>
</a>
<section class="nes-container with-title">
<h2 class="title">Buttons</h2>
<div>
<button type="button" class="nes-btn">Normal</button>
<button type="button" class="nes-btn is-primary">Primary</button>
<button type="button" class="nes-btn is-success">Success</button>
<button type="button" class="nes-btn is-warning">Warning</button>
<button type="button" class="nes-btn is-error">Error</button>
<button type="button" class="nes-btn is-disabled">Disabled</button>
</div>
</section>
<section class="nes-container with-title">
<h2 class="title">Containers</h2>
<div class="containers">
<div class="nes-container with-title is-centered">
<p class="title">Container.is-centered</p>
<p>Good morning. Thou hast had a good night's sleep, I hope.</p>
</div>
<div class="nes-container is-dark with-title">
<p class="title">Container.is-dark</p>
<p>Good morning. Thou hast had a good night's sleep, I hope.</p>
</div>
<div class="nes-container is-rounded">
<p>Good morning. Thou hast had a good night's sleep, I hope.</p>
</div>
<div class="nes-container is-rounded is-dark">
<p>Good morning. Thou hast had a good night's sleep, I hope.</p>
</div>
</div>
</section>
<section class="nes-container with-title">
<h2 class="title">Radios</h2>
<div>
<label>
<input type="radio" class="nes-radio" name="answer" checked />
<span>Yes</span>
</label>
<label>
<input type="radio" class="nes-radio" name="answer" />
<span>No</span>
</label>
</div>
</section>
<section class="nes-container with-title">
<h2 class="title">Checkboxes</h2>
<label>
<input type="checkbox" class="nes-checkbox" checked />
<span>Enable</span>
</label>
</section>
<section class="nes-container with-title">
<h2 class="title">Avatars</h2>
<div>
<img src="https://www.gravatar.com/avatar" class="nes-avatar is-small">
<img src="https://www.gravatar.com/avatar" class="nes-avatar">
<img src="https://www.gravatar.com/avatar" class="nes-avatar is-medium">
<img src="https://www.gravatar.com/avatar" class="nes-avatar is-large">
<img src="https://www.gravatar.com/avatar" class="nes-avatar is-small is-rounded">
<img src="https://www.gravatar.com/avatar" class="nes-avatar is-rounded">
<img src="https://www.gravatar.com/avatar" class="nes-avatar is-medium is-rounded">
<img src="https://www.gravatar.com/avatar" class="nes-avatar is-large is-rounded">
</div>
</section>
<section class="form nes-container with-title">
<h2 class="title">Form</h2>
<div class="nes-field">
<label for="name_field">Your name</label>
<input type="text" id="name_field" class="nes-input">
</div>
<div class="nes-field is-inline">
<label for="inline_field">.input.is-success</label>
<input type="text" id="inline_field" class="nes-input is-success" placeholder="NES.css">
</div>
<div class="nes-field is-inline">
<label for="warning_field">.input.is-warning</label>
<input type="text" id="warning_field" class="nes-input is-warning" placeholder="8bit.css">
</div>
<div class="nes-field is-inline">
<label for="error_field">.input.is-error</label>
<input type="text" id="error_field" class="nes-input is-error" placeholder="awesome.css">
</div>
<div class="field">
<label for="textarea_field">Textarea</label>
<textarea id="textarea_field" class="nes-textarea"></textarea>
</div>
</section>
<section class="balloon nes-container with-title">
<h2 class="title">Balloons</h2>
<div class="messages">
<div class="message -left">
<i class="nes-bcrikko"></i>
<div class="nes-balloon from-left">
<p>Hello NES.css</p>
</div>
</div>
<div class="message -right">
<div class="nes-balloon from-right">
<p>Good morning. Thou hast had a good night's sleep, I hope.</p>
</div>
<i class="nes-bcrikko"></i>
</div>
</div>
</section>
<section class="nes-container with-title">
<h2 class="title">Lists</h2>
<div class="lists">
<ul class="nes-list is-disc">
<li>Good morning.</li>
<li>Thou hast had a good night's sleep, I hope.</li>
<li>Thou hast had a good afternoon</li>
<li>Good night.</li>
</ul>
</div>
<div class="lists">
<ul class="nes-list is-circle">
<li>Good morning.</li>
<li>Thou hast had a good night's sleep, I hope.</li>
<li>Thou hast had a good afternoon</li>
<li>Good night.</li>
</ul>
</div>
</section>
<section class="nes-container with-title">
<h2 class="title">Table</h2>
<div class="nes-table-responsive">
<table class="nes-table is-bordered is-centered">
<thead>
<tr>
<th>Table.is-bordered</th>
<th>Table.is-centered</th>
<th>Table.is-centered</th>
<th>Table.is-centered</th>
</tr>
</thead>
<tbody>
<tr>
<td>Thou hast had a good morning</td>
<td>Thou hast had a good afternoon</td>
<td>Thou hast had a good evening</td>
<td>Thou hast had a good night</td>
</tr>
<tr>
<td>Thou hast had a good morning</td>
<td>Thou hast had a good afternoon</td>
<td>Thou hast had a good evening</td>
<td>Thou hast had a good night</td>
</tr>
</tbody>
</table>
</div>
<div class="nes-table-responsive">
<table class="nes-table is-bordered is-dark">
<thead>
<tr>
<th>Table.is-dark</th>
<th>Table.is-bordered</th>
<th>Table.is-bordered</th>
<th>Table.is-bordered</th>
</tr>
</thead>
<tbody>
<tr>
<td>Thou hast had a good morning</td>
<td>Thou hast had a good afternon</td>
<td>Thou hast had a good evening</td>
<td>Thou hast had a good night</td>
</tr>
<tr>
<td>Thou hast had a good morning</td>
<td>Thou hast had a good afternoon</td>
<td>Thou hast had a good afternoon</td>
<td>Thou hast had a good afternoon</td>
</tr>
</tbody>
</table>
</div>
</section>
<section class="nes-container with-title">
<h2 class="title">Progress</h2>
<progress class="nes-progress" value="90" max="100"></progress>
<progress class="nes-progress is-primary" value="80" max="100"></progress>
<progress class="nes-progress is-success" value="50" max="100"></progress>
<progress class="nes-progress is-warning" value="30" max="100"></progress>
<progress class="nes-progress is-error" value="10" max="100"></progress>
<progress class="nes-progress is-pattern" value="50" max="100"></progress>
</section>
<section class="nes-container with-title">
<h2 class="title">Icons</h2>
<section class="nes-container with-title">
<h3 class="title">Reaction</h3>
<div>
<i class="nes-icon heart is-small"></i>
<i class="nes-icon heart"></i>
<i class="nes-icon heart is-medium"></i>
<i class="nes-icon heart is-large"></i>
<i class="nes-icon heart is-empty"></i>
<i class="nes-icon star is-small"></i>
<i class="nes-icon star"></i>
<i class="nes-icon star is-medium"></i>
<i class="nes-icon star is-large"></i>
<i class="nes-icon star is-half"></i>
<i class="nes-icon star is-half is-medium"></i>
<i class="nes-icon star is-half is-large"></i>
<i class="nes-icon star is-transparent"></i>
<i class="nes-icon star is-transparent is-medium"></i>
<i class="nes-icon star is-transparent is-large"></i>
<i class="nes-icon star is-empty"></i>
<i class="nes-icon like is-small"></i>
<i class="nes-icon like"></i>
<i class="nes-icon like is-medium"></i>
<i class="nes-icon like is-large"></i>
<i class="nes-icon like is-empty"></i>
</div>
</section>
<section class="nes-container with-title">
<h3 class="title">SNS</h3>
<div>
<i class="nes-icon twitter is-small"></i>
<i class="nes-icon twitter"></i>
<i class="nes-icon twitter is-medium"></i>
<i class="nes-icon twitter is-large"></i>
<i class="nes-icon facebook is-small"></i>
<i class="nes-icon facebook"></i>
<i class="nes-icon facebook is-medium"></i>
<i class="nes-icon facebook is-large"></i>
<i class="nes-icon github is-small"></i>
<i class="nes-icon github"></i>
<i class="nes-icon github is-medium"></i>
<i class="nes-icon github is-large"></i>
<i class="nes-icon youtube is-small"></i>
<i class="nes-icon youtube"></i>
<i class="nes-icon youtube is-medium"></i>
<i class="nes-icon youtube is-large"></i>
<i class="nes-icon google is-small"></i>
<i class="nes-icon google"></i>
<i class="nes-icon google is-medium"></i>
<i class="nes-icon google is-large"></i>
<i class="nes-icon medium is-small"></i>
<i class="nes-icon medium"></i>
<i class="nes-icon medium is-medium"></i>
<i class="nes-icon medium is-large"></i>
<i class="nes-icon twitch is-small"></i>
<i class="nes-icon twitch"></i>
<i class="nes-icon twitch is-medium"></i>
<i class="nes-icon twitch is-large"></i>
<i class="nes-icon reddit"></i>
<i class="nes-icon reddit is-medium"></i>
<i class="nes-icon reddit is-large"></i>
<i class="nes-icon whatsapp"></i>
<i class="nes-icon whatsapp is-medium"></i>
<i class="nes-icon whatsapp is-large"></i>
<i class="nes-icon gmail"></i>
<i class="nes-icon gmail is-medium"></i>
<i class="nes-icon gmail is-large"></i>
<i class="nes-icon linkedin"></i>
<i class="nes-icon linkedin is-medium"></i>
<i class="nes-icon linkedin is-large"></i>
</div>
</section>
<section class="nes-container with-title">
<h3 class="title">Others</h3>
<div>
<i class="nes-icon close is-small"></i>
<i class="nes-icon close"></i>
<i class="nes-icon close is-medium"></i>
<i class="nes-icon close is-large"></i>
<i class="nes-octocat animate"></i>
<i class="nes-icon trophy is-small"></i>
<i class="nes-icon trophy"></i>
<i class="nes-icon trophy is-medium"></i>
<i class="nes-icon trophy is-large"></i>
<i class="nes-mario"></i>
<i class="nes-ash"></i>
<i class="nes-pokeball"></i>
<i class="nes-bulbasaur"></i>
<i class="nes-charmander"></i>
<i class="nes-squirtle"></i>
<i class="nes-smartphone"></i>
<i class="nes-phone"></i>
<i class="nes-kirby"></i>
</div>
</section>
<section class="nes-container with-title">
<h3 class="title">Controllers</h3>
<div>
<i class="nes-logo"></i>
<i class="nes-jp-logo"></i>
<i class="snes-logo"></i>
<i class="snes-jp-logo"></i>
</div>
</section>
</section>
<footer class="footer">
<p>
<a href="https://kuroeveryday.blogspot.com/" target="_blank">Black Everyday Company</a>
<span>-</span>
<a href="https://twitter.com/bc_rikko" target="_blank">@bc_rikko</a>
</p>
</footer>
</body>
<script>
var link = document.querySelector("a.github-link");
var octocat = document.querySelector("a.github-link > i.nes-octocat");
link.addEventListener("mouseover", function() {
octocat.classList.add("animate");
});
link.addEventListener("mouseout", function() {
octocat.classList.remove("animate");
});
</script>
</html>