prettydocs-jekyll 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bc7b42bbe2e3bfd84289bd8eb5d9af9c8da23f18
4
- data.tar.gz: dbce1ffdf00e0719cde4ca8ccdc1877936a7ffb2
3
+ metadata.gz: ffd524d32c98c1ca1af57e395d8125623487a63b
4
+ data.tar.gz: 51aa502d75e1c078c7b482799d3a1dafaf0456c4
5
5
  SHA512:
6
- metadata.gz: 46215c4ae1ddca6eb6a08d4499ee18f51a5efdbcfc11d23f11a3cc9337d2dd9c69f4f307e13735c32d47afe53420b22cb6a2304f86141c63f54931883bfb78cc
7
- data.tar.gz: 5184273077a94b0cde56a0efc15e2b5e20ba72e8a4593268fd09ee3b87634447381c027b0e5ccb8263a4cfce35464e34a7d7976c2cff3f871f5553a593643727
6
+ metadata.gz: 9a93a5d075d4ae0d40332e9159bce2c7d1f60361a80ce33bd27e6e544d11f1735eb216c7fd0086d6cc9ff584b427e95c1f1703c303d021fe2cdfd19906a99bf9
7
+ data.tar.gz: '025821a660526a8d465c788b86fee590792bab3fcf2afb98b166a9a82bf9812bfb53f300b4c8442ef9a787659b5ddd078a0cbc6e3621b3881509a84c7200e542'
@@ -9,7 +9,11 @@
9
9
  <div class="bubble row vertical-align">
10
10
  <div class="avatar text-center col-md-2 col-sm-4 col-xs-4">
11
11
  <a class="center-block" href="{{ member.url | default: '#' }}" target="_blank">
12
- <img class="img-responsive img-circle" src="https://www.gravatar.com/avatar/{{ member.email | remove: ' ' | strip_newlines | downcase | md5 }}" alt="{{ member.name }}"/>
12
+ {% if member.avatar %}
13
+ <img class="img-responsive img-circle" src="{{ member.avatar }}" alt="{{ member.name }}"/>
14
+ {% else %}
15
+ <img class="img-responsive img-circle" src="https://www.gravatar.com/avatar/{{ member.email | remove: ' ' | strip_newlines | downcase | md5 }}" alt="{{ member.name }}"/>
16
+ {% endif %}
13
17
  </a>
14
18
  </div>
15
19
  <div class="text-center col-md-10 col-sm-8 col-xs-8">
@@ -0,0 +1,18 @@
1
+ {% assign picture = include.picture %}
2
+ {% if include.thumbnail %} {% assign thumbnail = include.thumbnail %}
3
+ {% else %} {% assign thumbnail = include.picture %}
4
+ {% endif %}
5
+ {% if include.class %} {% assign class = include.class %}
6
+ {% else %} {% assign class = "img-responsive center-block" %}
7
+ {% endif %}
8
+ {% if include.icon %} {% assign icon = include.icon %}
9
+ {% else %} {% assign icon = "fas fa-search-plus" %}
10
+ {% endif %}
11
+ <div class="screenshot-holder text-center">
12
+ <a href="{{ picture | prepend: site.baseurl }}" data-title="{{ include.title }}" data-toggle="lightbox">
13
+ <img class="{{ class }}" src="{{ thumbnail | prepend: site.baseurl }}" alt="{{ include.title }}">
14
+ </a>
15
+ <a class="mask" href="{{ picture | prepend: site.baseurl }}" data-title="{{ include.title }}" data-toggle="lightbox">
16
+ <span class="icon {{ icon }}"></span>
17
+ </a>
18
+ </div>
@@ -228,6 +228,7 @@
228
228
  img {
229
229
  border: 1px solid $divider;
230
230
  }
231
+
231
232
  .mask {
232
233
  display: block;
233
234
  visibility: hidden;
@@ -239,16 +240,14 @@
239
240
  background: rgba(0, 0, 0, 0.25);
240
241
  cursor: pointer;
241
242
  text-decoration: none;
243
+
242
244
  .icon {
243
245
  color: #fff;
244
- font-size: 42px;
245
246
  display: block;
246
247
  position: absolute;
247
248
  width: 100%;
248
- height: 100%;
249
- top: 50%;
250
- margin-top: -21px;
251
-
249
+ height: 10%;
250
+ top: 45%;
252
251
  }
253
252
  }
254
253
  &:hover {
@@ -280,7 +279,6 @@
280
279
  cursor: pointer;
281
280
  text-decoration: none;
282
281
  .icon {
283
-
284
282
  color: #fff;
285
283
  font-size: 42px;
286
284
  margin-top: 25%;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prettydocs-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandru Coman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-17 00:00:00.000000000 Z
11
+ date: 2018-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -113,6 +113,7 @@ files:
113
113
  - _includes/_theme/js.html
114
114
  - _includes/_utils/common
115
115
  - _includes/_utils/month
116
+ - _includes/_utils/picture
116
117
  - _layouts/compress.html
117
118
  - _layouts/default.html
118
119
  - _layouts/faqs.html