diff --git a/prosopopee/themes/exposure/static/css/style-page.css b/prosopopee/themes/exposure/static/css/style-page.css index 561fdf2..ddc7db4 100644 --- a/prosopopee/themes/exposure/static/css/style-page.css +++ b/prosopopee/themes/exposure/static/css/style-page.css @@ -257,12 +257,13 @@ footer a { } -.share { +.share, .author { text-align: center; height: auto; position: relative; bottom: 0; padding: 0 0 10px 0; + font-family: 'crimson', serif; } @@ -310,3 +311,30 @@ a.google { background-position: -172px 0 !important; } +.author img.circle { + border-radius: 50%; + width: 80px; +} + +.author { + padding-bottom: 7em; +} + +.author-meta { + color: #ccc; + font-style: italic; + font-size: 19px; +} + +.author h4 { + text-transform: uppercase; +} +.author .desc { + width: 350px; + margin: auto; + padding-bottom: 10px; + font-style: normal; + font-size: 14px; + line-height: normal; + color: #333; +} diff --git a/prosopopee/themes/exposure/templates/sections/author.html b/prosopopee/themes/exposure/templates/sections/author.html new file mode 100644 index 0000000..d4dc3eb --- /dev/null +++ b/prosopopee/themes/exposure/templates/sections/author.html @@ -0,0 +1,33 @@ +{% set image = Image(section.image) %} +{{ image.copy() }} +
+ +
+ Story by +

{{ section.name }}

+ {% if section.text %} +
{{ section.text }}
+ {% endif %} +
+
+
+ {% if section.twitter %} + + Facebook + + | + {% endif %} + {% if section.facebook %} + + Twitter + + | + {% endif %} + {% if section.website %} + + {{ section.website }} + + {% endif %} +
+
+ diff --git a/prosopopee/themes/exposure/templates/sections/bordered-picture.html b/prosopopee/themes/exposure/templates/sections/bordered-picture.html index a5f0cf8..5a9d230 100644 --- a/prosopopee/themes/exposure/templates/sections/bordered-picture.html +++ b/prosopopee/themes/exposure/templates/sections/bordered-picture.html @@ -1,6 +1,9 @@ {% set image = Image(section.image) %} {% set caption = section.text %} {{ image.copy()}} +{% if section.color %} +
+{% endif %}
+{% if section.color %} +
+{% endif %} + diff --git a/prosopopee/themes/exposure/templates/sections/html.html b/prosopopee/themes/exposure/templates/sections/html.html index 464eea9..602e299 100644 --- a/prosopopee/themes/exposure/templates/sections/html.html +++ b/prosopopee/themes/exposure/templates/sections/html.html @@ -1,5 +1,12 @@ +{% if section.color %} +
+{% endif %}
{{ section.html }}
+{% if section.color %} +
+{% endif %} + diff --git a/prosopopee/themes/exposure/templates/sections/paragraph.html b/prosopopee/themes/exposure/templates/sections/paragraph.html index c6775a1..efba68e 100644 --- a/prosopopee/themes/exposure/templates/sections/paragraph.html +++ b/prosopopee/themes/exposure/templates/sections/paragraph.html @@ -1,3 +1,6 @@ +{% if section.color %} +
+{% endif %}
{% if section.title %}

{{ section.title }}

@@ -6,3 +9,6 @@ {% endif %}

{{ section.text }}

+{% if section.color %} +
+{% endif %} diff --git a/prosopopee/themes/exposure/templates/sections/pictures-group.html b/prosopopee/themes/exposure/templates/sections/pictures-group.html index 6f78714..7b2a850 100644 --- a/prosopopee/themes/exposure/templates/sections/pictures-group.html +++ b/prosopopee/themes/exposure/templates/sections/pictures-group.html @@ -1,3 +1,6 @@ +{% if section.color %} +
+{% endif %}
{% for line in section.images %}
@@ -22,3 +25,6 @@
{% endfor %}
+{% if section.color %} +
+{% endif %} diff --git a/prosopopee/themes/exposure/templates/sections/text.html b/prosopopee/themes/exposure/templates/sections/text.html index 65e1121..803cc4a 100644 --- a/prosopopee/themes/exposure/templates/sections/text.html +++ b/prosopopee/themes/exposure/templates/sections/text.html @@ -1,3 +1,9 @@ +{% if section.color %} +
+{% endif %}
{{ section.text }}
+{% if section.color %} +
+{% endif %} diff --git a/prosopopee/themes/exposure/templates/share.html b/prosopopee/themes/exposure/templates/share.html index 3cabeda..dcb65b4 100644 --- a/prosopopee/themes/exposure/templates/share.html +++ b/prosopopee/themes/exposure/templates/share.html @@ -1,8 +1,9 @@ {% set absolute_url = settings.url + "/" + link -%}
+
Share this story