html-resume/README.md

42 lines
3.7 KiB
Markdown
Raw Normal View History

2016-04-09 23:17:06 +00:00
# html-resume
2016-04-10 01:02:28 +00:00
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
2016-04-09 23:17:06 +00:00
2016-04-09 23:50:07 +00:00
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.
2016-04-10 01:02:28 +00:00
# Compatibility and Known Issues/Limitations
2016-04-09 23:50:07 +00:00
* I have only tested this project on latest release version of Firefox (45) and Google Chrome (49) on OS X 10.11 (El Capitan).
* 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!
2016-04-10 01:02:28 +00:00
* **No hyperlinking functionality in rendered PDF** as browers's print-to-PDF process is merely "flattening to digital paper".
2016-04-09 23:50:07 +00:00
* It appears that Google Chrome doesn't show the customized bullet points for the first-column items in two-column lists as in the ``concise`` block (in the example file, the last block of the Education section). You may work around this by reverting back to using built-in ``list-style-type``, or just don't use the two-column lists.
2016-04-10 01:02:28 +00:00
* Other browser-specific hacks are as commented in the code.
2016-04-09 23:17:06 +00:00
# Fonts, Icon Fonts, and Dependencies
* [Open Sans](https://www.google.com/fonts/specimen/Open+Sans) and [Source Sans Pro](https://www.google.com/fonts/specimen/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.
2016-04-09 23:50:07 +00:00
* Icons from [Font Awesome] (https://fortawesome.github.io/Font-Awesome/) are used and are incorporated as a git submodule in this repository.
* [Normalize.css] (https://necolas.github.io/normalize.css/) is used and is incorporated as a git submodule in this repository.
2016-04-09 23:17:06 +00:00
# Paper Size/Orientation
* Currently letter portrait only. PRs welcome for other paper sizes --- especially A4!
2016-04-09 23:50:07 +00:00
# Actually Rendering the PDF
2016-04-09 23:17:06 +00:00
* Again...I've only tried on the said version of Firefox & Chrome, on OS X.
2016-04-09 23:50:07 +00:00
* 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.
2016-04-09 23:17:06 +00:00
* 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 Images**.
* Clear out the headers and footers.
2016-04-09 23:50:07 +00:00
* Save as PDF.
2016-04-09 23:17:06 +00:00
* On Google Chrome:
* Set **Margin** to **None**.
* Print **Background Graphics**.
* Don't print headers and footers.
2016-04-09 23:50:07 +00:00
* Save as PDF.
2016-04-09 23:17:06 +00:00
# Footnotes and License
2016-04-09 23:50:07 +00:00
* 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.
2016-04-09 23:17:06 +00:00
* Feel free to remove the ``#disclaimer`` block which links back to this repository --- but huge thanks if you decide to keep it.
2016-04-09 23:50:07 +00:00
* 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!