|
6 | 6 | <title>ScriptJSON Downloads</title> |
7 | 7 | <style> |
8 | 8 | body { |
9 | | - font-family: Arial, sans-serif; |
| 9 | + font-family: 'Arial', sans-serif; |
10 | 10 | margin: 0; |
11 | | - background-color: #f5f5f5; |
| 11 | + background-color: #f0f4f8; |
12 | 12 | color: #333; |
13 | 13 | line-height: 1.6; |
14 | 14 | } |
| 15 | + |
15 | 16 | header { |
16 | 17 | background-color: #007BFF; |
17 | 18 | color: #fff; |
18 | | - padding: 20px; |
| 19 | + padding: 30px 20px; |
19 | 20 | text-align: center; |
| 21 | + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); |
| 22 | + } |
| 23 | + header h1 { |
| 24 | + margin: 0; |
| 25 | + font-size: 2.5rem; |
| 26 | + letter-spacing: 2px; |
20 | 27 | } |
| 28 | + |
21 | 29 | main { |
22 | | - max-width: 900px; |
| 30 | + max-width: 1000px; |
23 | 31 | margin: 20px auto; |
24 | 32 | padding: 0 20px; |
25 | 33 | } |
| 34 | + |
26 | 35 | section { |
27 | 36 | margin-bottom: 40px; |
28 | 37 | background: #fff; |
29 | | - padding: 20px; |
30 | | - border-radius: 8px; |
31 | | - box-shadow: 0 2px 4px rgba(0,0,0,0.1); |
| 38 | + padding: 30px; |
| 39 | + border-radius: 10px; |
| 40 | + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); |
| 41 | + transition: all 0.3s ease-in-out; |
32 | 42 | } |
| 43 | + |
| 44 | + section:hover { |
| 45 | + transform: translateY(-10px); |
| 46 | + box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); |
| 47 | + } |
| 48 | + |
33 | 49 | h2 { |
34 | 50 | margin-top: 0; |
35 | 51 | border-bottom: 2px solid #007BFF; |
36 | 52 | padding-bottom: 10px; |
| 53 | + font-size: 1.5rem; |
| 54 | + color: #007BFF; |
37 | 55 | } |
| 56 | + |
| 57 | + p { |
| 58 | + margin: 10px 0; |
| 59 | + font-size: 1rem; |
| 60 | + } |
| 61 | + |
38 | 62 | .buttons { |
39 | 63 | display: flex; |
40 | 64 | flex-wrap: wrap; |
41 | | - gap: 10px; |
| 65 | + gap: 20px; |
42 | 66 | margin-top: 20px; |
| 67 | + justify-content: center; |
43 | 68 | } |
| 69 | + |
44 | 70 | .button { |
45 | | - flex: 1 1 200px; |
46 | | - max-width: 250px; |
47 | | - padding: 10px 20px; |
| 71 | + flex: 1 1 220px; |
| 72 | + max-width: 260px; |
| 73 | + padding: 12px 25px; |
48 | 74 | background-color: #007BFF; |
49 | 75 | color: #fff; |
50 | 76 | text-align: center; |
51 | 77 | text-decoration: none; |
52 | | - border-radius: 5px; |
53 | | - transition: background-color 0.3s; |
| 78 | + border-radius: 8px; |
| 79 | + font-size: 1rem; |
| 80 | + font-weight: 500; |
| 81 | + transition: background-color 0.3s, transform 0.2s; |
| 82 | + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); |
54 | 83 | } |
| 84 | + |
55 | 85 | .button:hover { |
56 | 86 | background-color: #0056b3; |
| 87 | + transform: translateY(-3px); |
| 88 | + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); |
57 | 89 | } |
| 90 | + |
58 | 91 | footer { |
59 | 92 | text-align: center; |
60 | | - padding: 10px 20px; |
| 93 | + padding: 15px 20px; |
61 | 94 | background-color: #007BFF; |
62 | 95 | color: #fff; |
| 96 | + font-size: 0.9rem; |
| 97 | + } |
| 98 | + |
| 99 | + footer a { |
| 100 | + color: #fff; |
| 101 | + text-decoration: none; |
| 102 | + font-weight: bold; |
| 103 | + } |
| 104 | + |
| 105 | + footer a:hover { |
| 106 | + text-decoration: underline; |
63 | 107 | } |
64 | 108 | </style> |
65 | 109 | </head> |
|
68 | 112 | <h1>ScriptJSON Downloads</h1> |
69 | 113 | </header> |
70 | 114 | <main> |
71 | | - |
72 | 115 | <section id="json-files"> |
73 | 116 | <h2>Download JSON Files</h2> |
74 | 117 | <p>Click the buttons below to download the JSON files:</p> |
@@ -115,7 +158,16 @@ <h2>Download JavaScript Files</h2> |
115 | 158 |
|
116 | 159 | </main> |
117 | 160 | <footer> |
118 | | - © 2025 ScriptJSON by 4ndy64 (https://github.com/andy64lol/ScriptJSON.github.io) |
| 161 | + © 2025 ScriptJSON by 4ndy64 | <a href="https://github.com/andy64lol/ScriptJSON.github.io" target="_blank">GitHub Repository</a> |
119 | 162 | </footer> |
| 163 | + |
| 164 | + <script> |
| 165 | + document.querySelectorAll('.button').forEach(button => { |
| 166 | + button.addEventListener('click', (event) => { |
| 167 | + event.preventDefault(); |
| 168 | + window.location.href = button.getAttribute('href'); |
| 169 | + }); |
| 170 | + }); |
| 171 | + </script> |
120 | 172 | </body> |
121 | 173 | </html> |
0 commit comments