Eclectic Media Git eclecticmedia.space / 396b9f3
Adds extra logic to jarallax widgets - Adds logic to allow for both a paragraph and link - Adds styling logic f/ positioning both together Ariana Giroux 2 months ago
2 changed file(s) with 14 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
33 z-index: 0;
44 height: 32em;
55
6 .row { height: 100%; }
6 .row { height: 100%; margin: 0; padding: 0 }
77
88 .col-6 {
99 background-color: $dark-grey-transparent;
1818 top: 50%; left: 50%;
1919 transform: translate(-50%, -50%);
2020 }
21 p {
21 .jarallax-description {
2222 top: 60%; left: 60%;
2323 transform: translate(-60%, -60%);
24 position: relative;
25
26 font-size: 1.75rem;
2427 }
2528 }
2629
66 <h1>
77 {{ title | escape }}
88 </h1>
9 {%- if tag_line | length > 0 %}
10 {%- if tag_button | length > 0 %}
11 <p><a class="btn btn-outline-primary" href="#">{{ tag_line | escape }}</a></p>
12 {% else %}
13 <p><em>{{ tag_line }}</em></p>
14 {% endif %}
9 {%- if tag_line or tag_link | length > 0 %}
10 <div class="jarallax-description">
11 {%- if tag_line | length > 0 %}
12 <p><em>{{ tag_line }}</em></p>
13 {%- endif %}
14 {%- if tag_link | length > 0 %}
15 <p><a class="btn btn-outline-primary" href="{% if blog_link | length > 0 %}/blog/{% endif %}{{ tag_link }}">{{ tag_link_text | escape }}</a></p>
16 {%- endif %}
17 </div>
1518 {%- endif %}
1619 </div>
1720 <div class="col-3"></div>