-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
144 lines (126 loc) · 4.52 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="Description" content="Enter your description here" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.6.0/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<title>MSBTE Computer Engineering Syllabus</title>
<link rel="shortcut icon" href="./media/msbte-icon.jpg" type="image/x-icon">
<style>
@import url('https://fonts.googleapis.com/css?family=Ubuntu');
.btnOutline {
display: block;
text-decoration: none;
color: #333;
font-size: 1.3rem;
border: 2.5px solid #333;
padding: 0.5rem 1rem;
font-family: 'Ubuntu';
border-radius: 2.5px;
transition: all 250ms;
position: relative;
cursor: pointer;
overflow: hidden;
text-align: center;
background: #00000011;
width: 100%;
}
.btnOutline:hover {
background-color: #333;
color: #fff;
}
.btnOutline:focus {
outline: none;
box-shadow: 0 0 0.5px 2.5px #333333aa;
}
.btnOutline:active {
background-color: #000;
}
.btnOutline .ripple {
position: absolute;
background-color: #fff;
transform: translate(-50%, -50%);
pointer-events: none;
animation: ripple 1500ms;
border-radius: 10% 50%;
border-radius: 50% 10%;
}
@keyframes ripple-r {
from {
width: 0px;
height: 0px;
opacity: 0.5;
}
to {
width: 500px;
height: 500px;
opacity: 0;
}
}
@keyframes ripple {
from {
width: 0px;
height: 0px;
opacity: 0.5;
}
to {
width: 500px;
height: 500px;
opacity: 0;
}
}
a {
text-decoration: none!important;
}
</style>
</head>
<body>
<div class="container mt-5 mb-5 pb-5">
<hr>
<a target="_" href="./media/I-Scheme 2nd Sem-Comp.pdf">
<button type="button" class="btnOutline">Computer Engineering <br> 2nd Semester ( I Scheme )</button>
</a>
<hr>
<a target="_" href="./media/I-Scheme 3rd Sem-Comp.pdf">
<button type="button" class="btnOutline">Computer Engineering <br> 3rd Semester ( I Scheme )</button>
</a>
<hr>
<a target="_" href="./media/I-Scheme 4th Sem-Comp.pdf">
<button type="button" class="btnOutline">Computer Engineering <br> 4th Semester ( I Scheme )</button>
</a>
<hr>
<a target="_" href="./media/I-Scheme 5th Sem-Comp.pdf">
<button type="button" class="btnOutline">Computer Engineering <br> 5th Semester ( I Scheme )</button>
</a>
<hr>
<a target="_" href="./media/I-Scheme 6th Sem-Comp.pdf">
<button type="button" class="btnOutline">Computer Engineering <br> 6th Semester ( I Scheme )</button>
</a>
<hr>
</div>
<script>
"use strict"
window.onload = function () {
let btns = document.getElementsByClassName("btnOutline");
for (let i = 0; i < btns.length; i++) {
btns[i].onmouseover = ripple;
btns[i].onclick = ripple;
}
function ripple(event) {
let ripple = document.createElement('span')
ripple.style.top = (event.clientY - this.offsetTop) + "px";
ripple.style.left = (event.clientX - this.offsetLeft) + "px";
ripple.classList.add("ripple");
this.append(ripple)
setTimeout(() => ripple.remove(), 5000)
}
}()
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.1/umd/popper.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.6.0/js/bootstrap.min.js"></script>
</body>
</html>