prettydocs-jekyll 0.1.0 → 0.1.1
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/_includes/_sections/contact.html +5 -1
- data/_includes/_utils/picture +18 -0
- data/_sass/partials/_doc.scss +4 -6
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ffd524d32c98c1ca1af57e395d8125623487a63b
|
|
4
|
+
data.tar.gz: 51aa502d75e1c078c7b482799d3a1dafaf0456c4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
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>
|
data/_sass/partials/_doc.scss
CHANGED
|
@@ -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:
|
|
249
|
-
top:
|
|
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.
|
|
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-
|
|
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
|