jekyll-theme-open-project 1.0.0.rc1 → 1.0.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -5
- data/_includes/home-hero.html +4 -4
- data/_layouts/default.html +12 -1
- data/_sass/open-project-header-footer.scss +52 -5
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97235d0ae3af0dbcb51d717fa65f10cbf38abe65
|
4
|
+
data.tar.gz: 36b5483f5100f294a04f1007881767ef27b086bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 225a2c5d4582a5c21aa72981a968f48db56762462ba05eaa4a115b9be0b197c92a74e5f62a14af23131812b095bbf584e7f492a162c5683e899801a4db06eaf4
|
7
|
+
data.tar.gz: 8e5234591f81427d3aea49c3618ce1330eaac5618d8e5eb0ca00de55c2f07c92aff9ecf606e60020c63105a7719a5ca761a5909b2db279ab8cdcc113333f8a45
|
data/README.md
CHANGED
@@ -27,8 +27,8 @@ to AWS S3.
|
|
27
27
|
* [SVG guidelines](#svg-guidelines)
|
28
28
|
* [Content guidelines](#content-guidelines)
|
29
29
|
|
30
|
-
* [
|
31
|
-
* [
|
30
|
+
* [Layouts](#theme-layouts)
|
31
|
+
* [Includes](#theme-includes)
|
32
32
|
|
33
33
|
|
34
34
|
## Starting a site with this theme
|
@@ -115,9 +115,6 @@ These settings apply to both site types (hub and project).
|
|
115
115
|
pitch: Site pitch
|
116
116
|
# The above two are used on home hero unit.
|
117
117
|
|
118
|
-
seo:
|
119
|
-
type: Organization
|
120
|
-
|
121
118
|
social:
|
122
119
|
links:
|
123
120
|
- https://twitter.com/<orgname>
|
@@ -309,6 +306,13 @@ authors:
|
|
309
306
|
email: your-email@example.com
|
310
307
|
|
311
308
|
author: "Company or Individual Name Goes Here"
|
309
|
+
|
310
|
+
# Any given open project site is assumed to be part of a hub,
|
311
|
+
# and hub details in this format are required to let project site
|
312
|
+
# reference the hub.
|
313
|
+
parent_hub:
|
314
|
+
git_repo_url: git@example.com:path/to-repo.git
|
315
|
+
home_url: https://www.example.com/
|
312
316
|
```
|
313
317
|
|
314
318
|
File layout is the same as described in the section
|
data/_includes/home-hero.html
CHANGED
@@ -21,10 +21,10 @@
|
|
21
21
|
|
22
22
|
{% if site.parent_hub %}
|
23
23
|
<div class="parent-hub-plug" role="presentation">
|
24
|
-
<span class="
|
25
|
-
<
|
26
|
-
{% include parent-hub/assets/symbol.svg %} <span class="title">{% include parent-hub/
|
27
|
-
</
|
24
|
+
<span class="label">A project done by</span>
|
25
|
+
<a class="logo" role="presentation" href="{{ site.parent_hub.home_url }}">
|
26
|
+
{% include parent-hub/assets/symbol.svg %} <span class="title">{% include parent-hub/title.html %}</span>
|
27
|
+
</a>
|
28
28
|
</div>
|
29
29
|
{% endif %}
|
30
30
|
</div>
|
data/_layouts/default.html
CHANGED
@@ -53,8 +53,19 @@
|
|
53
53
|
|
54
54
|
<div class="underlay footer" role="presentation">
|
55
55
|
<footer>
|
56
|
-
|
56
|
+
{% if site.is_hub %}
|
57
|
+
<div class="site-logo">{% include logo.html %}</div>
|
58
|
+
{% else %}
|
59
|
+
<div class="parent-hub-plug" role="presentation">
|
60
|
+
<span class="label">A project done by</span>
|
61
|
+
<a class="logo" role="presentation" href="{{ site.parent_hub.home_url }}">
|
62
|
+
{% include parent-hub/assets/symbol.svg %} <span class="title">{% include parent-hub/title.html %}</span>
|
63
|
+
</a>
|
64
|
+
</div>
|
65
|
+
{% endif %}
|
66
|
+
|
57
67
|
<div class="legal">{% include legal.html %}</div>
|
68
|
+
|
58
69
|
{% include social-links.html %}
|
59
70
|
</footer>
|
60
71
|
</div>
|
@@ -40,6 +40,32 @@ body > .underlay > footer {
|
|
40
40
|
}
|
41
41
|
}
|
42
42
|
|
43
|
+
.parent-hub-plug {
|
44
|
+
.logo {
|
45
|
+
display: block;
|
46
|
+
}
|
47
|
+
body.layout-home > .underlay.header > .hero > .text > & {
|
48
|
+
position: absolute;
|
49
|
+
bottom: 0;
|
50
|
+
right: 0;
|
51
|
+
text-align: right;
|
52
|
+
}
|
53
|
+
body > .underlay.footer & {
|
54
|
+
display: flex;
|
55
|
+
flex-flow: row nowrap;
|
56
|
+
align-items: center;
|
57
|
+
margin-right: 50px;
|
58
|
+
line-height: .5;
|
59
|
+
opacity: 0.8;
|
60
|
+
color: white;
|
61
|
+
|
62
|
+
.label {
|
63
|
+
margin-right: 20px;
|
64
|
+
font-weight: 500;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
43
69
|
.underlay.header {
|
44
70
|
body > & {
|
45
71
|
background: $header-background;
|
@@ -49,14 +75,17 @@ body > .underlay > footer {
|
|
49
75
|
padding-bottom: 60px;
|
50
76
|
|
51
77
|
@media screen and (min-width: $widescreen-breakpoint) {
|
52
|
-
padding-top:
|
53
|
-
padding-bottom:
|
78
|
+
padding-top: 55px;
|
79
|
+
padding-bottom: 30px;
|
54
80
|
}
|
55
81
|
|
56
82
|
text-align: center;
|
57
83
|
color: white;
|
58
84
|
|
59
85
|
> .text {
|
86
|
+
position: relative;
|
87
|
+
padding-bottom: 80px;
|
88
|
+
|
60
89
|
> .title {
|
61
90
|
font-size: 44px;
|
62
91
|
font-weight: 700;
|
@@ -83,9 +112,21 @@ body > .underlay > footer {
|
|
83
112
|
font-size: 120%;
|
84
113
|
}
|
85
114
|
|
86
|
-
|
87
|
-
|
88
|
-
|
115
|
+
&:first-child {
|
116
|
+
margin-right: 10px;
|
117
|
+
|
118
|
+
&, &:link, &:hover, &:visited {
|
119
|
+
color: white;
|
120
|
+
background-color: rgba(white, 0.32);
|
121
|
+
}
|
122
|
+
}
|
123
|
+
&:last-child {
|
124
|
+
margin-right: 0;
|
125
|
+
|
126
|
+
&, &:link, &:hover, &:visited {
|
127
|
+
color: $primary-dark-color;
|
128
|
+
background-color: white;
|
129
|
+
}
|
89
130
|
}
|
90
131
|
}
|
91
132
|
}
|
@@ -100,6 +141,12 @@ body > .underlay > footer {
|
|
100
141
|
}
|
101
142
|
body.layout-home > & {
|
102
143
|
background: $superhero-background;
|
144
|
+
|
145
|
+
> .hero {
|
146
|
+
> .text {
|
147
|
+
padding-bottom: 130px;
|
148
|
+
}
|
149
|
+
}
|
103
150
|
}
|
104
151
|
|
105
152
|
body.hub.layout-home > & {
|
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.0.0.
|
4
|
+
version: 1.0.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.8
|
19
|
+
version: '3.8'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.8
|
26
|
+
version: '3.8'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: jekyll-seo-tag
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -42,30 +42,30 @@ dependencies:
|
|
42
42
|
name: jekyll-data
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
47
|
+
version: '1.0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
54
|
+
version: '1.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: git
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '1.4'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '1.4'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: jekyll-theme-open-project-helpers
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|