-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
581 lines (476 loc) · 19.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
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>morfin</title>
<meta
name="description"
content="Lightweight, easy, and transparant css framework for
beginners, and experts. This CSS use flexbox style
for a modern design. Maincss is self-documenting tool
for free. (SEO Audit)">
<link rel="stylesheet" type="text/css" href="src/header.css">
<link rel="stylesheet" type="text/css" href="maincss.css">
<link rel="stylesheet" type="text/css" href="src/extras.css">
<link rel="stylesheet" type="text/css" href="src/768p.css">
<link rel="stylesheet" type="text/css" href="src/1280p.css">
<link rel="stylesheet" type="text/css" href="src/2160p.css">
<script src="./js/preload.js"></script>
<script>
//var theme = localStorage.getItem("theme");
//document.documentElement.className = theme
</script>
</head>
<body>
<header class="header-flex">
<div class="header-flex-left-content">
<a href="./index.html">
<nav class="header-flex-element">Morfyum</nav>
</a>
<a href="models/facestyle/facestyle.html">
<nav class="header-flex-element">Facestyle</nav>
</a>
<div id="btnHeaderDropdown" class="header-flex-element">
[ Templates ]
<div id="headerDropdown" class="header-flex-dropdown">
<div class="dropdown-background">
<a href="./templates/app-theme/index.html"><nav class="header-flex-element"> App theme </nav></a>
<a href="./templates/games/game-demo.html"><nav class="header-flex-element">Game</nav></a>
<nav class="header-flex-element"> Menu 2 </nav>
<nav class="header-flex-element"> Menu 3 </nav>
</div>
</div>
</div>
<a href="./flex.html">
<nav class="header-flex-element">Flex</nav>
</a>
<nav class="header-flex-element">
About
</nav>
<div class="header-flex-right-content">
<div class="header-flex-element theme-button thb-light" id="btnSetThemeLight">
Light
</div>
<div class="header-flex-element theme-button thb-dark" id="btnSetThemeDark">
Dark
</div>
<div id="btnSettingsBar" class="header-flex-element">
☰
<div id="settingsBar" class="header-flex-dropdown">
<div class="dropdown-background">
<nav class="header-flex-element basebox">
Right menu Button 1
</nav>
<nav class="header-flex-element basebox">
Right menu Button 2
</nav>
</div>
</div>
</div>
</div>
</div>
</header>
<div class="basebox center img-background-index" >
<div class="basebox row center">
<div class="basebox over-title">
<h2 class="text-left fg1 border-radius">Welcome!</h2>
</div>
</div>
<div class="basebox over-title center">
<div class="horizontal-scroll">
<div class="full-center top-box-link" id="tbl_first"><a href="#tbl_last">👉</a></div>
<div class="center top-box-link"></div>
<div class="center top-box-link"></div>
<div class="center top-box-link"></div>
<div class="center top-box-link"></div>
<div class="center top-box-link"></div>
<div class="center top-box-link"></div>
<div class="center top-box-link"></div>
<div class="center top-box-link"></div>
<div class="full-center top-box-link">Left</div>
<div class="full-center top-box-link">Right</div>
<div class="center top-box-link"></div>
<div class="center top-box-link"></div>
<div class="center top-box-link"></div>
<div class="center top-box-link"></div>
<div class="center top-box-link"></div>
<div class="center top-box-link"></div>
<div class="center top-box-link"></div>
<div class="center top-box-link"></div>
<div class="full-center top-box-link" id="tbl_last"><a href="#tbl_first">👈</a></div>
</div>
</div>
<div class="basebox row center">
<div class="basebox over-title">
<h2 class="text-left fg1 br">Other</h2>
</div>
</div>
<div class="basebox over-title center margin">
<div class="center col-3 top-wide-box-link"></div>
<div class="center col-3 top-wide-box-link"></div>
<div class="center col-3 top-wide-box-link"></div>
<div class="center col-3 top-wide-box-link"></div>
<div class="center col-3 top-wide-box-link"></div>
<div class="center col-3 top-wide-box-link"></div>
</div>
<!--div class="basebox">
<img src="02.jpg" alt="Background of index landing: Lake with mountains">
</div-->
</div>
<div class="basebox row center margin">
<h1>Árvíztűrő tükörfúrógép</h1>
</div>
<div class="basebox center">
<div class="fixbox padding">
<div class="basebox col padding center">
<h2> <fixbox> is get fix 1100px width on simple displays, and change to 100% width on mobile devices.</h2><hr>
<p>Build a simple website design inside of <fixbox> with <basebox></p>
</div>
<div class="basebox col-2 padding text-justify">
<img src="02.jpg" alt="lake with mountains example for post">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting
industry. Lorem Ipsum has been the industry's standard dummy
text ever since the 1500s, when an unknown printer took a
galley of type and scrambled it to make a type specimen book.</p>
<div class="source-code">
Source-Code format for Documentations and descriptions.<br>
----------- | -------------<br>
1 | 2 | 3 | - | D | E | F |<br>
A | B | C | - | 4 | 5 | 6 |
</div>
<p>It has survived not only five centuries, but also the leap into
electronic typesetting, remaining essentially unchanged. It was
popularised in the 1960s with the release of Letraset sheets
containing Lorem Ipsum passages, and more recently with desktop
publishing software like Aldus PageMaker including versions of
Lorem Ipsum.</p>
</div>
<div class="basebox col-5 padding">
<div class="basebox" style=" align-self: flex-start;">
<div class="basebox col">
<img src="01.jpg" alt="Morfyum image in right menu">
</div>
<div class="basebox col padding">
<h4>CÍM</h4><hr>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
</div>
</div>
</div>
</div>
</div>
<div class="basebox row center margin">
<div class="alert">
<span class="closebtn" onclick="this.parentElement.style.display='none';">×</span>
<strong>Warning buttons</strong><br>
Alert windows in 4 different color type from extras.css. <br> This is the default.
</div>
<div class="alert red">
<span class="closebtn" onclick="this.parentElement.style.display='none';">×</span>
ERROR ALERT
</div>
<div class="alert orange">
<span class="closebtn" onclick="this.parentElement.style.display='none';">×</span>
WARNING ALERT
</div>
<div class="alert green">
<span class="closebtn" onclick="this.parentElement.style.display='none';">×</span>
SUCCESS ALERT
</div>
</div>
<div class="basebox center margin padding">
<h2><3 🧡 Preconfigured form, and button elements, to be an Amazing login session <3</h2>
</div>
<div class="basebox center margin padding">
<form class="fixbox">
<div class="basebox row center padding">USERNAME:</div>
<div class="basebox row center"><input type="text" placeholder="Username"></div>
<div class="basebox row center padding">PASSWORD:</div>
<div class="basebox row center"><input type="password" placeholder="password"></div>
<div class="basebox col-2 margin-soft bg2">
<label for="any" class="checkbox-label margin row">
Any
<input id="any" type="checkbox" checked="checked">
<span class="checkmark"></span>
</label>
<label for="two" class="checkbox-label margin row">
Two
<input id="two" type="checkbox">
<span class="checkmark"></span>
</label>
<label for="tooloong" class="checkbox-label margin row">
Reallyyyyyyyyyyyyyyyy looooooooong teeeeeeeeeeext
<input id="tooloong" type="checkbox">
<span class="checkmark"></span>
</label>
</div>
<div class="basebox col-2 margin-soft bg2">
<label for="checkbox2" class="checkbox-label margin row">
Checkbox 2
<input id="checkbox2" type="checkbox" checked="checked">
<span class="checkmark"></span>
</label>
<label for="two2" class="checkbox-label margin row">
Two 2
<input id="two2" type="checkbox">
<span class="checkmark"></span>
</label>
<label for="other2" class="checkbox-label margin row">
Other
<input id="other2" type="checkbox">
<span class="checkmark"></span>
</label>
</div>
<!--div class="basebox row margin-soft center padding testbox">
<label for="any" class="checkbox-label margin">
Any
<input id="any" type="checkbox" checked="checked">
<span class="checkmark"></span>
</label>
<label for="two" class="checkbox-label margin">
Two
<input id="two" type="checkbox">
<span class="checkmark"></span>
</label>
<label for="tooloong" class="checkbox-label margin">
Reallyyyyyyyyyyyyyyyy looooooooong teeeeeeeeeeext
<input id="tooloong" type="checkbox">
<span class="checkmark"></span>
</label>
</div-->
<!--div class="basebox margin-soft center padding testbox row">
<label for="checkbox2" class="checkbox-label margin">
Checkbox 2
<input id="checkbox2" type="checkbox" checked="checked">
<span class="checkmark"></span>
</label>
<label for="two2" class="checkbox-label margin">
Two 2
<input id="two2" type="checkbox">
<span class="checkmark"></span>
</label>
<label for="other2" class="checkbox-label margin">
Other
<input id="other2" type="checkbox">
<span class="checkmark"></span>
</label>
</div-->
<div class="basebox row margin-soft center padding">
<label for="radiobutt01" class="checkbox-label margin">
Radio button 1/1
<input id="radiobutt01" type="radio" checked="checked" name="test01">
<span class="radiomark"></span>
</label>
<label for="radio2" class="checkbox-label margin">
Radio 1/2
<input id="radio2" type="radio" name="test01">
<span class="radiomark"></span>
</label>
<label for="radiOther" class="checkbox-label margin">
Radio Other 1/3
<input id="radiOther" type="radio" name="test01">
<span class="radiomark"></span>
</label>
</div>
<div class="basebox row margin-soft center padding">
<label for="radiobutt03" class="checkbox-label margin">
Radio button 2/1
<input id="radiobutt03" type="radio" checked="checked" name="test02">
<span class="radiomark"></span>
</label>
<label for="radio4" class="checkbox-label margin">
Radio 2/2
<input id="radio4" type="radio" name="test02">
<span class="radiomark"></span>
</label>
<label for="radiOther2" class="checkbox-label margin">
Radio Other 2/3
<input id="radiOther2" type="radio" name="test02">
<span class="radiomark"></span>
</label>
</div>
<hr>
<div class="basebox row padding gap">
<div class="basebox button center">Button 1</div>
<div class="basebox button center">Button 2</div>
</div>
</form>
</div>
<div class="basebox margin center">
<h2>Three or any <i><div class="basebox"></i> beside each other</h2>
<div class="basebox margin-soft center padding testbox" >basebox</div>
<div class="basebox margin-soft center padding testbox" >basebox</div>
<div class="basebox margin-soft center padding testbox" >basebox</div>
</div>
<div class="basebox margin center">
<div class="basebox margin-soft center padding testbox" >basebox</div>
<div class="basebox margin-soft center padding testbox" >basebox</div>
<div class="basebox margin-soft center padding testbox" >basebox</div>
<div class="basebox margin-soft center padding testbox" >basebox</div>
<div class="basebox margin-soft center padding testbox" >basebox</div>
<div class="basebox margin-soft center padding testbox" >basebox</div>
<div class="basebox margin-soft center padding testbox" >basebox</div>
<div class="basebox margin-soft center padding testbox" >basebox</div>
<div class="basebox margin-soft center padding testbox" >basebox</div>
<div class="basebox margin-soft center padding testbox" >basebox</div>
<div class="basebox margin-soft center padding testbox" >basebox</div>
<div class="basebox margin-soft center padding testbox" >basebox</div>
<div class="basebox margin-soft center padding testbox" >basebox</div>
<div class="basebox margin-soft center padding testbox" >basebox</div>
<div class="basebox margin-soft center padding testbox" >basebox</div>
<div class="basebox margin-soft center padding testbox" >basebox</div>
<div class="basebox margin-soft center padding testbox" >basebox</div>
<div class="basebox margin-soft center padding testbox" >basebox</div>
<div class="basebox margin-soft center padding testbox" >basebox</div>
<div class="basebox margin-soft center padding testbox" >basebox</div>
<div class="basebox margin-soft center padding testbox" >basebox</div>
<div class="basebox margin-soft center padding testbox" >basebox</div>
<div class="basebox margin-soft center padding testbox" >basebox</div>
</div>
<div class="basebox margin">
<div class="basebox row center margin-soft">
<h2>Responsive numbered columns <i><div class="col-X"></i> (1-6)</h2>
</div>
<div class="testbox col-1 margin-soft padding center">COL-1</div>
<div class="testbox col-2 margin-soft padding center">COL-2</div>
<div class="testbox col-2 margin-soft padding center">COL-2</div>
<div class="testbox col-3 margin-soft padding center">COL-3</div>
<div class="testbox col-3 margin-soft padding center">COL-3</div>
<div class="testbox col-3 margin-soft padding center">COL-3</div>
<div class="testbox col-4 margin-soft padding center">COL-4</div>
<div class="testbox col-4 margin-soft padding center">COL-4</div>
<div class="testbox col-4 margin-soft padding center">COL-4</div>
<div class="testbox col-4 margin-soft padding center">COL-4</div>
<div class="testbox col-5 margin-soft padding center">COL-5</div>
<div class="testbox col-5 margin-soft padding center">COL-5</div>
<div class="testbox col-5 margin-soft padding center">COL-5</div>
<div class="testbox col-5 margin-soft padding center">COL-5</div>
<div class="testbox col-5 margin-soft padding center">COL-5</div>
<div class="testbox col-6 margin-soft padding center">COL-6</div>
<div class="testbox col-6 margin-soft padding center">COL-6</div>
<div class="testbox col-6 margin-soft padding center">COL-6</div>
<div class="testbox col-6 margin-soft padding center">COL-6</div>
<div class="testbox col-6 margin-soft padding center">COL-6</div>
<div class="testbox col-6 margin-soft padding center">COL-6</div>
<div class="basebox col margin padding center">col-2 + (3x col-6)</div>
<div class="testbox col-2 margin-soft padding center">COL-2</div>
<div class="testbox col-6 margin-soft padding center">COL-6</div>
<div class="testbox col-6 margin-soft padding center">COL-6</div>
<div class="testbox col-6 margin-soft padding center">COL-6</div>
<div class="basebox col margin padding center">2x col-4 + col-2</div>
<div class="testbox col-4 margin-soft padding center">COL-4</div>
<div class="testbox col-4 margin-soft padding center">COL-4</div>
<div class="testbox col-2 margin-soft padding center">COL-2</div>
<div class="basebox col margin padding center">col-4 + col-2 + col-4</div>
<div class="testbox col-4 margin-soft padding center">COL-4</div>
<div class="testbox col-2 margin-soft padding center">COL-2</div>
<div class="testbox col-4 margin-soft padding center">COL-4</div>
</div>
<div class="basebox margin center">
<div class="fixbox margin center">
<div class="basebox col margin center"><h2>Cards from <strong>extras.css</strong></h2></div>
<div class=" center card">
Card<hr>
<a href="01.jpg">
<img src="01.jpg" alt="Basebox example: morfyum">
</a>
</div>
<div class=" center card">
Card<hr>
<a href="02.jpg">
<img src="02.jpg" alt="Basebox example: Lake with mountains">
</a>
</div>
<div class=" center card">Card<hr><a href="03.jpg"><img src="03.jpg" alt="Basebox example: stay-at-home css"></a></div>
<div class=" center card">Card</div>
<div class=" center card">Card</div>
<div class=" center card">Card</div>
<div class=" center card">Card</div>
<div class=" center card">Card</div>
<div class=" center card">Card</div>
<div class=" center card">Card</div>
<div class=" center card">Card</div>
<div class=" center card">Card</div>
</div>
</div>
<div class="basebox center">
<h2>Expandable <i> <footer> </i> with .col-6 😅</h2>
</div>
<footer class="basebox center">
<div class="basebox col-6">
<hr><div class="basebox col center">DEVELOPER</div><hr>
<div class="basebox col center padding">Józsa Márton</div>
<div class="basebox col center padding">2020</div>
<div class="basebox col center padding">All right reserved</div>
<div class="basebox col center padding"></div>
</div>
<div class="basebox col-6">
<hr><div class="basebox col center">TECHNOLOGY</div><hr>
<div class="basebox col center padding">HTML 5</div>
<div class="basebox col center padding">CSS 3</div>
<div class="basebox col center padding">CSS Flexbox</div>
<div class="basebox col center padding"></div>
</div>
<div class="basebox col-6">
<hr><div class="basebox col center">USEFUL TOOLS</div><hr>
<div class="basebox col center padding"><a href="https://www.whatsmyip.org/html-characters/" target="blank_10">Special Characters [ ➚ ]</a></div>
<div class="basebox col center padding"><a href="https://www.pexels.com/" target="blank_10">Free Pictures from Pexels [ ➚ ]</a></div>
<div class="basebox col center padding"><a href="https://css-tricks.com/snippets/css/a-guide-to-flexbox/" target="blank_10">css-tricks Flexbox [ ➚ ]</a></div>
<div class="basebox col center padding"><a href="https://web.dev/measure/" target="blank_11">Measure Page Quality [ ➚ ]</a></div>
</div>
</footer>
</body>
</html>
<script>
const btnSetThemeLight = document.querySelector('#btnSetThemeLight')
const btnSetThemeDark = document.querySelector('#btnSetThemeDark')
/* Handle theme setting */
function setTheme(theme) {
document.documentElement.className = theme
localStorage.setItem("theme", theme);
theme = localStorage.getItem("theme");
}
// Every button required own addEventListener array fn.
btnSetThemeLight.addEventListener('click', () => { setTheme("light") });
btnSetThemeDark.addEventListener('click', () => { setTheme("dark") });
</script>
<script>
// Unused jumpToId
/*function jumpToId(element_id) {
const element = document.getElementById(element_id);
element.scrollIntoView();
}*/
/* When the user clicks on the button,
toggle between hiding and showing the dropdown content */
// Replace function with add event listener.
/*function headerDropdown() {
document.getElementById("headerDropdown").classList.toggle("show");
}*/
// New addEventListener instead function
const btnHeaderDropdown = document.querySelector('#btnHeaderDropdown')
btnHeaderDropdown.addEventListener('click', () => {
document.getElementById("headerDropdown").classList.toggle("show");
});
// Remove, and replace with addEventListener like above
/*function settingsBar() {
document.getElementById("settingsBar").classList.toggle("show");
}*/
// New addEventListener instead function
const btnSettingsBar = document.querySelector('#btnSettingsBar')
btnSettingsBar.addEventListener('click', () => {
document.getElementById("settingsBar").classList.toggle("show");
});
// Close the dropdown if the user clicks outside of it
/*window.onclick = function(event) {
if (!event.target.matches('.header-flex-element')) {
var dropdowns = document.getElementsByClassName("header-flex-dropdown");
var i;
for (i = 0; i < dropdowns.length; i++) {
var openDropdown = dropdowns[i];
if (openDropdown.classList.contains('show')) {
openDropdown.classList.remove('show');
}
}
}
}*/
</script>