From e6759e053531bc808e53324f54500e03fce2bd27 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 15 Aug 2018 17:29:13 -0600 Subject: [PATCH 1/2] functional, printable links --- style.css | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/style.css b/style.css index 39d23ec..e2a13b1 100644 --- a/style.css +++ b/style.css @@ -33,7 +33,7 @@ body{ width: var(--page-width); height: var(--page-height); margin: 0; - font-family: "Open Sans", sans-serif; + font-family: "Open Sans", sans-serif; font-weight: 300; line-height: 1.3; color: #444; @@ -244,7 +244,7 @@ li{ } .main-block:not(.concise) .details div{ - margin: 0.18in 0 0.1in 0; + margin: 0.18in 0 0.1in 0; } .main-block:not(.concise) .blocks:last-child .details div{ @@ -325,7 +325,7 @@ li{ } .side-block{ - margin-top: 0.5in; + margin-top: 0.5in; } #contact ul{ @@ -367,3 +367,11 @@ li{ font-weight: 400; font-style: normal; } + +a[href]{ + text-decoration: none; + color: #444; +} +a[href]:hover{ + text-decoration: underline; +} From c508a862d8ac403270bf1843424f04b3e751bd3b Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 15 Aug 2018 17:31:39 -0600 Subject: [PATCH 2/2] give pdf look-and-feel to web version --- style.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/style.css b/style.css index e2a13b1..5728f3f 100644 --- a/style.css +++ b/style.css @@ -368,6 +368,9 @@ li{ font-style: normal; } +/* make links functional for web, + * but not distracting for print + */ a[href]{ text-decoration: none; color: #444; @@ -375,3 +378,18 @@ a[href]{ a[href]:hover{ text-decoration: underline; } + +/* make web version resemble printable page + */ +body{ + background-color: grey; +} +body > *{ + background-color: white; +} +#main{ + height: var(--page-height); +} +#sidebar{ + height: var(--page-height); +}