Skip to content

Commit 780dc8f

Browse files
committed
footer correction and team
1 parent d9a138b commit 780dc8f

File tree

7 files changed

+49
-56
lines changed

7 files changed

+49
-56
lines changed

css/mat1.css

Lines changed: 19 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -97,37 +97,11 @@ ul li {
9797
list-style-type: none
9898
}
9999

100-
.parallax-container {
101-
position: relative;
102-
overflow: hidden;
103-
height: 180px
104-
}
105-
106-
.parallax {
107-
position: absolute;
108-
top: 0;
109-
left: 0;
110-
right: 0;
111-
bottom: 0;
112-
z-index: -1
113-
}
114-
115-
.parallax img {
116-
display: none;
117-
position: absolute;
118-
left: 50%;
119-
bottom: 0;
120-
min-width: 100%;
121-
min-height: 100%;
122-
-webkit-transform: translate3d(0, 0, 0);
123-
transform: translate3d(0, 0, 0);
124-
transform: translateX(-50%)
125-
}
126-
127100
@media only screen and (max-width:992px) {
128101
.hide-on-med-and-down {
129102
display: none!important
130103
}
104+
131105
}
132106

133107
@media only screen and (min-width:993px) {
@@ -900,13 +874,11 @@ summary {
900874
display: block
901875
}
902876
a {
903-
color: white;
904877
background-color: transparent
905878
}
906879
a:active,
907880
a:hover,
908881
a:visited {
909-
color: white;
910882
outline: 0
911883
}
912884
button,
@@ -988,7 +960,7 @@ i {
988960
.parallax-container {
989961
position: relative;
990962
overflow: hidden;
991-
height: 320px
963+
height: 180px
992964
}
993965
.parallax {
994966
position: absolute;
@@ -1036,6 +1008,12 @@ i {
10361008
.container {
10371009
width: 70%
10381010
}
1011+
.logo1 {
1012+
float:left;
1013+
}
1014+
.logo2 {
1015+
float:right;
1016+
}
10391017
}
10401018
.container .row {
10411019
margin-left: -0.75rem;
@@ -1141,6 +1119,14 @@ i {
11411119
.row .col.push-l1 {
11421120
left: 8.3333333333%
11431121
}
1122+
1123+
.row .col.pull-l2 {
1124+
right: 16.6666667%
1125+
}
1126+
1127+
.row .col.push-l2{
1128+
left: 16.6666667%
1129+
}
11441130

11451131
.row .col.offset-l4 {
11461132
margin-left: 33.3333333333%
@@ -1453,13 +1439,7 @@ textarea.materialize-textarea {
14531439
.avatar-card h6 {
14541440
text-align: center;
14551441
}
1456-
1457-
.bigger{
1458-
width: 175px;
1459-
height: 50px;
1460-
text-align:center;
1461-
line-height:50px;
1462-
margin-right:130px;
1463-
margin-bottom: 25px;
1464-
margin-left: 130px;
1442+
.center a{
1443+
padding-left: 1%;
1444+
padding-right: 1%
14651445
}

images/avatar.jpg

-56.6 KB
Binary file not shown.

images/cs.jpg

-25.5 KB
Binary file not shown.

images/logo.gif

-738 Bytes
Loading

js/images_generate.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
var details = [{name:"Ayush Agarwal",year:13},{name:"Saurabh Mathur",year:14},{name:"Karan Pittie",year:13},{name:"Ayush Agarwal",year:13},{name:"Saurabh Mathur",year:14},{name:"Karan Pittie",year:13}]
1+
var details = [{name:"Ayush Agarwal",year:13},{name:"Karan Pittie",year:13},{name:"Shivam Mathur",year:13},{name:"Gaurav Agerwala",year:13},{name:"Sukriti Sinha",year:13},{name:"Jill Padalia",year:13},{name:"Somya Mehta",year:13},{name:"Vinay Gupta",year:13},{name:"Reetuparna Mukherjee",year:13},{name:"Vaishnavi Gunta",year:13}
2+
3+
]
24

35

46
for (var i = 0; i< details.length; i++) {

js/init.js

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,17 @@
55
$('.parallax').parallax();
66

77
}); // end of document ready
8-
})(jQuery); // end of jQuery name space
8+
})(jQuery); // end of jQuery name space
9+
10+
function hover(element) {
11+
element.setAttribute('src', "../images/GitHub_Logo1.png");
12+
}
13+
function unhover(element) {
14+
element.setAttribute('src', "../images/GitHub_Logo.png");
15+
}
16+
function hover2(element) {
17+
element.setAttribute('src', "../images/fb1.png");
18+
}
19+
function unhover2(element) {
20+
element.setAttribute('src', "../images/fb.png");
21+
}

templates/main.html

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<body>
1818
<div class="parallax-container" style="height:100vh">
1919
<div class="parallax">
20+
2021
<img src="../images/background.jpg" style="background-position:center top;height:100vh;"> <!-- Will Change This-->
2122
</div>
2223
</div>
@@ -41,7 +42,7 @@
4142
<img class="centered" src="../images/logo.gif" width="100%" style="padding-top:10em">
4243
</div>
4344
<ul class="side-nav" id="mobile-demo">
44-
<img src="../images/cs.jpg" class="side-logo">
45+
<img src="../images/cs1.gif" class="side-logo">
4546
<li class="tab"><a href="#" onclick="closer()">Home</a></li>
4647
<li class="tab"><a href="#events" onclick="closer()">Events</a></li>
4748
<li class="tab"><a href="#team" onclick="closer()">Team</a></li>
@@ -150,22 +151,19 @@ <h2 class="header scrollspy" id="team">The Team</h2>
150151
<div style="z-index:-1;" class="parallax-container">
151152
<div class="parallax"><img src="../images/parallax2.jpg"></div>
152153
</div>
153-
154-
<div style="position:relative;z-index:1;" class="section">
155-
<div class="row container">
156-
157-
<h2 class="header scrollspy" id="contacts">Contact Us</h2>
158-
159-
<div class="row">
160-
<p>Contact us in here</p>
161-
<div class="col cols">
162-
<div class="btn-large bigger violet"><a href="https://www.github.com/IEEECS-VIT/">GitHub</a></div>
163-
<div class="btn-large bigger blue"><a href="https://www.facebook.com/ieeecsvit/">Facebook</a></div>
164-
</div>
154+
<footer class="page-footer" id="contacts">
155+
<div class="container">
156+
<h4>Contact Us</h4>
157+
<div class="row">
158+
<div class="col l6 m6 s12 center push-l2">
159+
<a href="https://www.github.com/IEEECS-VIT/" class="logo1"><img src="../images/GitHub_Logo.png" height="75" width=auto onmouseover="hover(this);" onmouseout="unhover(this);"></a>
160+
</div>
161+
<div class="col l6 m6 s12 center pull-l2">
162+
<a href="https://www.facebook.com/ieeecsvit/" class="logo2"><img src="../images/fb.png" height="75" width=auto onmouseover="hover2(this);" onmouseout="unhover2(this);"></a>
163+
</div>
165164
</div>
166165
</div>
167-
</div>
168-
166+
</footer>
169167

170168
<!-- Scripts-->
171169
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>

0 commit comments

Comments
 (0)