-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
144 lines (103 loc) · 4.9 KB
/
index.html
File metadata and controls
144 lines (103 loc) · 4.9 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Electronic Engineer, Software Developer, Avid Cyclist.">
<meta name="author" content="Chris Taylor">
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<meta name="msapplication-TileColor" content="#2d89ef">
<meta name="theme-color" content="#ffffff">
<meta property="og:title" content="Chris Taylor" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://christhebaron.co.uk/" />
<title>Chris Taylor</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.min.css"
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Raleway:200,500" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"
integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link href="style.css" rel="stylesheet">
</head>
<body>
<div id="box">
<div id="box-inner" role="main">
<h1>
Chris Taylor, BEng MIET
</h1>
<hr>
<p>
Software Developer,
Science Educator,
Electronic Engineer.
<br />
<small>
<u>
<a href="mailto:cv@christhebaron.co.uk">CV available on request.</a>
</u>
</small>
</p>
<div class="logos">
<a target="_blank" rel="noopener" href="https://www.linkedin.com/in/christhebaron" aria-label="LinkedIn">
<i class="fab fa-linkedin" title="Linkedin"></i>
</a>
<a target="_blank" rel="noopener" href="https://www.strava.com/athletes/christhebaron" aria-label="Strava">
<i class="fas fa-bicycle" title="Strava"></i>
</a>
<a target="_blank" rel="noopener" href="https://github.com/ChrisTheBaron" aria-label="Github">
<i class="fab fa-github-square" title="Github"></i>
</a>
<a target="_blank" rel="noopener" href="https://www.npmjs.com/~christhebaron" aria-label="npm">
<i class="fab fa-npm"></i>
</a>
<a href="mailto:hello@christhebaron.co.uk" aria-label="Email">
<i class="fas fa-envelope-square" title="Email"></i>
</a>
<a target="_blank" rel="noopener" href="https://mobro.co/christhebaron" aria-label="Movember">
<i class="fa-regular fa-heart"></i>
</a>
</div>
<hr>
<small>
<u>
<a href="projects">See what I'm working on.</a>
</u>
</small>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm" crossorigin="anonymous"></script>
<script>
function updateHeight() {
const visibleHeight = window.innerHeight || document.body.clientHeight || document.documentElement.clientHeight;
const visibleWidth = window.innerWidth || document.body.clientTop || document.documentElement.clientWidth;
var boxHeight;
var boxMargin;
var boxWidth;
if (visibleHeight < 720) {
boxHeight = Math.max(340, visibleHeight * 0.6);
} else {
boxHeight = visibleHeight * 0.5;
}
boxMargin = (visibleHeight - boxHeight) / 2;
if (visibleWidth < 720) {
boxWidth = visibleWidth * 0.9;
} else {
boxWidth = visibleWidth * 0.5;
}
let style = document.getElementById('box').style;
style.height = boxHeight + "px";
style.marginTop = boxMargin + "px";
style.width = boxWidth + "px";
}
updateHeight();
window.addEventListener("orientationchange", updateHeight);
window.addEventListener('resize', updateHeight);
</script>
</body>
</html>