-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
950 lines (926 loc) · 43.7 KB
/
index.html
File metadata and controls
950 lines (926 loc) · 43.7 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Vitforlinux Gimp 3.0 3.2 and 2.10 updated script-fu scm logo download</title>
<style>
:root {
--main-color: #ff6600;
--main-color-rgba: 255,102,0;
}
/* Reset */
*, *::before, *::after {
box-sizing: border-box;
}
body {
margin: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #444, #666);
min-height: 200vh;
color: #eee;
}
/* Navbar container */
nav {
position: sticky;
top: 1rem;
z-index: 1000;
display: grid;
grid-template-columns: repeat(5, auto) 1fr auto;
align-items: center;
gap: 1.5rem;
padding: 1rem 2rem;
background: rgba(20,20,20,0.3);
backdrop-filter: blur(10px);
border-radius: 2rem;
border: 1px solid rgba(255 255 255 / 0.1);
box-shadow: 0 4px 20px rgba(0,0,0,0.5);
transform-origin: top center;
transition:
transform 0.3s ease,
background-color 0.3s ease,
padding 0.3s ease;
}
nav.shrink {
transform: scale(0.85);
background: rgba(20,20,20,0.3);
padding: 0.6rem 2rem;
box-shadow: 0 4px 24px rgba(100,40,0,0.4);
}
/* Links */
.nav-links {
display: contents;
}
nav a {
position: relative;
text-decoration: none;
color: #eee;
font-weight: 600;
font-size: 1rem;
padding: 0.25rem 0;
cursor: pointer;
overflow: hidden;
transition: color 0.3s ease;
}
nav a::after {
content: '';
position: absolute;
left: 50%;
bottom: 0;
width: 0;
height: 2px;
background: var(--main-color);
transition: width 0.3s ease, left 0.3s ease;
border-radius: 2px;
}
nav a:hover,
nav a:focus-visible {
color: var(--main-color);
outline: none;
}
nav a:hover::after,
nav a:focus-visible::after {
width: 100%;
left: 0;
}
/* Unified Search Input */
#searchBar {
grid-column: 6 / 7;
justify-self: end;
width: 220px;
padding: 0.4rem 1.2rem 0.4rem 0.8rem;
font-size: 1rem;
border-radius: 20px;
border: 1px solid rgba(255 255 255 / 0.3);
background: rgba(255 255 255 / 0.1);
color: white;
outline: none;
transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
backdrop-filter: blur(6px);
}
#searchBar::placeholder {
color: white;
}
#searchBar:focus {
background: rgba(255,102,0,0.15);
border-color: var(--main-color);
box-shadow: 0 0 5px var(--main-color);
}
/* Hamburger menu (hidden on large) */
.menu-toggle {
display: none;
grid-column: 6 / 7;
justify-self: end;
background: none;
border: none;
cursor: pointer;
width: 28px;
height: 22px;
position: relative;
z-index: 1100;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
display: block;
background: var(--main-color);
height: 3px;
border-radius: 3px;
position: absolute;
width: 100%;
left: 0;
transition: all 0.3s ease;
}
.menu-toggle span {
top: 50%;
transform: translateY(-50%);
}
.menu-toggle span::before {
content: '';
top: -8px;
position: absolute;
}
.menu-toggle span::after {
content: '';
top: 8px;
position: absolute;
}
.menu-toggle.open span {
background: transparent;
}
.menu-toggle.open span::before {
transform: rotate(45deg);
top: 0;
}
.menu-toggle.open span::after {
transform: rotate(-45deg);
top: 0;
}
/* Dropdown menu */
.dropdown-menu {
position: absolute;
top: 100%;
right: 2rem;
background: rgba(20,20,20,0.85);
backdrop-filter: blur(15px);
border-radius: 0 0 1rem 1rem;
box-shadow: 0 8px 24px rgba(255,102,0,0.3);
overflow: hidden;
max-height: 0;
transition: max-height 0.3s ease;
width: 220px;
z-index: 999;
}
.dropdown-menu.open {
max-height: 400px;
}
.dropdown-menu a {
display: block;
padding: 1rem 1.5rem;
border-bottom: 1px solid rgba(255,255,255,0.15);
color: #eee;
font-weight: 600;
font-size: 1.1rem;
position: relative;
cursor: pointer;
user-select: none;
}
.dropdown-menu a:last-child {
border-bottom: none;
}
.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
background: rgba(255,102,0,0.1);
color: var(--main-color);
outline: none;
}
.dropdown-menu a::after {
content: '';
position: absolute;
bottom: 5px;
left: 50%;
height: 2px;
width: 0;
background: var(--main-color);
border-radius: 2px;
transition: width 0.3s ease, left 0.3s ease;
}
.dropdown-menu a:hover::after,
.dropdown-menu a:focus-visible::after {
width: 100%;
left: 0;
}
/* Hide dropdown menu and hamburger on big screens */
@media (min-width: 769px) {
.dropdown-menu,
.menu-toggle {
display: none;
}
}
/* Responsive navbar adjustments on small screens */
@media (max-width: 768px) {
nav {
grid-template-columns: 1fr auto auto;
padding: 1rem 1.5rem;
border-radius: 1rem 1rem 0 0;
}
.nav-links {
display: none;
}
#searchBar {
grid-column: 2 / 3;
width: 140px;
order: 2;
}
.menu-toggle {
grid-column: 3 / 4;
order: 3;
display: block;
}
}
h1 {
color: #ff6600;
margin-top: 25px;
margin-left: 10px;
text-shadow: 1px 1px 3px black;
}
h2 {
color: white;
margin-left: 20px;
margin-top: 20px;
clear: both;
}
h3 {
color: white;
text-align: center;
clear: both;
}
p a {
color: white;
padding: 4px 8px;
margin: 20px 5px 0 5px;
text-decoration: none;
font-weight: 600;
box-shadow: 0 8px 24px rgba(0, 0, 0, 1);
border-radius: 20px;
border: 1px solid rgba(255 255 255 / 0.3);
background: rgba(255 255 255 / 0.1);
transition: background-color 0.3s ease;
}
p a:hover {
background: rgba(255,102,0,0.15);
border-color: var(--main-color);
box-shadow: 0 8px 24px var(--main-color);
color:white;
}
.container {
display: grid;
grid-auto-flow: row dense;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
align-self: stretch;
padding:20px;
}
@media only screen and (max-width: 1000px) {
.container {
display: grid;
grid-auto-flow: row dense;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
align-self: stretch;
}
}
@media only screen and (max-width: 800px) {
.container {
display: grid;
grid-auto-flow: row dense;
grid-template-columns: 1fr;
gap: 20px;
align-self: stretch;
}
}
.container div {
border: 1px solid rgba(255 255 255 / 0.1);
border-radius: 20px;
background: linear-gradient(135deg, #1e1e1e, #444);
}
.container div p {
text-align: center;
padding: 12px;
}
div.middle p img {
width: 100%;
height: auto;
border-radius: 12px;
display: block;
margin: 0 auto;
text-align: center;
transition: transform 2s, background-color 2s;
}
div.middle p img:hover {
transform: scale(0.9);
border-radius: 12px;
position:absolute;
left:30px; right:30px;
margin:auto;
}
/* Page content styling */
.hidden {
display: none;
}
</style> </head>
<body>
<nav role="navigation" aria-label="Primary navigation" id="navbar">
<div class="nav-links"> <a href="https://vitforlinux-gimp.github.io/"
tabindex="0">En</a> <a href="https://vitforlinux-gimp.github.io/index_it.html"
tabindex="0">It</a> <a href="https://github.com/vitforlinux-gimp/scm/releases/download/3.0/Script-fu-300.zip"
tabindex="0">Download Latest</a> <a href="https://github.com/vitforlinux-gimp/font-downloader/releases/download/font/Script-fu-needed-font.zip"
tabindex="0">Needed Fonts</a> <a href="https://github.com/vitforlinux-gimp/scm"
tabindex="0">View on Github</a> </div>
<input id="searchBar" placeholder="Search... ? for help" aria-label="Search site content"
oninput="searchContent()" type="search"> <button class="menu-toggle"
aria-label="Toggle menu" aria-expanded="false" aria-controls="dropdown-menu"> <span> </span></button>
<div class="dropdown-menu" id="dropdown-menu" aria-hidden="true" tabindex="-1"> <a
href="https://vitforlinux-gimp.github.io/" tabindex="-1">En</a> <a
href="https://vitforlinux-gimp.github.io/index_it.html" tabindex="-1">It</a> <a
href="https://github.com/vitforlinux-gimp/scm/releases/download/3.0/Script-fu-300.zip"
tabindex="-1">Download Latest</a> <a href="https://github.com/vitforlinux-gimp/font-downloader/releases/download/font/Script-fu-needed-font.zip"
tabindex="-1">Needed Fonts</a> <a href="https://github.com/vitforlinux-gimp/scm"
tabindex="-1">View on Github</a> </div>
</nav>
<main>
<section>
<h1> Vitforlinux Updated SCM script-fus logo for Gimp 3.0 / 3.2 and 2.10 Download</h1>
<h2>Script-fu SCM - Warning: these scripts logo are programmed for Gimp 3.0 or 3.2 and 2.10.<br>
Old Script-Fu for Gimp 2.10 do not work on Gimp 3.x.</h2>
</section>
</main>
<div class="container">
<div class="middle">
<h3>Polished Plastic Fun for Gimp 3.2 - 2.10</h3>
<p> It has amazing possibilities of both text and background filling, outline and shadow color can be changed.<br>
<br>
Use font OFL <a href="https://mirrors.ctan.org/fonts/qualitype/opentype/QTBlimpo.otf"
title="QTBlimpo" target="_blank">QTBlimpo</a><br>
<br>
File > Create > Logos > Polished Plastic Fun 300 Logo<br>
Filters > Alpha to Logo > Polished Plastic Fun 300 alpha <img
src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/Plastic_Fun.jpg"
loading="lazy" alt="plastic fun logo"><br>
<br>
<a href="https://raw.githubusercontent.com/vitforlinux-gimp/scm/master/polished_plastic_fun_300.scm"
title="polished plastic fun 300" target="_blank"> Right click, save link as... </a></p>
</div>
<div class="middle">
<h3> Plastic or Glass for Gimp 3.2 - 2.10</h3>
<p> Allows you to make effects like plastic and glass, transparence, added a new effect Pattern Lighten Only or Overlay. Is possible Shrink / Grow and Outline text<br>
<br>
Use font OFL <a href="https://ctan.mirror.garr.it/mirrors/ctan/fonts/qualitype/opentype/QTVagaRound-Bold.otf"
title="QTVagaRound-Bold" target="_blank">QTVagaRound-Bold</a><br>
<br>
Script-Fu> Logos> Plastic or Glass Text 300<br>
Script-Fu> Alpha-to-Logo> Plastic or Glass alpha 300 <img
src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/plastic_glass.jpg"
loading="lazy" alt="Plastic or glass logo"><br>
<a href="https://raw.githubusercontent.com/vitforlinux-gimp/scm/main/Plastic-Or-Glass-300.scm"
title="plastic or glass" target="_blank"> Right click, save link as... </a></p>
</div>
<div class="middle">
<h3> 3D wood for Gimp 3.2 - 2.10</h3>
<p> 3d wood make wood bumped text with wood like bump map.Is possible Shrink / Grow and Outline text <br>
<br>
<br>
Use font OFL <a href="https://mirrors.ctan.org/fonts/qualitype/opentype/QTHelvet-Black.otf"
title="QTHelvet-Black" target="_blank">QTHelvet-Black</a><br>
<br>
Script-Fu> Logos > 3d wood 300 <img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/3dwood.jpg"
loading="lazy" alt="3d wood"><br>
<a href="https://github.com/vitforlinux-gimp/scm/raw/main/3D_WOOD_300.scm"
title="3dwood" target="_blank"> Right click, save link as... </a></p>
</div>
<div class="middle">
<h3> Lord of The Rings for Gimp 3.2 - 2.10</h3>
<p>Classic script updated for Gimp 2.10 better with font Ringbearer medium more fill effect are possible.<br>
<br>
Script-Fu> Alpha-to-Logo> Lord of The Rings 300... Alpha<br>
Script-Fu> Logos> Lord of The Rings 300... Text <img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/Lord_of_The_Rings.jpg"
loading="lazy" alt="Lord of the rings script"><br>
<a href="https://raw.githubusercontent.com/vitforlinux-gimp/scm/main/300_Lord_of_the_Rings_Script.scm"
title="lord of the rings " target="_blank"> Right click, save link as... </a></p>
</div>
<div class="middle">
<h3> Scanner Logo for Gimp 3.2 - 2.10</h3>
<p>Classic script updated for Gimp 3.2 more fill effect possible, line color and background are changeable<br>
<br>
<br>
File> Create> Logos> Scanner Logo <img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/scanner-logo.jpg"
loading="lazy" alt="scanner logo"><br>
<a href="https://raw.githubusercontent.com/vitforlinux-gimp/scm/main/300_scanner-logo.scm"
title="scanner logo" target="_blank"> Right click, save link as... </a></p>
</div>
<div class="middle">
<h3> Old Style Logo for Gimp 3.2 - 2.10</h3>
<p>A new interpretation of Scanner Logo, line color and background are changeable<br>
<br>
Use font OFL <a href="https://mirrors.ctan.org/fonts/qualitype/opentype/QTBodiniPoster-Italic.otf"
title="QTBodiniPoster Italic" target="_blank">QTBodiniPoster Italic</a><br>
<br>
File> Create> Logos> Old Style Logo <img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/Old_stile_logo_300.jpg"
loading="lazy" alt="Old style logo"><br>
<a href="https://raw.githubusercontent.com/vitforlinux-gimp/scm/main/300_scanner-logo.scm"
title="scanner logo" target="_blank"> Right click, save link as... </a></p>
</div>
<div class="middle">
<h3> Skywriting for Gimp 3.2 - 2.10</h3>
<p><!--StartFragment-->If your dream is to make a logo with clouds this script can do it.<br>
<br>
Use font OFL <a href="https://mirrors.ctan.org/fonts/qualitype/opentype/QTHelvet-Black.otf"
title="QTHelvet Black" target="_blank">QTHelvet Black</a><br>
<br>
File> Create> Logos> Skywriting 300 Logo<br>
Script-Fu> AlphaToLogo> Skywriting 300 Alpha <img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/skywriting.jpg"
loading="lazy" alt="skywriting"><br>
<a href="https://github.com/vitforlinux-gimp/scm/raw/main/300_skywriting.scm"
title="skywriting" target="_blank"> Right click, save link as... </a></p>
</div>
<div class="middle">
<h3> Reflex Logo for Gimp 3.2 - 2.10</h3>
<p>A classic script updated for Gimp 2.10 - 3.0 rc1, text fill has the option to be filled with different gradients.<br>
<br>
Use font OFL <a href="https://mirrors.ctan.org/fonts/qualitype/opentype/QTBodiniPoster-Italic.otf"
title="QTBodiniPoster Italic" target="_blank">QTBodiniPoster Italic</a><br>
<br>
File> Create> Logos> Reflex Logo<br>
Filtri> Alpha to Logo > Reflex<br>
<img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/reflex.jpg"
loading="lazy" alt="Reflex logo"><br>
<a href="https://raw.githubusercontent.com/vitforlinux-gimp/scm/main/reflex-logo-alpha-300.scm"
title="Reflex Logo" target="_blank">Right click, save link as...</a></p>
</div>
<div class="middle">
<h3>Logo Workshop for Gimp 3.2 - 2.10</h3>
<p>This script allows you to create embossed text and adjust the thickness of the outline, the extended PLUS version has complete management of gradients in 12 directions on the three levels, the shined effect on the text and vignettes on the background.<br>
<br>
File> Create> Logos> Logo Workshop 300<br>
Filtri> AlphaToLogo> Logo Workshop 300 Alpha <img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/logo_workshop.jpg"
loading="lazy" alt=" Logo Workshop"><br>
<a href="https://github.com/vitforlinux-gimp/scm/raw/main/logo-workshop-300.scm"
title="Logo Workshop" target="_blank">Right click, save link as...</a><br>
<br>
Version Plus 300 extended<br>
<br>
<a href="https://raw.githubusercontent.com/vitforlinux-gimp/scm/main/logo-workshop-plus-300.scm"
title="Logo Workshop" target="_blank">Right click, save link as...</a><br>
</p>
</div>
<div class="middle">
<h3>Logo ToolBox for Gimp 3.2 - 2.10</h3>
<p>It is an extended version of the Workshop logo with 3D and bump map capabilities<br>
<br>
Script-Fu> Logos > Logo ToolBox 300<br>
Filtri> AlphaToLogo> Logo ToolBox 300 Alpha <img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/logo_toolbox.jpg"
loading="lazy" alt="logo toolbox"><br>
<a href="https://github.com/vitforlinux-gimp/scm/raw/main/Logo-Toolbox300.scm"
title="Logo ToolBox" target="_blank">Right click, save link as...</a></p>
</div>
<div class="middle">
<h3>Emap Logo for Gimp 3.2 - 2.10</h3>
<p>It is based on gradients and clouds, the result is absolutely random and unrepeatable<br>
<br>
Script-Fu> Logos> Emap 300 Logo<br>
Script-Fu> Alpha to Logo > Emap 300 Alpha<br>
<img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/emap.jpg"
loading="lazy" alt="emap logo"><br>
<a href="https://github.com/vitforlinux-gimp/scm/raw/main/Emap300.scm"
title="Emap Logo" target="_blank">Right click, save link as...</a></p>
</div>
<div class="middle">
<h3>Psychedelic for Gimp 3.2 - 2.10 </h3>
<p>It is based on a gradient effect for the background and animated brushes for filling the text, the background color of the text and the gradients can be changed, it has 3D possibilities<br>
<br>
File> Create> Logos>Psychedelic 300 LOGO<br>
Filtri> AlphaToLogo> Psychedelic 300 Alpha <img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/Psychedelic_300.jpg"
loading="lazy" alt="Psychedelic"><br>
<a href="https://github.com/vitforlinux-gimp/scm/raw/main/Psychedelic300.scm"
title="Psychedelic" target="_blank">Right click, save link as...</a></p>
</div>
<div class="middle">
<h3>Irregular Slab for Gimp 3.2 - 2.10</h3>
<p>Simulates the effect of a piece of broken wood, has many adjustments to make the effect more: realistic, backgrounds and colors can be changed<br>
<br>
Use font OFL <a href="https://mirrors.ctan.org/fonts/qualitype/opentype/QTCaligulatype.otf"
title="QTCaligulatype" target="_blank">QTCaligulatype</a><br>
<br>
Script-Fu> Logos > Irregular Slab 300 Logo<br>
Filtri> Stencil Ops> Irregular Slab 300 Alpha <img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/irregular_slab.jpg"
loading="lazy" alt="Irregular Slab"><br>
<a href="https://github.com/vitforlinux-gimp/scm/raw/main/300_irregular_slab.scm"
title="Irregular Slab" target="_blank">Right click, save link as...</a></p>
</div>
<div class="middle">
<h3>Double Bumped Text for Gimp 3.2 - 2.10</h3>
<p>It complements and replaces Double Bump Map by adding text possibilities, it has tons of adjustments, it takes time to figure it out, it has color overlay pattern effects...don't give up!<br>
<br>
Script-Fu> Logos> Double Bumped Text<br>
Script-Fu> Alpha to Logo > Double Bump Map <img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/double_bump.jpg"
loading="lazy" alt="double bump logo"><br>
<a href="https://raw.githubusercontent.com/vitforlinux-gimp/scm/main/Double_bump_map.scm"
title="Double Bumped Text" target="_blank">Right click, save link as...</a></p>
</div>
<div class="middle">
<h3>Bumpy for Gimp 3.2 - 2.10</h3>
<p>A script classic updated for the new Gimp, has Bump Map effect... pushed to the max, colors can be changed<br>
<br>
File> Create> Logos>Bumpy 300 logo<br>
Filtri> AlphaToLogo> Bumpy 300 Alpha <img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/bumpy.jpg"
loading="lazy" alt="Bumpy"><br>
<a href="https://github.com/vitforlinux-gimp/scm/raw/refs/heads/main/bumpy300.scm"
title="Bumpy" target="_blank">Right click, save link as...</a></p>
</div>
<div class="middle">
<h3>Brutalist for Gimp 3.2 - 2.10</h3>
<p>A modified version of Bumpy to have a more concrete-like appearance, colors can be changed<br>
<br>
File> Create> Logos>Brutalist 300<br>
Filtri> AlphaToLogo> Brutalist 300 Alpha <img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/refs/heads/main/images/brutalist-logo-gimp-300.jpg"
loading="lazy" alt="Brutalist"><br>
<a href="https://github.com/vitforlinux-gimp/scm/raw/refs/heads/main/brutalist-300.scm"
title="Bumpy" target="_blank">Right click, save link as...</a></p>
</div>
<div class="middle">
<h3>Wire Art for Gimp 3.2 - 2.10</h3>
<p>A script classic updated for Gimp 3.2 - 2.10 , but renewed and independent, the mesh is generated by the mosaic filter, and the type and size can be changed.<br>
<br>
Script-Fu> Logos> Wire Art Text 300<br>
Script-Fu> Alpha-to-Logo> Wire Art Image <img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/wire_art.jpg"
loading="lazy" alt="Wire Art"><br>
<a href="https://github.com/vitforlinux-gimp/scm/raw/main/Wire-Art-Text-299.scm"
title="Wire Art" target="_blank">Right click, save link as...</a></p>
</div>
<div class="middle">
<h3>Does the Script-Fu panel go off the screen?</h3>
<p>On Linux press the ALT key and clicking with the mouse you can move the window<br>
<br>
On Windows, to have the same function, I recommend installing AltDrag<br>
<br>
<a href="https://stefansundin.github.io/altdrag/" title="AltDrag"
target="_blank">Download AltDrag</a><br>
</p>
</div>
<div class="middle">
<h3>Comix Text Bubble for Gimp 3.2 - 2.10</h3>
<p>A script to create Comix Text Bubble in various shapes and types with the possibility of changing the position of the comic source<br>
<br>
Filters> Decor> Comix Text Bubble 300<br>
<img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/refs/heads/main/images/comix-text-bubble-gimp.jpg"
loading="lazy" alt="Comix Text Bubble"><br>
<a href="https://raw.githubusercontent.com/vitforlinux-gimp/scm/refs/heads/main/Comix-Text-Bubble300.scm"
title="Comix Text Bubble" target="_blank">Right click, save link as...</a></p>
</div>
<div class="middle">
<h3>Where do I install Script-FU?</h3>
<p>On Linux in ~/.config/GIMP/2.10(or 3.0 or 3.2)/script<br>
On Windows in C:\ Users\ user_name\ AppData\ Roaming\ GIMP\ 2.10(or 3.0)\ scripts\.<br>
<br>
But you can also keep them in a different folder and configure it in Edit> Preferences> Folders> Scripts</p>
</div>
<div class="middle">
<h3>Space logo Text for Gimp 3.0 - 3.2</h3>
<p>This script-fu is taken from a tutorial, on Gimp 3.x it is possible, the colors of the gradients can be changed.<br>
<br>
File> Create> Text> Space Logo 300<br>
<img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/refs/heads/main/images/Space_Logo_Gimp_3.jpg"
loading="lazy" alt="Space Logo Text"><br>
<a href="https://raw.githubusercontent.com/vitforlinux-gimp/scm/refs/heads/main/Space-Logo-300.scm"
title="Space Logo Text" target="_blank">Right click, save link as...</a></p>
</div>
<div class="middle">
<h3>Rainbow Text for Gimp 3.0 - 3.2</h3>
<p>This script-fu is taken from one of my tutorials, it was impossible to make a script-fu for Gimp 2.10, but on Gimp 3.x it is possible<br>
<br>
File> Create> Text> Rainbow Text 300<br>
<img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/refs/heads/main/images/Ranbow-text-Gimp-3.jpg"
loading="lazy" alt="Rainbow Text"><br>
<a href="https://raw.githubusercontent.com/vitforlinux-gimp/scm/refs/heads/main/rainbow-text-300.scm"
title="Rainbow Text " target="_blank">Right click, save link as...</a></p>
</div>
<div class="middle">
<h3>Can't find a filter installed?</h3>
<p>If you have Gimp 2.10 or 3.0 try pressing the / key and the search for filters will appear.<br>
<br>
Key combinations can be changed to<br>
Edit> Preferences> Interface> Configure Interface Buttons</p>
</div>
<div class="middle">
<h3>Furry Logo for Gimp 3.2 - 2.10</h3>
<p>A furry logo can always be useful, you can use two colors, they are there many adjustments<br>
<br>
Script-Fu> Logos>Furry 300 LOGO<br>
Script-Fu> Alpha-to-Logo> Furry 300 ALPHA <img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/furry-logo.jpg"
loading="lazy" alt="Furry LOGO"><br>
<a href="https://github.com/vitforlinux-gimp/scm/blob/main/Furry_Logo_Alpha_300.scm"
title="Furry LOGO" target="_blank">Right click, save link as...</a></p>
</div>
<div class="middle">
<h3>Are you looking for LinuxBeaver GEGLs?</h3>
<p>They are not found here, but on hispage<br>
<br>
<a href="https://github.com/LinuxBeaver" target="_blank">GitHub</a><br>
<br>
They are very numerous and will help you create unimaginable effects.<br>
The installation is different from these scripts but you will find instructions on its page.<br>
They work like Alpha to Logo, that is, first you have to have an object on a transparent layer then you apply the effect to it. <br>
Every now and then it needs to be updated.<br>
<br>
There are effects<a href="https://github.com/LinuxBeaver/LinuxBeaver/releases/tag/Gimp_GEGL_Plugin_download_page"
target="_blank">text effects</a><br>
<br>
<a href="https://github.com/LinuxBeaver/GEGL-GIMP-PLUGIN_Text_style_collection/releases/">food effects</a><a
href="https://github.com/LinuxBeaver/GEGL-GIMP-PLUGIN_Old_Photo_Antique"> old photo effect</a><br>
<br>
<a href="https://github.com/LinuxBeaver/AI_Vibe_Coded_GEGL_Plugins"
target="_blank">created usingAI</a></p>
</div>
<div class="middle">
<h3>Alien Neon for Gimp 3.2 - 2.10</h3>
<p>An old logo that is not perfect, the colors can be changed<br>
<br>
Use font OFL <a href="https://mirrors.ctan.org/fonts/qualitype/opentype/QTBlimpo.otf"
title="QTBlimpo" target="_blank">QTBlimpo</a><br>
<br>
File> Create> Logos> Alien Neon 300<br>
<img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/refs/heads/main/images/Alien-Neon-gimp.jpg"
loading="lazy" alt="Alien Neon LOGO"><br>
<a href="https://raw.githubusercontent.com/vitforlinux-gimp/scm/main/alien-neon-logo-300.scm"
title="Alien Neon LOGO" target="_blank">Right click, save link as...</a> </p>
</div>
<div class="middle">
<h3>Polka Dot Logo for Gimp 2.10</h3>
<p>A flashy logo with tiny dots, the colors can be chosen... it doesn't use python.<br>
<br>
Script-Fu> Logos>Polka Dot Logo<br>
<img loading="lazy" src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/polka-dot-logo.jpg"
alt="Furry LOGO"><br>
<a href="https://raw.githubusercontent.com/vitforlinux-gimp/scm/main/Polka%20Dot%20Logo.scm"
title="Furry LOGO" target="_blank">Right click, save link as...</a></p>
</div>
<div class="middle">
<h3>Imigre Logo for Gimp 3.2 - 2.10</h3>
<p>A wavy, two-tone logo, brought to the new version of Gimp<br>
<br>
Use font OFL <a href="https://mirrors.ctan.org/fonts/qualitype/opentype/QTSchoolCentury-Bold.otf"
title="QTFraktur" target="_blank">QTSchoolCentury Bold</a><br>
<br>
File> Create> Logos> Imigre 300<br>
<img loading="lazy" src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/imigre-logo.jpg"
alt="IMIGRE LOGO"><br>
<a href="https://github.com/vitforlinux-gimp/scm/raw/main/imigre-300.scm"
title="IMIGRE LOGO" target="_blank">Right click, save link as...</a> </p>
</div>
<div class="middle">
<h3>Zahnpasta Plus per Gimp 3.2 - 2.10</h3>
<p>A brush-outlined logo that uses dynamics to achieve unusual effects<br>
<br>
Usa il font OFL <a href="https://ctan.mirror.garr.it/mirrors/ctan/fonts/qualitype/opentype/QTKooper.otf"
title="QTFraktur" target="_blank">QTKooper Medium</a><br>
<br>
File> Create> Logos> Zahnpasta plus 300 <br>
<img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/refs/heads/main/images/Zahnpasta-Plus.jpg"
loading="lazy" alt="Zahnpasta plus"> <a href="https://raw.githubusercontent.com/vitforlinux-gimp/scm/refs/heads/main/zahnpasta-plus-300.scm"
title="Zahnpasta plus" target="_blank">Right click, save link as...</a> </p>
</div>
<div class="middle">
<h3>Stained Glass Logo for Gimp 3.2 - 2.10</h3>
<p>A traditional stained glass logo, with different options and colors<br>
<br>
File> Create> Logos> Stained Glass Logo<br>
<img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/stained-glass.jpg"
loading="lazy" alt="Stained Glass LOGO"><br>
<a href="https://raw.githubusercontent.com/vitforlinux-gimp/scm/main/stained-glass-logo-300.scm"
title="Stained Glass LOGO" target="_blank">Right click, save link as...</a> </p>
</div>
<div class="middle">
<h3>Dracula! for Gimp 3.2 - 2.10</h3>
<p>A scary logo for Halloween, colors can be changed<br>
<br>
Use font OFL <a href="https://mirrors.ctan.org/fonts/qualitype/opentype/QTFraktur.otf"
title="QTFraktur" target="_blank">QTFraktur</a><br>
<br>
File> Create> Logos> Dracula 300<br>
<img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/dracula-logo.jpg"
loading="lazy" alt="Dracula! LOGO"><br>
<a href="https://github.com/vitforlinux-gimp/scm/raw/main/dracula300.scm"
title="Dracula! LOGO" target="_blank">Right click, save link as...</a> </p>
</div>
<div class="middle">
<h3>Rain Drop per Gimp 3.2 - 2.10</h3>
<p>A drops logo, colors and background can be changed<br>
<br>
Use font OFL <a href="https://ctan.mirror.garr.it/mirrors/ctan/fonts/qualitype/opentype/QTSlogantype.otf"
title="QTSloganType" target="_blank">QTSloganType</a><br>
<br>
File> Create> Logos> Rain Drop TEXT 300<br>
Script-Fu> Alpha-to-Logo> Rain Drop Alpha 300<br>
<img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/refs/heads/main/images/Rain-Drop-Gimp.jpg"
loading="lazy" alt="Rain Drop LOGO"><br>
<a href="https://raw.githubusercontent.com/vitforlinux-gimp/scm/main/dracula300.scm"
title="Rain Drop LOGO" target="_blank">Right click, save link as...</a> </p>
</div>
<div class="middle">
<h3>Sweet Candy Logo for Gimp 3.2 - 2.10</h3>
<p>A logo that recreates the effect of Christmas sweets<br>
<br>
File> Create> Logos> Sweet candy text <br>
<img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/sweet-candy.jpg"
loading="lazy" alt="Sweet Candy LOGO"><br>
<a href="https://raw.githubusercontent.com/vitforlinux-gimp/scm/main/sweet_candy_text_gimp_299-mod.scm"
title="Sweet Candy LOGO" target="_blank">Right click, save link as...</a> </p>
</div>
<div class="middle">
<h3>Snow cover for for Gimp 3.2 - 2.10</h3>
<p>A logo, or alpha, covered in snow<br>
<br>
Script-Fu> Logos> Snow Cover Logo 300<br>
Script-Fu> Alpha-to-Logo> Snow Cover Alpha 300<br>
<img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/snow-cover.jpg"
loading="lazy" alt="Snow Cover Logo 300"><br>
<a href="https://raw.githubusercontent.com/vitforlinux-gimp/scm/main/Snow_Cover300.scm"
title="Snow Cover Logo 300" target="_blank">Right click, save link as...</a> </p>
</div>
<div class="middle">
<h3>Wrought Iron for Gimp 3.2 - 2.10</h3>
<p>A burnished metal effect logo, with optional frame, colors can be changed<br>
<br>
Use font OFL <a href="https://mirrors.ctan.org/fonts/qualitype/opentype/QTAbbie.otf"
title="QTAbbie" target="_blank">QTAbbie</a><br>
<br>
Script-Fu> Logos> Wrought Iron Logo<br>
Script-Fu> Alpha-to-Logo> Wrought Iron<br>
<img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/wrought-iron.jpg"
loading="lazy" alt="Wrought Iron Logo"><br>
<a href="https://github.com/vitforlinux-gimp/scm/raw/main/Wrought-Iron-300.scm"
title="Wrought Iron Logo" target="_blank">Right click, save link as...</a> </p>
</div>
<div class="middle">
<h3>Glossy Galaxy for Gimp 3.2 - 2.10</h3>
<p>An old classic updated for Gimp 3.2 - 2.10<br>
<br>
Use font OFL <a href="https://mirrors.ctan.org/fonts/qualitype/opentype/QTEraType.otf"
title="QTEraType" target="_blank">QTEraType</a><br>
<br>
File> Create> Logos> Glossy 300 Logo <br>
Filters> Alpha to Logo> Glossy 300 Alpha<br>
<img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/Glossy%20galaxy%20300%20logo%20scm%20script-fu%20Gimp%203.0%202.10.jpg"
loading="lazy" alt="Glossy Galaxy 300 LOGO"><br>
<a href="https://raw.githubusercontent.com/vitforlinux-gimp/scm/main/glossy-300.scm"
title="Glossy Galaxy 300 LOGO" target="_blank">Right click, save link as...</a> </p>
</div>
<div class="middle">
<h3>Glossy Metal 3D for Gimp 3.2 - 2.10</h3>
<p>Script-fu created by Samj from a tutorial by Monsoonami<br>
<br>
Use font <a href="https://raw.githubusercontent.com/VCF5/2018-2019-Top-Network-System-Fonts/refs/heads/master/Walkway/Walkway%20Bold.ttf"
title="Walkway Bold" target="_blank">Walkway Bold</a><br>
<br>
File> Create> Logos> Glossy Metal 3D by Monsonami 300<br>
<img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/Glossy-metal-3d-Gimp-2.99.19-2.10.jpg"
loading="lazy" alt="Glossy Metal 3D 300"><br>
<a href="https://github.com/vitforlinux-gimp/scm/raw/main/Glossy_Metal_3D_Text_By_Monsoonami_Gimp_300.scm"
title="Glossy Metal 3D 300" target="_blank">Right click, save link as...</a> </p>
</div>
<div class="middle">
<h3>yaChrome for Gimp 3.2 - 2.10</h3>
<p>The newest and most complicated release of yaChrome, an enhanced version of Shiny Chrome<br>
<br>
Use font OFL <a href="https://ctan.mirror.garr.it/mirrors/ctan/fonts/qualitype/opentype/QTBasker-Bold.otf"
title="QTBasker-Bold" target="_blank">QTBasker-Bold</a><br>
<br>
Script-Fu> Logos> yaChrome Logo 300<br>
Script-Fu> Alpha-to-Logo> yaChrome 300 alpha<br>
<img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/yachrome-script-fu-scm-Gimp-2.10-3.0.jpg"
loading="lazy" alt="yaChrome logo"><br>
<a href="https://github.com/vitforlinux-gimp/scm/raw/main/yaChrome-300.scm"
title="yaChrome logo" target="_blank">Right click, save link as...</a> </p>
</div>
<div class="middle">
<h3>Egg melt for Gimp 3.2 - 2.10</h3>
<p>The famous fried egg for Gimp 3.2 - 2.10<br>
<br>
File> Create> Text> Egg Melt <br>
<img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/egg-melt-logo-gimp-2.10-3.0.jpg"
loading="lazy" alt="Egg Melt LOGO"><br>
<a href="https://raw.githubusercontent.com/vitforlinux-gimp/scm/main/egg-melt.scm"
title="Egg Melt LOGO" target="_blank">Right click, save link as...</a> </p>
</div>
<div class="middle">
<h3>Exploding Happy New Year 2025 for Gimp 2.10</h3>
<p>A modified version of Exploding to celebrate<br>
<br>
File> Create> Logos> Exploding 299 Happy New Year 2025<br>
<img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/exploding-happy-new-year-Gimp-2.10-2.99.19.jpg"
loading="lazy" alt="Exploding 299 Happy New Year 2025"><br>
<a href="https://raw.githubusercontent.com/vitforlinux-gimp/scm/main/exploding-299-happy-new-year-2025.scm"
title="Exploding 299 Happy New Year 2025" target="_blank">Right click, save link as...</a> </p>
</div>
<div class="middle">
<h3>Pijama Logo for Gimp 3.2 - 2.10</h3>
<p>The newest and most complicated version of Pijama logo with more color choices<br>
<br>
Script-Fu> Logos> Pijama logo<br>
<img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/pijama-logo-gimp-2.10-2.99.19.jpg"
loading="lazy" alt="Pijama logo"><br>
<a href="https://raw.githubusercontent.com/vitforlinux-gimp/scm/main/pijama-logo.scm"
title="Pijama logo" target="_blank">Right click, save link as...</a> </p>
</div>
<div class="middle">
<h3>HighLighted Logo for Gimp 3.2 - 2.10</h3>
<p>A simple style with the same light reflections as Emap for Gimp 3.0 rc1 - 2.10<br>
<br>
Use font OFL <a href="https://ctan.mirror.garr.it/mirrors/ctan/fonts/qualitype/opentype/QTVagaRound-Bold.otf"
title="QTVagaRound-Bold" target="_blank">QTVagaRound-Bold</a><br>
<br>
File> Create> Text> HighLighted LOGO 300<br>
<img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/highlighted-logo-gimp-2.10-2.99.19.jpg"
loading="lazy" alt="HighLighted LOGO 300"><br>
<a href="https://raw.githubusercontent.com/vitforlinux-gimp/scm/main/highlighted-logo-300.scm"
title="HighLighted LOGO 300" target="_blank">Right click, save link as...</a> </p>
</div>
<div class="middle">
<h3>Ocean Text for Gimp 3.2 - 2.10</h3>
<p>The return of an old classic: text with waves made with a gradient<br>
<br>
File> Create> Logos> Ocean Text 300 Logo<br>
<img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/Ocean-text-Gimp-2.99.19-2.10.jpg"
loading="lazy" alt="Ocean Text"><br>
<a href="https://raw.githubusercontent.com/vitforlinux-gimp/scm/main/ocean-text300.scm"
title="Ocean Text" target="_blank">Right click, save link as...</a> </p>
</div>
<div class="middle">
<h3>MH 3d Bevel Logo for Gimp 3.2 - 2.10</h3>
<p>A cheerful 3D script with gradient color options<br>
<br>
Script-Fu> Logos> MH 3d Bevel LOGO 300<br>
Script-Fu> Alpha-to-Logo> MH Bevel 3D 300 ALPHA<br>
<img src="https://raw.githubusercontent.com/vitforlinux-gimp/vitforlinux-gimp.github.io/master/images/MH-3d-Bevel-logo-gimp-2.99.19-2.10.jpg"
loading="lazy" alt="MH 3d Bevel Logo"><br>
<a href="https://raw.githubusercontent.com/vitforlinux-gimp/scm/main/300_mhbevel3d.scm"
title="MH 3d Bevel Logo" target="_blank">Right click, save link as...</a> </p>
</div>
</div>
<script>
// Search function as provided
function searchContent() {
let input = document.getElementById('searchBar').value.toLowerCase();
let items = document.getElementsByClassName('middle');
for (let i = 0; i < items.length; i++) {
if(items[i].innerText.toLowerCase().includes(input)){
items[i].classList.remove('hidden');
} else {
items[i].classList.add('hidden');
}
}
}
(function(){
const navbar = document.getElementById('navbar');
const menuToggle = document.querySelector('.menu-toggle');
const dropdown = document.getElementById('dropdown-menu');
// Navbar scaling on scroll
let ticking = false;
window.addEventListener('scroll', () => {
if(!ticking) {
window.requestAnimationFrame(() => {
if(window.scrollY > 20){
navbar.classList.add('shrink');
} else {
navbar.classList.remove('shrink');
}
ticking = false;
});
ticking = true;
}
});
// Toggle dropdown
menuToggle.addEventListener('click', () => {
const isOpen = dropdown.classList.toggle('open');
menuToggle.classList.toggle('open');
menuToggle.setAttribute('aria-expanded', isOpen);
dropdown.setAttribute('aria-hidden', !isOpen);
// Manage tabIndex for accessibility
dropdown.querySelectorAll('a').forEach(link => link.tabIndex = isOpen ? 0 : -1);
});
// Close dropdown on link click
dropdown.querySelectorAll('a').forEach(link => {
link.addEventListener('click', () => {
dropdown.classList.remove('open');
menuToggle.classList.remove('open');
menuToggle.setAttribute('aria-expanded', false);
dropdown.setAttribute('aria-hidden', true);
dropdown.querySelectorAll('a').forEach(link => link.tabIndex = -1);
});
});
// Initialize tabIndex off
dropdown.querySelectorAll('a').forEach(link => link.tabIndex = -1);
})();
</script>
</body>
</html>