1
0
mirror of https://github.com/webslides/WebSlides.git synced 2025-08-15 01:24:49 +02:00

longform: updating .text-quote and .flex-content

This commit is contained in:
José Luis Antúnez
2017-03-28 16:51:09 +02:00
committed by GitHub
parent 0467c21ec7
commit 7c736dd6a0

View File

@@ -2708,12 +2708,15 @@ object-fit to re-frame images rather than just stretch and resize them === */
.flex-content, .flex-content,
[class*="card"] blockquote { [class*="card"] blockquote {
position: relative; position: relative;
padding: 2.4rem;
}
[class*="card-"] .flex-content,
[class*="card-"] blockquote {
display: -webkit-flex; display: -webkit-flex;
display: flex; display: flex;
-webkit-flex-direction: column; -webkit-flex-direction: column;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
padding: 2.4rem;
} }
.flex-content p { .flex-content p {
@@ -2789,10 +2792,12 @@ object-fit to re-frame images rather than just stretch and resize them === */
/* Visibility */ /* Visibility */
z-index: 2; z-index: 2;
} }
[class*="card"] figure figcaption svg { [class*="card"] figure figcaption svg {
font-size: 1rem; font-size: 1rem;
} }
/*========================================= /*=========================================
11. Quotes 11. Quotes
=========================================== */ =========================================== */
@@ -2835,7 +2840,7 @@ position: relative; /* Versatility: blockquote, p, h2... */
} }
.text-quote:before,.wall:before { .text-quote:before,.wall:before {
position: absolute; position: absolute;
top: -6.4rem; top: -4rem;
left: -.8rem; left: -.8rem;
content: "\201C"; content: "\201C";
font-family: arial, sans-serif; font-family: arial, sans-serif;