-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
138 lines (87 loc) · 2.93 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Jacob Roedel</title>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="assets/css/main.css" />
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css">
<script src="https://kit.fontawesome.com/f09b.js" crossorigin="anonymous"></script>
<link href="style.css" rel="stylesheet">
</head>
<style>
a{
color:transparent;
animation: 4s appear 1 1.5s forwards;
}
p{
color:transparent;
animation: 4s appear 1 2s forwards;
text-align: center;
}
h1{
color: transparent;
animation: 4s appear 1 2s forwards;
}
h2{
color:transparent;
animation: 4s appear 1 2s forwards;
text-align: center;
}
table{
animation: 4s appear 1 2s forwards;
}
.centered{
font-family: garamond;
font-weight: bold;
font-style: italic;
font-size: xx-large;
}
mark{
color: transparent;
background-color: transparent;
animation: 4s links forwards 2s;
font-size: medium;
}
</style>
<body id ="main-body" style = "background-color: white; color: black;">
<div class="container">
<img src="casey-horner-pArjs_G6m4Y-unsplash.jpg" alt="Snow" style="width:100%;">
<div class="centered" style="font-size: xxx-large;">
<p1 class = "name">Jacob Roedel</p1>
</div>
<div class="centered-bottom">
<p1 class = "cs" style = "font-size: 40px;">Computer Science @ GWU</p1>
</div>
</div>
<div class = "subjects" style = "font-family: garamond;">
<a href="aboutme.html" ><div class = "abMeBox"><i><b>About Me</b></i></a>
</div>
<a href="projects.html" ><div class = "projsBox"><i><b>Projects</b></i></a>
</div>
</div>
<div class = "subjects" style = "font-family: garamond;">
<a href="Jacob Roedel - Resume.pdf" target = "_blank" ><div class = "resBox"><i><b>Resume</b></i></a>
</div>
<a href="contactme.html" ><div class = "contBox"><i><b>Contact Me</b></i></a>
</div>
</div>
<button onclick="goToTop()" id = "topBtn">Back To Top</button>
<script>
//Get the button
var mybutton = document.getElementById("topBtn");
// When the user scrolls down 20px from the top of the document, show the button
window.onscroll = function() {scrollFunction()};
function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
mybutton.style.display = "block";
} else {
mybutton.style.display = "none";
}
}
function goToTop() {
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
}
</script>
</body>
</html>