-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhome.html
More file actions
183 lines (172 loc) · 4.56 KB
/
home.html
File metadata and controls
183 lines (172 loc) · 4.56 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
<!DOCTYPE html>
<html>
<head>
<title>
Main Page
</title>
<link href="https://fonts.googleapis.com/css?family=Noto+Serif" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Oswald" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Lobster+Two" rel="stylesheet">
<style type="text/css">
html {
overflow-x: hidden;
width: 100%;
}
.container {
height: 100%;
}
#header {
background-color:#727995;
color:#F9F9F9;
height: 100px;
width: 100%;
}
#header h1 {
margin-top: 0px;
font-family: 'Noto Serif', serif;
}
body{
margin: 0px;
background-size: cover;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
background-color: #333;
}
li {
float: left;
width: 100%;
}
li a {
width: 100%;
display: inline-block;
color: white;
padding: 14px 16px;
text-decoration: none;
}
li a:hover {
background-color: #111;
}
.navbar {
width: 100%;
}
.navbar li {
width: 25%;
}
.navbar li:nth-child(1) {
background-color: blue;
}
.navbar li:nth-child(2) {
background-color: red;
}
.navbar li:nth-child(3) {
background-color: green;
}
.navbar li:nth-child(4) {
background-color: skyblue;
}
.leftcolumn {
padding: 10px;
float: left;
width: calc(25% - 40px);
}
.leftcolumn img {
width: 100%;
}
.rightcolumn {
margin-top: 10px;
padding: 5px;
float: left;
width: calc(75% - 5px);
font-size: 20px;
font-family: 'Oswald', sans-serif;
}
.dropbtn {
background: transparent;
text-align: left;
width: 100%;
color: white;
padding: 14px;
font-size: 16px;
border: none;
cursor: pointer;
}
.dropdown {
width: 100%;
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
width: 100%;
position: absolute;
background-color: #f9f9f9;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.dropdown-content a {
color: black;
padding: 14px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {
width: calc(100% - 28px);
background-color: #f1f1f1;
}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown:hover .dropbtn {
background-color: #000;
color: white;
}
</style>
</head>
<body background="images/background.jpg">
<div id="header" style="text-align: center;">
<img src="images/nit_logo.png" alt="nit_logo" style="float: left; width:100px;height:100px">
<h1>NIT DURGAPUR</h1>
<h2>(An Institute of National Importance under Government of India, Ministry of Human Resource Development)</h2>
</div>
<div class="container">
<ul class="navbar">
<li><a href="#home">Home</a></li>
<li>
<div class="dropdown">
<button class="dropbtn">Login</button>
<div class="dropdown-content">
<a href="stud_loginpage.html">Student Login</a>
<a href="adminlogin.html">Administrator Login</a>
</div>
</div>
</li>
<li>
<div class="dropdown">
<button class="dropbtn">Signup</button>
<div class="dropdown-content">
<a href="login1.html">Student Signup</a>
<!-- <a href="login2.html">Administration Signup</a> --!-->
</div>
</div>
</li>
<li><a href="#about">About Us</a></li>
</ul>
</div>
<div>
<div class="col-container">
<div class="leftcolumn">
</div>
<div class="rightcolumn">
<p style="color: #CCCCCC" >The National Institute of Technology Durgapur also known as NIT Durgapur or NITD, is a Central Government engineering college located in Durgapur, West Bengal, India.
Formerly known as the Regional Engineering College, Durgapur (REC Durgapur),it is among the first 8 Regional Engineering Colleges established in India and was founded in 1960 by
the then Chief Minister of West Bengal, Dr. Bidhan Chandra Roy.Today it is one of the 30 National Institutes of Technology in India and has been recognised as an Institute of National Importance by the Government of India
under the National Institutes of Technology Act, 2007.According to the National Institutional Ranking Framework (NIRF),
the institute is ranked 30 in the 2016 engineering university rankings.</p>
</div>
</div>
</div>
</body>
</html>