intia-theme 0.1.31 → 0.1.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/button.html +2 -2
- data/_includes/highlighter.html +20 -1
- data/_sass/_layout.scss +33 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b382f94e21851a4771c4c84a89a1a57a057e0267ceb881a04403ac3bb2ac984a
|
|
4
|
+
data.tar.gz: 887202e3aaa644cc4a8744e244fbef1755c64090cf4a47fa35a395ebf624b84c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ce4a38fb4c0b8f735b328c965512af7b30cc033eabad98506eebcb4f6833e70fab87fa28e00edc51d7eac5134c1313c3aa2da0be721adc53d3ec724bfc62f3b3
|
|
7
|
+
data.tar.gz: 380571c3a028b15b0f752c9ebd437efc6bd5d7b12f4f6fe7202fcef72c60966a031ceba586286ed59bf0899792702449142b43fedc0606740e8397a20d7f2333
|
data/_includes/button.html
CHANGED
data/_includes/highlighter.html
CHANGED
|
@@ -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;
|