From b30c3cde155297599f05f1231674bd039765b901 Mon Sep 17 00:00:00 2001 From: Richard Thier Date: Fri, 14 Feb 2020 16:11:48 +0100 Subject: [PATCH] Added header type sections - first version --- prosopopee/themes/exposure/static/css/style.css | 6 ++++++ .../themes/exposure/templates/sections/header.html | 9 +++++++++ 2 files changed, 15 insertions(+) create mode 100644 prosopopee/themes/exposure/templates/sections/header.html diff --git a/prosopopee/themes/exposure/static/css/style.css b/prosopopee/themes/exposure/static/css/style.css index eb9f7ae..9ac0142 100644 --- a/prosopopee/themes/exposure/static/css/style.css +++ b/prosopopee/themes/exposure/static/css/style.css @@ -9,6 +9,12 @@ a { text-decoration: none; } +.header { + color: #8a8989; + text-align: center; + font-size: 5.5vw; +} + .galleries-grid { width: 100%; height: 100%; diff --git a/prosopopee/themes/exposure/templates/sections/header.html b/prosopopee/themes/exposure/templates/sections/header.html new file mode 100644 index 0000000..1805b62 --- /dev/null +++ b/prosopopee/themes/exposure/templates/sections/header.html @@ -0,0 +1,9 @@ +{% if section.background or section.color %} +
+ {% endif %} +
+

{{ section.text }}

+
+ {% if section.background or section.color %} +
+{% endif %}