-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
213 lines (193 loc) · 5.92 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>TheHackersCrew Home Page</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Add Font Awesome for icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
html, body {
position: relative;
margin: 0;
padding: 0;
height: 100%; /* So the wrapper can be 100% of viewport */
background: black;
color: white;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
scrollbar-width: none;
-ms-overflow-style: none;
}
/* The flex container filling the screen */
#wrapper {
margin-top: 10px;
display: flex;
flex-direction: column;
min-height: 100vh; /* Fill the full browser height */
position: relative;
}
/* Header sits at the top */
.header {
display: flex;
left: 15px;
justify-content: space-between;
align-items: center;
padding: 10px;
margin-top: 50px; /* Reduces space above the header */
position: relative; /* Ensures it stays above other content */
z-index: 10; /* Keeps it on top */
}
/* Main content flexes to fill space between header and footer */
#main {
flex: 1;
display: flex;
justify-content: center; /* center horizontally */
align-items: center; /* center vertically */
position: relative;
z-index: 2;
}
#logo img {
margin-left: 12.2%;
margin-top: 0; /* Removes extra space */
height: 130px; /* Adjust to make it smaller */
}
/* The logo in the middle can be sized however you want */
#logo-container {
width: 500px;
height: auto;
cursor: pointer;
transition: transform 0.3s ease;
}
#logo-container img {
width: 100%;
height: auto;
border-radius: 10px;
}
#top-left {
position: absolute;
top: 50px;
left: 40px;
width: 100px;
height: auto;
}
#bottom-right {
position: absolute;
bottom: 40px;
right: 40px;
width: 100px;
height: auto;
}
/* Footer at the bottom of the page */
#footer {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-top: 50px;
padding: 20px 0;
/* Optionally, a background: #111; etc. */
}
/* Navigation Container */
#navigation {
position: absolute;
top: 20px;
right: 20px;
display: flex;
margin: 0; /* Removes extra space */
gap: 15px;
z-index: 10; /* Ensures navigation is clickable */
}
#navigation a button {
display: inline-flex;
align-items: center;
justify-content: center;
white-space: nowrap;
border: none;
border-radius: 5px;
padding: 10px 20px;
font-size: 14px;
font-weight: bold;
cursor: pointer;
background-color: rgba(0, 0, 0, 0.8);
/* Light red */
color: white;
transition: background-color 0.3s ease, transform 0.3s ease;
}
#navigation a button:hover {
background-color: rgb(22, 22, 22);
/* Solid red */
transform: scale(1.1);
}
#social-links {
display: flex;
gap: 20px;
margin-bottom: 10px;
}
#social-links a {
font-size: 1em;
color: white;
transition: transform 0.2s ease-in-out;
}
#social-links a:hover {
transform: scale(1.2);
}
#copyright {
font-size: 14px;
color: #888;
}
</style>
</head>
<body>
<div id="wrapper">
<!-- Top-Left Image -->
<img id="top-left" src="images/+++.png" alt="Decorative Image">
<!-- Bottom-Right Image -->
<img id="bottom-right" src="images/+++.png" alt="Decorative Image">
<div id="header">
<a href="index" id="logo">
</a>
<div id="navigation">
<a href="members">
<button>Members</button>
</a>
<a href="contests">
<button>Contests</button>
</a>
<a href="index"><button>Blog</button></a>
</div>
</div>
<!-- Main content area that flexes to fill space -->
<div id="main">
<!-- Logo Container in the center -->
<div id="logo-container">
<a href>
<img src="images/thc title.png" alt="TheHackersCrew Logo">
</a>
</div>
</div>
<!-- Footer at bottom -->
<footer id="footer">
<div id="social-links">
<a href="https://ctftime.org/team/85618" target="_blank">
<i class="fa-solid fa-flag"></i>
</a>
<a href="https://x.com/thehackerscrew1" target="_blank">
<i class="fa-brands fa-twitter"></i>
</a>
<a href="https://github.com/Thehackerscrew" target="_blank">
<i class="fa-regular fa-envelope"></i>
</a>
</div>
<div id="copyright">
© 2025 Thehackerscrew. All rights reserved.
</div>
</footer>
</div>
</body>
</html>