-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html.tmpl
103 lines (101 loc) · 2.67 KB
/
index.html.tmpl
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cole Koester</title>
<link rel="icon" type="image/svg+xml" href="/cat.svg">
<style>
body {
font-family: Arial, sans-serif;
line-height: 1.6;
color: #333;
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
h1, h2, h3, h4 {
color: #2c3e50;
margin: 0;
}
.header {
text-align: center;
margin-bottom: 30px;
text-align: left;
}
.experience-item {
margin-bottom: 20px;
}
.experience-header {
display: flex;
justify-content: space-between;
align-items: baseline;
}
.company-location {
font-style: italic;
color: #7f8c8d;
margin: 0;
}
ul {
margin: 0;
}
.download-button {
position: fixed;
top: 20px;
left: calc(50% + 400px + 20px); /* Positions it to the right of the content */
z-index: 1000;
}
.download-button a {
display: block;
transition: opacity 0.3s ease;
}
.download-button a:hover {
opacity: 0.7;
}
.download-button img {
width: 40px;
height: 40px;
}
@media (max-width: 840px) {
.download-button {
left: auto;
right: 20px;
}
}
</style>
</head>
<body>
<div class="header">
<h1>Cole Koester</h1>
<div class="download-button">
<a href="/resume.pdf" download>
<img src="/download.svg" alt="Download Resume" width="40" height="40">
</a>
</div>
<p>{{.Header.Summary}}</p>
</div>
{{- range .Experience}}
<div class="experience-item">
<div class="experience-header">
<h3>{{- .Company}}</h3>
<span>{{- .Location}}</span>
</div>
<p class="company-location">{{.Title}}, {{.Start}} - {{.End}}</p>
{{- range .Entries}}
<h4>{{- .Title}}</h4>
<ul>
{{- range .Content}}
<li>{{.}}</li>
{{- end}}
</ul>
{{- end}}
</div>
{{- end}}
<h2>Competencies</h2>
{{- range .Competencies}}
<ul>
<li>{{.Title}}: {{range .Content}}{{.}}{{end}}.</li>
</ul>
{{- end}}
</body>
</html>