-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhomepage (1).html
More file actions
389 lines (342 loc) · 9.74 KB
/
homepage (1).html
File metadata and controls
389 lines (342 loc) · 9.74 KB
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
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple HTML HomePage</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<link rel="stylesheet" type="text/css" href="mylogin.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Sriracha&display=swap');
body {
margin: 0;
box-sizing: border-box;
}
/* CSS for header */
.header {
display: flex;
justify-content: space-between;
align-items: center;
/* background-color: #001737;*/
/*margin-top: -10px;*/
margin-right: 50px;
}
.header .logo {
font-size: 25px;
font-family: 'Sriracha', cursive;
color: #000;
text-decoration: none;
margin-left: 30px;
}
.nav-items {
display: flex;
justify-content: space-around;
align-items: center;
/* background-color: #f5f5f5;*/
margin-right: 150px;
margin-top:20px ;
font-size: 20px;
font-weight: bold;
}
.nav-items a {
text-decoration: none;
color: white;
padding: 0px 20px;
}
/* CSS for main element */
.intro {
margin-top:-100px;
/* margin-right:5000px;*/
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
height: 620px;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%),
url("coverpage.png");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.intro h1 {
font-family: sans-serif;
font-size: 60px;
color: #fff;
font-weight: bold;
text-transform: uppercase;
margin: 0;
margin-right: 200px;
}
.intro p {
font-size: 20px;
color: #d1d1d1;
text-transform: uppercase;
margin: 20px 0;
margin-right: 200px;
}
.intro button {
background-color: #5edaf0;
color: #000;
padding: 10px 25px;
border: none;
border-radius: 5px;
font-size: 20px;
font-weight: bold;
cursor: pointer;
margin-right: 200px;
box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.4)
}
.header .noticebutton button {
background-color: gray;
margin-bottom: 10px;
color: #000;
padding: 5px 5px;
border: none;
border-radius: 5px;
font-size: 10px;
font-weight: bold;
cursor: pointer;
box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.4)
}
.achievements {
display: flex;
justify-content: space-around;
align-items: center;
padding: 40px 80px;
}
.achievements .work {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 0 40px;
}
.achievements .work i {
width: fit-content;
font-size: 50px;
color: #333333;
border-radius: 50%;
border: 2px solid #333333;
padding: 12px;
}
.achievements .work .work-heading {
font-size: 20px;
color: #333333;
text-transform: uppercase;
margin: 10px 0;
}
.achievements .work .work-text {
font-size: 15px;
color: #585858;
margin: 10px 0;
}
.about-me {
display: flex;
justify-content: center;
align-items: center;
padding: 40px 80px;
border-top: 2px solid #eeeeee;
}
.about-me img {
width: 500px;
max-width: 100%;
height: auto;
border-radius: 10px;
}
.about-me-text h2 {
font-size: 30px;
color: #333333;
text-transform: uppercase;
margin: 0;
}
.about-me-text p {
font-size: 15px;
color: #585858;
margin: 10px 0;
}
/* CSS for footer */
.footer {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #302f49;
padding: 40px 80px;
}
.footer .copy {
color: #fff;
}
.bottom-links {
display: flex;
justify-content: space-around;
align-items: center;
padding: 40px 0;
}
.bottom-links .links {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 0 40px;
}
.bottom-links .links span {
font-size: 20px;
color: #fff;
text-transform: uppercase;
margin: 10px 0;
}
.bottom-links .links a {
text-decoration: none;
color: #a1a1a1;
padding: 10px 20px;
}
/*.gpplogo img{
width: 100px;
max-width: 100%;
height: auto;
border-radius: 10px;
}*/
.sidenav {
height: 545px;
width: 160px;
position: absolute;
z-index: 1;
top: 0;
right:0;
background-color:#001737;
overflow-x: hidden;
padding-top: 20px;
padding-left: 20px;
color: white;
}
.sidenav a {
padding: 6px 8px 6px 16px;
text-decoration: none;
font-size: 25px;
color: white;
display: block;
}
.sidenav a:hover {
color:white;
}
.main {
margin-left: 160px; /* Same as the width of the sidenav */
font-size: 28px; /* Increased text to enable scrolling */
padding: 0px 10px;
}
/*@media screen and (max-height: 450px) {
.sidenav {padding-top: 15px;}
.sidenav a {font-size: 18px;}
}*/
</style>
</head>
<body>
<div class="sidenav">
<h2><center>Notice</center></h2>
<marquee direction="up">
<p>This is a notice</P>
<p>Lorem Ipsum is simply dummy text of the printing and type setting industry. </p>
</marquee>
<div>
<dialog id="myFirstDialog" style="width:50%;background-color:#F4FFEF;border:1px dotted black;">
<p><q>orem Ipsum is simply dummy text of the printing and typesetting industry
</q> - <cite>GPP</cite></p>
<button id="hide">Close</button>
</dialog>
<button id="show">Read More..</button>
</div>
<!-- JavaScript to provide the "Show/Close" functionality -->
<script type="text/JavaScript">
(function() {
var dialog = document.getElementById('myFirstDialog');
document.getElementById('show').onclick = function() {
dialog.show();
};
document.getElementById('hide').onclick = function() {
dialog.close();
};
})();
</script>
</div>
<header class="header">
<!-- <div class="gpplogo">
<img src="logo.png" alt="me">
</div> -->
<div class="noticebutton">
</div>
<nav class="nav-items">
<a href="#">Home</a>
<a href="#">About</a>
<a href="#">Contact</a>
</nav>
</header>
<main>
<div class="intro">
<h1>GOVERNMENT POLYTECHNIC PUNE</h1>
<p>we build golden future of students</p>
<button>More Details</button>
</div>
<div class="achievements">
<div class="work">
<i class="fas fa-atom"></i>
<p class="work-heading">Structure</p>
<p class="work-text">The institute lays particular focus on bringing the curriculum in tandem
with current industrial requirements and developments. With employment being an equally crucial aspect
of modern education , the institute is particularly keen on keeping a persistent link between academics
and industrial realities so as to make students proficient to meet the demands of the industry.
Towards this purpose it has formed various committees with substantial industrial representation.</p>
</div>
<div class="work">
<i class="fas fa-skiing"></i>
<p class="work-heading">Mission</p>
<p class="work-text">Update curriculum in association with stakeholders
Modernize infrastructure & facilities
Set up strategic alliance with industries
Enhance e-governance
Continuous development of faculty & staff.</p>
</div>
<div class="work">
<i class="fas fa-ethernet"></i>
<p class="work-heading">Location</p>
<p class="work-text">The institute is located in India's second largest industrial town -
Pune, particularly known for its thriving automobile industry and software business.
The Government Polytechnic is located on Rajbhavan Road near Pune University campus hardly 7 k.m
from the Pune railway station and 20 k.m from the Airport.</p>
</div>
</div>
<div class="about-me">
<div class="about-me-text">
<h2>About the College</h2>
<p>
The Government Polytechnic, Pune, was established in the year 1957. Thirty seven years later, in May 1994,
the institute was awarded academic autonomy. Today it houses in its 28 acre campus, a main building,
students hostels, classrooms for various faculties including Electronic Computers, Library, Canteen,
post office and other facilities and has the capacity to groom more than 300 students in various
engineering fields every year.
facilities and has the capacity to groom more than 300 students in various engineering fields every year.
Over the last four decades, the institute has produced more than 8000 diploma engineers in different
disciplines, has won several awards in academics as well as socio-cultural activities and on the whole
has succeeded in contributing humble positive efforts towards the building of a progressive society.</p>
</div>
<img src="gpp.jpg" alt="me">
</div>
</main>
<footer class="footer">
<div class="bottom-links">
<div class="links">
<span>More Info</span>
<a href="#">Home</a>
<a href="#">About</a>
<a href="#">Contact</a>
</div>
<div class="links">
<span>Social Links</span>
<a href="#"><i class="fab fa-facebook"></i></a>
<a href="#"><i class="fab fa-twitter"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
</div>
</div>
</footer>
</body>
</html>