-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
142 lines (127 loc) · 4.3 KB
/
index.html
File metadata and controls
142 lines (127 loc) · 4.3 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>F0RT1ND Switcher</title>
<style>
/* General Styles */
body {
background-image: url('https://files.catbox.moe/whbi9f.jpg');
background-size: cover;
background-position: center;
background-attachment: fixed;
color: white;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
text-align: center;
flex-direction: column;
overflow: hidden;
cursor: url('https://files.catbox.moe/3gftru.cur'), auto;
transition: background 0.3s ease;
}
/* Build info in top left */
#build {
position: absolute;
top: 10px;
left: 10px;
font-size: 18px;
font-weight: bold;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}
/* Title Styles */
h1 {
font-size: 3rem;
font-weight: 600;
margin-bottom: 30px;
text-transform: uppercase;
text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7);
}
/* Button Container */
.container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 20px;
}
/* Button Styles */
button {
background-color: rgba(0, 0, 0, 0.6);
color: white;
border: none;
padding: 20px 40px;
font-size: 18px;
border-radius: 10px;
cursor: pointer;
transition: transform 0.3s ease, background-color 0.3s ease;
text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}
button:hover {
background-color: rgba(0, 0, 0, 0.8);
transform: scale(1.05);
}
button:active {
transform: scale(1);
background-color: rgba(0, 0, 0, 0.9);
}
/* Button focus effect */
button:focus {
outline: none;
}
/* Responsive styling */
@media (max-width: 600px) {
h1 {
font-size: 2.5rem;
}
button {
font-size: 16px;
padding: 15px 30px;
}
}
/* Hover effect on body */
body:hover {
background-color: rgba(0, 0, 0, 0.5);
}
</style>
</head>
<body>
<div id="build">Build: 192848.37491.29713-hq</div>
<h1>F0RT1ND Switcher</h1>
<div class="container">
<button onclick="window.location.href='https://www.fort1nd.com'">Latest</button>
<button onclick="window.location.href='https://sites.google.com/view/oldfortbackup/homemenu'">2024.4</button>
<button onclick="openDLC(event)">2022.1 (DLC)</button>
</div>
<script>
function openDLC(event) {
if (event.shiftKey) {
// Open file dialog when shift is held
const input = document.createElement('input');
input.type = 'file';
input.accept = '.mhtml';
input.onchange = function (e) {
const file = e.target.files[0];
if (file) {
const reader = new FileReader();
reader.onload = function (fileEvent) {
const newTab = window.open();
newTab.document.write(fileEvent.target.result);
};
reader.readAsText(file);
}
};
input.click();
} else {
// Default URL for DLC
window.open('https://www.google.com/url?q=https%3A%2F%2Fvt0gr-my.sharepoint.com%2F%3Af%3A%2Fg%2Fpersonal%2Fsoomaln02_fort1nd_com%2FElhQLDtN3TVIvBJwIIYEbi0BhXDPP-aNBt0hCQICSxCM1Q%3Fe%3DBA8lXX&sa=D&sntz=1&usg=AOvVaw39NRdGHRbUUpJ7O6z7FL8S', '_blank');
}
}
</script>
</body>
</html>