mirror of
https://github.com/there4/markdown-resume.git
synced 2024-12-03 08:59:35 -05:00
New Blockish theme
* Adding a new blockish theme with a blue header and an adaptive design. * Printable PDF version still needs some work, but overall, this is a nice layout.
This commit is contained in:
parent
de7d544e11
commit
54c28189e1
@ -6,6 +6,7 @@ at the [blog post for the project][blog].
|
|||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
|
* Three styles to choose from: modern, blockish, unstyled
|
||||||
* PDF generation via `wkhtmltopdf`
|
* PDF generation via `wkhtmltopdf`
|
||||||
* Responsive design for multiple device viewport sizes
|
* Responsive design for multiple device viewport sizes
|
||||||
* Simple Markdown formatting
|
* Simple Markdown formatting
|
||||||
@ -19,6 +20,10 @@ at the [blog post for the project][blog].
|
|||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
Choose a template with the -t option.
|
||||||
|
|
||||||
|
php ./bin/resume.php --source resume/sample.md -t blockish
|
||||||
|
|
||||||
If you want to edit your markdown resume in your editor while watching it
|
If you want to edit your markdown resume in your editor while watching it
|
||||||
update in your browser, run this command:
|
update in your browser, run this command:
|
||||||
|
|
||||||
@ -40,9 +45,7 @@ on descendant and adjacent selectors.
|
|||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
|
|
||||||
* Additional styles
|
|
||||||
* Google Analytics include
|
* Google Analytics include
|
||||||
* Command line documentation
|
|
||||||
|
|
||||||
## Acknowledgments
|
## Acknowledgments
|
||||||
|
|
||||||
|
@ -15,23 +15,25 @@ use Assetic\Filter;
|
|||||||
|
|
||||||
// Application defaults
|
// Application defaults
|
||||||
$config = (object) array(
|
$config = (object) array(
|
||||||
"source" => "",
|
"source" => "",
|
||||||
"template" => "modern",
|
"template" => "modern",
|
||||||
"refresh" => false,
|
"refresh" => false,
|
||||||
"pdf" => false
|
"pdf" => false
|
||||||
);
|
);
|
||||||
|
|
||||||
// Command line arguments to populate the config
|
// Command line arguments to populate the config
|
||||||
$opts = array(
|
$opts = array(
|
||||||
"s:" => "source:", // source
|
"s:" => "source:", // source
|
||||||
"t:" => "template:", // template
|
"t:" => "template:", // template
|
||||||
"r" => "refresh", // refresh
|
"r" => "refresh", // refresh
|
||||||
"p" => "pdf" // pdf output
|
"p" => "pdf" // pdf output
|
||||||
);
|
);
|
||||||
|
|
||||||
// Fetch the options from the command line arguments
|
// Fetch the options from the command line arguments
|
||||||
$options = getopt(implode("", array_keys($opts)), array_values($opts));
|
$options = getopt(implode("", array_keys($opts)), array_values($opts));
|
||||||
|
|
||||||
|
// Consolidate the short and long options into the config array
|
||||||
|
// Make sure that boolean options are set appropriately.
|
||||||
foreach ($opts as $short => $long) {
|
foreach ($opts as $short => $long) {
|
||||||
$isBool = (substr($short, -1, 1) !== ":");
|
$isBool = (substr($short, -1, 1) !== ":");
|
||||||
$short = trim($short, ":");
|
$short = trim($short, ":");
|
||||||
|
@ -42,12 +42,12 @@ Progressively evolve cross-platform ideas before impactful infomediaries. Energi
|
|||||||
|
|
||||||
### Experience {#experience}
|
### Experience {#experience}
|
||||||
|
|
||||||
Microsoft
|
Initrode Conglomerated
|
||||||
: *Principal and Creative Lead*
|
: *Principal and Creative Lead*
|
||||||
__2004-2005__
|
__2004-2005__
|
||||||
Intrinsicly transform flexible manufactured products without excellent intellectual capital. Energistically evisculate orthogonal architectures through covalent action items. Assertively incentivize sticky platforms without synergistic materials.
|
Intrinsicly transform flexible manufactured products without excellent intellectual capital. Energistically evisculate orthogonal architectures through covalent action items. Assertively incentivize sticky platforms without synergistic materials.
|
||||||
|
|
||||||
International Business Machines (IBM)
|
Gizmonic Institute Company (GIM)
|
||||||
: *Lead Web Designer*
|
: *Lead Web Designer*
|
||||||
__2001-2004__
|
__2001-2004__
|
||||||
Globally re-engineer cross-media schemas through viral methods of empowerment. Proactively grow long-term high-impact human capital and highly efficient innovation. Intrinsicly iterate excellent e-tailers with timely e-markets.
|
Globally re-engineer cross-media schemas through viral methods of empowerment. Proactively grow long-term high-impact human capital and highly efficient innovation. Intrinsicly iterate excellent e-tailers with timely e-markets.
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
body.pdf {
|
body.pdf {
|
||||||
color: black;
|
color: black;
|
||||||
|
background: none;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
@ -18,6 +19,9 @@ body.pdf {
|
|||||||
.resume {
|
.resume {
|
||||||
position:relative;
|
position:relative;
|
||||||
padding: 40px 80px;
|
padding: 40px 80px;
|
||||||
|
|
||||||
|
-webkit-box-shadow: none;
|
||||||
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
a[href$='.pdf'] {
|
a[href$='.pdf'] {
|
||||||
@ -48,10 +52,13 @@ body.pdf {
|
|||||||
}
|
}
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
top: 40px;
|
top: 45px;
|
||||||
right: 50px;
|
right: 50px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
blockquote a {
|
||||||
|
color: #F7F2C7;
|
||||||
|
}
|
||||||
|
|
||||||
ul li {
|
ul li {
|
||||||
width: 28%;
|
width: 28%;
|
||||||
|
File diff suppressed because one or more lines are too long
@ -7,6 +7,21 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
@media screen and (min-width: 15em) {
|
@media screen and (min-width: 15em) {
|
||||||
|
h1 {
|
||||||
|
padding: 40px 0 0 40px;
|
||||||
|
}
|
||||||
|
h2 {
|
||||||
|
padding: 0 30px 0 43px;
|
||||||
|
}
|
||||||
|
blockquote {
|
||||||
|
margin: -20px -20px 10px;
|
||||||
|
padding: 10px 20px 10px;
|
||||||
|
}
|
||||||
|
#profile+p {
|
||||||
|
width: 100%;
|
||||||
|
margin: 0 -10px;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -17,6 +32,30 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
@media screen and (min-width: 30em) {
|
@media screen and (min-width: 30em) {
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
margin: -40px -50px 0;
|
||||||
|
padding: 40px 0 0 40px;
|
||||||
|
font-size: 36px;
|
||||||
|
letter-spacing: -1px;
|
||||||
|
font-weight: 900;
|
||||||
|
text-transform: uppercase;
|
||||||
|
background: @headerBackground;
|
||||||
|
border-top: 5px solid #333333;
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
h2 {
|
||||||
|
background: @headerBackground;
|
||||||
|
margin: -10px -50px 0;
|
||||||
|
padding: 0 0 40px 43px;
|
||||||
|
font-size: 18px;
|
||||||
|
letter-spacing: -1px;
|
||||||
|
font-weight: normal;
|
||||||
|
color: #F7F2C7;
|
||||||
|
}
|
||||||
|
blockquote {
|
||||||
|
margin-top: -50px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -28,15 +67,21 @@
|
|||||||
|
|
||||||
@media screen and (min-width: 37.5em) {
|
@media screen and (min-width: 37.5em) {
|
||||||
body {
|
body {
|
||||||
padding: 2em 0;
|
padding: 20px 0;
|
||||||
}
|
}
|
||||||
blockquote {
|
blockquote {
|
||||||
top: 10px;
|
top: 10px;
|
||||||
right: 50px;
|
right: 50px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
h1 { /* Open up the top section height so we don't collapse on the blockquote */
|
h1 { /* Open up the top section height so we don't collapse on the blockquote */
|
||||||
margin-top: .5em;
|
margin-top: -30px;
|
||||||
|
padding-left: 40px;
|
||||||
|
}
|
||||||
|
h2 {
|
||||||
|
padding-bottom: 55px;
|
||||||
|
padding-left: 43px;
|
||||||
}
|
}
|
||||||
ol {
|
ol {
|
||||||
margin: 0 0 0 1em;
|
margin: 0 0 0 1em;
|
||||||
@ -48,6 +93,10 @@
|
|||||||
ol li:nth-child(1), ol li:nth-child(2) {
|
ol li:nth-child(1), ol li:nth-child(2) {
|
||||||
border-top: none;
|
border-top: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
margin-top: -10px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -71,16 +120,12 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
h1 {
|
h1 {
|
||||||
margin-top: 0;
|
|
||||||
font-size: 48px;
|
font-size: 48px;
|
||||||
text-transform: uppercase;
|
margin-top: -45px;
|
||||||
letter-spacing: 3px;
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
}
|
||||||
h2 {
|
h2 {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-style: italic;
|
letter-spacing: 1px;
|
||||||
letter-spacing: 2px;
|
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -94,6 +139,8 @@
|
|||||||
width: 84%;
|
width: 84%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ul li {
|
ul li {
|
||||||
width: 28%;
|
width: 28%;
|
||||||
float: left;
|
float: left;
|
||||||
@ -144,6 +191,21 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#profile {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#profile+p {
|
||||||
|
padding: 5px 300px 20px 33px;
|
||||||
|
margin: -30px -50px 20px;
|
||||||
|
width: (912px - 300px - 33px);
|
||||||
|
float: none;
|
||||||
|
background: #2D6FC7;
|
||||||
|
color: #F7F2C7;
|
||||||
|
font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
|
||||||
|
font-weight: 100;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8">
|
||||||
{{#reload}}
|
{{#reload}}
|
||||||
<meta http-equiv="refresh" content="2">
|
<meta http-equiv="refresh" content="2">
|
||||||
{{/reload}}
|
{{/reload}}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8">
|
||||||
{{#reload}}
|
{{#reload}}
|
||||||
<meta http-equiv="refresh" content="2">
|
<meta http-equiv="refresh" content="2">
|
||||||
{{/reload}}
|
{{/reload}}
|
||||||
|
@ -13,4 +13,8 @@ body.pdf {
|
|||||||
border: none;
|
border: none;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a[href$='.pdf'] {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
@ -11,4 +11,14 @@
|
|||||||
|
|
||||||
body {
|
body {
|
||||||
color: #222;
|
color: #222;
|
||||||
|
margin: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#footer + p {
|
||||||
|
font-size: 13px;
|
||||||
|
font-style: italic;
|
||||||
|
color: #444;
|
||||||
}
|
}
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8">
|
||||||
{{#reload}}
|
{{#reload}}
|
||||||
<meta http-equiv="refresh" content="2">
|
<meta http-equiv="refresh" content="2">
|
||||||
{{/reload}}
|
{{/reload}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user