together-theme 0.0.15 → 0.0.16

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: ae1a669215d0b32e138c419c45d686c8b6fecbdcd096e73c09899d5ac5a80008
4
- data.tar.gz: 408e3fc1d75d9765bd2359628e26869b9438e9d58b561d4efddbc953bdee77fd
3
+ metadata.gz: fa7310be91857a7594fdd105e1453b6429090972aaf647a509c129d36ab32d5f
4
+ data.tar.gz: 24acb641bf43eec52f0fa24fcc721de495ec46f6f181504b24adac5a76c191ee
5
5
  SHA512:
6
- metadata.gz: 9537cebfbad9597c7101a4352faae36ad1d5933170ad2ce93e0c13c3d1a1c63df09d2ac05b800bcdf74174cffb25bb357b506a88b9419a5b8caa11b80a661a13
7
- data.tar.gz: 893984a8cb4b585f248ceb66fdde142a10c6814f9697fefdc33192e49429b038289486bced99aba1120711e4b044133fc315f3dbb122521e9562934f1a818cbb
6
+ metadata.gz: 2bc8e8a8cd74858187d060fc5ef8a2e780338ae82474ba2737780363675ec52e504959f34417b31bb43c25ac2aee4eaef5b495baa8c02ffdac39b7fd88303673
7
+ data.tar.gz: 01c2575a909f4dd60493e87b1e97c08bb756b5d44b7141f6251f06bbafbc1ac3ed7cb5786ed0eaac02c5f7a4269f824a30b20ce91d9a16d4aa19ae323a55f81c
@@ -0,0 +1,8 @@
1
+ {% if page.next.url %}
2
+ <p>
3
+ <a href="{{page.next.url}}" class="button">
4
+ {{page.next.title}}
5
+ &nbsp; &raquo;
6
+ </a>
7
+ </p>
8
+ {% endif %}
data/_js/index.js CHANGED
@@ -19,7 +19,7 @@ const buildProgressBar = (value, total, $prevHeading, $nextHeading) => {
19
19
 
20
20
  if ($nextHeading) {
21
21
  html += `<a href="#${$nextHeading.id}" class="next">
22
- ${$nextHeading.innerHTML} (${value} / ${total})
22
+ ${$nextHeading.innerHTML}
23
23
  <span class="arrow">
24
24
  &raquo;
25
25
  </span>
@@ -17,6 +17,10 @@
17
17
 
18
18
  <main>
19
19
  {{ content }}
20
+
21
+ <footer>
22
+ {% include article_footer.html %}
23
+ </footer>
20
24
  </main>
21
25
  </div>
22
26
 
data/_sass/_article.scss CHANGED
@@ -4,7 +4,7 @@ article {
4
4
  display: inline-block;
5
5
  color: var(--link-color);
6
6
 
7
- &:hover {
7
+ &:not(button,.button):hover {
8
8
  background: var(--bg-emphasis);
9
9
  padding: 0px 5px;
10
10
  margin: 0 -5px;
@@ -113,10 +113,18 @@ article {
113
113
  font-style: oblique;
114
114
  }
115
115
  }
116
+
117
+ footer {
118
+ display: block;
119
+ margin-top: var(--padding-xl);
120
+ margin-bottom: var(--padding-xl);
121
+ }
116
122
  }
117
123
 
118
124
  .progress-bar {
119
125
  margin-top: 4rem;
126
+ padding-bottom: var(--padding-lg);
127
+ margin-bottom: var(--padding-xl);
120
128
 
121
129
  .bar {
122
130
  background: var(--bg-emphasis);
@@ -133,29 +141,44 @@ article {
133
141
 
134
142
  a {
135
143
  color: var(--text-color);
136
- font-weight: var(--emphasis);
137
144
 
138
- &:hover {
145
+ &:not(button,.button):hover {
139
146
  background: none;
140
147
  color: var(--link-color);
141
148
  }
142
149
  }
143
150
  }
144
151
 
152
+ .arrow {
153
+ margin-left: var(--padding);
154
+ }
155
+
145
156
  .next {
146
157
  float: right;
158
+
159
+ a {
160
+ font-weight: var(--emphasis);
161
+ }
147
162
  }
148
163
 
149
164
  .prev {
150
165
  color: var(--text-subtle);
166
+
167
+ .arrow {
168
+ margin-left: var(--padding);
169
+ }
151
170
  }
152
171
  }
153
172
 
154
173
  button, .button {
155
174
  display: inline-block;
156
- background: var(--link-color);
175
+ background: var(--text-color);
157
176
  font-family: var(--sans-serif);
158
177
  color: var(--bg-color);
159
- padding: var(--padding-lg) var(--padding-xl);
178
+ padding: var(--padding) var(--padding-xl);
160
179
  border-radius: var(--padding-xl);
180
+
181
+ &:hover {
182
+ background: var(--link-color);
183
+ }
161
184
  }
data/_sass/_layout.scss CHANGED
@@ -7,7 +7,7 @@ html, body {
7
7
  -moz-osx-font-smoothing: grayscale;
8
8
 
9
9
  @media (max-width: 640px) {
10
- font-size: 19px;
10
+ font-size: 17px;
11
11
  }
12
12
  }
13
13
 
data/assets/js/main.js CHANGED
@@ -31,7 +31,7 @@
31
31
  &laquo;
32
32
  </span>
33
33
  </a>`),i&&(o+=`<a href="#${i.id}" class="next">
34
- ${i.innerHTML} (${s} / ${e})
34
+ ${i.innerHTML}
35
35
  <span class="arrow">
36
36
  &raquo;
37
37
  </span>
@@ -2,12 +2,12 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "together-theme"
5
- spec.version = "0.0.15"
5
+ spec.version = "0.0.16"
6
6
  spec.authors = ["Dallas Read"]
7
7
  spec.email = ["dallas@excitecreative.ca"]
8
8
 
9
9
  spec.summary = "A theme for Jekyll."
10
- spec.homepage = "https://github.com/dallasread/together"
10
+ spec.homepage = "https://github.com/dallasread/together-theme"
11
11
  spec.license = "MIT"
12
12
 
13
13
  spec.files = `git ls-files -z`.split("\x0").reject { |name| %w[CNAME].include?(name) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: together-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dallas Read
@@ -65,6 +65,7 @@ files:
65
65
  - Gemfile
66
66
  - README.md
67
67
  - _config.yml
68
+ - _includes/article_footer.html
68
69
  - _includes/article_header.html
69
70
  - _includes/article_nav.html
70
71
  - _includes/head.html
@@ -93,7 +94,7 @@ files:
93
94
  - screenshot.png
94
95
  - together-theme.gemspec
95
96
  - yarn.lock
96
- homepage: https://github.com/dallasread/together
97
+ homepage: https://github.com/dallasread/together-theme
97
98
  licenses:
98
99
  - MIT
99
100
  metadata: {}