From d6bc47a9398fde1da53c1bfc571ab0c85ce1471b Mon Sep 17 00:00:00 2001 From: Adrien Beudin Date: Tue, 9 May 2017 14:37:32 +0200 Subject: [PATCH] add quote section --- prosopopee/themes/exposure/static/css/style-page.css | 5 +++-- .../themes/exposure/templates/sections/quote.html | 11 +++++++++++ .../themes/material/templates/sections/quote.html | 11 +++++++++++ 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 prosopopee/themes/exposure/templates/sections/quote.html create mode 100644 prosopopee/themes/material/templates/sections/quote.html diff --git a/prosopopee/themes/exposure/static/css/style-page.css b/prosopopee/themes/exposure/static/css/style-page.css index 036c89e..8997b42 100644 --- a/prosopopee/themes/exposure/static/css/style-page.css +++ b/prosopopee/themes/exposure/static/css/style-page.css @@ -449,10 +449,11 @@ blockquote { margin: 1.5em 10px; padding: 0.5em 10px; quotes: "\201C""\201D""\2018""\2019"; + color: #8a8989; } blockquote:before { - color: #ccc; + color: #8a8989; content: open-quote; font-size: 4em; line-height: 0.1em; @@ -461,7 +462,7 @@ blockquote:before { } blockquote:after { - color: #ccc; + color: #8a8989; content: close-quote; font-size: 4em; line-height: 0.1em; diff --git a/prosopopee/themes/exposure/templates/sections/quote.html b/prosopopee/themes/exposure/templates/sections/quote.html new file mode 100644 index 0000000..9a5a7a4 --- /dev/null +++ b/prosopopee/themes/exposure/templates/sections/quote.html @@ -0,0 +1,11 @@ +{% if section.background or section.color %} +
+ {% endif %} +
+
+ {{ section.text }} +
+
+ {% if section.background or section.color %} +
+{% endif %} diff --git a/prosopopee/themes/material/templates/sections/quote.html b/prosopopee/themes/material/templates/sections/quote.html new file mode 100644 index 0000000..76f3fbb --- /dev/null +++ b/prosopopee/themes/material/templates/sections/quote.html @@ -0,0 +1,11 @@ +{% if section.background or section.color %} +
+ {% endif %} +
+
+ {{ section.text }} +
+
+ {% if section.background or section.color %} +
+{% endif %}