jekyll-theme-open-project 1.3.3 → 1.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/home-project.html +46 -48
- data/_sass/jekyll-theme-open-project.scss +19 -4
- data/_sass/open-project-mixins.scss +5 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4dcd33aba82235dfb9006a73ec08312b707d24b8aaf02004a48d9c8f9a39b60
|
4
|
+
data.tar.gz: c0e916d4e6898e541b438619c974d1e70c1e884cb0a89cbdaea0328f6e97b9ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0870bba7d5b1229926777e61c1d0016743981aef0710d8a524137847250a4debfa77cbcea5462df809ef19dba9dada90df9304f13d4d8ae701713247f6e7289
|
7
|
+
data.tar.gz: 3cc202cc0740c816bb587f00b21a66738f925c13c14c8faecb8201780e10abd333e9e410e6610327b4536de8c16afb42ac55622bab90cb2cfed1a7c93c4d40d9
|
data/_includes/home-project.html
CHANGED
@@ -19,12 +19,22 @@
|
|
19
19
|
|
20
20
|
{% assign num_top_items = num_software + num_posts %}
|
21
21
|
|
22
|
+
{% if num_posts > 0 %}
|
23
|
+
<section class="featured-posts">
|
24
|
+
<h2 class="title">From the <a href="/blog/">Blog</a></h2>
|
25
|
+
|
26
|
+
<div class="items">
|
27
|
+
{% for item in posts | limit: site.max_featured_posts %}
|
28
|
+
{% include post-card.html post=item %}
|
29
|
+
{% endfor %}
|
30
|
+
</div>
|
31
|
+
</section>
|
32
|
+
{% endif %}
|
33
|
+
|
22
34
|
<div class="underlay top-background">
|
23
|
-
|
24
|
-
<
|
25
|
-
|
26
|
-
</svg>
|
27
|
-
{% endif %}
|
35
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none">
|
36
|
+
<polygon fill="white" points="0,0 100,0 100,60 0,100"/>
|
37
|
+
</svg>
|
28
38
|
|
29
39
|
{% if num_software > 0 %}
|
30
40
|
<section class="software">
|
@@ -67,53 +77,41 @@
|
|
67
77
|
</section>
|
68
78
|
{% endif %}
|
69
79
|
|
70
|
-
{% if
|
71
|
-
<section class="
|
72
|
-
<h2 class="title">
|
80
|
+
{% if num_specs > 0 %}
|
81
|
+
<section class="specs">
|
82
|
+
<h2 class="title">
|
83
|
+
{% if num_featured_specs >= num_specs or num_specs <= site.max_featured_specs %}
|
84
|
+
Open Specifications
|
85
|
+
{% else %}
|
86
|
+
Featured Specifications
|
87
|
+
<a class="more-link"
|
88
|
+
href="/specs/" title="See all {{ site.title }} specs">(see all)</a>
|
89
|
+
{% endif %}
|
90
|
+
</h2>
|
73
91
|
|
74
92
|
<div class="items">
|
75
|
-
{% for item in
|
76
|
-
|
93
|
+
{% for item in specs | limit: site.max_featured_specs %}
|
94
|
+
<a class="item" href="{{ item.url }}" role="article">
|
95
|
+
<header>
|
96
|
+
<h3 class="title">{{ item.title }}</h3>
|
97
|
+
</header>
|
98
|
+
|
99
|
+
<p class="body">
|
100
|
+
{{ item.description }}
|
101
|
+
</p>
|
102
|
+
|
103
|
+
<footer class="meta">
|
104
|
+
{% include tag-list.html tags=item.tags item_type="specs" %}
|
105
|
+
|
106
|
+
{% if item.last_update %}
|
107
|
+
<section class="last-update">
|
108
|
+
Last update: {{ item.last_update | date: "%d/%m/%Y" }}
|
109
|
+
</section>
|
110
|
+
{% endif %}
|
111
|
+
</footer>
|
112
|
+
</a>
|
77
113
|
{% endfor %}
|
78
114
|
</div>
|
79
115
|
</section>
|
80
116
|
{% endif %}
|
81
117
|
</div>
|
82
|
-
|
83
|
-
{% if num_specs > 0 %}
|
84
|
-
<section class="specs">
|
85
|
-
<h2 class="title">
|
86
|
-
{% if num_featured_specs >= num_specs or num_specs <= site.max_featured_specs %}
|
87
|
-
Open Specifications
|
88
|
-
{% else %}
|
89
|
-
Featured Specifications
|
90
|
-
<a class="more-link"
|
91
|
-
href="/specs/" title="See all {{ site.title }} specs">(see all)</a>
|
92
|
-
{% endif %}
|
93
|
-
</h2>
|
94
|
-
|
95
|
-
<div class="items">
|
96
|
-
{% for item in specs | limit: site.max_featured_specs %}
|
97
|
-
<a class="item" href="{{ item.url }}" role="article">
|
98
|
-
<header>
|
99
|
-
<h3 class="title">{{ item.title }}</h3>
|
100
|
-
</header>
|
101
|
-
|
102
|
-
<p class="body">
|
103
|
-
{{ item.description }}
|
104
|
-
</p>
|
105
|
-
|
106
|
-
<footer class="meta">
|
107
|
-
{% include tag-list.html tags=item.tags item_type="specs" %}
|
108
|
-
|
109
|
-
{% if item.last_update %}
|
110
|
-
<section class="last-update">
|
111
|
-
Last update: {{ item.last_update | date: "%d/%m/%Y" }}
|
112
|
-
</section>
|
113
|
-
{% endif %}
|
114
|
-
</footer>
|
115
|
-
</a>
|
116
|
-
{% endfor %}
|
117
|
-
</div>
|
118
|
-
</section>
|
119
|
-
{% endif %}
|
@@ -43,6 +43,9 @@ main {
|
|
43
43
|
/* Generic */
|
44
44
|
|
45
45
|
.layout--home > & {
|
46
|
+
> section {
|
47
|
+
z-index: 1;
|
48
|
+
}
|
46
49
|
> .underlay {
|
47
50
|
> svg {
|
48
51
|
display: none;
|
@@ -73,7 +76,7 @@ main {
|
|
73
76
|
}
|
74
77
|
}
|
75
78
|
|
76
|
-
> .
|
79
|
+
> .featured-posts {
|
77
80
|
@extend .main-section;
|
78
81
|
|
79
82
|
.items {
|
@@ -129,7 +132,6 @@ main {
|
|
129
132
|
.layout--post > &,
|
130
133
|
.layout--spec > &,
|
131
134
|
.layout--project-index > &,
|
132
|
-
.layout--home > &,
|
133
135
|
.docs-page > & {
|
134
136
|
padding-bottom: 50px;
|
135
137
|
|
@@ -138,6 +140,14 @@ main {
|
|
138
140
|
}
|
139
141
|
}
|
140
142
|
|
143
|
+
.layout--home > & {
|
144
|
+
padding-bottom: 50px;
|
145
|
+
|
146
|
+
@media screen and (min-width: $bigscreen-breakpoint) {
|
147
|
+
padding-bottom: 0;
|
148
|
+
}
|
149
|
+
}
|
150
|
+
|
141
151
|
.layout--spec-index > &,
|
142
152
|
.layout--software-index > & {
|
143
153
|
> .filter-header {
|
@@ -268,6 +278,11 @@ main {
|
|
268
278
|
}
|
269
279
|
|
270
280
|
@media screen and (min-width: $bigscreen-breakpoint) {
|
281
|
+
box-sizing: border-box;
|
282
|
+
flex-basis: calc( 100%/#{$featured-cols-narrow} - #{$gutter} );
|
283
|
+
margin-bottom: $gutter;
|
284
|
+
}
|
285
|
+
@media screen and (min-width: $widescreen-breakpoint) {
|
271
286
|
box-sizing: border-box;
|
272
287
|
flex-basis: calc( 100%/#{$featured-cols} - #{$gutter} );
|
273
288
|
margin-bottom: $gutter;
|
@@ -564,7 +579,7 @@ main {
|
|
564
579
|
}
|
565
580
|
|
566
581
|
&.layout--home > main > .underlay > .software,
|
567
|
-
&.layout--home > main > .specs,
|
582
|
+
&.layout--home > main > .underlay > .specs,
|
568
583
|
&.layout--software-index > main,
|
569
584
|
&.layout--spec-index > main {
|
570
585
|
> .items {
|
@@ -624,7 +639,7 @@ main {
|
|
624
639
|
}
|
625
640
|
|
626
641
|
&.layout--home > main > .underlay > .software,
|
627
|
-
&.layout--home > main > .specs {
|
642
|
+
&.layout--home > main > .underlay > .specs {
|
628
643
|
@extend .main-section;
|
629
644
|
|
630
645
|
.items {
|
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: 1.3.
|
4
|
+
version: 1.3.4
|
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-
|
11
|
+
date: 2019-03-15 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: 1.3.
|
75
|
+
version: 1.3.4
|
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: 1.3.
|
82
|
+
version: 1.3.4
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: bundler
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|