-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
227 lines (210 loc) · 9.72 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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
<!DOCTYPE html>
<html lang="en">
<head>
<title>My Portfolio</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<link href="http://fonts.googleapis.com/css?family=Dancing+Script:700|EB+Garamond" rel="stylesheet" type="text/css" />
<link href="http://fonts.googleapis.com/css?family=Roboto|Roboto+Condensed|Alegreya:700" rel="stylesheet" type="text/css" />
<link href="https://fonts.googleapis.com/css?family=Poppins:100,200,400,300,500,600,700" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Tangerine">
<link rel="stylesheet" href="css/animation.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<style>
html
{
scroll-behavior: smooth;
}
body{
background-image: linear-gradient(black,grey);
}
.container
{
background-image: url("img/antique.jpg");
background-color: #cccccc;
background-repeat:no;
background-size: cover;
position: relative;
width:100%;
height:100%;
}
.sticky.is-sticky {
position: fixed;
left: 0;
right: 0;
top: 0;
z-index: 1000;
width: 100%;
}
#about
{
position: relative;
width:100%;
height:100%;
}
.navbar-inverse .navbar-nav>.active>a {
background-color: none;
}
.navbar ul:first-child > li:hover,
.navbar .current-menu-item { background: none;}
a
{
color:white;
font-family:Poppins;
}
a:hover
{
color:#E7A306;
background-color: none;
}
a:active
{
color:#E7A306;
}
.footer {
left: 0;
bottom: 0;
width:100%;
background-color: none;
color: white;
text-align: center;
}
</style>
<script type="text/javascript">
// Sticky navbar
// =========================
$(document).ready(function(){
$(window).scroll(function(){
var scroll = $(window).scrollTop();
if (scroll <100) {
$(".navbar").css("background" , "none");
}
else{
$(".navbar").css("background" , "#333");
}
})
})
$(document).ready(function () {
// Custom function which toggles between sticky class (is-sticky)
var stickyToggle = function (sticky, stickyWrapper, scrollElement) {
var stickyHeight = sticky.outerHeight();
var stickyTop = stickyWrapper.offset().top;
if (scrollElement.scrollTop() >= stickyTop) {
stickyWrapper.height(stickyHeight);
sticky.addClass("is-sticky");
}
else {
sticky.removeClass("is-sticky");
stickyWrapper.height('auto');
}
};
// Find all data-toggle="sticky-onscroll" elements
$('[data-toggle="sticky-onscroll"]').each(function () {
var sticky = $(this);
var stickyWrapper = $('<div>').addClass('sticky-wrapper'); // insert hidden element to maintain actual top offset on page
sticky.before(stickyWrapper);
sticky.addClass('sticky');
// Scroll & resize events
$(window).on('scroll.sticky-onscroll resize.sticky-onscroll', function () {
stickyToggle(sticky, stickyWrapper, $(this));
});
// On page load
stickyToggle(sticky, stickyWrapper, $(window));
});
});
</script>
</head>
<body>
<div class="container">
<header>
<nav class="navbar navbar-expand-lg navbar-light top-navbar" data-toggle="sticky-onscroll">
<img class="navbar-brand" src="img/d_logo.png" style="height:70px; width=40px; margin-left:70px;"/>
<div class="collapse navbar-collapse justify-content-end" id="navbarSupportedContent">
<ul class="nav navbar-nav" style="margin-top:8px;">
<li><a class="active" href="#" style="margin-left:40px;">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#work">Work</a></li>
<li><a href="#achievements">Achievements</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div>
</nav>
</header>
<div class="col-sm-6" style="margin-left:50px; margin-top:80px;" >
<h1 style="color:white; font-family:Tangerine; font-size:50px; text-align:center;text-shadow: 4px 10px 4px #000;">Hello! I'm Divya Ratra.<br> I am a highly motivated, passionate and creative person, always keen to learn new stuff.</h1>
</div>
<div class="col-sm-5" style="margin-left:-200px;" >
<img src="img/final2.png" height="300%" width="150%"/>
</div>
<br><br>
</div>
<div id="about"><hr width="20%"><hr width="60%">
<h1 style="color:#C2C0B9; font-family:'Dancing Script'; font-size:50px; text-align:center;"><br>About Me </h1>
<br><br>
<center><h3 class="col-sm-12" style=" color:#fff; font-size:30px;font-family:Garamond; ">I am a member of the Technical Advisory Board of UPES ACM and ACM-W Student Chapters. I have completed 2 years of B.Tech in Computer Science with Specialisation in Cloud Computing and Virtualisation Technology and am currently working as a Designer and Website Developer at ACM and ACM-W Student Chapters.<br><br><br><br></h3></center>
</div>
<div id="work">
<h1 style="color:#C2C0B9; font-family:'Dancing Script'; font-size:50px; text-align:center;"><br>My Work</h1>
<br><br>
<h3 class="col-sm-12" style=" color:#fff; font-size:30px; font-family:'Garamond'; "><ul>
<li>I have made 2 web projects using <b>Java Servlets.</b><br> One was an ONLINE VOTING WEBSITE and another was an EMAIL SYSTEM used for mailing from one account to another. </li>
<li>I recently made a website for a newly established NGO in Dehradun. The languages used in that project were HTML, CSS, Bootstrap, JavaScript and PHP.</li>
<li> Apart from this, I have done Android Development as well.<br>
I was a part of the team that made UPES ACM Android Application.</li><br><br><br></h3>
</div>
<div id="achievements">
<h1 style="color:#C2C0B9; font-family:'Dancing Script'; font-size:50px; text-align:center;"><br>Achievements</h1>
<br><br>
<h3 class="col-sm-12" style=" color:#fff; font-size:30px; font-family:'Garamond'; ">
<div class="col-sm-4" >
<img src="img/fashion.jpg" style="border-radius: 50%; width:50%; margin-left:85px;"/><br><br>
<center>Recently won the <b>Best Costume Designer Award</b> at Fashion Show held at UPES.</center>
</div>
<div class="col-sm-4" >
<img src="img/calc.jpg" style="border-radius: 50%; width:50%; margin-left:100px;"/><br><br>
<center>Won Second Prize in <b>Math Mania Competition</b> held at UPES.</center>
</div>
<div class="col-sm-4" >
<img src="img/download.jpg" style="border-radius: 50%; width:50%; margin-left:85px;"/><br><br>
<center>Won Second Prize in <b>Face Painting Competition</b> held at UPES.<br><br><br><br></center>
</div>
</div>
<div>
<h1 style="color:#C2C0B9; font-family:'Dancing Script'; font-size:50px; text-align:center;"><br>Contact Form</h1>
<br><br>
<h3 class="col-sm-12" style=" color:#fff; font-size:30px; font-family:'Garamond'; ">
<form id="contact">
<div class="row">
<div class="col-sm-4">
<input name="name" placeholder="Enter your name" onfocus="this.placeholder = ''" onblur="this.placeholder = 'Enter your name'" class="form-control mt-20" type="name" STYLE="background-color:#3E3F3E; color:#dfdfe5; font-size:18px;" required>
</div>
<div class="col-sm-4">
<input name="email" placeholder="Enter email address" onfocus="this.placeholder = ''" onblur="this.placeholder = 'Enter email address'" class="form-control mt-20" required="" type="email" STYLE="background-color:#3E3F3E; color:#dfdfe5; font-size:18px;">
</div>
<div class="col-sm-4">
<input name="phone" placeholder="Phone Number" onfocus="this.placeholder = ''" onblur="this.placeholder = 'Enter your phone number'" class="form-control mt-20" required="" type="number" STYLE="background-color:#3E3F3E; color:#dfdfe5; font-size:18px;">
</div><br><br>
<div class="col-sm-12">
<textarea class="form-control mt-20" name="address" placeholder="Address" onfocus="this.placeholder = ''" onblur="this.placeholder = 'Address'" required=""STYLE="background-color:#3E3F3E; color:#dfdfe5; font-size:18px;"></textarea>
<br>
<textarea class="form-control mt-20" name="message" placeholder="Message" onfocus="this.placeholder = ''" onblur="this.placeholder = 'Message'" STYLE="background-color:#3E3F3E; color:#dfdfe5; font-size:18px;" required=""></textarea><br>
</div>
<div class="text-right col-sm-12">
<button type="button" class="btn btn-primary" style="background-color:#fff; color:#3E3F3E; font-size:18px;margin-right:47.5%; border-radius:7px;padding: 10px 24px; font-family:Alegreya;"><b>Submit</b></button></div>
</div><br>
</form>
<br><br><br><hr width="20%"><hr width="60%"></h3>
</div>
<div class="footer" >
<p style="color:black; align:center; font-family:Garamond; font-size:20px;">
<b>University of Petroleum and Energy Studies</b><br>
Bidholi, Dehradun<br>
Uttrakhand-248007<br>
Phone: 7404324414<br>
Email: <a href="" style="color:#3E3F3E;font-size:20px; font-family:Garamond;">divyaratra1999@gmail.com</a>
</p>
</div>
</body>
</html>