1
0
mirror of https://github.com/webslides/WebSlides.git synced 2025-08-21 04:12:01 +02:00

adding longform/posts elements

interviews and blockquote margin-bottom.
This commit is contained in:
José Luis Antúnez
2017-03-16 13:46:29 +01:00
committed by GitHub
parent 9723aedc32
commit aaa99ce584

View File

@@ -1168,12 +1168,34 @@ p.text-subtitle svg {vertical-align: text-top;}
margin-right: 2.4rem; margin-right: 2.4rem;
} }
} }
/* -- Interviews (Questions & Answers) --- */
/* -- <dl class="text-interview">
<dt>name</dt>
<dd><p>question or answer</p>
</dd>
--- */
.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... -- */ /* -- Info Messages (error, warning, success... -- */
.text-info {font-size: 1.6rem;line-height: 2.4rem; .text-info {font-size: 1.6rem;line-height: 2.4rem;
} }
/*========================================= /*=========================================
2.1. San Francisco Font (Apple's new font) 2.1. San Francisco Font (Apple's new font)
=========================================== */ =========================================== */
@@ -2797,7 +2819,9 @@ blockquote p {
font-size: 2.4rem; font-size: 2.4rem;
line-height: 4rem; line-height: 4rem;
} }
blockquote p:last-child {
margin-bottom: 3.2rem;
}
.bg-apple blockquote p { .bg-apple blockquote p {
font-family: "San Francisco", "Roboto", helvetica, arial, sans-serif; font-family: "San Francisco", "Roboto", helvetica, arial, sans-serif;
font-weight: 300; font-weight: 300;