intia-theme 0.1.31 → 0.1.32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 06bf6f07388adcf00fe9596659a302be4dbb62ecf307860da1f0b11979286be6
4
- data.tar.gz: bf48222bf1ccfbffa6116891806d406760acc82e63fbb3fce393bd01c0e3c051
3
+ metadata.gz: b382f94e21851a4771c4c84a89a1a57a057e0267ceb881a04403ac3bb2ac984a
4
+ data.tar.gz: 887202e3aaa644cc4a8744e244fbef1755c64090cf4a47fa35a395ebf624b84c
5
5
  SHA512:
6
- metadata.gz: 7835a46769b16e9205eb4008ac037d814ac83e921281fe6e7b54b6f2714a9a051cda4032b0d8c9f4768eaee3b5cac91f663a925875c391b5239f388d6c12e4c0
7
- data.tar.gz: c5c1037a96c939efda4226d1e636eeb31d743ae8dbd1def6bd5add1460311d47ae14aa5a51e6c0df525846168d00b4c55ee74955070dc7335a50d596cd2f776d
6
+ metadata.gz: ce4a38fb4c0b8f735b328c965512af7b30cc033eabad98506eebcb4f6833e70fab87fa28e00edc51d7eac5134c1313c3aa2da0be721adc53d3ec724bfc62f3b3
7
+ data.tar.gz: 380571c3a028b15b0f752c9ebd437efc6bd5d7b12f4f6fe7202fcef72c60966a031ceba586286ed59bf0899792702449142b43fedc0606740e8397a20d7f2333
@@ -1,7 +1,7 @@
1
1
 
2
2
  <a href="#" class="button is-rounded is-dark">
3
+ <span> {{ include.label }} </span>
3
4
  <span class="icon is-small">
4
5
  <i class="fas fa-chevron-right fa-xs"></i>
5
- </span>
6
- <span> {{ include.label }} </span>
6
+ </span>
7
7
  </a>
@@ -1,7 +1,26 @@
1
1
 
2
- <div class="highlighter {% if include.two-columns %} two-columns {% endif %} {% if include.min-height25p %} min-height25p {% endif %} {% if include.style %} include.style {% endif %} ">
2
+ <div class="highlighter {% if include.two-columns %} two-columns {% endif %} {% if include.image %} highlighter-fit-image {% endif %} {% if include.min-height25p %} min-height25p {% endif %} {% if include.style %} include.style {% endif %} ">
3
+ {% if include.image %}
4
+
5
+ <div class="columns">
6
+ <div class="highlighter-image column is-two-fifths">
7
+ <figure class="image">
8
+ <img src={{ include.image }}>
9
+ </figure>
10
+ </div>
11
+ <div class="highlighter-content column">
12
+
13
+ {% endif %}
14
+
3
15
  {{ include.content }}
4
16
  {% if include.button %}
5
17
  {% include button.html label=include.button %}
6
18
  {% endif %}
19
+
20
+ {% if include.image %}
21
+
22
+ </div>
23
+ </div>
24
+
25
+ {% endif %}
7
26
  </div>
data/_sass/_layout.scss CHANGED
@@ -476,6 +476,34 @@ figcaption {
476
476
  .highlighter .button {
477
477
  float: right;
478
478
  }
479
+ .highlighter .column.highlighter-image {
480
+ margin-right: 0;
481
+ padding: 0;
482
+ }
483
+ .highlighter .highlighter-image img {
484
+ padding: 0;
485
+ }
486
+ .highlighter .highlighter-image .image {
487
+ height: 100%;
488
+ }
489
+ .highlighter .highlighter-image img {
490
+ border-top-left-radius: 65px;
491
+ border-bottom-left-radius: 65px;
492
+ border-top-right-radius: 0 !important;
493
+ border-bottom-right-radius: 0 !important;
494
+ height: 100%;
495
+ width: 100%;
496
+ object-fit: cover;
497
+ }
498
+ .highlighter .highlighter-content {
499
+ padding: 3em;
500
+ }
501
+ .highlighter .column.highlighter-content {
502
+ margin-right: 0;
503
+ }
504
+ .highlighter.highlighter-fit-image {
505
+ padding: 0;
506
+ }
479
507
 
480
508
  .highlighter img {
481
509
  border-radius: 0;
@@ -496,6 +524,11 @@ figcaption {
496
524
  padding-top: 2rem;
497
525
  padding-bottom: 2rem;
498
526
  }
527
+ .highlighter .column .button.highlighter-column-button {
528
+ margin-top: 1em;
529
+ margin-left: 2em;
530
+ float: none;
531
+ }
499
532
 
500
533
  .highlighter .is-round {
501
534
  display: flex;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: intia-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.31
4
+ version: 0.1.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marc Schmidt