-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
132 lines (115 loc) · 3.81 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<style>
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
.container {
background-image: url('img/bg.jpg');
background-size: cover;
background-position: center;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.logo-container {
position: relative;
overflow: hidden;
width: 100%;
max-width: 800px;
}
.logo-container img {
width: 100%;
height: auto;
transition: transform 0.3s ease-out;
}
.links-container {
display: flex;
justify-content: center;
margin-top: 20px;
}
.links-container a {
margin: 0 10px;
text-decoration: none;
}
.links-container img {
width: 100%;
height: auto;
transform: scale(0.8);
transition: transform 0.3s ease-out;
}
.links-container a:hover img {
transform: scale(1.0);
}
/* New section for Arma3 link */
.arma3-container {
display: flex;
justify-content: center;
margin-top: 20px;
}
.arma3-container a {
text-decoration: none;
}
.arma3-container img {
width: 100%;
height: auto;
transform: scale(0.8);
transition: transform 0.3s ease-out;
}
.arma3-container a:hover img {
transform: scale(1.0);
}
@media only screen and (max-width: 600px) {
.logo-container img {
transform: scale(0.6);
}
}
</style>
<title>BreakLimtiGamers</title>
</head>
<body>
<div class="container">
<div class="logo-container" id="logoContainer">
<img src="img/logo.png" alt="Logo" id="logo">
</div>
<div class="links-container">
<a href="https://discord.gg/v8tNcQZhVA">
<img src="img/discord.png" alt="Discord">
</a>
<a href="https://steamcommunity.com/groups/breaklimitgamers">
<img src="img/steam.png" alt="Steam">
</a>
<a href="ts3server://ts.breaklimitgamers.com?port=9987">
<img src="img/ts.png" alt="Teamspeak">
</a>
</div>
<!-- New Arma 3 link section -->
<div class="arma3-container">
<a href="https://breaklimitgamers.com/a3/squad.xml">
<img src="img/a3.png" alt="Arma3">
</a>
</div>
<script>
var logoContainer = document.getElementById('logoContainer');
var logo = document.getElementById('logo');
window.addEventListener('mousemove', function (e) {
var offsetX = e.clientX / window.innerWidth - 0.5;
var offsetY = e.clientY / window.innerHeight - 0.5;
var rotateX = -offsetY * 10;
var rotateY = offsetX * 10;
logo.style.transform = 'scale(0.8) perspective(1000px) rotateX(' + rotateX + 'deg) rotateY(' + rotateY + 'deg)';
});
logoContainer.addEventListener('mouseleave', function () {
logo.style.transform = 'scale(0.8)';
});
</script>
</div>
</body>
</html>