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 +4 -4
- data/_sass/lightbox.scss +34 -0
- data/assets/styles.scss +1 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4753744b5c041b51cf9c216fa6650736443ed0aa
|
4
|
+
data.tar.gz: 52a21e133e102e70a2b3c603bfd343be902072da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6eed512d23f4d9a6c9dc323fb04a70a5c32521c056775f71a27aaba95eb0602fbc7b950ecd2059afac4075a238804465a361f86e8e584b5c23ea8b3ae0c1f364
|
7
|
+
data.tar.gz: 1b43c5143e2f75330b2fb771d6c3f61cc3463634b09ab12bfa9533a32ac55ccf1f8148857fbde8a7effe8d443b5495f206708373e7d0a33ab014afe14f47dbf4
|
data/_sass/lightbox.scss
ADDED
@@ -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
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.
|
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
|