From 7c736dd6a03189b7d5ec3fc7d34fd03538e59a09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Ant=C3=BAnez?= Date: Tue, 28 Mar 2017 16:51:09 +0200 Subject: [PATCH] longform: updating .text-quote and .flex-content --- static/css/base.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/static/css/base.css b/static/css/base.css index 50a7fb0..a54d45e 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -2708,12 +2708,15 @@ object-fit to re-frame images rather than just stretch and resize them === */ .flex-content, [class*="card"] blockquote { position: relative; + padding: 2.4rem; +} +[class*="card-"] .flex-content, +[class*="card-"] blockquote { display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; justify-content: center; - padding: 2.4rem; } .flex-content p { @@ -2789,10 +2792,12 @@ object-fit to re-frame images rather than just stretch and resize them === */ /* Visibility */ z-index: 2; } + [class*="card"] figure figcaption svg { font-size: 1rem; } + /*========================================= 11. Quotes =========================================== */ @@ -2835,7 +2840,7 @@ position: relative; /* Versatility: blockquote, p, h2... */ } .text-quote:before,.wall:before { position: absolute; - top: -6.4rem; + top: -4rem; left: -.8rem; content: "\201C"; font-family: arial, sans-serif;