From 277a708cf65ebef57a1abd4d6441609597d3aad6 Mon Sep 17 00:00:00 2001 From: Pat Dryburgh Date: Sun, 12 Aug 2018 14:57:48 -0700 Subject: [PATCH] add attribution to about page photo --- _sass/_article.scss | 8 ++------ _sass/_base.scss | 21 ++++++++++++++++++++- about.md | 7 ++++++- 3 files changed, 28 insertions(+), 8 deletions(-) diff --git a/_sass/_article.scss b/_sass/_article.scss index 0661ad3..6a99cd3 100644 --- a/_sass/_article.scss +++ b/_sass/_article.scss @@ -14,7 +14,7 @@ .post p { text-align: justify; - text-indent: 1.5rem; + text-indent: 1.5em; text-justify: inter-word; } @@ -23,12 +23,8 @@ text-indent: 0; } -.post img { +.post p img { margin-left: -1em; - display: flex; - max-width: 100%; - height: auto; - margin: 2em auto; } .post li { diff --git a/_sass/_base.scss b/_sass/_base.scss index 7cf7a45..eab7655 100644 --- a/_sass/_base.scss +++ b/_sass/_base.scss @@ -54,7 +54,7 @@ blockquote { margin: 2em auto; opacity: .8; > * { - padding: 0 1.5em; + padding: 0 3em; } } @@ -78,6 +78,25 @@ hr { margin: 4em 0; } +img { + display: flex; + max-width: 100%; + height: auto; + margin: 2em auto; +} + +figure img { + margin: 2em auto 1em; +} + +figcaption { + font-size: .875em; + font-style: italic; + text-align: center; + margin-bottom: 2em; + opacity: .7; +} + .divided::after { content: ""; @include divider; diff --git a/about.md b/about.md index 63fa483..891f7d8 100644 --- a/about.md +++ b/about.md @@ -5,7 +5,12 @@ title: About Undoubtably one of the great minds of our time, Christopher Hitchens challenged his readers to think deeply on topics of politics, religion, war, and science. This Jekyll theme is designed in his memory. -![Christopher Hitchens](https://upload.wikimedia.org/wikipedia/commons/6/63/Christopher_Hitchens_2008-04-24_001.jpg) +
+ Christopher Hitchens +
+ Photo by Fri Tanke and licensed under the Creative Commons Attribution 3.0 Unported license. +
+
From [Wikipedia](https://en.wikipedia.org/wiki/Christopher_Hitchens):