ryanaghdam-jekyll-theme 1.0.0 → 1.1.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: 92fd596639274f5fc2ec4acec01aee38991820b7
4
- data.tar.gz: 8b952e8f5fa4d6e4facad5d539b23936060de060
3
+ metadata.gz: 4753744b5c041b51cf9c216fa6650736443ed0aa
4
+ data.tar.gz: 52a21e133e102e70a2b3c603bfd343be902072da
5
5
  SHA512:
6
- metadata.gz: 005d6c6932f50c95b9e1a4a1f578a0e49f277570e13b4dd09bd6914a900d17e6e2aa4a6b9231f5ac0690ff13a04c9c392dc4eaabb3a563fddf066447c235742d
7
- data.tar.gz: 9cd4b04dc9a7059f34e0ad16ae078d3b992479c7783a37bb417990ab1d3e513fa1bae805264f83e5e3c4c0c7161aaaec10864f8523b5d3dd7e73dd5361410fd2
6
+ metadata.gz: 6eed512d23f4d9a6c9dc323fb04a70a5c32521c056775f71a27aaba95eb0602fbc7b950ecd2059afac4075a238804465a361f86e8e584b5c23ea8b3ae0c1f364
7
+ data.tar.gz: 1b43c5143e2f75330b2fb771d6c3f61cc3463634b09ab12bfa9533a32ac55ccf1f8148857fbde8a7effe8d443b5495f206708373e7d0a33ab014afe14f47dbf4
@@ -0,0 +1,34 @@
1
+ $thumbnail-size: 100%;
2
+ $background-color: black;
3
+
4
+ .thumbnail {
5
+ max-width: $thumbnail-size;
6
+ }
7
+
8
+ .lightbox {
9
+ // Hide lightbox image
10
+ display: none;
11
+
12
+ // Position/style of lightbox
13
+ position: fixed;
14
+ z-index: 999;
15
+ width: 100%;
16
+ height: 100%;
17
+ text-align: center;
18
+ top: 0;
19
+ left: 0;
20
+ background: $background-color;
21
+ }
22
+
23
+ .lightbox img {
24
+ /// Pad the lightbox image
25
+ max-width: 90%;
26
+ max-height: 90%;
27
+ margin-top: 5%;
28
+ }
29
+
30
+ .lightbox:target {
31
+ // Remove default outline and unhide lightbox
32
+ outline: none;
33
+ display: block;
34
+ }
data/assets/styles.scss CHANGED
@@ -2,4 +2,5 @@
2
2
  ---
3
3
 
4
4
  @import 'writ';
5
+ @import 'lightbox';
5
6
  @import 'custom';
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ryanaghdam-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Aghdam
@@ -70,6 +70,7 @@ files:
70
70
  - _layouts/page.html
71
71
  - _layouts/post.html
72
72
  - _sass/custom.scss
73
+ - _sass/lightbox.scss
73
74
  - _sass/writ.scss
74
75
  - assets/styles.scss
75
76
  homepage: http://ryanaghdam.com/projects/jekyll-theme