Resume to post on website or print to PDF.
Find a file
Min-Zhong "John" Lu 999d9a973a Associate date's range "bar" to the second date-span element, as a pseudoelement.
This allow a sole <span> element in <div class="date"> to display without a bar, which in turn allows us to achieve sematic consistency between single dates and date ranges.
2017-10-07 21:59:46 -07:00
dep Update normalize.css to 7.0.0 2017-10-07 21:50:10 -07:00
.gitmodules Add the html, css, and the dependencies 2016-04-09 18:38:36 -04:00
firefox_result.pdf Add exemplary rendered PDF from Firefox on OS X 2016-04-09 18:42:42 -04:00
LICENSE Update LICENSE 2016-04-11 03:04:31 -04:00
README.md Fix link titles in README 2017-10-07 21:56:57 -07:00
resume.html Associate date's range "bar" to the second date-span element, as a pseudoelement. 2017-10-07 21:59:46 -07:00
style.css Associate date's range "bar" to the second date-span element, as a pseudoelement. 2017-10-07 21:59:46 -07:00

html-resume

A single-page résumé template done purely with HTML and CSS, which can be rendered into PDF through web browsers' print-to-PDF functionality, making a nice, sleek, professsional and ready-to-print résumé. See my living example at: http://mnjul.net/cv/resume.pdf

As the résumé is purely typeset with HTML and CSS, it's highly customizable (e.g. if you want an "objective" section, just copy-paste a few HTML elements) and does not require proprietary software. All you need is a text editor and a web browser (see compatibility section below). Oh, maybe some intermediate CSS knowledge. And, since it's open source with Apache License, you're allowed (and encouraged!) to create your own fine-tuned template and share with others.

Find the background story of this project at my blog.

Compatibility and Known Issues/Limitations

  • I have only tested this project on latest release version of Firefox (56 as of writing) and Google Chrome (61) on macOS 10.13 (High Sierra).
  • It's my intention to support other browsers/platforms (like IE Edge on Windows?) as long as the browser sufficiently supports the required CSS features: calc(), var(), flexbox, ...etc, and does not require (too many) dirty tricks. PRs or comments welcome!
  • No hyperlinking functionality in rendered PDF as browers's print-to-PDF process is merely "flattening to digital paper".
  • Other browser-specific hacks are as commented in the code.

Fonts, Icon Fonts, and Dependencies

  • Open Sans and Source Sans Pro are used at various weights, but are not included in this repository. Please follow the links to download the fonts onto your computer.
  • Icons from Font Awesome are used and are incorporated as a git submodule in this repository.
  • Normalize.css is used and is incorporated as a git submodule in this repository.

Paper Size/Orientation

  • Currently letter portrait only. PRs welcome for other paper sizes --- especially A4!

Actually Rendering the PDF

  • Again...I've only tried on the said version of Firefox & Chrome, on macOS.
  • Just open the HTML file with the browser. No need to serve the document from any kind of web server --- the file:/// protocol should be good enough.
  • On Firefox:
    • You probably need to remove any page margins in about:config.
    • Uncheck Ignore Scaling and Shrink To Fit Page Width.
    • Check Print Background Colors.
    • Clear out the headers and footers.
    • Save as PDF.
  • On Google Chrome:
    • Set Margin to None.
    • Print Background Graphics.
    • Don't print headers and footers.
    • Save as PDF.

Footnotes and License

  • If you ever print out the rendered PDF, make sure texts are not clipped off, or items have not unexpectedly shrunk. Additionally, since the PDF has no margin outside the shaded sidebar, while most printers have no-print areas, the shaded sidebar probably won't fill up to the page's edge when printed.
  • This project is licensed under the Apache License.
  • PR, forks and other comments/suggestions are, as always, super welcome.
  • Feel free to remove the #disclaimer block which links back to this repository --- but huge thanks if you decide to keep it.
  • The layout/design was inspired by Paolo Zupin. Also, if anyone knows which link I should put under Mr. Zupin's name, please tell me!