-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathabout.html
174 lines (170 loc) · 5.17 KB
/
about.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About Us</title>
<link rel="icon" type="image/x-icon" href="favicon/favicon.ico">
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
min-height: 100vh;
background-image: url('/PNG images/The Poro League.jpg');
background-size: cover;
}
header {
background-color: #000000;
color: #FFD700db;
padding: 10px 0;
text-align: center;
position: relative;
z-index: 1;
width: 100%;
}
nav {
margin: 10px 0;
}
.button {
display: inline-block;
padding: 10px 20px;
margin: 0 15px;
background-color: #FFD700db;
color: #000000;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
align-items: center;
width: 10vh;
}
.button:hover {
background-color: #0056b3;
transition: all 0.3s ease;
transform: scale(1.2);
}
main {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: relative;
z-index: 1;
width: 100%;
}
.sidebar {
position: absolute;
inset: 0 0 0;
width: 10%;
background-color: #222;
color: #ffffff;
padding: 15px;
box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
z-index: 2;
transform: translateX(-100%);
transition: transform 0.3s ease, opacity 200ms ease;
opacity: 0;
}
.sidebar.open {
transform: translateX(0);
opacity: 1;
}
.toggle-button {
width: 40px;
height: 40px;
background-color: #FFD700db;
border: none;
border-radius: 50%;
color: #000000;
font-size: 20px;
cursor: pointer;
position: absolute;
left: 2.5%;
}
.toggle-button:hover {
background-color: #0056b3;
transition: all 0.3s ease;
transform: scale(1.2);
}
.content {
margin: auto;
width: calc(100% - 220px);
display: flex;
flex-direction: column;
align-items: center;
}
section {
background-color: #FFD700db;
padding: 20px;
border-radius: 5px;
margin: 10px;
width: 80%;
max-width: 600px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center;
}
footer {
background-color: #000000;
color: #fff;
text-align: center;
padding: 10px 0;
}
.link {
color: #006eff;
}
.link:visited {
color: #ff00ff;
}
h1 {
text-transform: uppercase;
}
</style>
</head>
<body>
<header>
<h1>About Us</h1>
<button class="toggle-button" id="toggleButton">☰</button>
<nav>
<a href="milo.html" class="button">Milo</a>
<a href="callum.html" class="button">Callum</a>
<a href="combined.html" class="button">Combined</a>
</nav>
</header>
<main>
<div class="sidebar" id="sidebar">
<h2>Sidebar</h2>
<p>Links or content can go here.</p>
<a href="index.html" class="button">Index</a>
<a href="Car Tier List.html" class="button">Car Tier List</a>
</div>
<div class="content">
<section>
<h2>Welcome to Our About Page</h2>
<p>This page is about league of legends and cats, idk why we even made an about page.</p>
<p>Long live and prosper i dont fucking know.</p>
</section>
</div>
</main>
<footer>
<p>© Skibidi</p>
<p>
View our <a class="link" href="https://github.com/CT126/league-champs-thingy" target="_blank">GitHub repository</a>.
</p>
</footer>
<script>
const toggleButton = document.getElementById('toggleButton');
const sidebar = document.getElementById('sidebar');
toggleButton.addEventListener('click', () => {
sidebar.classList.toggle('open');
const closeWatcher = new CloseWatcher();
closeWatcher.addEventListener('cancel', () => {
sidebar.classList.remove('open');
closeWatcher.destroy();
});
});
</script>
</body>
</html>