-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCLUB.html
263 lines (215 loc) · 8.86 KB
/
CLUB.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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link href='https://unpkg.com/[email protected]/css/boxicons.min.css' rel='stylesheet'>
<link rel="stylesheet" href="style.css">
<title>Clubs</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: violet;
/* background: radial-gradient(circle, rgba(70, 184, 167, 1) 0%, rgba(55, 80, 219, 1)100%); */
background: radial-gradient(circle, rgb(117, 138, 190) 0%, rgb(152, 186, 231) 100%);
}
.jumbotron .display-4 {
text-align: center;
background: url(light.gif);
background-size: 100px 92px;
font-size: 85px;
font-family: 'Raleway', sans-serif;
background-clip: text;
-webkit-background-clip: text;
color: transparent;
}
.blockquote {
align-items: baseline;
}
.box {
height: 20px;
background-color: rgba(85, 60, 151, 0.274);
}
.button1 {
/* height: 20px;
background-color: rgba(85, 60, 151, 0.274); */
cursor: not-allowed;
}
.card {
/* background-color: rgb(209, 19, 19); */
background: radial-gradient(circle, rgb(115, 230, 149) 0%, rgba(55, 80, 219, 1)100%);
display: flex;
text-align: center;
position: -webkit-sticky;
top: 160px;
}
/* body {
height: 100vh;
background: #17a2b8;
overflow: hidden;
clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
} */
nav {
position: absolute;
top: 20px;
right: 0;
width: 120px;
height: 300px;
display: flex;
align-items: center;
justify-content: center;
cursor: grab;
}
nav .nav-content {
display: flex;
align-items: center;
justify-content: center;
transform: rotate(-45deg);
}
.nav-content .toggle-btn,
.nav-content span a {
height: 60px;
width: 60px;
background: #fff;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
.nav-content .toggle-btn {
font-size: 35px;
color: #0e2431;
z-index: 100;
cursor: pointer;
transform: rotate(-225deg);
transition: all 0.6s ease;
}
nav.open .toggle-btn {
transform: rotate(0deg);
}
.nav-content span {
position: absolute;
transition: all 0.6s ease;
opacity: 0;
}
nav.open .nav-content span {
transform: rotate(calc(var(--i) * (360deg/8))) translateY(120px);
opacity: 1;
}
.nav-content span a {
text-decoration: none;
transform: rotate(45deg);
}
.nav-content span a i {
font-size: 24px;
color: #0e2431;
transform: rotate(calc(var(--i) * (360deg/ -8)));
opacity: 0.8;
transition: 0.2s;
}
.nav-content span a:hover i {
opacity: 1;
}
</style>
</head>
<body>
<div class="jumbotron">
<h1 class="display-4">CLUBS</h1>
<figcaption class="blockquote-footer">
<cite title="Source Title "><b>Unofficially by Vi-NET</b></cite>
</figcaption>
</figure>
</div>
<div class="box">
<b><em>
<marquee behavior="scroll" direction="right">Clubs Details Will be Update as soon as We will scrutinize Data given by Clubs
</marquee>
</em></b>
</div>
<a class="button"><a href =Clubs_Technical.html>Technical Clubs </a></a>
<!-- <a class="button">Technical Clubs</a> -->
<a class="button1">Regional </a></a>
<!-- <a class="button"></a> -->
<div class="card ">
<div class="card-header ">
Featured
</div>
<div class="card-body ">
<h5 class="card-title "><i>Club Leaders or Core Members can Mail us so that we can feature your clubs To V-net</i> </h5>
<p class="card-text "> </p>
<a href="mailto:[email protected],[email protected][email protected],[email protected]&subject=(Enter%20Your%20Club%20Name%20after%20Erasing%20this) - Club Information - V-net &body=Club%20Details%20With%20Your%20Name%20With%20Registration%20No.">Mail Us</a>
</div>
</div>
<!-- <div class="jumbotron">
<h1 class="display-4">Brahma DEVelopers</h1> -->
<nav>
<div class="nav-content">
<div class="toggle-btn">
<i class='bx bx-left-down-arrow-circle'></i>
</div>
<span style="--i:2;">
<a href="#"><i class='bx bxs-home'<abbr title ="Go back to Home">.</abbr>></i></a>
</span>
<!-- <span style="--i:2;">
<a href="#"><i class='bx bxs-note'<abbr title ="Go back to Notes">.</abbr>></i></a>
</span> -->
<span style="--i:4;">
<a href="https://vaibhavgupta1312.github.io/webdev/"><i class='bx bxs-building-house'<abbr title ="About Vit-Bhopal">.</abbr> ></i></a>
</span>
<!-- <span style="--i:4;">
<a href="#"><i class='bx bxs-map' ></i></a>
</span> -->
<!-- <span style="--i:5;">
<a href="#"><i class='bx bxs-cog' ></i></a>
</span> -->
</div>
</nav>
<script>
// getting HTML elements
const nav = document.querySelector("nav"),
toggleBtn = nav.querySelector(".toggle-btn");
toggleBtn.addEventListener("click", () => {
nav.classList.toggle("open");
});
// js code to make draggable nav
function onDrag({
movementY
}) { //movementY gets mouse vertical value
const navStyle = window.getComputedStyle(nav), //getting all css style of nav
navTop = parseInt(navStyle.top), // getting nav top value & convert it into string
navHeight = parseInt(navStyle.height), // getting nav height value & convert it into string
windHeight = window.innerHeight; // getting window height
nav.style.top = navTop > 0 ? `${navTop + movementY}px` : "1px";
if (navTop > windHeight - navHeight) {
nav.style.top = `${windHeight - navHeight}px`;
}
}
//this function will call when user click mouse's button and move mouse on nav
nav.addEventListener("mousedown", () => {
nav.addEventListener("mousemove", onDrag);
});
//these function will call when user relase mouse button and leave mouse from nav
nav.addEventListener("mouseup", () => {
nav.removeEventListener("mousemove", onDrag);
});
nav.addEventListener("mouseleave", () => {
nav.removeEventListener("mousemove", onDrag);
});
</script>
//
<!-- Optional JavaScript; choose one of the two! -->//
<!-- Option 1: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js " integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p " crossorigin="anonymous "></script>
//
<!-- Option 2: Separate Popper and Bootstrap JS -->-->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js " integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB " crossorigin="anonymous "></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js " integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13 " crossorigin="anonymous "></script>
</body>