Skip to content

Commit

Permalink
Use column layout and update CI tooling
Browse files Browse the repository at this point in the history
Every single time I looked at my CV I got uncomfortable knowing that
part of the "most relevant" data was beyond the fold, or even worse, on
the second page when printed.

Although I'm not fan of columns, I think this is the best use for them,
since recruiters and hiring managers tend to qualify/discard most
resumes at simple glance (sadly).

As a public disclosure, I'm not a designer by any means so any feedback
on the visual part is appreciated :)

Signed-off-by: Jonnatan Jossemar Cordero <jossemargt@gmail.com>
  • Loading branch information
jossemarGT committed Oct 27, 2023
1 parent 63b886e commit f94068f
Show file tree
Hide file tree
Showing 4 changed files with 97 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
cmds: |
project init
project update
do print
do pdf
- uses: actions/upload-artifact@v3
with:
name: resume-artifacts
Expand Down
10 changes: 5 additions & 5 deletions dagger.cue
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ dagger.#Plan & {
"*.pdf",
]
}
"./dist/site": write: contents: actions.generate.generatePage.export.directories."docs"
"./dist/pdf": write: contents: actions.print.printPDF.export.directories."dist"
"./dist/site": write: contents: actions.site.generatePage.export.directories."docs"
"./dist/pdf": write: contents: actions.pdf.printPDF.export.directories."dist"
}
}
actions: {
generate: {
site: {
// Pull build context
pandoc: docker.#Pull & {
source: "portown/alpine-pandoc"
Expand Down Expand Up @@ -73,7 +73,7 @@ dagger.#Plan & {
}

}
print: {
pdf: {
// Pull build context
printer: docker.#Pull & {
source: "madnight/docker-alpine-wkhtmltopdf"
Expand All @@ -82,7 +82,7 @@ dagger.#Plan & {
// Prepare environment
_addPage: docker.#Copy & {
input: printer.output
contents: generate.generatePage.export.directories."docs"
contents: site.generatePage.export.directories."docs"
dest: "/data"
}

Expand Down
2 changes: 1 addition & 1 deletion docs/resume.template
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ $endif$
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>

<base target="_blank">
$for(header-includes)$
$header-includes$
$endfor$
Expand Down
91 changes: 90 additions & 1 deletion docs/stylesheets/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ h1,h2 {
padding-bottom: 5px;
}

h2 + .level3 {
margin: 0;
}

p, li {
font-size: 1.125rem;
line-height: 1.7;
Expand All @@ -40,7 +44,7 @@ a:hover {

table {
width:100%;
margin: 15px 0 0;
margin: 15px 0;
}

thead { display: none; }
Expand Down Expand Up @@ -95,6 +99,78 @@ strong + em::before {
text-align: justify;
}

section#work-experience {
float: left;
width: 84%;
margin-top: 10px;
}

section#skills {
float: right;
width: 13%;
margin-top: 10px;
}

section#education {
clear: both;
padding-top: 10px;
margin-top: 0;
}

section#work-experience h2, section#skills h2 {
margin-top: 0;
}

section#skills h2, section#skills ul {
text-align: center;
}

section#skills ul {
padding: 0;
margin: 0;
list-style: none;
}

section#skills li {
display: inline;
padding: 0;
font-size: 1rem;
}

section#skills li::after {
content: ', ';
}

section#skills li:last-child::after {
content: '';
}

@media not print {
@media (max-width: 820px) {
section#work-experience {
float: none;
width: 100%;
}

section#skills {
float: none;
width: 100%;
}

section#skills h2 {
text-align: left;
}

section#skills ul {
text-align: justify;
}

section#skills li {
font-size: 1.125rem;
}
}
}

@media print {
body {
padding: 0;
Expand Down Expand Up @@ -129,6 +205,18 @@ strong + em::before {

#main-header { margin: 0 0 5pt; }

section#work-experience {
width: 85%;
}

section#skills li {
font-size: 10pt;
}

section#education {
padding-top: 0;
}

.level1 h1 + p { display: none; }

.title, .tag-line { display: block; }
Expand All @@ -140,6 +228,7 @@ strong + em::before {
.level3 {
break-inside: avoid;
page-break-inside: avoid;
margin: 0;
}

h2 ~ .level3 h3 {
Expand Down

0 comments on commit f94068f

Please sign in to comment.