intia-theme 0.1.46 → 0.1.49

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f0e948af62a5df8bf8fd1fa2b7f831b326486325ba9a596b774142ac02bb37fd
4
- data.tar.gz: f1be2212ffb4ad8aeb96795374a14996cd4db56199712c9d9462b827003d303f
3
+ metadata.gz: aab6a53827173ec025ad06b1e7641001af37ac95ac0add0d919ca6bd720f33cd
4
+ data.tar.gz: 31531108efc5020db6b105331c2a7458df815f3adb2b58b2d4363b25d4ca7d8e
5
5
  SHA512:
6
- metadata.gz: 76e5a260c7f6230261d254062dbc0bd05113756268ecf6d824b3f98cb837a1bd9ca16e6e9ccec997706f77d2d1961d202d5c55d2a1ded48a16e587d89a577600
7
- data.tar.gz: e1930ce7ef55217777159ff2abdcdca2c728d87af0bed23db2ab2b8532ea7e0c5eeafe868f437030cab2e9249f989a2a3ab9bf81e0bb0780e12604d434358a08
6
+ metadata.gz: 6d58a51bd5694a1747c36fc47c50fe13ea54858fd8ed4253686b028dcfb66e4bac5cf89c638aae62ea7dc623a8615e78853a3701d9527c4f8231792fe042b5eb
7
+ data.tar.gz: 9d33e34c341890d513f65024db81c7318d31de568ecd80f2f576a98f32326a287974f6708c207c97cc209ce28a39ac5f5d00f0679ff7a31afa508b5ced93ad31
data/_includes/head.html CHANGED
@@ -10,6 +10,11 @@
10
10
  <link href="https://fonts.googleapis.com/css?family=Verdana" rel="stylesheet" type='text/css'>
11
11
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css">
12
12
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma-carousel@4.0.3/dist/css/bulma-carousel.min.css">
13
+ {% unless site.hide_radar %}
14
+ <script src="https://d3js.org/d3.v5.min.js"></script>
15
+ <script src="https://methods.intia.de/src/radar/radar.js"></script>
16
+ <link rel="stylesheet" href="https://methods.intia.de/src/radar/radar.css" />
17
+ {% endunless %}
13
18
  {% unless site.hide_share_buttons %}
14
19
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma-social@1/bin/bulma-social.min.css">
15
20
  {% endunless %}
@@ -45,4 +45,39 @@
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="/">{{ site.title }}</a></li>
57
+ {% if site.breadcrumb_from_url %}
58
+ {% for crumb in crumbs offset: 1 %}
59
+ {% if forloop.last %}
60
+ <li><a href="#">{{ page.title }}</a></li>
61
+ {% else %}
62
+ <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>
63
+ {% endif %}
64
+ {% endfor %}
65
+ {% else %}
66
+ {% if page.breadcrumbs %}
67
+ {% for crumb in page.breadcrumbs %}
68
+ <li><a>{{ crumb }}</a></li>
69
+ {% endfor %}
70
+ {% elsif page.title_above %}
71
+ <li><a >{{ page.title_above }}</a></li>
72
+ {% else %}
73
+ {% endif %}
74
+ {% unless crumbs == empty %}
75
+ <li><a href="#">{{ page.title }}</a></li>
76
+ {% endunless %}
77
+ {% endif %}
78
+ </ul>
79
+ </nav>
80
+ </div>
81
+ </section>
82
+ {% else %}
83
+ {% endunless %}
data/_sass/_layout.scss CHANGED
@@ -1049,6 +1049,52 @@ 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
+ cursor: default;
1065
+ }
1066
+ .navbar {
1067
+ padding-bottom: 2.3rem;
1068
+ }
1069
+ .hero.is-medium .hero-body {
1070
+ padding-top: 1rem;
1071
+ }
1072
+
1073
+ // Green version adopted
1074
+ .breadcrumb-section.green-version {
1075
+ background-color: #e7f2ea;
1076
+ border: 0;
1077
+ }
1078
+ .green-version .breadcrumb a {
1079
+ color: #000;
1080
+ }
1081
+ .green-version .breadcrumb li + li::before {
1082
+ color: #000;
1083
+ }
1084
+
1085
+ // Dark-green adopted
1086
+ // Green version adopted
1087
+ .breadcrumb-section.dark-green-version {
1088
+ background-color: #1e7d73;
1089
+ border: 0;
1090
+ }
1091
+ .dark-green-version .breadcrumb a {
1092
+ color: #ffffff;
1093
+ }
1094
+ .dark-green-version .breadcrumb li + li::before {
1095
+ color: #ffffff;
1096
+ }
1097
+
1052
1098
  // Mobil
1053
1099
 
1054
1100
  @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.46
4
+ version: 0.1.49
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-16 00:00:00.000000000 Z
11
+ date: 2022-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll