Skip to content

Commit

Permalink
Add standard style resume
Browse files Browse the repository at this point in the history
  • Loading branch information
c0bra committed Jan 9, 2018
1 parent 6de9129 commit 42cfc37
Show file tree
Hide file tree
Showing 10 changed files with 3,317 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Expand Up @@ -58,4 +58,8 @@ typings/
.env

# next.js build output
.next
.next

# Test files
./*.html
./*,.pdf
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -46,7 +46,7 @@
"html-pdf": "^2.0.1",
"inliner": "^1.13.1",
"less": "^2.6.1",
"marked": "~0.3.5",
"marked": "^0.3.12",
"meow": "^4.0.0",
"mustache": "^2.2.1",
"nyc": "^11.4.1",
Expand Down
2 changes: 1 addition & 1 deletion resume.html

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion src/markdown-resume.js
Expand Up @@ -53,7 +53,10 @@ module.exports = (fileName, template = 'default') => {
}

return Promise.all([
marked(sourceContents),
marked(sourceContents, {
gfm: true,
sanitize: false,
}),
getTemplateStyles(template),
getTemplateHtml(template),
]);
Expand Down
1 change: 1 addition & 0 deletions standard.html

Large diffs are not rendered by default.

Binary file added standard.pdf
Binary file not shown.
75 changes: 75 additions & 0 deletions templates/standard/assets/less/new.less
@@ -0,0 +1,75 @@
.standard-resume {
position: relative;
width: 580px;
margin: 0 auto;
display: block;
font-size: 16px;
font-weight: 300;

blockquote {
right: 0;
top: -18px;
position: absolute;
padding: 0;
margin: 0;
}

h2 {
color: #323336;
margin-top: 45px;
text-transform: none;
font-size: 16px;
font-weight: 300;
}

h3 {
// margin-top: 45px;
margin-top: 72px;
margin-bottom: 36px;
color: #c9cccf;
text-transform: uppercase;
font-size: 12px;
}

p {
color: #96999b;
}

hr {
display: none;
}

ol, ul {
padding: 0;
margin: 0;
list-style: none;
zoom: 1;

li {
float: left;
padding: 5px 18px;
background-color: #f1f5f7;
margin-right: 3px;
margin-bottom: 12px;
font-size: 14px;
}
}

h3 ~ p {
color: #323336;
line-height: 1.66em;
margin-top: 40px;

strong {
text-transform: uppercase;
font-size: 18px;
font-weight: 600;
padding-bottom: 12px;
}

em {
color: #96999b;
font-style: normal;
}
}
}

0 comments on commit 42cfc37

Please sign in to comment.