66 < link rel ="icon " type ="image/png " href ="https://avatars.githubusercontent.com/u/257225591?v=4 " />
77 < title > 404 — ForgeExtensions</ title >
88 < meta name ="robots " content ="noindex " />
9- < meta name ="color-scheme " content ="dark " />
10- < meta name ="theme-color " content ="#0d0d0d " />
119
1210 < link rel ="preconnect " href ="https://fonts.googleapis.com " />
1311 < link rel ="preconnect " href ="https://fonts.gstatic.com " crossorigin />
14- < link href ="https://fonts.googleapis.com/css2?family=Geist :wght@400;500;600&display=swap " rel ="stylesheet " />
12+ < link href ="https://fonts.googleapis.com/css2?family=DM+Sans :wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500 &display=swap " rel ="stylesheet " />
1513 < link rel ="stylesheet " href ="style.css " />
1614
1715 < style >
1816 body { display : flex; flex-direction : column; min-height : 100vh ; }
1917
2018 .center {
21- flex : 1 ;
22- display : flex;
23- flex-direction : column;
24- align-items : center;
25- justify-content : center;
26- text-align : center;
27- padding : 40px 24px ;
19+ flex : 1 ; display : flex; flex-direction : column;
20+ align-items : center; justify-content : center;
21+ text-align : center; padding : 40px 24px ;
2822 }
2923
30- .code {
31- font-size : 72px ;
32- font-weight : 600 ;
33- color : var (--surface );
24+ .code-big {
25+ font-family : 'IBM Plex Mono' , monospace;
26+ font-size : clamp (72px , 15vw , 120px );
27+ font-weight : 400 ; line-height : 1 ;
28+ color : transparent;
29+ -webkit-text-stroke : 1.5px var (--border2 );
30+ margin-bottom : 24px ;
3431 letter-spacing : -0.04em ;
35- line-height : 1 ;
36- margin-bottom : 20px ;
37- /* stack real text on top with the grid showing through */
38- position : relative;
32+ animation : fadeUp 0.4s ease both;
3933 }
40- /* outlined version behind */
41- .code ::before {
42- content : '404' ;
43- position : absolute;
44- inset : 0 ;
45- -webkit-text-stroke : 1px var (--border );
46- color : transparent;
34+
35+ @keyframes fadeUp {
36+ from { opacity : 0 ; transform : translateY (12px ); }
37+ to { opacity : 1 ; transform : none; }
4738 }
4839
4940 h1 {
50- font-size : 16px ;
51- font-weight : 600 ;
52- color : var (--white );
53- margin-bottom : 6px ;
41+ font-size : 18px ; font-weight : 600 ;
42+ color : var (--white ); margin-bottom : 8px ;
43+ animation : fadeUp 0.4s 0.1s ease both;
5444 }
5545
5646 .sub {
57- font-size : 13px ;
58- color : var (--muted );
59- margin-bottom : 28px ;
60- max-width : 300px ;
61- line-height : 1.6 ;
47+ font-size : 13px ; color : var (--muted );
48+ margin-bottom : 32px ; max-width : 280px ; line-height : 1.65 ;
49+ animation : fadeUp 0.4s 0.18s ease both;
6250 }
6351
6452 .actions {
65- display : flex;
66- gap : 8px ;
67- flex-wrap : wrap;
68- justify-content : center;
69- }
70-
71- footer {
72- text-align : center;
73- padding : 20px 24px ;
74- font-size : 12px ;
75- color : var (--muted );
53+ display : flex; gap : 8px ; flex-wrap : wrap; justify-content : center;
54+ animation : fadeUp 0.4s 0.25s ease both;
7655 }
77- footer a { color : var (--dim ); transition : color 0.15s ; }
78- footer a : hover { color : var (--text ); }
7956 </ style >
8057</ head >
8158< body >
8259
8360< div class ="center ">
84- < div class ="code "> 404</ div >
61+ < div class ="code-big "> 404</ div >
8562 < h1 > Page not found</ h1 >
86- < p class ="sub "> The page you're looking for doesn't exist or may have been moved.</ p >
63+ < p class ="sub "> The page you're looking for doesn't exist or may have moved.</ p >
8764 < div class ="actions ">
8865 < a href ="index.html " class ="btn btn-primary ">
8966 < svg width ="12 " height ="12 " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="2 " stroke-linecap ="round " stroke-linejoin ="round "> < path d ="m15 18-6-6 6-6 "/> </ svg >
@@ -94,8 +71,13 @@ <h1>Page not found</h1>
9471</ div >
9572
9673< footer >
97- < a href ="https://github.com/ForjSkript "> ForjSkript</ a > · < a href ="https://github.com/ForjSkript/ForgeExtensions "> ForgeExtensions</ a >
74+ < a href ="https://github.com/ForjSkript "> ForjSkript</ a > ·
75+ < a href ="https://github.com/ForjSkript/ForgeExtensions "> ForgeExtensions</ a >
9876</ footer >
9977
78+ < script >
79+ const t = localStorage . getItem ( 'forge-theme' ) || 'dark' ;
80+ document . documentElement . setAttribute ( 'data-theme' , t ) ;
81+ </ script >
10082</ body >
101- </ html >
83+ </ html >
0 commit comments