From adc25a51b7adf38bd29ee52dc6cbc8e4420a8a4a Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Wed, 24 Oct 2018 21:11:57 +0200 Subject: [PATCH] article: add thumbnail --- scss/_typography.scss | 10 +++++++++- single.php | 4 ++++ style.css | 6 ++++++ 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/scss/_typography.scss b/scss/_typography.scss index f5a6ef3..600ba37 100644 --- a/scss/_typography.scss +++ b/scss/_typography.scss @@ -86,7 +86,15 @@ ol { p, em, p em { font-weight:300; } - + .article-thumbnail { + padding-bottom: 1em; + text-align: center; + img { + max-width: 100%; + height: auto; + + } + } .article-excerpt { padding: 0 0.5em 0 0.5em; font-style: italic; diff --git a/single.php b/single.php index 35d9a99..1b4e01b 100644 --- a/single.php +++ b/single.php @@ -5,6 +5,10 @@

+
+ +
+