Added header type sections - first version

This commit is contained in:
Richard Thier 2020-02-14 16:11:48 +01:00
parent 27794e92b4
commit b30c3cde15
2 changed files with 15 additions and 0 deletions

View File

@ -9,6 +9,12 @@ a {
text-decoration: none;
}
.header {
color: #8a8989;
text-align: center;
font-size: 5.5vw;
}
.galleries-grid {
width: 100%;
height: 100%;

View File

@ -0,0 +1,9 @@
{% 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="header">
<h1 class=header>{{ section.text }}</h1>
</section>
{% if section.background or section.color %}
</div>
{% endif %}