-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
4479 lines (3966 loc) · 122 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
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="UTF-8" />
<title>BRUTALIST HACKER NEWS</title>
<meta name="viewport"
content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="format-detection" content="telephone=no" />
<meta name="msapplication-tap-highlight" content="no" />
<link rel="icon" type="image/x-icon" href="assets/icon/favicon.ico" />
<link rel="manifest" href="manifest.json" />
<meta name="theme-color" content="#000000" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="description"
content="Explore Hacker News in a new light with a reader inspired by Brutalist Web Design and Cyberpunk themes. Dive into the latest tech stories, discussions, and insights with ease and comfort. Perfect for those who value clarity, simplicity, and inclusivity in the stucture of webpages. Also an interesting view of brutalist and Cyberpunk aesthetics." />
<meta name="keywords"
content="Hacker News, Brutalist, Cyberpunk, Web Design, Vanilla JavaScript, Hacker News API, Brutalist Web Design, Cyberpunk Aesthetics, Hacker News Reader, Hacker News Viewer, Hacker News Webpage, Hacker News Website, Hacker News Brutalist, Hacker News Cyberpunk, Hacker News Brutalist Web Design, Hacker News Cyberpunk Aesthetics, Hacker News Brutalist Webpage, Hacker News Cyberpunk Webpage, Hacker News Brutalist Website, Hacker News Cyberpunk Website, Hacker News Brutalist Reader, Hacker News Cyberpunk Reader, Hacker News Brutalist Viewer, Hacker News Cyberpunk Viewer, Hacker News Brutalist Web Design Reader, Hacker News Cyberpunk Web Design Reader, Hacker News Brutalist Web Design Viewer, Hacker News Cyberpunk Web Design Viewer, Hacker News Brutalist Web Design Webpage, Hacker News Cyberpunk Web Design Webpage, Hacker News Brutalist Web Design Website, Hacker News Cyberpunk Web Design Website, Hacker News Brutalist Web Design Reader, Hacker News Cyberpunk Web Design Reader, Hacker News Brutalist Web Design Viewer, Hacker News Cyberpunk Web Design Viewer, Hacker News Brutalist Web Design Webpage, Hacker News Cyberpunk Web Design Webpage, Hacker News Brutalist Web Design Website, Hacker News Cyberpunk Web Design Website"
<meta name="twitter:card" content="https://brutalisthackernews.com/icon.png" />
<meta name="twitter:title" content="BRUTALIST HACKER NEWS" />
<meta name="twitter:description"
content="A Hacker News reader inspired by Brutalist Web Design, Cyberpunk Aesthetics, and Glitch Art" />
<meta name="twitter:image" content="https://brutalisthackernews.com/icon.png" />
<meta property="og:type" content="website" />
<meta property="og:title" content="BRUTALIST HACKER NEWS" />
<meta property="og:description"
content="A Hacker News reader inspired by Brutalist Web Design, Cyberpunk Aesthetics, and Glitch art" />
<meta property="og:image" content="https://brutalisthackernews.com/icon.png" />
<meta property="og:url" content="https://brutalisthackernews.com" />
</head>
<body>
<header class="title-content subtle-glow-warble" aria-label="Main navigation">
<h1 id="title" class="font glitch">hn</h1>
<div class="nav-buttons">
<div class="text-link-button-spacer">|</div>
<nav id="nav-button-top" class="text-link-button" aria-label="Top Stories" title="Top Stories">
🔝
</nav>
<div class="text-link-button-spacer">|</div>
<nav id="nav-button-new" class="text-link-button" aria-label="New Stories" title="New Stories">
🆕
</nav>
<div class="text-link-button-spacer">|</div>
<nav id="nav-button-best" class="text-link-button" aria-label="Best Stories" title="Best Stories">
🏆
</nav>
<div class="text-link-button-spacer">|</div>
<nav id="nav-button-ask" class="text-link-button" aria-label="Ask HN" title="Ask HN">
❓
</nav>
<div class="text-link-button-spacer">|</div>
<nav id="nav-button-show" class="text-link-button" aria-label="Show HN" title="Show HN">
👁️
</nav>
<div class="text-link-button-spacer">|</div>
<nav id="nav-button-job" class="text-link-button" aria-label="Jobs" title="Jobs">
💼
</nav>
<div class="text-link-button-spacer">|</div>
<nav id="nav-button-favorites" class="text-link-button" aria-label="Saved" title="Saved">
💘
</nav>
<div class="text-link-button-spacer">|</div>
<nav id="nav-button-settings" class="text-link-button" aria-label="Settings" title="Settings">
🛠️
</nav>
<div class="text-link-button-spacer">|</div>
</div>
</header>
<main class="main-content">
<section id="loading-outlet" class="use-gpu-rendering stories-loading-animation" style="display: none"
aria-live="polite"></section>
<section id="top-outlet" class="use-gpu-rendering" style="display: none" aria-live="polite"></section>
<section id="new-outlet" class="use-gpu-rendering" style="display: none" aria-live="polite"></section>
<section id="best-outlet" class="use-gpu-rendering" style="display: none" aria-live="polite"></section>
<section id="ask-outlet" class="use-gpu-rendering" style="display: none" aria-live="polite"></section>
<section id="show-outlet" class="use-gpu-rendering" style="display: none" aria-live="polite"></section>
<section id="job-outlet" class="use-gpu-rendering" style="display: none" aria-live="polite"></section>
<section id="favorites-outlet" class="use-gpu-rendering" style="display: none" aria-live="polite"></section>
<section id="settings-outlet" class="use-gpu-rendering" style="display: none" aria-live="polite">
<h3>Change Color Settings</h3>
<div class="adjust-theme-content" role="table" id="settings-content-container">
<div class="setting-element" id="setting--color-primary">
<div class="setting-name" role="label">primary</div>
<div class="setting-new-value-input">
<input type="color" id="setting-input--color-primary" />
</div>
<button class="setting-apply-button" id="apply-setting--color-primary">
Apply
</button>
<button class="setting-reset-button" id="reset-setting--color-primary">
Reset
</button>
</div>
<div class="setting-element" id="setting--color-secondary">
<div class="setting-name" role="label">secondary</div>
<div class="setting-new-value-input">
<input type="color" id="setting-input--color-secondary" />
</div>
<button class="setting-apply-button" id="apply-setting--color-secondary">
Apply
</button>
<button class="setting-reset-button" id="reset-setting--color-secondary">
Reset
</button>
</div>
<div class="setting-element" id="setting--color-accent-1">
<div class="setting-name" role="label">accent-1</div>
<div class="setting-new-value-input">
<input type="color" id="setting-input--color-accent-1" />
</div>
<button class="setting-apply-button" id="apply-setting--color-accent-1">
Apply
</button>
<button class="setting-reset-button" id="reset-setting--color-accent-1">
Reset
</button>
</div>
<div class="setting-element" id="setting--color-accent-2">
<div class="setting-name" role="label">accent-2</div>
<div class="setting-new-value-input">
<input type="color" id="setting-input--color-accent-2" />
</div>
<button class="setting-apply-button" id="apply-setting--color-accent-2">
Apply
</button>
<button class="setting-reset-button" id="reset-setting--color-accent-2">
Reset
</button>
</div>
<div class="setting-element" id="setting--color-dark">
<div class="setting-name" role="label">dark</div>
<div class="setting-new-value-input">
<input type="color" id="setting-input--color-dark" />
</div>
<button class="setting-apply-button" id="apply-setting--color-dark">
Apply
</button>
<button class="setting-reset-button" id="reset-setting--color-dark">
Reset
</button>
</div>
<div class="setting-element" id="setting--color-light">
<div class="setting-name" role="label">light</div>
<div class="setting-new-value-input">
<input type="color" id="setting-input--color-light" />
</div>
<button class="setting-apply-button" id="apply-setting--color-light">
Apply
</button>
<button class="setting-reset-button" id="reset-setting--color-light">
Reset
</button>
</div>
<div class="setting-element" id="setting--color-text-main">
<div class="setting-name" role="label">text-main</div>
<div class="setting-new-value-input">
<input type="color" id="setting-input--color-text-main" />
</div>
<button class="setting-apply-button" id="apply-setting--color-text-main">
Apply
</button>
<button class="setting-reset-button" id="reset-setting--color-text-main">
Reset
</button>
</div>
<p id="theme-applied-outlet"></p>
</div>
<br />
<button id="download-theme-button" class="button-large full-width-mobile">
💾 Download Current Color Theme
</button>
<br />
<br />
<br />
<br />
<h3>Default Color Themes</h3>
<div class="setting-buttons-row">
<button id="button-theme-default">DEFAULT</button>
<button id="button-theme-greyscale">𝔤𝔯𝔢𝔶𝔰𝔠𝔞𝔩𝔢</button>
<button id="button-theme-board">Board</button>
<button id="button-theme-y2k">ⓨ²ⓚ</button>
<button id="button-theme-fuji">🗻🗻🗻</button>
<button id="button-theme-rainbow">✦☾⇢✧⇠☽✦</button>
<button id="button-theme-plastic">ℙ𝕝𝕒𝕤𝕥𝕚𝕔</button>
<button id="button-theme-dream-pop">DrE∀M P♡P</button>
<button id="button-theme-hash">ʜᴀѕн</button>
<button id="button-theme-block-cipher">███ɃŁØ₵ƙ₵ᎥƤђɆя███</button>
<button id="button-theme-neon-concrete">N3ØN ₵ØN₵RΣTΣ</button>
<button id="button-theme-away">✉Away✉</button>
<button id="button-theme-solarpunk">S☼LΛRPUNK</button>
<button id="button-theme-hyperreality">H¥P3RR34L!TY</button>
<button id="button-theme-hippie">Ħłρρłε</button>
<button id="button-theme-cybernetic-dream">⊂¥βΞ尺ภΞ†เς Ð尺ΞΛⓜ</button>
<button id="button-theme-petal-dream">✿ Pétäl Drëäm ✿</button>
<button id="button-theme-neo-tokyo">新しい東京</button>
<button id="button-theme-china">中國龍</button>
<button id="button-theme-sakura-matsuri">桜ーまつり</button>
<button id="button-theme-sao-paulo">🄼🄴🅃🄾́🄿🄾🄻🄸🅂 🄿🄰🅄🄻🄸🅂🅃🄰</button>
<button id="button-theme-lagos">ḺᾰǤⱺϨ⸚ 𝔽𝕌𝕋𝕌ℝ𝔸</button>
<button id="button-theme-nyc">𝕟𝕪𝕔</button>
<button id="button-theme-washington">Ⓦⓐⓢⓗⓘⓝⓖⓣⓞⓝ</button>
<button id="button-theme-miami">MⓘⒶMⓘ</button>
<button id="button-theme-neo-vegas">𝓝𝓮𝓸 𝓥𝓮𝓰𝓪𝓼</button>
<button id="button-theme-moto">ⓜⓞⓣⓞ</button>
<button id="button-theme-delhi">नई नई दिल्ली</button>
<button id="button-theme-cyber-citrus">ℂ𝕚𝕥𝕣𝕦𝕤</button>
<button id="button-theme-noir">∅byssal Noir</button>
<button id="button-theme-vaporwave">VAPORWAVE</button>
<button id="button-theme-pastel-goth">𝔓𝔞𝔰𝔱𝔢𝔩 𝔊𝔬𝔱𝔥</button>
<button id="button-theme-scene">𝚛𝚎𝚜𝚌𝚎𝚗𝚌𝚎</button>
<button id="button-theme-sleeze">𝕾𝖑𝖊𝖆𝖟𝖊</button>
<button id="button-theme-zine">Z̲̅i̲̅n̲̅e̲̅</button>
<button id="button-theme-irc">IRC₍ᴵₙₜₑᵣₙₑₜ ᴿₑₗₐᵧ ₢ₕₐₜ₎</button>
<button id="button-theme-bbs">ßßₛ</button>
<button id="button-theme-psyc">ᑭѕүᴄʜ</button>
<button id="button-theme-1984">¹⁹⁸⁴</button>
<button id="button-theme-space">2oo4</button>
<button id="button-theme-korea">한국의 빛</button>
<button id="button-theme-1999">1999</button>
<button id="button-theme-y10k">Y₁₀ₖ</button>
<button id="button-theme-space-age">🛸🛸🛸</button>
<button id="button-theme-eliptic-curve">ɆⱠł₱₮ł₵ ₵ɄⱤVɆ</button>
<button id="button-theme-exit-node">Ξ𝕏ł𝕋 ℕ𝕆𝔻𝔼</button>
<button id="button-theme-salmon">ℕ๏ภςє</button>
<button id="button-theme-qubit">ҨบᎥƁᎥ†</button>
<button id="button-theme-san-francisco">S⍺n Fr⍺ncisc0</button>
<button id="button-theme-los-angeles">L0S@NGeLE$</button>
</div>
<br />
<br />
<br />
<h3>Added Color Themes</h3>
<div class="added-themes setting-buttons-row" id="added-themes-outlet">
You have no external themes yet
</div>
<br />
<p>
Visit <a href="https://github.com/wkyleg/brutalist-hacker-news/blob/main/themes.md"
title="The git repository for this website" data-allow-external="true">this project's Github
Repo</a> to add more
themes, or to submit your own theme.
</p>
<br />
<div class="setting-buttons-row">
<button id="add-new-theme-button" class="button-large full-width-mobile">
+ Add New Theme
</button>
<button id="remove-added-themes-button" class="button-large full-width-mobile" style="display:none;">
🗑️ Clear Added Themes
</button>
</div>
<br />
<br />
<br />
<h3>Other Theme Settings</h3>
<p>See <a href="https://www.w3schools.com/cssref/playdemo.php?filename=playcss_border-radius"
data-allow-external="true">border radius documentation</a> and
<a href="https://www.w3schools.com/cssref/pr_font_font-family.php" data-allow-external="true">font
documentation</a> for more information.
</p>
<div class="other-theme-settings">
<div class="other-theme-setting">
<label for="user-border-radius-modal-input">Modal Border Radius</label>
<input type="text" id="setting-input--user-border-radius-modal" />
<div class="settings-button-row">
<button class="setting-apply-button" id="apply-setting--user-border-radius-modal">
Apply
</button>
<button class="setting-reset-button" id="reset-setting--user-border-radius-modal">
Reset
</button>
</div>
</div>
<div class="other-theme-setting">
<label for="user-border-radius-modal-input">Button Border Radius</label>
<input type="text" id="setting-input--user-border-radius-button" />
<div class="settings-button-row">
<button class="setting-apply-button" id="apply-setting--user-border-radius-button">
Apply
</button>
<button class="setting-reset-button" id="reset-setting--user-border-radius-button">
Reset
</button>
</div>
</div>
<div class="other-theme-setting">
<label for="user-border-radius-modal-input">Font Family</label>
<input type="text" id="setting-input--user-font" />
<div class="settings-button-row">
<button class="setting-apply-button" id="apply-setting--user-font">
Apply
</button>
<button class="setting-reset-button" id="reset-setting--user-font">
Reset
</button>
</div>
</div>
</div>
<br />
<br />
<h3>Saved</h3>
<p>
You may save stories to read later
</p>
<div class="setting-buttons-row">
<button id="download-favorites-button" class="button-large full-width-mobile">
💾 Download Saved Stories
</button>
<button id="clear-all-favorites-button" class="button-large full-width-mobile">
🗑️ Clear All Saved Stories
</button>
</div>
<br />
<br />
<br />
<section id="pwa-install-instructions" class="pwa-install-section">
<h3>Add to Home Screen (PWA Support)</h3>
<p>
This site is a Progressive Web App (PWA), which is a web page that
can be installed as an app on most devices. Follow these pwa-install-instructions
to install:
</p>
<strong>Android<strong>
<ol>
<li>
Tap the menu icon (3 dots in upper right-hand corner) and tap 'Add
to Home screen'.
</li>
<li>
You'll be able to enter a name for the shortcut and then Chrome
will add it to your home screen.
</li>
</ol>
<strong>iOS</strong>
<ol>
<li>
Tap the 'Share' button (the square with an arrow pointing out of
it) at the bottom of the screen.
</li>
<li>
Scroll down to the list of actions and tap 'Add to Home Screen'.
</li>
<li>
Enter a name for the shortcut and then Safari will add it to your
home screen.
</li>
</ol>
<strong>Chrome/Brave/Opera</strong>
<ol>
<li>
Look for a '+' icon in the address bar at the right or an
'Install' icon in the right side of the address bar.
</li>
<li>
Click the icon and follow the prompt to install the application.
</li>
</ol>
<strong>Microsoft Edge</strong>
<ol>
<li>
Click on the 'Settings and more' menu (3 dots in upper right-hand
corner) or look for an 'Install' icon on the right side of the
address bar.
</li>
<li>Select 'Apps' > 'Install this site as an app'.</li>
<li>Enter a name for the app and confirm the installation.</li>
</ol>
<strong>Firefox</stong>
<ol>
<li>
Click on the 'Page Actions' menu (3 dots in the address bar) or
look for an 'Install' icon on the right side of the address bar.
</li>
<li>Select 'Install Site as App'.</li>
<li>Enter a name for the app and confirm the installation.</li>
</ol>
</section>
<br />
<br />
<h3>About</h3>
<p class="about-text">
This site is an experiment with
<a href="https://brutalist-web.design/" title="A popular page about brutalist web design">
Brutalist Web Design</a>,
<a href="http://vanilla-js.com/">Vanilla JavaScript</a>, and more broadly what can be built with only
<a href="https://www.w3schools.com/">open web standards</a>.
It is built with one HTML/CSS/JS file without any libraries, and the Hacker News API. As such is is
also a good playground for students learning web development.
This page is also an exploration of glitch art, cyberpunk, and brutalist trends in web design.
Acknowledgements to the
<a href="https://news.ycombinator.com/" title="The original Hacker News website"
data-allow-external="true">original Hacker News website</a>
for their API and
<a href="https://codepen.io/mattgrosswork/pen/VwprebG" data-allow-external="true">
Matt Gross</a>
for the glitch animation used in the title bar.
<br />
<br />
You can contribute to the development of this page or give a star on
<a href="https://github.com/wkyleg/brutalist-hacker-news/blob/main/themes.md"
title="The git repository for this website" data-allow-external="true">GitHub</a>.
New themes are welcomed! If you have a theme you'd like to see on this
page, please submit a pull request or open an issue on the GitHub
repository.
</p>
<br />
<button id="share-website" class="button-large full-width-mobile">📤 Share This Website</button>
<br />
<br />
</p>
</section>
</main>
</body>
<style>
:root {
/* Theme colors */
--color-primary: #e30613;
--color-secondary: #ffed00;
--color-accent-1: #f6d365;
--color-accent-2: #fda085;
--color-dark: #3c3c3c;
--color-light: #FFF;
--color-text-main: #2f4f4f;
/* User editable but not from theme */
--user-border-radius-modal: 4px;
--user-border-radius-button: 2px;
--user-font: menlo, monospace;
/* Other repeated CSS utilities */
--shadow-opacity-color: rgb(0 0 0 / 10%);
--text-shadow-highlight: 1px 1px var(--color-primary), -1px -1px var(--color-secondary);
--box-shadow-highlight-mild: 1px 1px 2px var(--color-primary), -1px -1px 2px var(--color-secondary);
--bow-shadow-top-level-element: 2px 2px 8px var(--shadow-opacity-color);
--background-linear-gradient: linear-gradient(120deg, var(--color-accent-1) 0%, var(--color-accent-2) 100%);
--text-shadow-mild: 1px 1px 2px var(--shadow-opacity-color);
--size-3xs: 0.236rem;
--size-xxs: 0.382rem;
--size-xs: 0.618rem;
--size-sm: 1rem;
--size-md: 1.618rem;
--size-lg: 2.618rem;
--size-xl: 4.236rem;
--size-xxl: 6.854rem;
--top-level-padding-side: var(--size-xs);
--modal-border-width: 3px;
}
* {
font-family: var(--user-font);
border-radius: 0;
color: var(--color-text-main);
border: 0;
scrollbar-color: var(--color-primary) var(--color-secondary);
scrollbar-width: auto;
transition: all .2s ease-in-out;
font-weight: normal;
text-shadow: var(--text-shadow-mild);
text-size-adjust: 100%;
line-height: 1.3;
box-sizing: border-box;
}
::-webkit-scrollbar {
width: var(--size-sm);
min-width: var(--size-sm);
}
::-webkit-scrollbar-track {
background: var(--color-accent-1)
}
::-webkit-scrollbar-thumb {
background: var(--color-primary);
border-radius: 0;
min-height: var(--size-xxl);
}
::-webkit-scrollbar-track:active {
background: var(--color-secondary)
}
::-webkit-scrollbar-track:hover {
background: var(--color-secondary)
}
::-webkit-scrollbar-thumb:active {
box-shadow: 1px 3px var(--text-color)
}
::-webkit-scrollbar-thumb:hover {
box-shadow: 1px 3px var(--color-text-main)
}
html {
height: 100%;
text-size-adjust: 100%;
text-size-adjust: 100%;
}
body {
margin: 0;
padding: 0;
height: 100%;
min-height: 100vh;
min-height: fill-available;
max-height: 100%;
width: 100%;
min-width: 100%;
max-width: 100%;
display: flex;
flex-direction: column;
position: fixed;
text-rendering: optimizelegibility;
overflow: hidden;
touch-action: manipulation;
-webkit-user-drag: none;
-ms-content-zooming: none;
word-wrap: break-word;
overscroll-behavior-y: none;
text-size-adjust: none;
}
h1 {
font-size: var(--size-md);
text-align: center;
color: transparent;
text-shadow: var(--text-shadow-highlight);
font-weight: 700
}
h3 {
margin-top: 0;
margin-bottom: var(--size-xs);
color: var(--color-primary);
font-size: var(--size-md);
font-weight: 800;
}
input[type="text"] {
padding: 0.25rem 0.5rem;
background: var(--color-light);
color: var(--color-text-main);
border: 1px solid var(--color-text-main);
box-shadow: 1px 1px 3px var(--color-text-main);
border-radius: var(--user-border-radius-button);
}
input[type="color"] {
background: transparent;
border: 0;
padding: 0;
}
a {
text-decoration: underline;
cursor: pointer;
color: var(--color-text-main);
font-weight: bold;
}
iframe {
width: 100%;
height: 100%;
max-height: 100%;
background: var(--color-light);
}
a,
button,
input {
transition: all .1s ease-in-out
}
code,
kbd,
pre,
samp,
a,
.modal-content-post {
word-break: break-word;
word-wrap: break-word;
text-wrap: wrap;
}
pre,
code {
white-space: pre-wrap;
overflow-wrap: break-word;
background: var(--color-text-main);
color: var(--color-light);
font-size: var(--size-xs);
}
pre {
border: var(--color-light) 1px inset;
border-radius: var(--user-border-radius-modal);
padding-top: var(--size-xs);
padding-bottom: var(--size-xs);
cursor: text;
}
a:hover {
color: var(--color-primary);
font-weight: bolder;
}
a:visited {
background-color: rgb(from var(--color-text-main) r g b / 50%)
}
a:visited:hover {
color: var(--color-secondary)
}
button {
cursor: pointer;
background: var(--color-light);
color: var(--color-text-main);
transition: all .2s ease-in-out;
font-weight: 400;
min-height: var(--size-sm);
padding: 0.25rem 0.5rem;
box-shadow: 1px 1px 3px var(--color-text-main);
border-radius: var(--user-border-radius-button);
}
button:active {
transform: scale(0.95);
box-shadow: inset 2px 2px 2px var(--color-text-main)
}
button:hover {
filter: brightness(1.2), contrast(1.2);
box-shadow: inset 1px 1px 2px var(--color-text-main);
font-weight: 700
}
button:disabled {
opacity: 0.5;
cursor: not-allowed
}
p {
margin-top: var(--size-xxs);
margin-bottom: var(--size-xxs);
font-size: var(--size-sm);
}
.button-large {
height: var(--size-lg);
}
strong {
font-weight: 800;
}
@keyframes typing {
100%,
90% {
width: 100%
}
}
@keyframes caret {
0%,
100% {
box-shadow: .66rem 0 0 transparent
}
50% {
box-shadow: .66rem 0 0 var(--color-primary)
}
}
.type {
font-size: var(--size-sm);
display: inline-flex;
margin-left: 0.5rem;
}
.type span {
height: var(--size-md);
width: 0%;
word-break: break-all;
overflow: hidden;
animation: caret .5s infinite steps(1), typing 2s linear infinite
}
.type span::before {
content: " ";
display: inline-block
}
.public-key {
white-space: pre-wrap;
overflow-wrap: break-word;
word-break: break-all;
background: var(--color-text-main);
color: var(--color-light);
font-size: var(--size-sm);
}
@keyframes paths {
0% {
clip-path: polygon(0 43%, 83% 43%, 83% 22%, 23% 22%, 23% 24%, 91% 24%, 91% 26%, 18% 26%, 18% 83%, 29% 83%, 29% 17%, 41% 17%, 41% 39%, 18% 39%, 18% 82%, 54% 82%, 54% 88%, 19% 88%, 19% 4%, 39% 4%, 39% 14%, 76% 14%, 76% 52%, 23% 52%, 23% 35%, 19% 35%, 19% 8%, 36% 8%, 36% 31%, 73% 31%, 73% 16%, 1% 16%, 1% 56%, 50% 56%, 50% 8%)
}
5% {
clip-path: polygon(0 29%, 44% 29%, 44% 83%, 94% 83%, 94% 56%, 11% 56%, 11% 64%, 94% 64%, 94% 70%, 88% 70%, 88% 32%, 18% 32%, 18% 96%, 10% 96%, 10% 62%, 9% 62%, 9% 84%, 68% 84%, 68% 50%, 52% 50%, 52% 55%, 35% 55%, 35% 87%, 25% 87%, 25% 39%, 15% 39%, 15% 88%, 52% 88%)
}
30% {
clip-path: polygon(0 53%, 93% 53%, 93% 62%, 68% 62%, 68% 37%, 97% 37%, 97% 89%, 13% 89%, 13% 45%, 51% 45%, 51% 88%, 17% 88%, 17% 54%, 81% 54%, 81% 75%, 79% 75%, 79% 76%, 38% 76%, 38% 28%, 61% 28%, 61% 12%, 55% 12%, 55% 62%, 68% 62%, 68% 51%, 0 51%, 0 92%, 63% 92%, 63% 4%, 65% 4%)
}
45% {
clip-path: polygon(0 33%, 2% 33%, 2% 69%, 58% 69%, 58% 94%, 55% 94%, 55% 25%, 33% 25%, 33% 85%, 16% 85%, 16% 19%, 5% 19%, 5% 20%, 79% 20%, 79% 96%, 93% 96%, 93% 50%, 5% 50%, 5% 74%, 55% 74%, 55% 57%, 96% 57%, 96% 59%, 87% 59%, 87% 65%, 82% 65%, 82% 39%, 63% 39%, 63% 92%, 4% 92%, 4% 36%, 24% 36%, 24% 70%, 1% 70%, 1% 43%, 15% 43%, 15% 28%, 23% 28%, 23% 71%, 90% 71%, 90% 86%, 97% 86%, 97% 1%, 60% 1%, 60% 67%, 71% 67%, 71% 91%, 17% 91%, 17% 14%, 39% 14%, 39% 30%, 58% 30%, 58% 11%, 52% 11%, 52% 83%, 68% 83%)
}
76% {
clip-path: polygon(0 26%, 15% 26%, 15% 73%, 72% 73%, 72% 70%, 77% 70%, 77% 75%, 8% 75%, 8% 42%, 4% 42%, 4% 61%, 17% 61%, 17% 12%, 26% 12%, 26% 63%, 73% 63%, 73% 43%, 90% 43%, 90% 67%, 50% 67%, 50% 41%, 42% 41%, 42% 46%, 50% 46%, 50% 84%, 96% 84%, 96% 78%, 49% 78%, 49% 25%, 63% 25%, 63% 14%)
}
90% {
clip-path: polygon(0 41%, 13% 41%, 13% 6%, 87% 6%, 87% 93%, 10% 93%, 10% 13%, 89% 13%, 89% 6%, 3% 6%, 3% 8%, 16% 8%, 16% 79%, 0 79%, 0 99%, 92% 99%, 92% 90%, 5% 90%, 5% 60%, 0 60%, 0 48%, 89% 48%, 89% 13%, 80% 13%, 80% 43%, 95% 43%, 95% 19%, 80% 19%, 80% 85%, 38% 85%, 38% 62%)
}
1%,
33%,
47%,
7%,
78%,
93% {
clip-path: none
}
}
@keyframes subtle-glow-warble {
0% {
filter: brightness(100%) opacity(1) saturate(100%) contrast(100%)
}
25% {
filter: brightness(105%) opacity(.95) saturate(105%) contrast(105%)
}
50% {
filter: brightness(100%) opacity(1) saturate(100%) contrast(100%)
}
75% {
filter: brightness(95%) opacity(1.05) saturate(95%) contrast(95%)
}
100% {
filter: brightness(100%) opacity(1) saturate(100%) contrast(100%)
}
}
.layers {
position: relative
}
.layers::after,
.layers::before {
content: attr(data-text);
position: absolute;
width: 110%;
z-index: -1
}
.layers::before {
top: 10px;
left: 15px;
color: var(--color-primary)
}
.layers::after {
top: 5px;
left: -10px;
color: var(--color-secondary)
}
.single-path {
clip-path: polygon(0 12%, 53% 12%, 53% 26%, 25% 26%, 25% 86%, 31% 86%, 31% 0, 53% 0, 53% 84%, 92% 84%, 92% 82%, 70% 82%, 70% 29%, 78% 29%, 78% 65%, 69% 65%, 69% 66%, 77% 66%, 77% 45%, 85% 45%, 85% 26%, 97% 26%, 97% 28%, 84% 28%, 84% 34%, 54% 34%, 54% 89%, 30% 89%, 30% 58%, 83% 58%, 83% 5%, 68% 5%, 68% 36%, 62% 36%, 62% 1%, 12% 1%, 12% 34%, 60% 34%, 60% 57%, 98% 57%, 98% 83%, 1% 83%, 1% 53%, 91% 53%, 91% 84%, 8% 84%, 8% 83%, 4% 83%)
}
.paths {
animation: paths 5s step-end infinite
}
@keyframes movement {
0% {
top: 0;
left: -20px
}
15% {
top: 10px;
left: 10px
}
60% {
top: 5px;
left: -10px
}
75% {
top: -5px;
left: 20px
}
100% {
top: 10px;
left: 5px
}
}
.movement {
position: relative;
animation: movement 8s step-end infinite
}
@keyframes opacity {
0% {
opacity: .1
}
5% {
opacity: .7
}
30% {
opacity: .4
}
45% {
opacity: .6
}
76% {
opacity: .4
}
90% {
opacity: .8
}
1%,
33%,
47%,
7%,
78%,
93% {
opacity: 0
}
}
.opacity {
animation: opacity 5s step-end infinite
}
@keyframes font {
0% {
font-weight: 100;
color: var(--color-primary);
filter: blur(3px)
}
20% {
font-weight: 500;
color: var(--color-light);
filter: blur(0)
}
50% {
font-weight: 300;
color: var(--color-accent-2);
filter: blur(2px)
}
60% {
font-weight: 700;
color: var(--color-accent-1);
filter: blur(0)
}
90% {
font-weight: 500;
color: var(--color-primary);
filter: blur(6px)
}
}
.font {
animation: font 7s step-end infinite
}
.glitch {
animation: paths 3s step-end infinite
}
.glitch::before {
animation: paths 5s step-end infinite, opacity 5s step-end infinite, font 8s step-end infinite, movement 10s step-end infinite
}
.glitch::after {
animation: paths 5s step-end infinite, opacity 5s step-end infinite, font 7s step-end infinite, movement 8s step-end infinite
}
.glitch-slow {
animation: paths 10s step-end infinite
}
.glitch-slow::before {
animation: paths 5s step-end infinite, opacity 5s step-end infinite, font 8s step-end infinite, movement 10s step-end infinite
}
.glitch-slow::after {
animation: paths 5s step-end infinite, opacity 5s step-end infinite, font 7s step-end infinite, movement 8s step-end infinite
}
@keyframes fade-in {
from {
opacity: 0
}
to {
opacity: 1
}
}
.use-gpu-rendering {
backface-visibility: hidden;
perspective: 1000;
transform: translateZ(0)
}
.text-link-button {
color: var(--text-color);
text-decoration: none;
cursor: pointer;
transition: text-indent .5s;
font-size: var(--size-sm);
background: 0 0;
border: 0;
text-shadow: 2px 2px 4px var(--shadow-opacity-color);
}
.text-link-button-spacer {
margin-right: var(--size-xxs);
margin-left: var(--size-xxs);
}
@media screen and (width <=640px) {
.text-link-button {
font-size: var(--size-sm);
}
.text-link-button-spacer {
margin-right: var(--size-3xs);