-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcampus_1.html
166 lines (127 loc) · 7 KB
/
campus_1.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
<!-- Folder Path: externalfile:drive-54d075a4176046d2af4b939bf18339e156aa1a7f/root/School/Fall%202018/67-240/Group%20Project/code/ -->
<!DOCTYPE html>
<html>
<head>
<meta name="author" content="George Vlastarakis">
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>OCGuide</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link href="css/navigation.css" type="text/css" rel="stylesheet"/>
<link href="css/easy_access.css" type="text/css" rel="stylesheet"/>
<style>
/*
Width and Height reference percentages:
- Navigation: 15.55556 %
- Content (under navigation): 201.1111 %
*/
@import url('https://fonts.googleapis.com/css?family=EB+Garamond');
@import url('https://fonts.googleapis.com/css?family=Roboto');
@import url('https://fonts.googleapis.com/css?family=Open+Sans');
/* General styling */
* {
box-sizing: border-box;
margin: 0px;
padding: 0px;
font-family: 'Open Sans';
}
img {
width: 100%;
height: 100%;
}
#start:hover {
background-color: #FFF7FC;
}
.easy_access_index_item:last-child {
background-color: #3F87FC;
color: #FFFFFF;
}
.easy_access_index_item:last-child:hover {
background-color: #5F97FC;
}
</style>
</head>
<body>
<div id="burger_menu">
<img src="x_icon.png" alt="x_icon" id="x_icon" onclick="closeNav()">
<div class="burger_menu_primary_item"> <a href="home.html">Home</a> </div>
<div class="burger_menu_primary_item" onclick="openSub('sub_easy_access')"> Easy Access </div>
<div class="burger_menu_secondary_item sub_easy_access"> <a href="emergency_0.html">Emergency</a> </div>
<div class="burger_menu_secondary_item sub_easy_access"> <a href="health_0.html">Health + Support</a> </div>
<div class="burger_menu_secondary_item sub_easy_access"> <a href="academic_0.html">Academic + Career</a> </div>
<div class="burger_menu_secondary_item sub_easy_access"> <a href="campus_0.html">Campus Community</a> </div>
<div class="burger_menu_secondary_item sub_easy_access"> <a href="facilities_0.html">Facilities</a> </div>
<div class="burger_menu_primary_item"> <a href="all_resources.html"><i>All Resources</i></a> </div>
<div class="burger_menu_primary_item" onclick="openSub('sub_training')"> Training </div>
<div class="burger_menu_secondary_item sub_training"> <a href="emergency_1.html">Emergency</a> </div>
<div class="burger_menu_secondary_item sub_training"> <a href="health_1.html">Health + Support</a> </div>
<div class="burger_menu_secondary_item sub_training"> <a href="academic_1.html">Academic + Career</a> </div>
<div class="burger_menu_secondary_item sub_training"> <a href="campus_1.html">Campus Community</a> </div>
<div class="burger_menu_secondary_item sub_training"> <a href="facilities_1.html">Facilities</a> </div>
<div class="burger_menu_primary_item"> <a href="quiz.html">Quiz</a> </div>
</div>
<div class="container-fluid">
<div class="row" id="page">
<!-- This is the navigation element, responsive on all pages. -->
<div id="nav" class="col-12" style="padding: 0px;">
<!-- This is the mobile navigation element, for small screens and tablets -->
<div class="row mobile_navigation">
<div class="burger_menu_icon" onclick="openNav()">
<img src="burger_menu_unbalanced_boxes.png" alt="photo">
</div>
<div class="navigation_title">
<img src="CMU_Logo_Horiz_Red.png" alt="cmu logo" id="cmu_logo">
<p style="font-family: 'Open Sans'; font-weight: 700;"> Orientation Resource Guide </p>
</div>
</div>
<!-- This is the desktop navigation element, for large screens -->
<div class="col-8 desktop_navigation">
<div class="row">
<div class="burger_menu_icon" onclick="openNav()">
<img src="burger_menu_unbalanced_boxes_black.png" alt="photo">
</div>
<div class="navigation_title">
<img src="CMU_Logo_Horiz_Red.png" alt="cmu logo" id="cmu_logo">
<p style="font-family: 'Open Sans'; font-weight: 700;"> Orientation Resource Guide </p>
</div>
</div>
</div>
</div>
<!-- End of Navigation Elements -->
<div class="col-11 col-lg-8 easy_access_index_box">
<div class="easy_access_index_title"> CAMPUS COMMUNITY </div>
<div class="row justify-content-center mb-3 mb-lg-5" style="color: #3F87FC;">
<div class="col-10 col-md-4 easy_access_index_item" onclick="location.href='alumni_1.html';"> Alumni Association </div>
<div class="col-10 col-md-4 easy_access_index_item" onclick="location.href='diversity_1.html';"> Center of Student Diversity and Inclusion </div>
<div class="col-10 col-md-4 easy_access_index_item" onclick="location.href='alumni_1.html';"> Start </div>
</div>
</div>
</div>
</div>
<script>
function openNav() {
document.getElementById("burger_menu").style.display = "block";
document.getElementById("nav").style.display = "none";
}
function closeNav() {
document.getElementById("burger_menu").style.display = "none";
eles = document.getElementsByClassName('burger_menu_secondary_item');
for (i = 0; i < eles.length; i++) {
eles[i].style.display = "none";
}
document.getElementById("nav").style.display = "block";
}
function openSub(category) {
eles = document.getElementsByClassName(category);
for (i = 0; i < eles.length; i++) {
eles[i].style.display = "block";
}
}
</script>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
</body>
</html>