-
Notifications
You must be signed in to change notification settings - Fork 33
/
index.html
115 lines (112 loc) · 2.9 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
<html>
<head>
<title>Almost Real Resume</title>
<style>
html,
body {
margin: 0;
padding: 0;
}
iframe {
width: 100vw;
height: calc(100vh - 120px);
margin: 0;
padding: 0;
outline: none;
border: none;
margin-top: 120px;
}
.header {
font-family: Ubuntu;
position: fixed;
height: 120px;
width: 100vw;
top: 0;
left: 0;
background: #fff18f;
border-bottom: 4px solid #111;
}
.viewcode {
text-decoration: none;
font-size: 13px;
color: #fff18f;
background-color: #111;
padding: 6px 14px;
}
.title {
max-width: 600px;
margin: auto;
display: flex;
justify-content: space-between;
padding: 10px;
}
.byline {
padding: 10px;
font-size: 11px;
max-width: 600px;
margin: auto;
}
</style>
<script type="application/javascript">
function setIframeHeight(iframe) {
if (iframe) {
var iframeWin =
iframe.contentWindow || iframe.contentDocument.parentWindow;
if (iframeWin.document.body) {
iframe.height =
iframeWin.document.documentElement.scrollHeight ||
iframeWin.document.body.scrollHeight;
// iframe.width = 300;
}
}
}
window.onload = function () {
setIframeHeight(document.getElementById("iFrame1"));
};
</script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Ubuntu:400,500,700"
defer
/>
<div class="header">
<div class="title">
<div>
<span style="font-weight: 600;">ALMOST REAL RESUME</span>
<br />
<span style="color: #555; font-size: 10px;"
>use this for your next job application, maybe not.
</span>
</div>
<a
class="viewcode"
href="https://github.com/jsonresume/jsonresume-fake"
target="_blank"
>VIEW CODE</a
>
</div>
<div class="byline">
All the contents below are generated using a machine learning based
neural network.
<p>Reload this page for your next almost real resume!</p>
</div>
</div>
<iframe id="iFrame1" src="https://fake.jsonresume.org/resume"></iframe>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=UA-74754546-3"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "UA-74754546-3");
</script>
</body>
</html>