intia-theme 0.1.5 → 0.1.6

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: e93c7a5b012d03132b56ab55629505ced35da8b7cf5682878f173c8504afd3bf
4
- data.tar.gz: 619844a2c4a867454ca3abfc5fc0eb29ba4ecdea7763f102c5b525004c179491
3
+ metadata.gz: dd43c09dfb72c2d380c9d9453149294ad144fb1ee621c7d2b4ee410b2bd319d3
4
+ data.tar.gz: 39d38b6b40bf85937e2bc5cb5e1c7b9ffcbfc13f9e99cb8778551f0124ae4338
5
5
  SHA512:
6
- metadata.gz: b27587d1e3c9a82b9dc6792fdff77979bec6223f5ea555c80162fdfd2506380d5cdbd3bfc6b7c3181a0a5981879913e320bdb35ab3ce3a7c82ed12db67c1678c
7
- data.tar.gz: e0e86fd1ef8bba5394235da6fb2b99a7bfd8b2fafc01a83049c82b52bb630ccb8b382c8518c0f98b0a33dfc2f9c78852e2fb8f460d974df533dedce1e948f08a
6
+ metadata.gz: 723ecf7c8aa986cd2b7450c66659bda0abee60e6e89d465d5aa66f4956b18e1401abe8ba76a9df814b87eeb19bdcd13243f640afe5df48a8e10da4343327cb13
7
+ data.tar.gz: 6dc7a304987f6efc81cf290fc0debed93ea87c16c02143ca8440da679ff6bea1026436edb709fe70dbcc8bfc63337b9ff7f14b01d9ba5b3d54aafe06b94e7600
data/_includes/hero.html CHANGED
@@ -4,7 +4,10 @@
4
4
  {% if page.hero_image %}
5
5
  <img src="{{page.hero_image}}" alt="placeholder" class="is-rounded is-hidden-mobile">
6
6
  {% endif %}
7
- <h1 class="title is-1">{{ page.title }}</h1>
7
+ {% if page.title_above %}
8
+ <h1 class="overtitle subtitle is-4">{{ page.title_above }}</h1>
9
+ {% endif %}
10
+ <h1 class="title is-1 {% if page.title_above %} title-with-overtitle {% endif %}">{{ page.title }}</h1>
8
11
  <p class="subtitle is-4">{{ page.subtitle }}</p>
9
12
  {% if page.hero_link %}
10
13
  <a href="{{ page.hero_link | relative_url }}" class="button is-rounded is-dark">
@@ -15,7 +18,7 @@
15
18
  </a>
16
19
  {% endif %}
17
20
  </div>
18
- <img src="{{ site.baseurl }}/assets/img/arrow-down.png" alt="placeholder" class="arrow-image is-pulled-left is-hidden-mobile">
21
+ <img src="{{ site.baseurl }}/assets/img/arrow-down.png" alt="placeholder" class="arrow-image is-pulled-left is-hidden-mobile" onClick="document.getElementById('main').scrollIntoView();">
19
22
  </div>
20
23
  </section>
21
24
  <i class="fas {{ section.icon }}"></i>
@@ -36,6 +36,6 @@
36
36
  </div>
37
37
  {% endfor %}
38
38
  </div>
39
- <img src="../assets/img/arrow-down.png" alt="placeholder" class="arrow-image is-pulled-right is-hidden-mobile">
39
+ <img src="../assets/img/arrow-down.png" alt="placeholder" class="arrow-image is-pulled-right is-hidden-mobile" onClick="document.getElementById('content').scrollIntoView();">
40
40
  </div>
41
41
  {% endif %}
@@ -15,11 +15,11 @@ The Default layout that everything is using
15
15
  {% else %}
16
16
 
17
17
  {% endunless %}
18
- <div class="content-wrapper has-background-primary-light">
18
+ <div id="main" class="content-wrapper has-background-primary-light">
19
19
 
20
20
  {% include story-slider.html %}
21
21
  <div class="columns is-centered">
22
- <div class="column is-10-desktop is-12-tablet">
22
+ <div id="content" class="column is-10-desktop is-12-tablet">
23
23
  {% include introduction.html %}
24
24
  {% include left-right-blocks.html %}
25
25
  {{content | markdownify}}
data/_sass/_layout.scss CHANGED
@@ -64,6 +64,15 @@ div.highlight {
64
64
  }
65
65
  .highlighter-image {
66
66
  }
67
+
68
+ .overtitle {
69
+ margin-bottom: 0 !important;
70
+ padding-bottom: 0 !important;
71
+ }
72
+ .title-with-overtitle {
73
+ margin-top: 0 !important;
74
+ padding-top: 0.25em !important;
75
+ }
67
76
  // Globals
68
77
  img.is-rounded {
69
78
  border-radius: 65px;
@@ -73,6 +82,7 @@ img.is-rounded {
73
82
  position: relative;
74
83
  bottom: -90px;
75
84
  width: 64px;
85
+ cursor: pointer;
76
86
  }
77
87
 
78
88
  .clear {
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.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marc Schmidt