-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.html
More file actions
150 lines (136 loc) · 5.3 KB
/
main.html
File metadata and controls
150 lines (136 loc) · 5.3 KB
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
<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" href="/styles.css" />
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0" />
<title>GTFlint</title>
<link rel="icon" type="image/png" href="/icons/GTFlint-NoBG.png">
<script type="text/javascript" src="navBar.js"></script>
</head>
<body>
<main>
<div id="navbar" class="glow">
<a class="navbarItem left" href="#home">Home</a>
<a class="navbarItem left" href="#about">Bio</a>
<a class="navbarItem left" href="/portfolio/portfolio.html">Portfolio</a>
<a class="navbarItem right" href="/link/email.html" target="_blank"><img src="/icons/email-Icon.png" class="inverted"></a>
</div>
<div id="headerImg" style="z-index:98;position:fixed;transition:0.45s;width:360px;left:calc(50vw - 180px);top:50px;height:240px;">
<a href="#home"><img src="/icons/GTFlint.png" class="glow" style="transition:0.45s;width:100%;height:100%;text-align:center;display:block;"></a>
</div>
<div class="section" id="home" style="height:100vh;text-align:centre;">
<table>
<tr>
<td style="height:100px"></td>
</tr>
<tr>
<td class="medium-devider"></td>
</tr>
<tr>
<td style="text-align: center"><h1>Hi!</h1></td>
</tr>
<tr>
<td style="text-align: center"><p>I'm George.<br></p></td>
</tr>
<tr>
<td style="text-align: center"><p>Here are some of the things I've made and done.</p></td>
</tr>
<tr>
<td class="small-devider"></td>
</tr>
</table>
<div style="position:absolute;top:calc(1vh + 50px - 17px);left:calc(99vw - 17px);">
<a href="#about"><p><i id="scrollArrowHome" class="arrow down"></i></p></a>
</div>
</div>
<div class="parallax" style="background-image:url('/icons/GTFlint-small.png')"></div>
<div class="section" id="about" style="position:relative;top:-50px;">
<img src="/icons/GTFlint.png">
<table>
<tr>
<td style="height:50px;"></td>
</tr>
<tr>
<td class="medium-devider"></td>
</tr>
<tr>
<td><h2 style="margin-right:10vw;margin-left:10vw;">About Me</h2></td>
</tr>
<tr>
<td><p style="margin-right:10vw;margin-left:10vw;">
I'm George. I can code in C#, Python, and to a certain extent HTML & CSS.<br>
<br>
I enjoy spending my free time coding, mostly creating or modifying games as I love the community and spirit that is built up behind some games, and it is great to be able to feel that you are contributing. More information can be found by scrolling down!
</p></td>
</tr>
<tr>
<td class="medium-devider"></td>
</tr>
</table>
<div style="position:absolute;top:calc(1vh + 50px - 17px);left:calc(99vw - 17px);">
<a href="#portfolio"><p><i id="scrollArrowAbout" class="arrow down"></i></p></a>
</div>
</div>
<div class="parallax" style="background-image:url('/icons/GTFlint-small.png')"></div>
<div class="section" id="portfolio">
<table>
<tr>
<td class="extra-large-devider"></td>
</tr>
<tr>
<td><iframe src="/embeds/SlideShow.html" scrolling="no" style="border:0;width:90vw;height:50vh;overflow:hidden;min-height:325px;min-width:500px;max-height:450px;max-width:1250px;"></iframe></td>
</tr>
<tr>
<td class="medium-devider"></td>
</tr>
</table>
</div>
<div class="parallax" style="background-image:url('/icons/GTFlint-small.png')"></div>
<div class="section" id="siteInfo">
<table>
<tr>
<td class="small-devider"></td>
</tr>
<tr>
<td> <a class="navbarItem contactMe" href="/link/email.html" target="_blank"><img src="/icons/email-Icon.png" class="inverted"></a> </td>
</tr>
<tr>
<td><p>© George T. Flint. Hosted by <a href="https://pages.github.com" target="_blank">GitHub Pages</a> from <a href="https://github.com/gtflint/gtflint.github.io" target="_blank">this source code.</a></p></td>
</tr>
<tr>
<td class="small-devider"></td>
</tr>
</table>
</div>
<script>
var prevScrollpos = window.pageYOffset;
window.onscroll = function() {
var currentScrollPos = window.pageYOffset;
if (currentScrollPos > 90) {
if (currentScrollPos > 100){
if (currentScrollPos > 110){
document.getElementById("headerImg").style.width = "180px";
document.getElementById("headerImg").style.height = "120px";
document.getElementById("headerImg").style.left = "calc(50vw - 90px)";
} else {
document.getElementById("headerImg").style.width = "240px";
document.getElementById("headerImg").style.height = "160px";
document.getElementById("headerImg").style.left = "calc(50vw - 120px)";
}
} else {
document.getElementById("headerImg").style.width = "300px";
document.getElementById("headerImg").style.height = "200px";
document.getElementById("headerImg").style.left = "calc(50vw - 150px)";
}
} else {
document.getElementById("headerImg").style.width = "360px";
document.getElementById("headerImg").style.height = "240px";
document.getElementById("headerImg").style.left = "calc(50vw - 180px)";
}
prevScrollpos = currentScrollPos;
}
</script>
</main>
</body>
</html>