intia-theme 0.1.47 → 0.1.48

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: c9eabd4b44294d2229e76ca1d8cff86e47fedc665a4c545aff32c9a98949e314
4
- data.tar.gz: ed3fb735bbc3fbbd6342c74d0d03e3ed59568071a270332fe8d18f9fd0d58471
3
+ metadata.gz: 72dc541b9b0334eb317ffa432b513dab303beb447330f3ac9ff0299161601e6d
4
+ data.tar.gz: 1e9caf669bf4d510db34c175e95ae6f65bcadc8d6fef6901c56b36d8a779b573
5
5
  SHA512:
6
- metadata.gz: df629b19fc1141e3c9e81ef86b84df095e1ed91801653b229dd794a5b8ee1b77f9bb3061dad62e3a6b9df58961c18d1e33d27498a7f4c1fbd0f9441486fad8ab
7
- data.tar.gz: b4dcfeeb65b2ccf0ec3f4741360ccdfe9957bb0786a7bb50d874a4a8d0c091122e92baca145b0d754d037db3bf16a9bb211ef592a7bfc060ad362797ec2711f2
6
+ metadata.gz: b9ed3b5b64a3b5bd8fcdcbb09b905702ece1d362943c3a9d52f925ccd16788019687f26fe9258e42f74982e767c0df62f97815a6b9213d77b1cdfcd2509eef7f
7
+ data.tar.gz: 2bb290f600dee21c1f881b63479e915388b1267c5ed565f127b46d3f53bf19da5c1fbc7f6a482da6dd35b935ed154a844f26f15637fb9bf85348fa3d5a47ef97
@@ -45,4 +45,25 @@
45
45
  </div>
46
46
  </div>
47
47
  </div>
48
- </nav>
48
+ </nav>
49
+
50
+ {% unless page.hide_beadcrumb %}
51
+ <section class="breadcrumb-section green-version">
52
+ <div class="container breadcrumb-container">
53
+ <nav class="breadcrumb has-arrow-separator" aria-label="breadcrumbs">
54
+ <ul>
55
+ {% assign crumbs = page.url | remove:'/index.html' | split: '/' %}
56
+ <li><a href="/">INTIA</a></li>
57
+ {% for crumb in crumbs offset: 1 %}
58
+ {% if forloop.last %}
59
+ <li><a href="#">{{ page.title }}</a></li>
60
+ {% else %}
61
+ <li><a href="{% assign crumb_limit = forloop.index | plus: 1 %}{% for crumb in crumbs limit: crumb_limit %}{{ crumb | append: '/' | replace:'without-plugin/','without-plugins/' }}{% endfor %}">{{ crumb | replace:'-',' ' | remove:'.html' | capitalize }}</a></li>
62
+ {% endif %}
63
+ {% endfor %}
64
+ </ul>
65
+ </nav>
66
+ </div>
67
+ </section>
68
+ {% else %}
69
+ {% endunless %}
data/_sass/_layout.scss CHANGED
@@ -1049,6 +1049,51 @@ div.faq {
1049
1049
  padding-bottom: 50px;
1050
1050
  }
1051
1051
 
1052
+ // Breadcrumbs
1053
+ .breadcrumb-section {
1054
+ margin-top: 7.5rem;
1055
+ // position: fixed;
1056
+ // z-index: 29;
1057
+ width: 100%;
1058
+ background-color: white;
1059
+ border-top: 2px solid #1e7d73;
1060
+ border-bottom: 2px solid #1e7d73;
1061
+ }
1062
+ .breadcrumb a {
1063
+ color: #1e7d73;
1064
+ }
1065
+ .navbar {
1066
+ padding-bottom: 2.3rem;
1067
+ }
1068
+ .hero.is-medium .hero-body {
1069
+ padding-top: 1rem;
1070
+ }
1071
+
1072
+ // Green version adopted
1073
+ .breadcrumb-section.green-version {
1074
+ background-color: #e7f2ea;
1075
+ border: 0;
1076
+ }
1077
+ .green-version .breadcrumb a {
1078
+ color: #000;
1079
+ }
1080
+ .green-version .breadcrumb li + li::before {
1081
+ color: #000;
1082
+ }
1083
+
1084
+ // Dark-green adopted
1085
+ // Green version adopted
1086
+ .breadcrumb-section.dark-green-version {
1087
+ background-color: #1e7d73;
1088
+ border: 0;
1089
+ }
1090
+ .dark-green-version .breadcrumb a {
1091
+ color: #ffffff;
1092
+ }
1093
+ .dark-green-version .breadcrumb li + li::before {
1094
+ color: #ffffff;
1095
+ }
1096
+
1052
1097
  // Mobil
1053
1098
 
1054
1099
  @include mobile {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: intia-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.47
4
+ version: 0.1.48
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marc Schmidt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-22 00:00:00.000000000 Z
11
+ date: 2022-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll