Skip to content

Commit 13644f4

Browse files
authored
Update index.html
1 parent e463a0f commit 13644f4

1 file changed

Lines changed: 68 additions & 16 deletions

File tree

index.html

Lines changed: 68 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,60 +6,104 @@
66
<title>ScriptJSON Downloads</title>
77
<style>
88
body {
9-
font-family: Arial, sans-serif;
9+
font-family: 'Arial', sans-serif;
1010
margin: 0;
11-
background-color: #f5f5f5;
11+
background-color: #f0f4f8;
1212
color: #333;
1313
line-height: 1.6;
1414
}
15+
1516
header {
1617
background-color: #007BFF;
1718
color: #fff;
18-
padding: 20px;
19+
padding: 30px 20px;
1920
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;
2027
}
28+
2129
main {
22-
max-width: 900px;
30+
max-width: 1000px;
2331
margin: 20px auto;
2432
padding: 0 20px;
2533
}
34+
2635
section {
2736
margin-bottom: 40px;
2837
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;
3242
}
43+
44+
section:hover {
45+
transform: translateY(-10px);
46+
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
47+
}
48+
3349
h2 {
3450
margin-top: 0;
3551
border-bottom: 2px solid #007BFF;
3652
padding-bottom: 10px;
53+
font-size: 1.5rem;
54+
color: #007BFF;
3755
}
56+
57+
p {
58+
margin: 10px 0;
59+
font-size: 1rem;
60+
}
61+
3862
.buttons {
3963
display: flex;
4064
flex-wrap: wrap;
41-
gap: 10px;
65+
gap: 20px;
4266
margin-top: 20px;
67+
justify-content: center;
4368
}
69+
4470
.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;
4874
background-color: #007BFF;
4975
color: #fff;
5076
text-align: center;
5177
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);
5483
}
84+
5585
.button:hover {
5686
background-color: #0056b3;
87+
transform: translateY(-3px);
88+
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
5789
}
90+
5891
footer {
5992
text-align: center;
60-
padding: 10px 20px;
93+
padding: 15px 20px;
6194
background-color: #007BFF;
6295
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;
63107
}
64108
</style>
65109
</head>
@@ -68,7 +112,6 @@
68112
<h1>ScriptJSON Downloads</h1>
69113
</header>
70114
<main>
71-
72115
<section id="json-files">
73116
<h2>Download JSON Files</h2>
74117
<p>Click the buttons below to download the JSON files:</p>
@@ -115,7 +158,16 @@ <h2>Download JavaScript Files</h2>
115158

116159
</main>
117160
<footer>
118-
&copy; 2025 ScriptJSON by 4ndy64 (https://github.com/andy64lol/ScriptJSON.github.io)
161+
&copy; 2025 ScriptJSON by 4ndy64 | <a href="https://github.com/andy64lol/ScriptJSON.github.io" target="_blank">GitHub Repository</a>
119162
</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>
120172
</body>
121173
</html>

0 commit comments

Comments
 (0)