-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
491 lines (484 loc) · 13.8 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
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
<html lang="en">
<head>
<title>Terminalize: A CSS terminal micro-framework</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta
name="description"
content="Terminalize is a simple and lightweight CSS3 micro-framework for doing terminal-like interfaces"
/>
<meta property="og:title" content="Terminalize: A CSS terminal micro-framework" />
<meta property="og:description" content="Terminalize is a simple and lightweight CSS3 micro-framework for doing terminal-like interfaces" />
<meta property="og:image" content="https://terminalize.ml/terminalize.png" />
<meta property="og:url" content="http://terminalize.ml" />
<meta property="og:type" content="website" />
<meta name="twitter:creator" content="@Pabletos"/>
<meta name="twitter:image" content="https://terminalize.ml/terminalize.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="favicon.svg" />
<link
rel="stylesheet"
href="css/terminalize.min.css"
type="text/css"
media="all"
/>
<link rel="canonical" href="http://terminalize.ml" />
<style>
@media only screen and (max-width: 600px) {
#title {
display: none;
}
.btn {
margin: 0.5rem 0;
}
}
</style>
<script src='https://storage.ko-fi.com/cdn/scripts/overlay-widget.js'></script>
<script type="text/javascript">
window.addEventListener('input', function (event) {
const terminalize = document.getElementsByClassName('terminalize')[0];
if (event.target.id === 'select-theme') {
if (event.target.value !== 'null') {
terminalize.className = 'terminalize ' + event.target.value;
} else {
terminalize.className = 'terminalize';
}
}
});
window.addEventListener('click', function (event) {
if (event.target.id === 'maximize') {
if (document.fullscreenElement) {
document.exitFullscreen();
} else {
document.querySelector('body').requestFullscreen();
}
}
})
</script>
</head>
<body
class="terminalize"
style="padding: 0rem; margin: 0rem; background: black"
>
<div class="screen scanlines">
<div class="pannel rounded">
<div class="pannel-header">
<div class="col a-s">
<div class="row j-b a-auto w-100">
<div id="title""" class="type">This is Terminalize<span class="cursor blink"></span></div>
<div style="margin-right: -1rem;" class="select no-border">
<select id="select-theme" name="theme">
<option selected value="null">Original theme</option>
<option value="theme-blue">Blue theme</option>
<option value="theme-orange">Orange theme</option>
</select>
</div>
</div>
</div>
<div class="col controls">
<div class="control">-</div>
<div id="maximize" class="control">☐</div>
<div class="control">X</div>
</div>
</div>
<div class="pannel-body">
<div class="post">
<a
class="btn"
style="margin: auto; display: block; text-decoration: none; display: flex; justify-content: center; align-items: center;"
href="https://github.com/pabletos/terminalize/releases"
target="_blank"
>
<img
style="width: 2rem"
src="https://upload.wikimedia.org/wikipedia/commons/thumb/9/91/Octicons-mark-github.svg/900px-Octicons-mark-github.svg.png?20180806170715">
<span style="flex: 1;">Download from Github</span>
</a>
</div>
<div class="pannel fluid">
<div class="pannel-header inverse">
<div class="col a-s">What is it?</div>
</div>
<div class="pannel-body">
<div class="post">
<p>
Terminalize is a simple CSS3 micro-framework for doing
terminal-like interfaces for the web or hybrid app
projects.
</p>
<h3>Motivation</h3>
<blockquote>
when you don't create things, you become defined by your tastes rather than ability.
your tastes only narrow & exclude people.
so create.
- Why The Lucky Stiff
</blockquote>
<p>
Terminalize was, in its humble beginnings, an old personal
website I did based on a old codepen.
</p>
<p>
The main purpose of that website, at that time, was only to
show my former CSS and web development skills. So I also
created a blog with curious posts about coding and projects.
</p>
<p>
But as I soon discovered, the large majority
of devices screens at the time showed the website too blurry
and out of focus. So I had to discard that design and create a
new website from scratch.
</p>
<p>
Some time ago I re-discovered this project buried in my files
and decided to transform it into some kind of micro-CSS
framework for quick terminal style websites.
</p>
<p>- Pablo<span class="cursor blink"></span></p>
</div>
</div>
</div>
<div class="pannel">
<div class="pannel-header inverse">
<div class="col a-s">Customize</div>
</div>
<div class="pannel-body">
<div class="row">
<div class="col">
<p>
Terminalize uses few and easy to create
themes with only five base constants.
</p>
<p>
You can also easily change font, border styles, and maximum
width for your posts.
</p>
</div>
<div class="col">
<pre class="code">
<div class="title">Orange theme (as seen on top)</div>
<code>
.terminalize.theme-orange {
--color-primary: #f0bf25;
--color-secondary: #2c2013;
--color-tertiary: #8e7117;
--color-quaternary: #110c05;
--filter: sepia(100%);
}
</code>
</pre>
</div>
</div>
</div>
</div>
<div class="pannel">
<div class="pannel-header inverse">
<div class="col a-s">Code blocks</div>
</div>
<div class="pannel-body">
<pre class="code">
<div class="title" contenteditable="true">This text is editable! Try me!</div>
<code contenteditable="true">
function one(){
$.log("File");
}
function two(){
$.log("File");
}
function one(){
$.log("File");
}
function two(){
$.log("File");
}
</code>
</pre>
</div>
</div>
<div class="pannel fluid">
<div class="pannel-header inverse">
<div class="col a-s">Display your data</div>
</div>
<div class="pannel-body">
<div class="row a-auto">
<table>
<thead>
<tr>
<th>Country</th>
<th>Population</th>
<th>Avaaz</th>
</tr>
</thead>
<tbody>
<tr>
<td>Andorra</td>
<td>85,000</td>
<td>3,316</td>
</tr>
<tr>
<td>Luxembourg</td>
<td>498,000</td>
<td>14,228</td>
</tr>
<tr>
<td>France</td>
<td>64,768,000</td>
<td>1,827,517</td>
</tr>
<tr>
<td>Belgium</td>
<td>10,423,000</td>
<td>292,530</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="3"></td>
</tr>
</tfoot>
</table>
<pre class="code">
<div class="title">Default table</div>
<code>
<table>
<thead>
<tr>
<th>Country</th>
<th>Population</th>
<th>Avaaz</th>
</tr>
</thead>
<tbody>
<!-- tr and td tags-->
</tbody>
<tfoot>
<tr>
<td colspan="3"></td>
</tr>
</tfoot>
</table>
</code>
</pre>
</div>
<div class="row a-auto" style="margin-top: 1rem;">
<table class="simple bordered">
<thead>
<tr>
<th>Country</th>
<th>Population</th>
<th>Avaaz</th>
</tr>
</thead>
<tbody>
<tr>
<td>Andorra</td>
<td>85,000</td>
<td>3,316</td>
</tr>
<tr>
<td>Luxembourg</td>
<td>498,000</td>
<td>14,228</td>
</tr>
<tr>
<td>France</td>
<td>64,768,000</td>
<td>1,827,517</td>
</tr>
<tr>
<td>Belgium</td>
<td>10,423,000</td>
<td>292,530</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="3"></td>
</tr>
</tfoot>
</table>
<pre class="code">
<div class="title">Simple bordered table</div>
<code>
<table class="simple bordered">
<thead>
<tr>
<th>Country</th>
<th>Population</th>
<th>Avaaz</th>
</tr>
</thead>
<tbody>
<!-- tr and td tags-->
</tbody>
<tfoot>
<tr>
<td colspan="3"></td>
</tr>
</tfoot>
</table>
</code>
</pre>
</div>
<div class="row a-auto" style="margin-top: 1rem;">
<table class="highlight bordered">
<thead>
<tr>
<th>Country</th>
<th>Population</th>
<th>Avaaz</th>
</tr>
</thead>
<tbody>
<tr>
<td>Andorra</td>
<td>85,000</td>
<td>3,316</td>
</tr>
<tr class="highlighted">
<td>Luxembourg</td>
<td>498,000</td>
<td>14,228</td>
</tr>
<tr>
<td>France</td>
<td>64,768,000</td>
<td>1,827,517</td>
</tr>
<tr>
<td>Belgium</td>
<td>10,423,000</td>
<td>292,530</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="3"></td>
</tr>
</tfoot>
</table>
<pre class="code">
<div class="title">Table with highlight</div>
<code>
<table class="highlight bordered">
<thead>
<tr>
<th>Country</th>
<th>Population</th>
<th>Avaaz</th>
</tr>
</thead>
<tbody>
<!-- tr and td tags-->
</tbody>
<tfoot>
<tr>
<td colspan="3"></td>
</tr>
</tfoot>
</table>
</code>
</pre>
</div>
</div>
</div>
<div class="pannel">
<div class="pannel-header inverse">
<div class="col a-s">Images with filters</div>
</div>
<div class="pannel-body">
<div class="row a-c">
<div class="col">
<div class="pannel">
<img src="https://robohash.org/sample1.png">
</div>
</div>
<div class="col">
<div class="pannel">
<img src="https://robohash.org/sample2.png">
</div>
</div>
<div class="col">
<div class="pannel">
<img src="https://robohash.org/sample3.png">
</div>
</div>
</div>
</div>
</div>
<div class="pannel">
<div class="pannel-header inverse">
<div class="col a-s">Use retro forms</div>
</div>
<div class="pannel-body">
<form>
<div class="form-group">
<label class="checkbox"
>One
<input type="checkbox" checked />
<span class="checkmark">
<span></span>
</span>
</label>
<label class="checkbox"
>Two
<input type="checkbox" checked />
<span class="checkmark">
<span></span>
</span>
</label>
<progress value="56" max="100"></progress>
</div>
<div class="form-group inverse">
<label class="field">
<input placeholder="Placeholder" type="text" />
</label>
</div>
<div class="form-group">
<div class="select">
<select name="select">
<option selected value="value1">Value 1</option>
<option value="value2" selected>Value 2</option>
<option value="value3">Value 3</option>
</select>
</div>
</div>
<div class="form-group">
<textarea placeholder="Placeholder...">
Some intro text</textarea
>
</div>
<div class="form-group">
<div class="btn">Normal</div>
<div class="btn active">Active</div>
<div class="btn b-alt">Dashed</div>
</div>
</form>
</div>
</div>
<div class="post">
<a
class="btn"
style="margin: auto; display: block; text-decoration: none; display: flex; justify-content: center; align-items: center;"
href="https://github.com/pabletos/terminalize/releases"
target="_blank"
>
<img
style="width: 2rem"
src="https://upload.wikimedia.org/wikipedia/commons/thumb/9/91/Octicons-mark-github.svg/900px-Octicons-mark-github.svg.png?20180806170715">
<span style="flex: 1;">Download from Github</span>
</a>
</div>
</div>
<div class="pannel-footer inverse">
<div class="col a-e">Terminalize v0.1</div>
</div>
</div>
<script>
kofiWidgetOverlay.draw('phuet', {
'type': 'floating-chat',
'floating-chat.donateButton.text': '',
'floating-chat.donateButton.background-color': '#00c800',
'floating-chat.donateButton.text-color': '#000000'
});
</script>
</div>