From aaa99ce58414c51259d07eda2b8a1f4eba15ee31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Ant=C3=BAnez?= Date: Thu, 16 Mar 2017 13:46:29 +0100 Subject: [PATCH] adding longform/posts elements interviews and blockquote margin-bottom. --- static/css/base.css | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/static/css/base.css b/static/css/base.css index cd84b5e..16541c4 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -1168,12 +1168,34 @@ p.text-subtitle svg {vertical-align: text-top;} margin-right: 2.4rem; } } + +/* -- Interviews (Questions & Answers) --- */ +/* --
+
name
+

question or answer

+
+--- */ + +.text-interview dt { + font-weight: 600; + text-transform: uppercase; + margin-bottom: 0; +} + +@media (min-width: 1024px) { +.text-interview dt { + margin-left: -34%; + position: absolute; + text-align: right; + white-space: nowrap; + width: 30%; + } +} + /* -- Info Messages (error, warning, success... -- */ .text-info {font-size: 1.6rem;line-height: 2.4rem; } - - /*========================================= 2.1. San Francisco Font (Apple's new font) =========================================== */ @@ -2797,7 +2819,9 @@ blockquote p { font-size: 2.4rem; line-height: 4rem; } - +blockquote p:last-child { +margin-bottom: 3.2rem; +} .bg-apple blockquote p { font-family: "San Francisco", "Roboto", helvetica, arial, sans-serif; font-weight: 300;