-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
967 lines (823 loc) · 21.7 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
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="Self-taught Web Developer with a passion for reading, continuous learning, and tackling projects on my own!"
/>
<meta name="google-site-verification" content="uvbH-6ck13HtnTSvTxZ22YRcI3wok9_oj7X8Aodexo8" />
<title>Home | { LebCit }</title>
<link rel="shortcut icon" href="/static/images/favicon.png" type="image/png" />
<link rel="stylesheet" href="/static/styles/themes/midday/midday-styles-min.css" />
<!-- COMMON STYLES -->
<style>
.post-title {
font-size: 2em;
color: #222;
margin-bottom: 0.2em;
}
.post-content {
color: #444;
line-height: 1.8em;
}
.post-content a {
color: #000036;
text-decoration-line: underline;
text-decoration-color: #ea215a;
text-decoration-style: double;
text-decoration-thickness: 0.125em;
text-underline-offset: 1.5px;
text-decoration-skip-ink: none;
transition: 0.5s;
}
.post-content a:hover,
.post-content a:focus,
.post-content a:active {
text-decoration: none;
color: white;
box-shadow: inset 0 -1.3em 0 0 #000;
outline: thin dotted #ea215a;
}
</style>
<!-- Dynamic Markup Separator -->
<!-- Dynamic Markup Separator -->
<style>
@media screen and (min-width: 48em) and (max-width: 63.938em) {
.post-title {
font-size: 2.5em;
margin-bottom: 0.1em;
}
}
@media (min-width: 64em) {
.post-title {
font-size: 3em;
margin-bottom: 0.1em;
}
}
</style>
<!-- Dynamic Markup Separator -->
<style>
.post-meta {
color: #16663d;
font-size: 90%;
margin: 0;
}
.posted-on {
color: #ad1a36;
}
.post-tag {
margin: 0 0.1em;
padding: 0.2em 0.8em;
background: #ad1a36;
font-size: 80%;
}
.post-tag a {
color: #fff;
}
</style>
<!-- Dynamic Markup Separator -->
<style>
.read-more-link {
display: inline-block;
border: 2px solid rgb(61, 79, 93);
background: rgb(61, 79, 93);
padding: 0.7rem 0.9rem;
font-size: 1rem;
line-height: 1;
border-radius: 3px;
color: #fff;
font-weight: 600;
cursor: pointer;
}
.read-more-link:hover {
color: #fff;
box-shadow: 0 0.25em rgb(61, 79, 93);
}
.read-more-link:active,
.read-more-link:focus {
color: #fff;
box-shadow: 0.25em 0.25em rgb(61, 79, 93);
outline: 0.1em solid;
}
.read-more-link:visited {
color: #fff;
}
</style>
</head>
<body>
<!--Start page-->
<div id="page" class="site grid">
<a class="skip-link screen-reader-text" href="#content">Skip to content</a>
<!--Start menu-->
<style>
.invisible {
visibility: hidden;
}
.overlay {
position: fixed;
width: 0;
height: 100%;
top: 0;
right: 0;
background-color: rgba(0, 0, 0, 0.9);
z-index: 2;
letter-spacing: normal;
overflow-x: hidden;
transition: 0.5s;
}
.overlay-content {
position: relative;
top: 25%;
width: 100%;
text-align: center;
margin-top: 30px;
}
.overlay li {
list-style: none;
}
.overlay a {
padding: 8px;
text-decoration: none;
font-size: 36px;
color: #818181;
display: block;
transition: 0.3s;
}
.overlay a:hover,
.overlay a:focus {
color: #f1f1f1;
background-color: #222;
border: 1px solid red;
border-style: dashed;
}
.overlay .close-button {
position: absolute;
top: 20px;
right: 45px;
font-size: 60px;
}
</style>
<div id="main-nav" aria-label="Main navigation" class="overlay invisible" tabindex="-1">
<a href="#" id="close-button" class="close-button" aria-label="Close menu" title="Close menu"
>×</a
>
<div class="overlay-content">
<a href="/">Home</a>
<li class="pure-menu-item">
<a href="/posts">Archive</a>
</li>
<li class="pure-menu-item">
<a href="/tags">Tags</a>
</li>
<li class="pure-menu-item">
<a href="/search">Search</a>
</li>
<li class="pure-menu-item">
<a href="/pages/my-public-projects">Projects</a>
</li>
<li class="pure-menu-item">
<a href="/pages/about">About Me</a>
</li>
<li class="pure-menu-item">
<a href="/rss.xml">RSS</a>
</li>
</div>
</div>
<!--End menu-->
<!--Start masthead-->
<style>
/* SITE HEADER */
.site-header {
background: rgb(61, 79, 93);
color: #fff;
}
.sidebar {
margin: 1em;
}
.site-title,
.site-description {
margin: 0;
line-height: 1.2;
}
.site-title a {
color: #fff;
text-decoration: none;
}
.site-title a:hover,
.site-title a:focus {
text-decoration: underline;
}
.site-description {
font-weight: 300;
color: rgb(176, 202, 219);
margin: 0.5em 0 2em 0;
}
/* MENU BUTTON */
.nav-list {
margin: 0;
padding: 0;
list-style: none;
}
.nav-item {
display: inline-block;
}
.nav-item a {
background: black;
border: 2px solid rgb(176, 202, 219);
border-radius: 2px;
color: #fff;
padding: 0.5em 1em;
margin-top: 1em;
letter-spacing: 0.05em;
text-transform: uppercase;
font-size: 85%;
}
.nav-item a:hover,
.nav-item a:focus {
border: 2px solid rgb(61, 146, 201);
text-decoration: none;
}
.nav-item a svg {
fill: aliceblue;
vertical-align: bottom;
padding: 4px 0 2px;
}
@media screen and (max-width: 35.5em) {
.nav-item a svg {
padding-top: 14px;
}
}
@media screen and (min-width: 35.5em) and (max-width: 48em) {
.nav-item a svg {
padding-top: 12px;
}
}
@media screen and (min-width: 48em) and (max-width: 63.938em) {
.nav-item a svg {
padding-top: 10px;
}
}
/* more then 1023px an less then 1024px */
@media (max-width: 63.969em) {
.site-header.bio {
background-image: none !important;
}
.nav {
position: fixed;
top: 15px;
right: 10px;
z-index: 1;
}
}
@media (min-width: 64em) {
.site-header {
position: fixed;
top: 0;
bottom: 0;
overflow-y: auto;
}
.site-header.bio {
background-repeat: no-repeat;
background-position: top;
background-size: cover;
}
.site-header.bio .site-header-overlay {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.6);
}
/* The emerging W3C standard
that is currently Firefox-only */
.site-header {
scrollbar-width: thin;
}
/* Works on Chrome/Edge/Safari */
.site-header::-webkit-scrollbar {
width: 7px;
}
.site-header::-webkit-scrollbar-track {
background: #313d48;
}
.site-header::-webkit-scrollbar-thumb {
background-color: #81898f;
}
.sidebar {
margin: 10% 2em;
text-align: left;
}
.site-header.bio .sidebar {
position: sticky;
}
}
</style>
<!-- Start #masthead -->
<header
id="masthead"
class="site-header unit-1 unit-lg-2-5 bio"
style="
background-image: url(/static/images/vendetta-surrounded-by-star-wars-stormtroopers-graffiti.webp);
"
>
<div class="site-header-overlay"></div>
<!-- Start .sidebar-->
<div class="sidebar">
<div class="site-branding">
<h1 class="site-title">
<a href="/">{ LebCit } </a>
</h1>
<p class="site-description">
Self-taught Web Developer with a passion for reading, continuous learning, and tackling
projects on my own!
</p>
</div>
<!-- Menu button start -->
<nav id="nav" class="nav" aria-label="MENU">
<ul class="nav-list">
<li class="nav-item">
<a
id="menu-button"
aria-controls="main-nav"
aria-haspopup="true"
tabindex="0"
role="button"
>
<span>MENU</span>
<span class="menu-icon" aria-hidden="true">
<svg
version="1.1"
x="0px"
y="0px"
width="30px"
height="30px"
viewbox="0 0 30 30"
enable-background="new 0 0 30 30"
>
<rect width="30" height="5" />
<rect y="24" width="30" height="5" />
<rect y="12" width="30" height="5" />
</svg>
</span>
</a>
</li>
</ul>
</nav>
<!-- Menu button end -->
</div>
<!-- End .sidebar-->
</header>
<!-- End #masthead-->
<!--End masthead-->
<!--Start content-->
<div id="content" class="site-content unit-1 unit-lg-3-5">
<main class="site-main">
<!-- Start Post(s) Listing -->
<style>
.postList-article {
padding-bottom: 0.5em;
margin-top: 2rem;
}
.postList-article > p {
margin-bottom: 0;
}
/* .postList-article:first-child {
margin-top: 0;
} */
.postList-description {
color: #444;
line-height: 1.8em;
}
.postList-description a {
color: #000036;
text-decoration-line: underline;
text-decoration-color: #ea215a;
text-decoration-style: double;
text-decoration-thickness: 0.125em;
text-underline-offset: 1.5px;
text-decoration-skip-ink: none;
transition: 0.5s;
}
.postList-description a:hover,
.postList-description a:focus,
.postList-description a:active {
text-decoration: none;
color: white;
box-shadow: inset 0 -1.3em 0 0 #000;
outline: thin dotted #ea215a;
}
</style>
<!-- List of posts -->
<article class="postList-article">
<header class="post-header">
<h2 class="post-title">
<a href="/posts/blog-doc-version-3x" class="postList-link" rel="bookmark"
>Blog-Doc Version 3.x</a
>
</h2>
<p class="post-meta">
<span>Posted on</span>
<span class="posted-on">
<time class="postList-date" datetime="2024-08-20">2024-08-20</time>
</span>
<br />
<span>Tagged</span>
<span class="post-tag">
<a href="/tags/Blog-Doc">Blog-Doc</a>
</span>
<span class="post-tag">
<a href="/tags/CMS">CMS</a>
</span>
<span class="post-tag">
<a href="/tags/Development">Development</a>
</span>
<span class="post-tag">
<a href="/tags/LiteNode">LiteNode</a>
</span>
<span class="post-tag">
<a href="/tags/Marked">Marked</a>
</span>
<span class="post-tag">
<a href="/tags/Node.js">Node.js</a>
</span>
<span class="post-tag">
<a href="/tags/SSG">SSG</a>
</span>
</p>
</header>
<div class="postList-description">
<p>
This post is about updating Blog-Doc to a major new version, with streamlined and
enhanced functionalities.
</p>
</div>
<p>
<a
href="/posts/blog-doc-version-3x"
class="read-more-link"
aria-label="Read More about Blog-Doc Version 3.x"
tabindex="0"
role="button"
target="_self"
>
Read The Post
</a>
</p>
</article>
<article class="postList-article">
<header class="post-header">
<h2 class="post-title">
<a
href="/posts/ultimate-markdown-based-application-tutorial-in-node-js"
class="postList-link"
rel="bookmark"
>Ultimate Markdown-based Application Tutorial in Node.js!</a
>
</h2>
<p class="post-meta">
<span>Posted on</span>
<span class="posted-on">
<time class="postList-date" datetime="2024-07-01">2024-07-01</time>
</span>
<br />
<span>Tagged</span>
<span class="post-tag">
<a href="/tags/Developer-Guide">Developer-Guide</a>
</span>
<span class="post-tag">
<a href="/tags/Development">Development</a>
</span>
<span class="post-tag">
<a href="/tags/Dynamic-Content">Dynamic-Content</a>
</span>
<span class="post-tag">
<a href="/tags/Frontmatter">Frontmatter</a>
</span>
<span class="post-tag">
<a href="/tags/JavaScript">JavaScript</a>
</span>
<span class="post-tag">
<a href="/tags/LiteNode">LiteNode</a>
</span>
<span class="post-tag">
<a href="/tags/Markdown">Markdown</a>
</span>
<span class="post-tag">
<a href="/tags/Node.js">Node.js</a>
</span>
<span class="post-tag">
<a href="/tags/Programming">Programming</a>
</span>
<span class="post-tag">
<a href="/tags/Tutorial">Tutorial</a>
</span>
<span class="post-tag">
<a href="/tags/Web-Application">Web-Application</a>
</span>
<span class="post-tag">
<a href="/tags/Web-Development">Web-Development</a>
</span>
</p>
</header>
<div class="postList-description">
<p>
This post is about learning to create a Markdown-based application in Node.js with
LiteNode. From setup to deployment, dive into Markdown parsing, frontmatter handling,
and dynamic content rendering.
</p>
</div>
<p>
<a
href="/posts/ultimate-markdown-based-application-tutorial-in-node-js"
class="read-more-link"
aria-label="Read More about Ultimate Markdown-based Application Tutorial in Node.js!"
tabindex="0"
role="button"
target="_self"
>
Read The Post
</a>
</p>
</article>
<article class="postList-article">
<header class="post-header">
<h2 class="post-title">
<a href="/posts/litenode-nodejs-web-framework" class="postList-link" rel="bookmark"
>LiteNode, Node.js Web Framework</a
>
</h2>
<p class="post-meta">
<span>Posted on</span>
<span class="posted-on">
<time class="postList-date" datetime="2024-05-29">2024-05-29</time>
</span>
<br />
<span>Tagged</span>
<span class="post-tag">
<a href="/tags/Development">Development</a>
</span>
<span class="post-tag">
<a href="/tags/Framework">Framework</a>
</span>
<span class="post-tag">
<a href="/tags/JavaScript">JavaScript</a>
</span>
<span class="post-tag">
<a href="/tags/LiteNode">LiteNode</a>
</span>
<span class="post-tag">
<a href="/tags/Node.js">Node.js</a>
</span>
<span class="post-tag">
<a href="/tags/Router">Router</a>
</span>
<span class="post-tag">
<a href="/tags/Web-Server">Web-Server</a>
</span>
</p>
</header>
<div class="postList-description">
<p>
This post is about a fast, lightweight, and independent Node.js web framework called
LiteNode.
</p>
</div>
<p>
<a
href="/posts/litenode-nodejs-web-framework"
class="read-more-link"
aria-label="Read More about LiteNode, Node.js Web Framework"
tabindex="0"
role="button"
target="_self"
>
Read The Post
</a>
</p>
</article>
<article class="postList-article">
<header class="post-header">
<h2 class="post-title">
<a
href="/posts/transferring-variables-and-functions-from-server-to-client-in-a-node-js-application-using-ejs-and-eta"
class="postList-link"
rel="bookmark"
>Transferring Variables and Functions from Server to Client in a Node.js Application
Using EJS and Eta</a
>
</h2>
<p class="post-meta">
<span>Posted on</span>
<span class="posted-on">
<time class="postList-date" datetime="2024-05-20">2024-05-20</time>
</span>
<br />
<span>Tagged</span>
<span class="post-tag">
<a href="/tags/Development">Development</a>
</span>
<span class="post-tag">
<a href="/tags/EJS">EJS</a>
</span>
<span class="post-tag">
<a href="/tags/Eta">Eta</a>
</span>
<span class="post-tag">
<a href="/tags/Node.js">Node.js</a>
</span>
</p>
</header>
<div class="postList-description">
<p>
This post is about the process of seamlessly transfer variables and functions from
server-side to client-side in your Node.js applications using EJS and Eta templating
engines.
</p>
</div>
<p>
<a
href="/posts/transferring-variables-and-functions-from-server-to-client-in-a-node-js-application-using-ejs-and-eta"
class="read-more-link"
aria-label="Read More about Transferring Variables and Functions from Server to Client in a Node.js Application Using EJS and Eta"
tabindex="0"
role="button"
target="_self"
>
Read The Post
</a>
</p>
</article>
<article class="postList-article">
<header class="post-header">
<h2 class="post-title">
<a
href="/posts/creating-conditional-selections-in-google-forms-using-apps-script"
class="postList-link"
rel="bookmark"
>Creating Conditional Selections in Google Forms using Apps Script</a
>
</h2>
<p class="post-meta">
<span>Posted on</span>
<span class="posted-on">
<time class="postList-date" datetime="2024-05-04">2024-05-04</time>
</span>
<br />
<span>Tagged</span>
<span class="post-tag">
<a href="/tags/Apps-Script">Apps-Script</a>
</span>
<span class="post-tag">
<a href="/tags/Development">Development</a>
</span>
<span class="post-tag">
<a href="/tags/Google-Forms">Google-Forms</a>
</span>
<span class="post-tag">
<a href="/tags/JavaScript">JavaScript</a>
</span>
</p>
</header>
<div class="postList-description">
<p>
This post is about the dynamic process of creating related dropdowns in Google Forms
with Apps Script.
</p>
</div>
<p>
<a
href="/posts/creating-conditional-selections-in-google-forms-using-apps-script"
class="read-more-link"
aria-label="Read More about Creating Conditional Selections in Google Forms using Apps Script"
tabindex="0"
role="button"
target="_self"
>
Read The Post
</a>
</p>
</article>
<!-- Dynamic Markup Separator -->
<!-- Blog pagination → Main route! -->
<style>
.pagination {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: 1fr;
grid-column-gap: 16px;
}
.pagination a {
font-size: 1.5rem !important;
margin: 1.5em 0;
border: 2px solid #000;
background: #000;
display: inline-block;
padding: 0.7rem 0.9rem;
font-size: 1rem;
line-height: 1;
border-radius: 3px;
color: #fff;
font-weight: 600;
cursor: pointer;
}
.pagination .next-page {
grid-column-end: -1;
}
.pagination a:hover {
color: #fff;
box-shadow: 0 0.25em #000;
}
.pagination a:active,
.pagination a:focus {
color: #fff;
box-shadow: 0.25em 0.25em #000;
outline: 0.1em solid;
}
@media screen and (max-width: 48em) {
.pagination {
display: grid;
grid-template-columns: 1fr;
grid-template-rows: repeat(2, 1fr);
grid-row-gap: 16px;
}
.pagination a {
margin: 0;
}
}
</style>
<nav class="pagination" aria-label="Blog pagination">
<a
href="/page/1"
class="prev-page"
aria-label="Go to the previous set
of posts"
>
Older Posts
</a>
</nav>
<!--Dynamic Markup Separator-->
<p>
All posts can be found in
<a href="/posts">the archive</a>
📦
</p>
<!-- End Post(s) Listing -->
</main>
</div>
<!--End content-->
<!--Start footer-->
<style>
.site-footer {
text-align: center;
padding-top: 2em;
}
@media (min-width: 64em) {
.site-footer {
padding: 2em 3em;
margin-left: 40%;
}
}
</style>
<footer id="colophon" class="site-footer unit-1">
<style>
/* more then 1023px an less then 1024px */
@media (max-width: 63.969em) {
.hide {
display: none;
}
}
</style>
<!--Dynamic Markup Separator-->
<!--Dynamic Markup Separator-->
<!--Dynamic Markup Separator-->
<!--Dynamic Markup Separator-->
<!--Dynamic Markup Separator-->
<p class="post-content hide">
<em>
Note: The background photo is by
<a
href="https://unsplash.com/photos/guy-fawks-surrounded-by-star-wars-stormtrooper-illustration-PnMCRBRajFw"
>
richard thomposn
</a>
</em>
</p>
<div id="site-info" class="site-info">
<p>
<strong>2016 - 2024 | { LebCit } </strong>
<br />
Proudly created with <a href="https://github.com/LebCit/blog-doc">Blog-Doc</a>
</p>
</div>
</footer>
<!--End footer-->
</div>
<!--End page-->
<script type="module" src="/static/scripts/themes/midday/midday-scripts.js"></script>
</body>
</html>