{% include 'lm_section_headings' %} {% if section.blocks != empty %}
{% for block in section.blocks %}
{{ block.settings.block_body }}
{% endfor %}
{% endif %}
{% style %} .list { border-bottom: 1px solid $lm-grey4; border-top: 1px solid $lm-grey4; padding: 100px 0 160px; position: relative; @include lm-screen-md-max { padding: 50px 0; } .inner__container { margin: 0 auto; max-width: 1166px; position: relative; @include lm-screen-md-max { padding: 0 20px; } } .section__headings { margin-bottom: 80px; text-align: center; .lm-section__heading { color: #232328; font-size: 38px; line-height: 1; margin-bottom: 25px; } .section__subheading { color: #414146; font-size: 22px; line-height: 1; margin-bottom: 0; } @include lm-screen-md-max { margin-bottom: 40px; .lm-section__heading { font-size: 30px; line-height: 32px; margin-bottom: 24px; padding: 0 20px; } .section__subheading { font-size: 17.6px; line-height: 24px; } } } .list-wrapper { column-gap: 20px; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 175px; .list-wrapper__item { background: white url(https://leaders-map.jiminy.co.nz/empire/assets/tick-green.svg) no-repeat; background-size: 30px auto; background-position: bottom 15px right 15px; box-shadow: 0 0 20px $lm-shadow; color: #414146; font-size: 20px; font-weight: 600; line-height: 25px; padding: 20px 20px 32px; } @include lm-screen-md-max { grid-template-columns: 1fr; grid-template-rows: repeat(4, 120px); row-gap: 20px; .list-wrapper__item { background-size: 24px auto; background-position: bottom 12.8px right 12.2px; box-shadow: 0 0 16px $lm-shadow; font-size: 16px; font-weight: 600; line-height: 20px; padding: 16px; } } } } {% endstyle %} {% schema %} { "label":"List Section", "settings":[ { "label":"Text", "settings":[ { "type":"text", "id":"heading", "label":"Heading", "default":"Heading" }, { "type":"text", "id":"subheading", "label":"Subheading", "default":"Subheading" } ] } ], "blocks":{ "label":"Add block", "limit":4, "types":[ { "type":"block", "label":"Block", "settings":[ { "type":"textarea", "id":"block_body", "label":"Description", "default":"Explain the value your additional content will bring to a student’s overall learning experience. Use this opportunity to sell potential students on the extra benefits your bonus material provides." } ] } ] } } {% endschema %}