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() }} +
+ 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 %} +{{ section.text }}