jekyll-theme-open-project 2.0.11 → 2.0.12

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
  SHA1:
3
- metadata.gz: 6e6ce40ad9bdf58fed7d6c2020adc610a81ee304
4
- data.tar.gz: fdf43aa12485024c3c54e8fbe070a6296df4a0d3
3
+ metadata.gz: c15dfa8a1e64648f95041d623a3db70af9ad78fe
4
+ data.tar.gz: f3e29500ea71eca1903a950c410e89008c8a4497
5
5
  SHA512:
6
- metadata.gz: 66e5b3d1d95ea740a04f6cd88cc5b76a9659c1cbde82bc4f2abaf9ed617a4950227de17f30c8c11870c8345329da2657c668164fa246f054a5f24af09729de78
7
- data.tar.gz: 295a333ffca7c7f0526b4543dc1b79a80aed3e5fb1c4234090bd988a3b6eb7f20bcfd8291d4623537e4724839eed3500b19599aa4137e9b67fee8403b5f1ea9b
6
+ metadata.gz: e34e6db29f31453cb597ff6df24a88fe6e51ea4a83c1d6b2bef0dddf09b2335902c6d3290610b19d835040b07b9ff757abafc0b0980a8c33fa4fb350009be86b
7
+ data.tar.gz: 7ffc77711854f3615911a1ee61b47e7b6f891cda9974d2863b6775275c067666595fc697e7d95bbe42bc67e9de91e3550235c6f95370394cf0c80d356ac3154c
@@ -97,7 +97,7 @@ supporting expandable navigation widget.
97
97
  <h1 class="text">{{ page.article_header_title | default: page.title }}</h1>
98
98
  </div>
99
99
 
100
- {% if is_docs_landing == false and item_data.docs.git_repo_url %}
100
+ {% if is_docs_landing == false %}
101
101
  <nav role="toolbar">
102
102
  <button class="docs-nav-toggle">Toggle table of contents</button>
103
103
  <a href="{{ item_data.docs.git_repo_url }}/edit/master/docs/{{ page.path | split: "/" | last }}" class="docs-suggest-edits">Suggest edits to this page</a>
@@ -4,7 +4,7 @@
4
4
  </span>
5
5
 
6
6
  {% if site.legal.privacy_policy_link or site.legal.tos_link %}
7
- <nav>
7
+ <nav aria-label="legal links">
8
8
  {% if site.legal.tos_link %}
9
9
  <a href="{{ site.legal.tos_link }}">Terms of Service</a>
10
10
  {% endif %}
@@ -7,36 +7,36 @@
7
7
  {% endif %}
8
8
 
9
9
  {% if site.is_hub %}
10
- {% include nav-page-link.html url="/projects/" title="Projects" %}
10
+ {% include nav-page-link.html htmlclass="projects" url="/projects/" title="Projects" %}
11
11
 
12
12
  {% if site.num_all_software > 0 %}
13
- {% include nav-page-link.html url="/software/" title="All Software" active_for_nested=true %}
13
+ {% include nav-page-link.html htmlclass="software" url="/software/" title="Software" active_for_nested=true %}
14
14
  {% endif %}
15
15
  {% if site.num_all_specs > 0 %}
16
- {% include nav-page-link.html url="/specs/" title="All Specifications" active_for_nested=true %}
16
+ {% include nav-page-link.html htmlclass="specs" url="/specs/" title="Specifications" active_for_nested=true %}
17
17
  {% endif %}
18
18
  {% if site.num_posts_combined > 0 %}
19
- {% include nav-page-link.html url="/blog/" title="Blog" active_for_nested=true %}
19
+ {% include nav-page-link.html htmlclass="blog" url="/blog/" title="Blog" active_for_nested=true %}
20
20
  {% endif %}
21
21
 
22
22
  {% else %}
23
23
 
24
24
  {% if site.one_software %}
25
- {% include nav-page-link.html url=site.one_software.url title="Docs" active_for_nested=true %}
25
+ {% include nav-page-link.html htmlclass="docs" url=site.one_software.url title="Docs" active_for_nested=true %}
26
26
  {% else %}
27
27
  {% if site.num_all_software > 0 %}
28
- {% include nav-page-link.html url="/software/" title="Software" active_for_nested=true %}
28
+ {% include nav-page-link.html htmlclass="software" url="/software/" title="Software" active_for_nested=true %}
29
29
  {% endif %}
30
30
  {% endif %}
31
31
 
32
32
  {% if site.num_all_specs > 0 %}
33
- {% include nav-page-link.html url="/specs/" title="Specifications" active_for_nested=true %}
33
+ {% include nav-page-link.html htmlclass="specs" url="/specs/" title="Specifications" active_for_nested=true %}
34
34
  {% endif %}
35
35
 
36
36
  {% include project-nav.html %}
37
37
 
38
38
  {% if site.num_posts_combined > 0 %}
39
- {% include nav-page-link.html url="/blog/" title="Blog" active_for_nested=true %}
39
+ {% include nav-page-link.html htmlclass="blog" url="/blog/" title="Blog" active_for_nested=true %}
40
40
  {% endif %}
41
41
  {% endif %}
42
42
 
@@ -9,9 +9,9 @@
9
9
  {% endif %}
10
10
 
11
11
  {% if active_nested or page.url == include.url %}
12
- <a class="active" href="{{ include.url }}">{{ include.title }}</a>
12
+ <a class="active {{ include.htmlclass }}" href="{{ include.url }}">{{ include.title }}</a>
13
13
  {% else %}
14
- <a href="{{ include.url }}">{{ include.title }}</a>
14
+ <a class="{{ include.htmlclass }}" href="{{ include.url }}">{{ include.title }}</a>
15
15
  {% endif %}
16
16
 
17
17
  {% assign active_nested = false %}
@@ -93,6 +93,17 @@
93
93
 
94
94
  <div class="underlay footer">
95
95
  <footer>
96
+ {% if site.num_all_specs > 0 or site.num_all_software > 0 %}
97
+ <nav class="links" aria-label="site links">
98
+ {% if site.num_all_software > 0 %}
99
+ <a href="/software/">All {{ site.title }} software</a>
100
+ {% endif %}
101
+ {% if site.num_all_specs > 0 %}
102
+ <a href="/specs/">All specifications</a>
103
+ {% endif %}
104
+ </nav>
105
+ {% endif %}
106
+
96
107
  {% if site.is_hub %}
97
108
  <div class="site-logo" aria-label="logo">{% include logo.html %}</div>
98
109
  {% else %}
@@ -92,7 +92,7 @@ main {
92
92
  // Show third element
93
93
  &:nth-child(3) {
94
94
  opacity: 1;
95
- display: block;
95
+ display: flex;
96
96
  }
97
97
  }
98
98
  }
@@ -238,7 +238,7 @@ main {
238
238
  @extend .post-card;
239
239
  @include hoverable-card(4px, 12px, rgba(0, 0, 0, 0.08));
240
240
 
241
- padding: 32px 30px;
241
+ padding: 32px 30px 16px 30px;
242
242
 
243
243
  .header {
244
244
  font-size: 22px;
@@ -351,6 +351,9 @@ main {
351
351
  padding: 40px 32px;
352
352
  text-align: center;
353
353
 
354
+ display: flex;
355
+ flex-flow: column nowrap;
356
+
354
357
  box-sizing: border-box;
355
358
 
356
359
  @media screen and (min-width: $bigscreen-breakpoint) {
@@ -372,6 +375,7 @@ main {
372
375
  }
373
376
 
374
377
  .body {
378
+ flex: 1;
375
379
  font-size: 16px;
376
380
  margin-bottom: 1em;
377
381
  overflow: hidden;
@@ -147,10 +147,17 @@ a {
147
147
 
148
148
  .item-card {
149
149
  background: white;
150
- display: block;
150
+
151
+ display: flex;
152
+ flex-flow: column nowrap;
153
+
151
154
  position: relative;
152
155
  overflow: hidden;
153
156
 
157
+ .body {
158
+ flex: 1;
159
+ }
160
+
154
161
  &:link, &:hover, &:visited {
155
162
  color: inherit;
156
163
  text-decoration: none;
@@ -320,6 +320,21 @@ body > .underlay > footer {
320
320
  }
321
321
  }
322
322
 
323
+ nav {
324
+ display: flex;
325
+ flex-flow: row wrap;
326
+
327
+ > * {
328
+ margin-right: 40px;
329
+ }
330
+ }
331
+
332
+ .links {
333
+ font-weight: bold;
334
+ opacity: 0.8;
335
+ margin-bottom: 1em;
336
+ }
337
+
323
338
  .legal {
324
339
  font-size: 14px;
325
340
 
@@ -337,15 +352,6 @@ body > .underlay > footer {
337
352
  }
338
353
  }
339
354
 
340
- nav {
341
- display: flex;
342
- flex-flow: row wrap;
343
-
344
- > * {
345
- margin-right: 40px;
346
- }
347
- }
348
-
349
355
  @media screen and (min-width: $widescreen-breakpoint) {
350
356
  flex-flow: row nowrap;
351
357
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-open-project
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.11
4
+ version: 2.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-13 00:00:00.000000000 Z
11
+ date: 2019-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 2.0.11
75
+ version: 2.0.12
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 2.0.11
82
+ version: 2.0.12
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: bundler
85
85
  requirement: !ruby/object:Gem::Requirement