jekyll-foxslide 0.1.2 → 0.1.3
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/archive_post.html +2 -2
- data/_includes/article.html +6 -24
- data/_includes/asides/github.html +1 -1
- data/_includes/custom/asides/found_on.html +1 -21
- data/_includes/custom/footer_widgets.html +1 -1
- data/_includes/disqus.html +2 -2
- data/_includes/navigation.html +1 -1
- data/_includes/post/categories.html +1 -1
- data/_includes/post/title.html +12 -0
- data/_layouts/category_index.html +1 -0
- data/_layouts/page.html +26 -28
- data/_layouts/post.html +9 -11
- data/_sass/base/_solarized.scss +0 -5
- data/_sass/base/_syntax.scss +1 -20
- data/_sass/base/_theme.scss +2 -2
- data/_sass/custom/_layout.scss +61 -0
- data/_sass/custom/_rve.scss +17 -0
- data/_sass/custom/_styles.scss +6 -1
- data/_sass/screen.scss +1 -0
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3cc6966642bdfe2bb1aa37430a6aa3a8b994721216373a9abb14d44866914661
|
|
4
|
+
data.tar.gz: 854a374247f0ff3821e8a20f523606d66e542a7d9f9d7513c24685688f4f72f0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e18d3f0245a29c76e091c4e64152d14c89f3cd23eeb2ab8883a3524176e83b6cb7a9f0831f9c19d0844af97364f4854d97a816ab762f9de9d7fe801cca08f1e2
|
|
7
|
+
data.tar.gz: 98bba3b2f325e26288c827ec144418fabdbe7888e2f2ff509dea5ba876ed160132d5846b1d34574b16f607a199863c185e965ec1228b6915ad2f11009d4b1cac
|
data/_includes/archive_post.html
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{% capture category %}{{ post.categories | size }}{% endcapture %}
|
|
2
|
-
<h2
|
|
2
|
+
<h2>{% include post/title.html %}</h2>
|
|
3
3
|
<time datetime="{{ post.date | datetime | date_to_xmlschema }}" pubdate>{{ post.date | date: "<span class='month'>%b</span> <span class='day'>%d</span> <span class='year'>%Y</span>"}}</time>
|
|
4
4
|
{% if category != '0' %}
|
|
5
5
|
<footer>
|
|
6
|
-
<span class="categories meta">posted in {{ post.categories | category_links
|
|
6
|
+
<span class="categories meta">posted in {{ post.categories | category_links }}</span>
|
|
7
7
|
</footer>
|
|
8
8
|
{% endif %}
|
data/_includes/article.html
CHANGED
|
@@ -1,19 +1,7 @@
|
|
|
1
1
|
<div class="article-format">
|
|
2
2
|
{% unless page.no_header %}
|
|
3
3
|
<header>
|
|
4
|
-
{%
|
|
5
|
-
{% if post.external-url %}<!-- This defines how Octopress will use posts with external-url. -->
|
|
6
|
-
<h1 class="entry-title"><a href="{{ post.external-url }}">{% if site.linklog_marker_position_feed == 'before' %}{{ site.linklog_marker }}{% endif %} {% if site.titlecase %}{{ post.title | titlecase }}{% if site.linklog_marker_position_feed == 'after' %}{{ site.linklog_marker }}{% endif %}{% else %}{{ post.title }}{% endif %}</a></h1>
|
|
7
|
-
{% else %}<!-- Now we're back to normal posts. Note the links used under href in both headers.-->
|
|
8
|
-
<h1 class="entry-title"><a href="{{ root_url }}{{ post.url }}">{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}</a></h1>
|
|
9
|
-
{% endif %}
|
|
10
|
-
{% else %}
|
|
11
|
-
{% if page.external-url %}
|
|
12
|
-
<h1 class="entry-title"><a href="{{ page.external-url }}">{% if site.titlecase %}{% if site.linklog_marker_position == 'before' %}{{ site.linklog_marker }}{% endif %}{{ page.title | titlecase }}{% if site.linklog_marker_position == 'after' %}{{ site.linklog_marker }}{% endif %}{% else %}{{ page.title }}{% endif %}</a></h1>
|
|
13
|
-
{% else %}
|
|
14
|
-
<h1 class="entry-title">{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}</h1>
|
|
15
|
-
{% endif %}
|
|
16
|
-
{% endif %}
|
|
4
|
+
<h1 class="entry-title">{% include post/title.html %}</h1>
|
|
17
5
|
{% unless page.meta == false %}
|
|
18
6
|
<p class="meta">
|
|
19
7
|
{% include post/author.html %} -
|
|
@@ -28,9 +16,6 @@
|
|
|
28
16
|
{% endunless %}
|
|
29
17
|
{% if index %}
|
|
30
18
|
<div class="entry-content">{{ content | excerpt }}</div>
|
|
31
|
-
{% if post.external-url %}
|
|
32
|
-
<footer><a rel="full-article" href="{{ root_url }}{{ post.url }}">{{ site.permalink_label_feed }}</a></footer>
|
|
33
|
-
{% endif %}
|
|
34
19
|
{% capture excerpted %}{{ content | has_excerpt }}{% endcapture %}
|
|
35
20
|
{% if excerpted == 'true' %}
|
|
36
21
|
<footer>
|
|
@@ -41,23 +26,20 @@
|
|
|
41
26
|
<div class="entry-content">{{ content }}</div>
|
|
42
27
|
{% endif %}
|
|
43
28
|
{% unless index %}
|
|
44
|
-
|
|
45
|
-
{% if page.external-url %}
|
|
46
|
-
<footer><a rel="full-article" href="{{ root_url }}{{ post.url }}">{{ site.permalink_label }}</a></footer>
|
|
47
|
-
{% endif %}
|
|
48
|
-
|
|
49
|
-
|
|
50
29
|
<footer>
|
|
51
30
|
<p class="meta">
|
|
52
31
|
{% include post/author.html %} -
|
|
53
32
|
{% include post/date.html %}{% if updated %}{{ updated }}{% else %}{{ time }}{% endif %} -
|
|
54
33
|
{% include post/categories.html %}
|
|
55
34
|
</p>
|
|
35
|
+
{% unless page.sharing == false %}
|
|
36
|
+
{% include post/sharing.html %}
|
|
37
|
+
{% endunless %}
|
|
56
38
|
{% if page.previous.url %}
|
|
57
|
-
<a class="pull-left" href="{{
|
|
39
|
+
<a class="pull-left" href="{{page.previous.url}}" title="Previous Post: {{page.previous.title}}">« {{page.previous.title}}</a>
|
|
58
40
|
{% endif %}
|
|
59
41
|
{% if page.next.url %}
|
|
60
|
-
<a class="pull-right" href="{{
|
|
42
|
+
<a class="pull-right" href="{{page.next.url}}" title="Next Post: {{page.next.title}}">{{page.next.title}} »</a>
|
|
61
43
|
{% endif %}
|
|
62
44
|
</footer>
|
|
63
45
|
{% endunless %}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{% if site.github_user %}
|
|
2
2
|
<h2>recent public projects</h2>
|
|
3
|
-
<dl id="gh_repos" class="dl-horizontal" data-github-user="{{ site.github_user }}" data-github-repo-count="{{ site.github_repo_count }}" data-github-skip-forks="{{ site.github_skip_forks }}"
|
|
3
|
+
<dl id="gh_repos" class="dl-horizontal" data-github-user="{{ site.github_user }}" data-github-repo-count="{{ site.github_repo_count }}" data-github-skip-forks="{{ site.github_skip_forks }}">
|
|
4
4
|
<dd class="loading">Status updating...</dd>
|
|
5
5
|
</dl>
|
|
6
6
|
<script src="{{ root_url }}/javascripts/github.js" type="text/javascript"> </script>
|
|
@@ -8,29 +8,13 @@
|
|
|
8
8
|
{% endif %}
|
|
9
9
|
|
|
10
10
|
{% if site.linkedin_user %}
|
|
11
|
-
<a href="http://www.linkedin.com/{{site.linkedin_user}}" rel="tooltip" title="Linkedin"><img class="social_icon" title="Linkedin" alt="Linkedin icon" src="{{ root_url }}/images/glyphicons_377_linked_in.png"></a>
|
|
11
|
+
<a href="http://www.linkedin.com/in/{{site.linkedin_user}}" rel="tooltip" title="Linkedin"><img class="social_icon" title="Linkedin" alt="Linkedin icon" src="{{ root_url }}/images/glyphicons_377_linked_in.png"></a>
|
|
12
12
|
{% endif %}
|
|
13
13
|
|
|
14
14
|
{% if site.twitter_user %}
|
|
15
15
|
<a href="http://twitter.com/{{site.twitter_user}}" rel="tooltip" title="Twitter"><img class="social_icon" title="Twitter" alt="Twitter icon" src="{{ root_url }}/images/glyphicons_391_twitter_t.png"></a>
|
|
16
16
|
{% endif %}
|
|
17
17
|
|
|
18
|
-
{% if site.vimeo_user %}
|
|
19
|
-
<a href="http://vimeo.com/{{site.vimeo_user}}" rel="tooltip" title="Vimeo"><img class="social_icon" title="Vimeo" alt="Vimeo icon" src="{{ root_url }}/images/glyphicons_982_vimeo.png"></a>
|
|
20
|
-
{% endif %}
|
|
21
|
-
|
|
22
|
-
{% if site.500px_user %}
|
|
23
|
-
<a href="http://500px.com/{{site.500px_user}}" rel="tooltip" title="500px"><img class="social_icon" title="500px" alt="500px icon" src="{{ root_url }}/images/glyphicons_980_500.png"></a>
|
|
24
|
-
{% endif %}
|
|
25
|
-
|
|
26
|
-
{% if site.360cities_user %}
|
|
27
|
-
<a href="http://www.360cities.net/profile/{{site.360cities_user}}" rel="tooltip" title="360 Cities Panoramic Photography"><img class="social_icon" title="360 Cities" alt="360 Cities icon" src="{{ root_url }}/images/glyphicons_981_360cities.png"></a>
|
|
28
|
-
{% endif %}
|
|
29
|
-
|
|
30
|
-
{% if site.steam_user %}
|
|
31
|
-
<a href="http://steamcommunity.com/id/{{site.steam_user}}" rel="tooltip" title="Steam"><img class="social_icon" title="Steam" alt="Steam icon" src="{{ root_url }}/images/glyphicons_983_steam.png"></a>
|
|
32
|
-
{% endif %}
|
|
33
|
-
|
|
34
18
|
{% if site.googleplus_user %}
|
|
35
19
|
<a href="https://plus.google.com/{{site.googleplus_user}}?rel=author" rel="tooltip" title="Google Plus"><img class="social_icon" title="Google Plus" alt="Google Plus icon" src="{{ root_url }}/images/glyphicons_386_google_plus.png"></a>
|
|
36
20
|
{% endif %}
|
|
@@ -39,10 +23,6 @@
|
|
|
39
23
|
<a href="http://www.quora.com/{{site.quora_user}}" rel="tooltip" title="Quora"><img class="social_icon" title="Quora" alt="Quora icon" src="{{ root_url }}/images/glyphicons_385_quora.png"></a>
|
|
40
24
|
{% endif %}
|
|
41
25
|
|
|
42
|
-
{% if site.facebook_user %}
|
|
43
|
-
<a href="https://www.facebook.com/{{site.facebook_user}}" rel="tooltip" title="Facebook"><img class="social_icon" title="Facebook" alt="Facebook icon" src="{{root_url}}/images/fb.png"></a>
|
|
44
|
-
{% endif %}
|
|
45
|
-
|
|
46
26
|
{% if site.email %}
|
|
47
27
|
<h2>contact at</h2>
|
|
48
28
|
<a href="mailto:{{ site.email }}">{{ site.email }}</a>
|
data/_includes/disqus.html
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
{% if page.comments == true %}
|
|
6
6
|
{% comment %} `page.comments` can be only be set to true on pages/posts, so we embed the comments here. {% endcomment %}
|
|
7
7
|
// var disqus_developer = 1;
|
|
8
|
-
var disqus_identifier = '{{ site.url }}{{ page.url
|
|
9
|
-
var disqus_url = '{{ site.url }}{{ page.url
|
|
8
|
+
var disqus_identifier = '{{ site.url }}{{ page.url }}';
|
|
9
|
+
var disqus_url = '{{ site.url }}{{ page.url }}';
|
|
10
10
|
var disqus_script = 'embed.js';
|
|
11
11
|
{% else %}
|
|
12
12
|
{% comment %} As `page.comments` is empty, we must be on the index page. {% endcomment %}
|
data/_includes/navigation.html
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
<li><a href="{{ root_url }}/">Home</a></li>
|
|
6
6
|
<li><a href="{{ root_url }}/blog/archives">Archives</a></li>
|
|
7
7
|
</ul>
|
|
8
|
+
{% include custom/navigation.html %}
|
|
8
9
|
<ul class="nav" data-subscription="rss{% if site.subscribe_email %} email{% endif %}">
|
|
9
10
|
<li><a href="{{ site.subscribe_rss }}" rel="subscribe-rss" title="subscribe via RSS">RSS</a></li>
|
|
10
11
|
{% if site.subscribe_email %}
|
|
@@ -19,6 +20,5 @@
|
|
|
19
20
|
</fieldset>
|
|
20
21
|
</form>
|
|
21
22
|
{% endif %}
|
|
22
|
-
{% include custom/navigation.html %}
|
|
23
23
|
</div>
|
|
24
24
|
</div>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{% capture marker_link %}
|
|
2
|
+
<a href="{{ root_url }}{{ post.url }}">
|
|
3
|
+
<span class="post-marker post-marker-{{ site.linkblog.linkpost.marker_position }}">{{ site.linkblog.linkpost.marker }}</span>
|
|
4
|
+
</a>
|
|
5
|
+
{% endcapture %}
|
|
6
|
+
{% if index or post.linkpost %}
|
|
7
|
+
{% if post.linkpost and site.linkblog.linkpost.marker_position == 'before' %}{{ marker_link }}{% endif %}
|
|
8
|
+
<a href="{{ post.title_url }}">{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}</a>
|
|
9
|
+
{% if post.linkpost and site.linkblog.linkpost.marker_position == 'after' %}{{ marker_link }}{% endif %}
|
|
10
|
+
{% else %}
|
|
11
|
+
<a href="{{ page.title_url }}">{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}</a>
|
|
12
|
+
{% endif %}
|
data/_layouts/page.html
CHANGED
|
@@ -3,34 +3,32 @@
|
|
|
3
3
|
<nav role="navigation">{% include navigation.html %}</nav>
|
|
4
4
|
<div class="wrapper_single">
|
|
5
5
|
<div class="container">
|
|
6
|
-
<
|
|
7
|
-
<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
<
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
<
|
|
18
|
-
{% if page.
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
<
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</article>
|
|
33
|
-
</div>
|
|
6
|
+
<article class="span8 offset2 article-format" role="article">
|
|
7
|
+
<div role="div">
|
|
8
|
+
{% if page.title %}
|
|
9
|
+
<header>
|
|
10
|
+
<h1 class="entry-title">{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}</h1>
|
|
11
|
+
{% if page.date %}<p class="meta">{% include post/date.html %}{{ time }}</p>{% endif %}
|
|
12
|
+
</header>
|
|
13
|
+
{% endif %}
|
|
14
|
+
{{ content }}
|
|
15
|
+
{% unless page.footer == false %}
|
|
16
|
+
<footer>
|
|
17
|
+
{% if page.date or page.author %}<p class="meta">
|
|
18
|
+
{% if page.author %}{% include post/author.html %}{% endif %}
|
|
19
|
+
{% include post/date.html %}{% if updated %}{{ updated }}{% else %}{{ time }}{% endif %}
|
|
20
|
+
{% if page.categories %}{% include post/categories.html %}{% endif %}
|
|
21
|
+
</p>{% endif %}
|
|
22
|
+
</footer>
|
|
23
|
+
{% endunless %}
|
|
24
|
+
</div>
|
|
25
|
+
{% if site.disqus_short_name and page.comments == true %}
|
|
26
|
+
<section>
|
|
27
|
+
<h1>Comments</h1>
|
|
28
|
+
<div id="disqus_thread" aria-live="polite">{% include post/disqus_thread.html %}</div>
|
|
29
|
+
</section>
|
|
30
|
+
{% endif %}
|
|
31
|
+
</article>
|
|
34
32
|
</div>
|
|
35
33
|
</div>
|
|
36
34
|
{% include footer.html %}
|
data/_layouts/post.html
CHANGED
|
@@ -7,17 +7,15 @@ single: true
|
|
|
7
7
|
<nav role="navigation">{% include navigation.html %}</nav>
|
|
8
8
|
<div class="wrapper_single">
|
|
9
9
|
<div class="container">
|
|
10
|
-
<
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
<
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
</article>
|
|
20
|
-
</div>
|
|
10
|
+
<article class="span8 offset2" role="article">
|
|
11
|
+
{% include article.html %}
|
|
12
|
+
{% if site.disqus_short_name and page.comments == true %}
|
|
13
|
+
<div class="article-format">
|
|
14
|
+
<h1>Comments</h1>
|
|
15
|
+
<div id="disqus_thread" aria-live="polite">{% include post/disqus_thread.html %}</div>
|
|
16
|
+
</div>
|
|
17
|
+
{% endif %}
|
|
18
|
+
</article>
|
|
21
19
|
</div>
|
|
22
20
|
</div>
|
|
23
21
|
{% include footer.html %}
|
data/_sass/base/_solarized.scss
CHANGED
|
@@ -43,9 +43,4 @@ $pre-bg: $base03 !default;
|
|
|
43
43
|
$pre-border: darken($base02, 5) !default;
|
|
44
44
|
$pre-color: $base1 !default;
|
|
45
45
|
|
|
46
|
-
/* Marked line colors */
|
|
47
|
-
$marker: rgba(#00baff, .5);
|
|
48
46
|
|
|
49
|
-
$marker-bg: rgba($marker, .08);
|
|
50
|
-
$marker-border: rgba($marker, .13);
|
|
51
|
-
$marker-border-left: $marker;
|
data/_sass/base/_syntax.scss
CHANGED
|
@@ -39,25 +39,6 @@ $mono: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace
|
|
|
39
39
|
}
|
|
40
40
|
border: 1px solid $pre-border !important;
|
|
41
41
|
}
|
|
42
|
-
|
|
43
|
-
pre .line.marked {
|
|
44
|
-
position: relative;
|
|
45
|
-
display: block;
|
|
46
|
-
&:after {
|
|
47
|
-
content: "";
|
|
48
|
-
position: absolute;
|
|
49
|
-
background: $marker-bg;
|
|
50
|
-
left: -.8em; top: 0; bottom: 0; right: -.8em;
|
|
51
|
-
border: 1px solid { left-color: $marker-border-left; left-width: 2px; right-color: $marker-border; top: 0; bottom: 0; }
|
|
52
|
-
}
|
|
53
|
-
&.start:after {
|
|
54
|
-
border-top: 1px solid $marker-border;
|
|
55
|
-
}
|
|
56
|
-
&.end:after {
|
|
57
|
-
border-bottom: 1px solid $marker-border;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
42
|
figure.code, .gist-file, pre {
|
|
62
43
|
@include box-shadow(rgba(#000, .06) 0 0 10px);
|
|
63
44
|
.highlight pre { @include box-shadow(none); }
|
|
@@ -98,7 +79,7 @@ html .gist .gist-file {
|
|
|
98
79
|
&:hover { color: $base1 !important; }
|
|
99
80
|
}
|
|
100
81
|
a[href*='#file'] {
|
|
101
|
-
position: absolute; top: 0; left:0; right
|
|
82
|
+
position: absolute; top: 0; left:0; right:0;
|
|
102
83
|
color: #474747 !important;
|
|
103
84
|
@extend .code-title;
|
|
104
85
|
&:hover { color: $link-color !important; }
|
data/_sass/base/_theme.scss
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
background-attachment: scroll;
|
|
9
9
|
background-clip: border-box;
|
|
10
10
|
background-color: #323232;
|
|
11
|
-
background-image:
|
|
11
|
+
background-image: url("/images/heroBack.jpg");
|
|
12
12
|
background-origin: padding-box;
|
|
13
13
|
background-position: 0 0;
|
|
14
14
|
background-repeat: repeat;
|
|
@@ -80,7 +80,7 @@ article h1 {
|
|
|
80
80
|
}
|
|
81
81
|
.wrapper_single {
|
|
82
82
|
background-color: #F1F1F1;
|
|
83
|
-
background-image:
|
|
83
|
+
background-image: url("/images/heroBack.jpg");
|
|
84
84
|
background-attachment: fixed;
|
|
85
85
|
padding-top: 75px;
|
|
86
86
|
padding-bottom: 75px;
|
data/_sass/custom/_layout.scss
CHANGED
|
@@ -19,3 +19,64 @@
|
|
|
19
19
|
//$sidebar-pad-medium: 15px;
|
|
20
20
|
//$sidebar-pad-wide: 20px;
|
|
21
21
|
//$sidebar-width-wide: 300px;
|
|
22
|
+
|
|
23
|
+
// The following fix img and imgcap warnings/errors for foxslide theme
|
|
24
|
+
|
|
25
|
+
// from base/layout
|
|
26
|
+
.flex-content { max-width: 100%; height: auto; }
|
|
27
|
+
.basic-alignment {
|
|
28
|
+
&.left { float: left; margin-right: 1.5em; }
|
|
29
|
+
&.right { float: right; margin-left: 1.5em; }
|
|
30
|
+
&.center { display:block; margin: 0 auto 1.5em; }
|
|
31
|
+
&.left, &.right { margin-bottom: .8em; }
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// from base/typogrpahy
|
|
35
|
+
$sans: "PT Sans", "Helvetica Neue", Arial, sans-serif !default;
|
|
36
|
+
$mono: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace !default;
|
|
37
|
+
.sans { font-family: $sans; }
|
|
38
|
+
.mono { font-family: $mono; }
|
|
39
|
+
|
|
40
|
+
@mixin mask-image($img, $repeat: no-repeat){
|
|
41
|
+
@include experimental(mask-image, image-url($img), -webkit, -moz, -o, -ms);
|
|
42
|
+
@include experimental(mask-repeat, $repeat, -webkit, -moz, -o, -ms);
|
|
43
|
+
width: image-width($img);
|
|
44
|
+
height: image-height($img);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@mixin shadow-box($border: #fff .5em solid, $shadow: rgba(#000, .15) 0 1px 4px, $border-radius: .3em) {
|
|
48
|
+
@include border-radius($border-radius);
|
|
49
|
+
@include box-shadow($shadow);
|
|
50
|
+
@include box-sizing(border-box);
|
|
51
|
+
border: $border;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@mixin reset-shadow-box() {
|
|
55
|
+
@include shadow-box(0px, 0px, 0px);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
article {
|
|
59
|
+
img, video, .flash-video, .caption-wrapper {
|
|
60
|
+
@extend .flex-content;
|
|
61
|
+
@extend .basic-alignment;
|
|
62
|
+
@include shadow-box;
|
|
63
|
+
&.caption {
|
|
64
|
+
@include reset-shadow-box;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
.caption-wrapper {
|
|
68
|
+
display: inline-block;
|
|
69
|
+
margin-bottom: 10px;
|
|
70
|
+
.caption-text {
|
|
71
|
+
background: #fff;
|
|
72
|
+
text-align: center;
|
|
73
|
+
font-size: .8em;
|
|
74
|
+
color: #666;
|
|
75
|
+
display: block;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
article img.left { float:left;margin-right:1.5em }
|
|
81
|
+
article img.right { float:right;margin-left:1.5em }
|
|
82
|
+
article img.center { display:block;margin:0 auto 1.5em }
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.embed-video-container {
|
|
2
|
+
position: relative;
|
|
3
|
+
padding-bottom: 56.25%; /* 16/9 ratio */
|
|
4
|
+
padding-top: 30px; /* IE6 workaround*/
|
|
5
|
+
height: 0;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
margin-bottom: 1.5em;
|
|
8
|
+
|
|
9
|
+
iframe, object, embed {
|
|
10
|
+
position: absolute;
|
|
11
|
+
top: 0;
|
|
12
|
+
left: 0;
|
|
13
|
+
width: 100%;
|
|
14
|
+
height: 100%;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
data/_sass/custom/_styles.scss
CHANGED
|
@@ -26,4 +26,9 @@ article.archive-article-format { box-shadow: none; padding: 0; }
|
|
|
26
26
|
#blog-archives { margin-top: 30px; }
|
|
27
27
|
|
|
28
28
|
// Add a little horizontal space in dt elements
|
|
29
|
-
.dl-horizontal dt { width: 135px; }
|
|
29
|
+
.dl-horizontal dt { width: 135px; }
|
|
30
|
+
|
|
31
|
+
// Center-align the figcaption
|
|
32
|
+
figcaption {
|
|
33
|
+
text-align: center;
|
|
34
|
+
}
|
data/_sass/screen.scss
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-foxslide
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ivan Xiao
|
|
@@ -64,6 +64,7 @@ files:
|
|
|
64
64
|
- _includes/post/categories.html
|
|
65
65
|
- _includes/post/date.html
|
|
66
66
|
- _includes/post/disqus_thread.html
|
|
67
|
+
- _includes/post/title.html
|
|
67
68
|
- _includes/twitter_sharing.html
|
|
68
69
|
- _layouts/category_index.html
|
|
69
70
|
- _layouts/default.html
|
|
@@ -79,6 +80,7 @@ files:
|
|
|
79
80
|
- _sass/custom/_colors.scss
|
|
80
81
|
- _sass/custom/_fonts.scss
|
|
81
82
|
- _sass/custom/_layout.scss
|
|
83
|
+
- _sass/custom/_rve.scss
|
|
82
84
|
- _sass/custom/_styles.scss
|
|
83
85
|
- _sass/screen.scss
|
|
84
86
|
- assets/jwplayer/glow/controlbar/background.png
|