add quote section
This commit is contained in:
parent
b351bdd789
commit
d6bc47a939
@ -449,10 +449,11 @@ blockquote {
|
|||||||
margin: 1.5em 10px;
|
margin: 1.5em 10px;
|
||||||
padding: 0.5em 10px;
|
padding: 0.5em 10px;
|
||||||
quotes: "\201C""\201D""\2018""\2019";
|
quotes: "\201C""\201D""\2018""\2019";
|
||||||
|
color: #8a8989;
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote:before {
|
blockquote:before {
|
||||||
color: #ccc;
|
color: #8a8989;
|
||||||
content: open-quote;
|
content: open-quote;
|
||||||
font-size: 4em;
|
font-size: 4em;
|
||||||
line-height: 0.1em;
|
line-height: 0.1em;
|
||||||
@ -461,7 +462,7 @@ blockquote:before {
|
|||||||
}
|
}
|
||||||
|
|
||||||
blockquote:after {
|
blockquote:after {
|
||||||
color: #ccc;
|
color: #8a8989;
|
||||||
content: close-quote;
|
content: close-quote;
|
||||||
font-size: 4em;
|
font-size: 4em;
|
||||||
line-height: 0.1em;
|
line-height: 0.1em;
|
||||||
|
11
prosopopee/themes/exposure/templates/sections/quote.html
Normal file
11
prosopopee/themes/exposure/templates/sections/quote.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{% if section.background or section.color %}
|
||||||
|
<div class="bg-section" style="{% if section.background -%}background: {{ section.background }};{% endif %}{% if section.color -%}color: {{ section.color }};{% endif %}">
|
||||||
|
{% endif %}
|
||||||
|
<section class="text">
|
||||||
|
<blockquote>
|
||||||
|
{{ section.text }}
|
||||||
|
</blockquote>
|
||||||
|
</section>
|
||||||
|
{% if section.background or section.color %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
11
prosopopee/themes/material/templates/sections/quote.html
Normal file
11
prosopopee/themes/material/templates/sections/quote.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{% if section.background or section.color %}
|
||||||
|
<div class="bg-section" style="{% if section.background -%}background: {{ section.background }};{% endif %}{% if section.color -%}color: {{ section.color }};{% endif %}">
|
||||||
|
{% endif %}
|
||||||
|
<div class="container flow-text">
|
||||||
|
<blockquote>
|
||||||
|
{{ section.text }}
|
||||||
|
</blockquote>
|
||||||
|
</div>
|
||||||
|
{% if section.background or section.color %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
Loading…
x
Reference in New Issue
Block a user