ryanaghdam-jekyll-theme 1.1.0 → 1.2.0

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: 4753744b5c041b51cf9c216fa6650736443ed0aa
4
- data.tar.gz: 52a21e133e102e70a2b3c603bfd343be902072da
3
+ metadata.gz: 9c32ae2bec430340631e5b9078eed9d9aeb5d2e5
4
+ data.tar.gz: bffc17ee4a88152a7fbe93f4bf6313f19ba592c7
5
5
  SHA512:
6
- metadata.gz: 6eed512d23f4d9a6c9dc323fb04a70a5c32521c056775f71a27aaba95eb0602fbc7b950ecd2059afac4075a238804465a361f86e8e584b5c23ea8b3ae0c1f364
7
- data.tar.gz: 1b43c5143e2f75330b2fb771d6c3f61cc3463634b09ab12bfa9533a32ac55ccf1f8148857fbde8a7effe8d443b5495f206708373e7d0a33ab014afe14f47dbf4
6
+ metadata.gz: 57cd67763a628f1416a2f8e80a25ad3ddac8ab10afbca0ce930b1e42422ae6d62bf1a8c54bcad9d0aeb175c717919c17f0c282e98f244d84bd54f8edc9a4cd40
7
+ data.tar.gz: 0032b6c7108d50da1db218d2eff1e103cb61a5b7d54bebf3e223add86bddc3673bf6facaa72f25a4d9d2cc66f6f5a37c3b841ecfaa016a96e7ee45b3196417d3
@@ -0,0 +1,13 @@
1
+ <figure>
2
+ <a href="#{{ include.image | slugify }}">
3
+ <img src="/assets/images/thumbnails/{{ include.image }}" class="thumbnail"{% if include.caption %} alt="{{ include.caption }}"{% endif %}>
4
+ </a>
5
+
6
+ {% if include.caption %}
7
+ <figcaption>{{ include.caption }}</figcaption>
8
+ {% endif %}
9
+ </figure>
10
+
11
+ <a href="#" class="lightbox" id="{{ include.image | slugify }}">
12
+ <img src="/assets/images/{{ include.image }}"{% if include.caption %} alt="{{ include.caption }}"{% endif %}>
13
+ </a>
data/_sass/image.scss ADDED
@@ -0,0 +1,13 @@
1
+ main figure {
2
+ margin-top: 3rem;
3
+ margin-bottom: 3rem;
4
+ }
5
+
6
+ main figcaption {
7
+ font-size: 0.8rem;
8
+ font-style: italic;
9
+ margin-left: auto;
10
+ margin-right: auto;
11
+ max-width: 75%;
12
+ text-align: center;
13
+ }
@@ -0,0 +1,4 @@
1
+ figure {
2
+ float: none;
3
+ margin-left: 0;
4
+ }
data/assets/styles.scss CHANGED
@@ -3,4 +3,6 @@
3
3
 
4
4
  @import 'writ';
5
5
  @import 'lightbox';
6
+ @import 'image';
7
+ @import 'override';
6
8
  @import 'custom';
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ryanaghdam-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Aghdam
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-26 00:00:00.000000000 Z
11
+ date: 2016-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -62,6 +62,7 @@ files:
62
62
  - LICENSE.txt
63
63
  - README.md
64
64
  - _includes/header.html
65
+ - _includes/image.html
65
66
  - _includes/tracking.html
66
67
  - _includes/webfont.html
67
68
  - _layouts/atom.xml
@@ -70,7 +71,9 @@ files:
70
71
  - _layouts/page.html
71
72
  - _layouts/post.html
72
73
  - _sass/custom.scss
74
+ - _sass/image.scss
73
75
  - _sass/lightbox.scss
76
+ - _sass/override.scss
74
77
  - _sass/writ.scss
75
78
  - assets/styles.scss
76
79
  homepage: http://ryanaghdam.com/projects/jekyll-theme