-
Notifications
You must be signed in to change notification settings - Fork 0
/
resume.html
101 lines (78 loc) · 3.46 KB
/
resume.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
<!Doctype>
<html>
<head>
<!-- Media query for narrow browser width -->
<link rel="stylesheet" media="only screen and (max-width: 480px)" href="styles/mobile.css">
<!-- Media query for medium browser width -->
<link rel="stylesheet" media="only screen and (min-width: 481px) and (max-width: 960px)" href="styles/tablet.css">
<!-- Media query for full browser width -->
<link rel="stylesheet" media="only screen and (min-width: 961px)" href="styles/desktop.css">
<!-- Prevent smartphones from scaling pages down -->
<meta name="viewport" content="initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Josefin+Sans" rel="stylesheet"> <!-- links to the google font -->
</head>
<body>
<header>
<a href="index.html">
<div class="homepage_initials"><h1>C J C</h1></div>
</a>
<nav> <!-- navgiation with high five feature - will be styled out later -->
<div class="dropdown">
<div class="dropbutton"> <!-- contains plain hand and high five hand logos -->
<img class="hand_logo" src="images/hand_logo.png">
<img class="high_five" src="images/high_five.png">
</div>
<div class="dropdown_content"> <!-- contains page jumps to different parts within the homepage -->
<a href="about.html">about</a>
<!--<!a href="http://i6.cims.nyu.edu/~cc4869/assignment6/#projects">projects</a>-->
<a href="resume.html">resume</a>
<a href="contact.html">contact</a>
</div>
<div class="high_five_text"><p>high five!</p></div> <!-- text underneath the logo -->
</div>
</nav>
<!-- this is the HAMBURGER NAVIGATION for tablet and mobile modes -->
<!-- source for hamburger nav - https://www.w3schools.com/howto/howto_js_dropdown.asp -->
<div class="hamburger" style="position:fixed;">
<button onclick="myFunction()" class="hamBtn"></button>
<div id="myDropdown" class="hamContent">
<a href="about.html">about</a>
<!--<a href="#projects">projects</a>-->
<a href="resume.html">resume</a>
<a href="contact.html">contact</a>
</div>
</div>
<!-- this is the JAVASCRIPT FOR THE HAMBURGER NAV -->
<script>
/* When the user clicks on the button, toggle between hiding and showing the dropdown content */
function myFunction() {
document.getElementById("myDropdown").classList.toggle("show");
}
/* Close the dropdown menu if the user clicks outside of it */
window.onclick = function(event) {
if (!event.target.matches('.hamBtn')) {
var dropdowns = document.getElementsByClassName("hamContent");
var i;
for (i = 0; i < dropdowns.length; i++) {
var openDropdown = dropdowns[i];
if (openDropdown.classList.contains('show')) {
openDropdown.classList.remove('show');
}
}
}
}
</script>
</header>
<a name="resume">
<div class="resume"> <!-- resume parent element -->
<div class="resume_text"> <!-- resume children elements -->
<h2>while you're here</h2>
<h3>you should take a look at my
<!-- <div class="resumelink">-->
<a class="resumelink" href="images/Campbell_Resume.pdf">resume</a></div></h3>
<!-- button that links to resume pdf - opens in new page -->
</div>
</div>
</a>
</body>
</html>