-
Notifications
You must be signed in to change notification settings - Fork 94
/
Copy pathindex.html
executable file
·193 lines (170 loc) · 6.66 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
<!DOCTYPE html>
<html>
<title>RSS Team TA</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
body,p,h1,h2,h3,h4,h5,h6 {font-family: Palatino Linotype, sans-serif}
body, html {
height: 100%;
line-height: 1.8;
}
/* Full height image header */
.title_img {
background-position: center;
background-size: cover;
background-image: url("./img/mit.jpg");
height: 30%;
/* max-height: 30%; */
}
.team_member {
width: 20%; /* Change this so you can fit x Team members in a row*/
float: left;
padding: 0% 6px;
min-height: 500px;
}
.team_member p {
font-size: 10px;
font-size: 1.5vw;
}
.team_member h4 {
font-size: 20px;
font-size: 3vw;
}
.headshot {
display: block;
margin:auto;
max-width: 100%;
width: 200px;
height: 200px;
max-height: 200px;
overflow: hidden;
}
.w3-bar .w3-button {
padding: 16px;
}
</style>
<body>
<!-- If you change something in the Navbar you have to change it on each page (sit on top) -->
<!-- MAKE SURE YOU GET THE RELATIVE PATHS RIGHT FOR THE NAV BAR!!!!-->
<div class="w3-top">
<div class="w3-bar w3-white w3-card" id="myNavbar">
<a href="#home" class="w3-bar-item w3-button w3-wide">RSS Team TA</a>
<!-- Right-sided navbar links -->
<div class="w3-right w3-hide-small">
<a href="#about" class="w3-bar-item w3-button">About</a>
<a href="labs/" class="w3-bar-item w3-button"><i class="fa fa-folder"></i>Labs</a>
<a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" class="w3-bar-item w3-button"><i class="fa fa-camera"></i>Videos</a>
<a href="https://github.com/mit-rss" class="w3-bar-item w3-button"><i class="fa fa-github-square"></i>Github</a>
</div>
<!-- Hide right-floated links on small screens and replace them with a menu icon -->
<a href="javascript:void(0)" class="w3-bar-item w3-button w3-right w3-hide-large w3-hide-medium" onclick="w3_open()">
<i class="fa fa-bars"></i>
</a>
</div>
</div>
<!-- Sidebar on small screens when clicking the menu icon -->
<nav class="w3-sidebar w3-bar-block w3-black w3-card w3-animate-left w3-hide-medium w3-hide-large" style="display:none" id="mySidebar">
<a href="javascript:void(0)" onclick="w3_close()" class="w3-bar-item w3-button w3-large w3-padding-16">Close X</a>
<a href="#about" onclick="w3_close()" class="w3-bar-item w3-button">About</a>
<a href="labs/" onclick="w3_close()" class="w3-bar-item w3-button">Labs</a>
<a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" onclick="w3_close()" class="w3-bar-item w3-button">Videos</a>
<a href="https://github.com/mit-rss" onclick="w3_close()" class="w3-bar-item w3-button">Github</a>
</nav>
<!-- End of repeated content on each page-->
<!-- Header with full-height image -->
<header class="title_img w3-display-container w3-grayscale-min" id="home">
<div class="w3-display-bottommiddle w3-text-white w3-center">
<h1>Team TA!</h1>
<p><a href="https://youtu.be/xLZU6TcSmRo" style="width:100%" class="w3-button w3-white w3-opacity w3-hover-opacity-off">
Innovation starts somewhere, so why not let it start here?
</a></p>
</div>
</header>
<div class="w3-container w3-white" style="padding:5% 5%">
<div class="w3-card team_member">
<img class="headshot" src="img/wall_e.jfif">
<h4>Tim Beaver</h4>
<p>[email protected]</p>
<p>These are some template bios; fill this in for each of your team members!
</p>
</div>
<div class="w3-card team_member">
<img class="headshot" src="img/r2.jpg">
<h4>Tim Beaver</h4>
<p>[email protected]</p>
<p>These are some template bios; fill this in for each of your team members!
</p>
</div>
<div class="w3-card team_member">
<img class="headshot" src="img/wall_e.jfif">
<h4>Tim Beaver</h4>
<p>[email protected]</p>
<p>These are some template bios; fill this in for each of your team members!
</p>
</div>
<div class="w3-card team_member">
<img class="headshot" src="img/r2.jpg">
<h4>Tim Beaver</h4>
<p>[email protected]</p>
<p>These are some template bios; fill this in for each of your team members!
</p>
</div>
<div class="w3-card team_member">
<img class="headshot" src="img/wall_e.jfif">
<h4>Tim Beaver</h4>
<p>[email protected]</p>
<p>These are some template bios; fill this in for each of your team members!
</p>
</div>
</div>
<!-- Contact Section -->
<div class="w3-container w3-grey" style="padding:5% 5%;text-align:center;" id="about">
<div class="w3-card w3-white" style="width:100%">
<h1>About Us</h1>
</div>
<div class="w3-cell w3-red" style="width:30%;float:left;min-height: 200px;">
<i class="fa fa-folder"></i> <!--Put an image here or something?-->
<p>Do something that is unique here. (You can change this to team values or something?)</p>
</div>
<div class="w3-cell w3-white" style="width:30%;margin-left:5%;float:left;min-height: 200px;">
<i class="fa fa-folder"></i><!--Put an image here or something?-->
<p>The TAs are not that unique, so we are just writing a lot of filler things here so we look cool.</p>
</div>
<div class="w3-cell w3-blue" style="width:30%;margin-left:5%;float:left;min-height: 200px;">
<i class="fa fa-folder"></i><!--Put an image here or something?-->
<p>Si vos es pulchellus frigus hanc: et admonitus in hoc genere digna est. It tristis et non dederint tibi. Benediximus</p>
</div>
</div>
</body>
<!-- Footer -->
<footer class="w3-center w3-black w3-padding-64">
<a href="#home" class="w3-button w3-light-grey"><i class="fa fa-arrow-up w3-margin-right"></i>To the top</a>
<p>Powered by <a href="https://www.w3schools.com/w3css/default.asp" title="W3.CSS" target="_blank" class="w3-hover-text-green">w3.css</a></p>
</footer>
<script>
// Modal Image Gallery
function onClick(element) {
document.getElementById("img01").src = element.src;
document.getElementById("modal01").style.display = "block";
var captionText = document.getElementById("caption");
captionText.innerHTML = element.alt;
}
// Toggle between showing and hiding the sidebar when clicking the menu icon
var mySidebar = document.getElementById("mySidebar");
function w3_open() {
if (mySidebar.style.display === 'block') {
mySidebar.style.display = 'none';
} else {
mySidebar.style.display = 'block';
}
}
// Close the sidebar with the close button
function w3_close() {
mySidebar.style.display = "none";
}
</script>
</html>