From 01c7b0412bda7c9b1a68160653643ea714c119b1 Mon Sep 17 00:00:00 2001 From: Jon Wolfe Date: Thu, 17 Mar 2016 16:02:28 -0400 Subject: [PATCH 1/3] Give stuff breathing room and better text Adds a better line-height, more space between sections, fixes lists next to paragraphs being awful, makes the skills section readable, adds margins where needed. --- themes/positive/src/positive-html.css | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/themes/positive/src/positive-html.css b/themes/positive/src/positive-html.css index 342d217..c207fe7 100644 --- a/themes/positive/src/positive-html.css +++ b/themes/positive/src/positive-html.css @@ -1,6 +1,7 @@ html, body, main, section, header, ul, p, h1, h2, h3 { font-family: {{{fontList 'default'}}}; font-size: 14px; + line-height: 1.4; margin: 0; padding: 0; display: block; } @@ -38,7 +39,8 @@ h3, .tenure { h3 { margin-top: 0; - width: 66%; + margin-bottom: 5px; + width: 85%; float: left; } @@ -50,8 +52,8 @@ table { td:first-child { text-align: right; - color: #A9A9A9; - letter-spacing: 5px; + color: #c00000; + letter-spacing: 2px; font-weight: bold; } @@ -70,7 +72,7 @@ main { } section { - margin-top: 1em; + margin-top: 2em; } section > div { @@ -86,6 +88,10 @@ section > header { position: relative; } +p + ul { + margin: 1em; +} + ul { clear: both; } @@ -108,7 +114,7 @@ p, li { } span.keywords { - font-size: 10px; + font-size: 12px; color: #B16666; } @@ -136,6 +142,11 @@ h1, h2, .label { #contact { clear: both; float: right; + margin-top: 2px; +} + +#contact span + span { + margin-left: 10px; } header > span.fa { @@ -158,4 +169,10 @@ header > span.fa { #summary { color: #717171; font-size: 1.25em; + margin-top: 6em; +} + +#skills td { + padding-top: 7px; + padding-bottom: 7px; } From f67df3e4fa61894d2608ff4316952d2dcddfa12a Mon Sep 17 00:00:00 2001 From: Jon Wolfe Date: Thu, 17 Mar 2016 16:20:41 -0400 Subject: [PATCH 2/3] add changes to PDF css too --- themes/positive/src/positive-pdf.css | 45 ++++++++++++++++++++++++---- 1 file changed, 40 insertions(+), 5 deletions(-) diff --git a/themes/positive/src/positive-pdf.css b/themes/positive/src/positive-pdf.css index 9f498ec..c9fd4ee 100644 --- a/themes/positive/src/positive-pdf.css +++ b/themes/positive/src/positive-pdf.css @@ -1,6 +1,7 @@ html, body, main, section, header, ul, p, h1, h2, h3 { font-family: Calibri, 'Open Sans', sans-serif; font-size: 14px; + line-height: 1.4; margin: 0; padding: 0; display: block; } @@ -31,10 +32,15 @@ h2 { font-weight: 400; } +h3, .tenure { + font-size: 1.5em; + font-weight: 300; +} + h3 { - font-size: 1em; margin-top: 0; - width: 66%; + margin-bottom: 5px; + width: 85%; float: left; } @@ -46,8 +52,8 @@ table { td:first-child { text-align: right; - color: #A9A9A9; - /*letter-spacing: 5px;*/ + color: #c00000; + letter-spacing: 2px; font-weight: bold; } @@ -66,7 +72,7 @@ main { } section { - margin-top: 1em; + margin-top: 2em; } section > div { @@ -82,6 +88,14 @@ section > header { position: relative; } +p + ul { + margin: 1em; +} + +ul { + clear: both; +} + li { margin-left: 2em; } @@ -92,6 +106,16 @@ p, li { .tenure { float: right; + color: #6F6F6F; + background-color: #F5F5F5; + border-radius: 6px; + padding: 4px 6px; + font-size: 85%; +} + +span.keywords { + font-size: 12px; + color: #B16666; } thead { @@ -118,6 +142,11 @@ h1, h2, .label { #contact { clear: both; float: right; + margin-top: 2px; +} + +#contact span + span { + margin-left: 10px; } header > span.fa { @@ -140,4 +169,10 @@ header > span.fa { #summary { color: #717171; font-size: 1.25em; + margin-top: 6em; +} + +#skills td { + padding-top: 7px; + padding-bottom: 7px; } From ab93217be3cc572cdcf6fc7e4abc50efb0893aa9 Mon Sep 17 00:00:00 2001 From: Jon Wolfe Date: Thu, 17 Mar 2016 16:45:11 -0400 Subject: [PATCH 3/3] fix pdf letter spacing --- themes/positive/src/positive-pdf.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/positive/src/positive-pdf.css b/themes/positive/src/positive-pdf.css index c9fd4ee..3d0fa90 100644 --- a/themes/positive/src/positive-pdf.css +++ b/themes/positive/src/positive-pdf.css @@ -53,7 +53,7 @@ table { td:first-child { text-align: right; color: #c00000; - letter-spacing: 2px; + /* letter-spacing: 2px; PDF hates letter spacing */ font-weight: bold; }