boldandblue 0.0.2
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 +7 -0
- data/LICENSE.txt +22 -0
- data/README.md +31 -0
- data/assets/images/bird_32_gray.png +0 -0
- data/assets/images/bird_32_gray_fail.png +0 -0
- data/assets/images/code_bg.png +0 -0
- data/assets/images/dotted-border.png +0 -0
- data/assets/images/email.png +0 -0
- data/assets/images/line-tile.png +0 -0
- data/assets/images/noise.png +0 -0
- data/assets/images/rss.png +0 -0
- data/assets/images/search.png +0 -0
- data/assets/includes/after_footer.html +5 -0
- data/assets/includes/archive_post.html +8 -0
- data/assets/includes/article.html +29 -0
- data/assets/includes/aside.html +14 -0
- data/assets/includes/asides/delicious.html +8 -0
- data/assets/includes/asides/github.html +30 -0
- data/assets/includes/asides/googleplus.html +11 -0
- data/assets/includes/asides/pinboard.html +19 -0
- data/assets/includes/asides/recent_posts.html +10 -0
- data/assets/includes/custom/after_footer.html +24 -0
- data/assets/includes/custom/asides/about.html +4 -0
- data/assets/includes/custom/category_feed.xml +27 -0
- data/assets/includes/custom/footer.html +4 -0
- data/assets/includes/custom/head.html +3 -0
- data/assets/includes/custom/header.html +6 -0
- data/assets/includes/custom/navigation.html +5 -0
- data/assets/includes/disqus.html +21 -0
- data/assets/includes/facebook_like.html +10 -0
- data/assets/includes/footer.html +1 -0
- data/assets/includes/google_analytics.html +13 -0
- data/assets/includes/google_plus_one.html +9 -0
- data/assets/includes/head.html +29 -0
- data/assets/includes/header.html +1 -0
- data/assets/includes/index.html +24 -0
- data/assets/includes/navigation.html +19 -0
- data/assets/includes/post/author.html +8 -0
- data/assets/includes/post/categories.html +10 -0
- data/assets/includes/post/date.html +13 -0
- data/assets/includes/post/disqus_thread.html +1 -0
- data/assets/includes/post/sharing.html +11 -0
- data/assets/includes/twitter_sharing.html +11 -0
- data/assets/javascripts/github.js +32 -0
- data/assets/javascripts/libs/jXHR.js +85 -0
- data/assets/javascripts/libs/jquery.min.js +5 -0
- data/assets/javascripts/libs/swfobject-dynamic.js +298 -0
- data/assets/javascripts/modernizr-2.0.js +5 -0
- data/assets/javascripts/pinboard.js +56 -0
- data/assets/javascripts/twitter.js +78 -0
- data/assets/layouts/category_index.html +17 -0
- data/assets/layouts/default.html +15 -0
- data/assets/layouts/page.html +36 -0
- data/assets/layouts/post.html +37 -0
- data/assets/pages/archive.html +19 -0
- data/assets/pages/index.html +23 -0
- data/assets/stylesheets/screen.css +1 -0
- data/lib/boldandblue.rb +14 -0
- data/lib/boldandblue/version.rb +3 -0
- metadata +145 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/* Modernizr 2.6.2 (Custom Build) | MIT & BSD
|
|
2
|
+
* Build: http://modernizr.com/download/#-video-mq-cssclasses-teststyles-testprop-testallprops-prefixes-domprefixes-load
|
|
3
|
+
*/
|
|
4
|
+
;window.Modernizr=function(a,b,c){function A(a){j.cssText=a}function B(a,b){return A(m.join(a+";")+(b||""))}function C(a,b){return typeof a===b}function D(a,b){return!!~(""+a).indexOf(b)}function E(a,b){for(var d in a){var e=a[d];if(!D(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function F(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:C(f,"function")?f.bind(d||b):f}return!1}function G(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+o.join(d+" ")+d).split(" ");return C(b,"string")||C(b,"undefined")?E(e,b):(e=(a+" "+p.join(d+" ")+d).split(" "),F(e,b,c))}var d="2.6.2",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l={}.toString,m=" -webkit- -moz- -o- -ms- ".split(" "),n="Webkit Moz O ms",o=n.split(" "),p=n.toLowerCase().split(" "),q={},r={},s={},t=[],u=t.slice,v,w=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["­",'<style id="s',h,'">',a,"</style>"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},x=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b).matches;var d;return w("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},y={}.hasOwnProperty,z;!C(y,"undefined")&&!C(y.call,"undefined")?z=function(a,b){return y.call(a,b)}:z=function(a,b){return b in a&&C(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=u.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(u.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(u.call(arguments)))};return e}),q.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return c};for(var H in q)z(q,H)&&(v=H.toLowerCase(),e[v]=q[H](),t.push((e[v]?"":"no-")+v));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)z(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},A(""),i=k=null,e._version=d,e._prefixes=m,e._domPrefixes=p,e._cssomPrefixes=o,e.mq=x,e.testProp=function(a){return E([a])},e.testAllProps=G,e.testStyles=w,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+t.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};
|
|
5
|
+
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
function pinboardNS_fetch_script(url) {
|
|
2
|
+
//document.writeln('<s'+'cript type="text/javascript" src="' + url + '"></s'+'cript>');
|
|
3
|
+
(function(){
|
|
4
|
+
var pinboardLinkroll = document.createElement('script');
|
|
5
|
+
pinboardLinkroll.type = 'text/javascript';
|
|
6
|
+
pinboardLinkroll.async = true;
|
|
7
|
+
pinboardLinkroll.src = url;
|
|
8
|
+
document.getElementsByTagName('head')[0].appendChild(pinboardLinkroll);
|
|
9
|
+
})();
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
function pinboardNS_show_bmarks(r) {
|
|
13
|
+
var lr = new Pinboard_Linkroll();
|
|
14
|
+
lr.set_items(r);
|
|
15
|
+
lr.show_bmarks();
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
function Pinboard_Linkroll() {
|
|
19
|
+
var items;
|
|
20
|
+
|
|
21
|
+
this.set_items = function(i) {
|
|
22
|
+
this.items = i;
|
|
23
|
+
}
|
|
24
|
+
this.show_bmarks = function() {
|
|
25
|
+
var lines = [];
|
|
26
|
+
for (var i = 0; i < this.items.length; i++) {
|
|
27
|
+
var item = this.items[i];
|
|
28
|
+
var str = this.format_item(item);
|
|
29
|
+
lines.push(str);
|
|
30
|
+
}
|
|
31
|
+
document.getElementById(linkroll).innerHTML = lines.join("\n");
|
|
32
|
+
}
|
|
33
|
+
this.cook = function(v) {
|
|
34
|
+
return v.replace('<', '<').replace('>', '>>');
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
this.format_item = function(it) {
|
|
38
|
+
var str = "<li class=\"pin-item\">";
|
|
39
|
+
if (!it.d) { return; }
|
|
40
|
+
str += "<p><a class=\"pin-title\" href=\"" + this.cook(it.u) + "\">" + this.cook(it.d) + "</a>";
|
|
41
|
+
if (it.n) {
|
|
42
|
+
str += "<span class=\"pin-description\">" + this.cook(it.n) + "</span>\n";
|
|
43
|
+
}
|
|
44
|
+
if (it.t.length > 0) {
|
|
45
|
+
for (var i = 0; i < it.t.length; i++) {
|
|
46
|
+
var tag = it.t[i];
|
|
47
|
+
str += " <a class=\"pin-tag\" href=\"https://pinboard.in/u:"+ this.cook(it.a) + "/t:" + this.cook(tag) + "\">" + this.cook(tag).replace(/^\s+|\s+$/g, '') + "</a> ";
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
str += "</p></li>\n";
|
|
51
|
+
return str;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
Pinboard_Linkroll.prototype = new Pinboard_Linkroll();
|
|
55
|
+
pinboardNS_fetch_script("https://feeds.pinboard.in/json/v1/u:"+pinboard_user+"/?cb=pinboardNS_show_bmarks\&count="+pinboard_count);
|
|
56
|
+
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// JSON-P Twitter fetcher for Octopress
|
|
2
|
+
// (c) Brandon Mathis // MIT License
|
|
3
|
+
|
|
4
|
+
/* Sky Slavin, Ludopoli. MIT license. * based on JavaScript Pretty Date * Copyright (c) 2008 John Resig (jquery.com) * Licensed under the MIT license. */
|
|
5
|
+
function prettyDate(time) {
|
|
6
|
+
if (navigator.appName === 'Microsoft Internet Explorer') {
|
|
7
|
+
return "<span>∞</span>"; // because IE date parsing isn't fun.
|
|
8
|
+
}
|
|
9
|
+
var say = {
|
|
10
|
+
just_now: " now",
|
|
11
|
+
minute_ago: "1m",
|
|
12
|
+
minutes_ago: "m",
|
|
13
|
+
hour_ago: "1h",
|
|
14
|
+
hours_ago: "h",
|
|
15
|
+
yesterday: "1d",
|
|
16
|
+
days_ago: "d",
|
|
17
|
+
last_week: "1w",
|
|
18
|
+
weeks_ago: "w"
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
var current_date = new Date(),
|
|
22
|
+
current_date_time = current_date.getTime(),
|
|
23
|
+
current_date_full = current_date_time + (1 * 60000),
|
|
24
|
+
date = new Date(time),
|
|
25
|
+
diff = ((current_date_full - date.getTime()) / 1000),
|
|
26
|
+
day_diff = Math.floor(diff / 86400);
|
|
27
|
+
|
|
28
|
+
if (isNaN(day_diff) || day_diff < 0) { return "<span>∞</span>"; }
|
|
29
|
+
|
|
30
|
+
return day_diff === 0 && (
|
|
31
|
+
diff < 60 && say.just_now ||
|
|
32
|
+
diff < 120 && say.minute_ago ||
|
|
33
|
+
diff < 3600 && Math.floor(diff / 60) + say.minutes_ago ||
|
|
34
|
+
diff < 7200 && say.hour_ago ||
|
|
35
|
+
diff < 86400 && Math.floor(diff / 3600) + say.hours_ago) ||
|
|
36
|
+
day_diff === 1 && say.yesterday ||
|
|
37
|
+
day_diff < 7 && day_diff + say.days_ago ||
|
|
38
|
+
day_diff === 7 && say.last_week ||
|
|
39
|
+
day_diff > 7 && Math.ceil(day_diff / 7) + say.weeks_ago;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function linkifyTweet(text, url) {
|
|
43
|
+
// Linkify urls, usernames, hashtags
|
|
44
|
+
text = text.replace(/(https?:\/\/)([\w\-:;?&=+.%#\/]+)/gi, '<a href="$1$2">$2</a>')
|
|
45
|
+
.replace(/(^|\W)@(\w+)/g, '$1<a href="https://twitter.com/$2">@$2</a>')
|
|
46
|
+
.replace(/(^|\W)#(\w+)/g, '$1<a href="https://search.twitter.com/search?q=%23$2">#$2</a>');
|
|
47
|
+
|
|
48
|
+
// Use twitter's api to replace t.co shortened urls with expanded ones.
|
|
49
|
+
for (var u in url) {
|
|
50
|
+
if(url[u].expanded_url != null){
|
|
51
|
+
var shortUrl = new RegExp(url[u].url, 'g');
|
|
52
|
+
text = text.replace(shortUrl, url[u].expanded_url);
|
|
53
|
+
var shortUrl = new RegExp(">"+(url[u].url.replace(/https?:\/\//, '')), 'g');
|
|
54
|
+
text = text.replace(shortUrl, ">"+url[u].display_url);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
return text
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
function showTwitterFeed(tweets, twitter_user) {
|
|
61
|
+
var timeline = document.getElementById('tweets'),
|
|
62
|
+
content = '';
|
|
63
|
+
|
|
64
|
+
for (var t in tweets) {
|
|
65
|
+
content += '<li>'+'<p>'+'<a href="https://twitter.com/'+twitter_user+'/status/'+tweets[t].id_str+'">'+prettyDate(tweets[t].created_at)+'</a>'+linkifyTweet(tweets[t].text.replace(/\n/g, '<br>'), tweets[t].entities.urls)+'</p>'+'</li>';
|
|
66
|
+
}
|
|
67
|
+
timeline.innerHTML = content;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
function getTwitterFeed(user, count, replies) {
|
|
71
|
+
count = parseInt(count, 10);
|
|
72
|
+
$.ajax({
|
|
73
|
+
url: "https://api.twitter.com/1/statuses/user_timeline/" + user + ".json?trim_user=true&count=" + (count + 20) + "&include_entities=1&exclude_replies=" + (replies ? "0" : "1") + "&callback=?"
|
|
74
|
+
, type: 'jsonp'
|
|
75
|
+
, error: function (err) { $('#tweets li.loading').addClass('error').text("Twitter's busted"); }
|
|
76
|
+
, success: function(data) { showTwitterFeed(data.slice(0, count), user); }
|
|
77
|
+
})
|
|
78
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: page
|
|
3
|
+
footer: false
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<div id="blog-archives" class="category">
|
|
7
|
+
{% for post in site.categories[page.category] %}
|
|
8
|
+
{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
|
|
9
|
+
{% unless year == this_year %}
|
|
10
|
+
{% assign year = this_year %}
|
|
11
|
+
<h2>{{ year }}</h2>
|
|
12
|
+
{% endunless %}
|
|
13
|
+
<article>
|
|
14
|
+
{% include archive_post.html %}
|
|
15
|
+
</article>
|
|
16
|
+
{% endfor %}
|
|
17
|
+
</div>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{% capture root_url %}{{ site.root | strip_slash }}{% endcapture %}
|
|
2
|
+
{% include theme:head.html %}
|
|
3
|
+
<body {% if page.body_id %} id="{{ page.body_id }}" {% endif %} {% if page.sidebar == false %} class="no-sidebar" {% endif %} {% if page.sidebar == 'collapse' or site.sidebar == 'collapse' %} class="collapse-sidebar sidebar-footer" {% endif %}>
|
|
4
|
+
{% js_asset_tag %}
|
|
5
|
+
<header role="banner">{% include theme:header.html %}</header>
|
|
6
|
+
<nav role="navigation">{% include theme:navigation.html %}</nav>
|
|
7
|
+
<div id="main">
|
|
8
|
+
<div id="content">
|
|
9
|
+
{{ content | expand_urls: root_url }}
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
<footer role="contentinfo">{% include theme:footer.html %}</footer>
|
|
13
|
+
{% include theme:after_footer.html %}
|
|
14
|
+
</body>
|
|
15
|
+
</html>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: theme:default
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<div>
|
|
6
|
+
<article role="article">
|
|
7
|
+
{% if page.title %}
|
|
8
|
+
<header>
|
|
9
|
+
<h1 class="entry-title">{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}</h1>
|
|
10
|
+
{% if page.date %}<p class="meta">{% include theme:post/date.html %}{{ time }}</p>{% endif %}
|
|
11
|
+
</header>
|
|
12
|
+
{% endif %}
|
|
13
|
+
{{ content }}
|
|
14
|
+
{% unless page.footer == false %}
|
|
15
|
+
<footer>
|
|
16
|
+
{% if page.date or page.author %}<p class="meta">
|
|
17
|
+
{% if page.author %}{% include theme:post/author.html %}{% endif %}
|
|
18
|
+
{% include theme:post/date.html %}{% if updated %}{{ updated }}{% else %}{{ time }}{% endif %}
|
|
19
|
+
{% if page.categories %}{% include theme:post/categories.html %}{% endif %}
|
|
20
|
+
</p>{% endif %}
|
|
21
|
+
{% unless page.sharing == false %}
|
|
22
|
+
{% include theme:post/sharing.html %}
|
|
23
|
+
{% endunless %}
|
|
24
|
+
</footer>
|
|
25
|
+
{% endunless %}
|
|
26
|
+
</article>
|
|
27
|
+
{% if site.disqus_short_name and page.comments == true %}
|
|
28
|
+
<section>
|
|
29
|
+
<h1>Comments</h1>
|
|
30
|
+
<div id="disqus_thread" aria-live="polite">{% include theme:post/disqus_thread.html %}</div>
|
|
31
|
+
</section>
|
|
32
|
+
{% endif %}
|
|
33
|
+
</div>
|
|
34
|
+
{% unless page.sidebar == false %}
|
|
35
|
+
{% include theme:aside.html %}
|
|
36
|
+
{% endunless %}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: theme:default
|
|
3
|
+
single: true
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<div>
|
|
7
|
+
<article class="hentry" role="article">
|
|
8
|
+
{% include theme:article.html %}
|
|
9
|
+
<footer>
|
|
10
|
+
<p class="meta">
|
|
11
|
+
{% include theme:post/author.html %}
|
|
12
|
+
{% include theme:post/date.html %}{% if updated %}{{ updated }}{% else %}{{ time }}{% endif %}
|
|
13
|
+
{% include theme:post/categories.html %}
|
|
14
|
+
</p>
|
|
15
|
+
{% unless page.sharing == false %}
|
|
16
|
+
{% include theme:post/sharing.html %}
|
|
17
|
+
{% endunless %}
|
|
18
|
+
<p class="meta">
|
|
19
|
+
{% if page.previous.url %}
|
|
20
|
+
<a class="basic-alignment left" href="{{page.previous.url}}" title="Previous Post: {{page.previous.title}}">« {{page.previous.title}}</a>
|
|
21
|
+
{% endif %}
|
|
22
|
+
{% if page.next.url %}
|
|
23
|
+
<a class="basic-alignment right" href="{{page.next.url}}" title="Next Post: {{page.next.title}}">{{page.next.title}} »</a>
|
|
24
|
+
{% endif %}
|
|
25
|
+
</p>
|
|
26
|
+
</footer>
|
|
27
|
+
</article>
|
|
28
|
+
{% if site.disqus_short_name and page.comments == true %}
|
|
29
|
+
<section>
|
|
30
|
+
<h1>Comments</h1>
|
|
31
|
+
<div id="disqus_thread" aria-live="polite">{% include post/disqus_thread.html %}</div>
|
|
32
|
+
</section>
|
|
33
|
+
{% endif %}
|
|
34
|
+
</div>
|
|
35
|
+
{% unless page.sidebar == false %}
|
|
36
|
+
{% include theme:aside.html %}
|
|
37
|
+
{% endunless %}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: theme:page
|
|
3
|
+
title: Blog Archive
|
|
4
|
+
footer: false
|
|
5
|
+
permalink: /archive/
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<div id="blog-archives">
|
|
9
|
+
{% for post in site.posts reverse %}
|
|
10
|
+
{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
|
|
11
|
+
{% unless year == this_year %}
|
|
12
|
+
{% assign year = this_year %}
|
|
13
|
+
<h2>{{ year }}</h2>
|
|
14
|
+
{% endunless %}
|
|
15
|
+
<article>
|
|
16
|
+
{% include theme:archive_post.html %}
|
|
17
|
+
</article>
|
|
18
|
+
{% endfor %}
|
|
19
|
+
</div>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: theme:default
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<div class="blog-index">
|
|
6
|
+
{% assign index = true %}
|
|
7
|
+
{% for post in paginator.posts %}
|
|
8
|
+
{% assign content = post.content %}
|
|
9
|
+
<article>
|
|
10
|
+
{% include theme:article.html %}
|
|
11
|
+
</article>
|
|
12
|
+
{% endfor %}
|
|
13
|
+
<div class="pagination">
|
|
14
|
+
{% if paginator.next_page %}
|
|
15
|
+
<a class="prev" href="{{paginator.next_page_path}}">← Older</a>
|
|
16
|
+
{% endif %}
|
|
17
|
+
<a href="/archive">Archive</a>
|
|
18
|
+
{% if paginator.previous_page %}
|
|
19
|
+
<a class="next" href="{{paginator.previous_page_path}}">Newer →</a>
|
|
20
|
+
{% endif %}
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
{% include theme:aside.html %}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}html{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary{display:block}a{color:#268bd2}a:visited{color:#124466}a:focus{color:#32a7f9}a:hover{color:#32a7f9}a:active{color:#0682d8}aside.sidebar a{color:#222}aside.sidebar a:focus{color:#32a7f9}aside.sidebar a:hover{color:#32a7f9}aside.sidebar a:active{color:#0682d8}a{-webkit-transition:color 0.3s;-moz-transition:color 0.3s;-o-transition:color 0.3s;transition:color 0.3s}html{background:#fff url('/source/images/line-tile.png?1403566401') top left}body>div{background:#f2f2f2 url('/source/images/noise.png?1403566401') top left;border-bottom:1px solid #f2f2f2}body>div>div{background:#fff url('/source/images/noise.png?1403566401') top left;border-right:1px solid #e0e0e0}.heading,body>header h1,h1,h2,h3,h4,h5,h6{font-family:"Open Sans",sans-serif}.sans,body>header h2,article header p.meta,article>footer,#content .blog-index footer,html .gist .gist-file .gist-meta,#blog-archives a.category,#blog-archives time,aside.sidebar section,body>footer{font-family:"Open Sans",sans-serif}.serif,body,#content .blog-index a[rel=full-article]{font-family:"Noto Serif",serif}.mono,pre,code,tt,p code,li code{font-family:Menlo,Monaco,"Andale Mono","lucida console","Courier New",monospace}body>header h1{font-size:2.2em;font-family:"Open Sans",sans-serif;font-weight:normal;line-height:1.2em;margin-bottom:0.6667em}body>header h2{font-family:"Open Sans",sans-serif}body{line-height:1.5em;color:#222}h1{font-size:2.2em;line-height:1.2em}@media only screen and (min-width: 992px){body{font-size:1.15em}h1{font-size:2.6em;line-height:1.2em}}h1,h2,h3,h4,h5,h6{text-rendering:optimizelegibility;margin-bottom:1em;font-weight:bold}h2,section h1{font-size:1.5em}h3,section h2,section section h1{font-size:1.3em}h4,section h3,section section h2,section section section h1{font-size:1em}h5,section h4,section section h3{font-size:.9em}h6,section h5,section section h4,section section section h3{font-size:.8em}p,article blockquote,ul,ol{margin-bottom:1.5em}ul{list-style-type:disc}ul ul{list-style-type:circle;margin-bottom:0px}ul ul ul{list-style-type:square;margin-bottom:0px}ol{list-style-type:decimal}ol ol{list-style-type:lower-alpha;margin-bottom:0px}ol ol ol{list-style-type:lower-roman;margin-bottom:0px}ul,ul ul,ul ol,ol,ol ul,ol ol{margin-left:1.3em}ul ul,ul ol,ol ul,ol ol{margin-bottom:0em}strong{font-weight:bold}em{font-style:italic}sup,sub{font-size:0.75em;position:relative;display:inline-block;padding:0 .2em;line-height:.8em}sup{top:-.5em}sub{bottom:-.5em}a[rev='footnote']{font-size:.75em;padding:0 .3em;line-height:1}q{font-style:italic}q:before{content:"\201C"}q:after{content:"\201D"}em,dfn{font-style:italic}strong,dfn{font-weight:bold}del,s{text-decoration:line-through}abbr,acronym{border-bottom:1px dotted;cursor:help}hr{margin-bottom:0.2em}small{font-size:.8em}big{font-size:1.2em}article blockquote{font-style:italic;position:relative;font-size:1.2em;line-height:1.5em;padding-left:1em;border-left:4px solid rgba(170,170,170,0.5)}article blockquote cite{font-style:italic}article blockquote cite a{color:#aaa !important;word-wrap:break-word}article blockquote cite:before{content:'\2014';padding-right:.3em;padding-left:.3em;color:#aaa}@media only screen and (min-width: 992px){article blockquote{padding-left:1.5em;border-left-width:4px}}.pullquote-right:before,.pullquote-left:before{padding:0;border:none;content:attr(data-pullquote);float:right;width:45%;margin:.5em 0 1em 1.5em;position:relative;top:7px;font-size:1.4em;line-height:1.45em}.pullquote-left:before{float:left;margin:.5em 1.5em 1em 0}.force-wrap,article a,aside.sidebar a{white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;white-space:pre-wrap;word-wrap:break-word}.group,body>header,body>nav,body>footer,body #content>article,body #content>div>article,body #content>div>section,body div.pagination,aside.sidebar,#main,#content,.sidebar{*zoom:1}.group:after,body>header:after,body>nav:after,body>footer:after,body #content>article:after,body #content>div>section:after,body div.pagination:after,#main:after,#content:after,.sidebar:after{content:"";display:table;clear:both}body{-webkit-text-size-adjust:none;max-width:1200px;position:relative;margin:0 auto}body>header,body>nav,body>footer,body #content>article,body #content>div>article,body #content>div>section{padding-left:18px;padding-right:18px}@media only screen and (min-width: 480px){body>header,body>nav,body>footer,body #content>article,body #content>div>article,body #content>div>section{padding-left:25px;padding-right:25px}}@media only screen and (min-width: 768px){body>header,body>nav,body>footer,body #content>article,body #content>div>article,body #content>div>section{padding-left:35px;padding-right:35px}}@media only screen and (min-width: 992px){body>header,body>nav,body>footer,body #content>article,body #content>div>article,body #content>div>section{padding-left:55px;padding-right:55px}}body div.pagination{margin-left:18px;margin-right:18px}@media only screen and (min-width: 480px){body div.pagination{margin-left:25px;margin-right:25px}}@media only screen and (min-width: 768px){body div.pagination{margin-left:35px;margin-right:35px}}@media only screen and (min-width: 992px){body div.pagination{margin-left:55px;margin-right:55px}}body>header{font-size:1em;padding-top:1.5em;padding-bottom:1.5em}#content{overflow:hidden}#content>div,#content>article{width:100%}aside.sidebar{float:none;padding:0 18px 1px;background-color:#f7f7f7;border-top:1px solid #e0e0e0}.flex-content,article img,article video,article .flash-video,aside.sidebar img{max-width:100%;height:auto}.basic-alignment.left,article img.left,article video.left,article .left.flash-video,aside.sidebar img.left{float:left;margin-right:1.5em}.basic-alignment.right,article img.right,article video.right,article .right.flash-video,aside.sidebar img.right{float:right;margin-left:1.5em}.basic-alignment.center,article img.center,article video.center,article .center.flash-video,aside.sidebar img.center{display:block;margin:0 auto 1.5em}.basic-alignment.left,article img.left,article video.left,article .left.flash-video,aside.sidebar img.left,.basic-alignment.right,article img.right,article video.right,article .right.flash-video,aside.sidebar img.right{margin-bottom:.8em}.toggle-sidebar,.no-sidebar .toggle-sidebar{display:none}@media only screen and (min-width: 750px){body.sidebar-footer aside.sidebar{float:none;width:auto;clear:left;margin:0;padding:0 35px 1px;background-color:#f7f7f7;border-top:1px solid #eaeaea}body.sidebar-footer aside.sidebar section.odd,body.sidebar-footer aside.sidebar section.even{float:left;width:48%}body.sidebar-footer aside.sidebar section.odd{margin-left:0}body.sidebar-footer aside.sidebar section.even{margin-left:4%}body.sidebar-footer aside.sidebar.thirds section{width:30%;margin-left:5%}body.sidebar-footer aside.sidebar.thirds section.first{margin-left:0;clear:both}}body.sidebar-footer #content{margin-right:0px}body.sidebar-footer .toggle-sidebar{display:none}@media only screen and (min-width: 550px){body>header{font-size:1em}}@media only screen and (min-width: 750px){aside.sidebar{float:none;width:auto;clear:left;margin:0;padding:0 35px 1px;background-color:#f7f7f7;border-top:1px solid #eaeaea}aside.sidebar section.odd,aside.sidebar section.even{float:left;width:48%}aside.sidebar section.odd{margin-left:0}aside.sidebar section.even{margin-left:4%}aside.sidebar.thirds section{width:30%;margin-left:5%}aside.sidebar.thirds section.first{margin-left:0;clear:both}}@media only screen and (min-width: 768px){body{-webkit-text-size-adjust:auto}body>header{font-size:1.2em}#main{padding:0;margin:0 auto}#content{overflow:visible;margin-right:240px;position:relative}.no-sidebar #content{margin-right:0;border-right:0}.collapse-sidebar #content{margin-right:20px}#content>div,#content>article{padding-top:17.5px;padding-bottom:17.5px;float:left}aside.sidebar{width:210px;padding:0 15px 15px;background:none;clear:none;float:left;margin:0 -100% 0 0}aside.sidebar section{width:auto;margin-left:0}aside.sidebar section.odd,aside.sidebar section.even{float:none;width:auto;margin-left:0}.collapse-sidebar aside.sidebar{float:none;width:auto;clear:left;margin:0;padding:0 35px 1px;background-color:#f7f7f7;border-top:1px solid #eaeaea}.collapse-sidebar aside.sidebar section.odd,.collapse-sidebar aside.sidebar section.even{float:left;width:48%}.collapse-sidebar aside.sidebar section.odd{margin-left:0}.collapse-sidebar aside.sidebar section.even{margin-left:4%}.collapse-sidebar aside.sidebar.thirds section{width:30%;margin-left:5%}.collapse-sidebar aside.sidebar.thirds section.first{margin-left:0;clear:both}}@media only screen and (min-width: 992px){body>header{font-size:1.3em}#content{margin-right:300px}#content>div,#content>article{padding-top:27.5px;padding-bottom:27.5px}aside.sidebar{width:260px;padding:1.2em 20px 20px}.collapse-sidebar aside.sidebar{padding-left:55px;padding-right:55px}}@media only screen and (min-width: 768px){ul,ol{margin-left:0}}body>header{background:#fff}body>header h1{display:inline-block;margin:0}body>header h1 a,body>header h1 a:visited,body>header h1 a:hover{color:#268bd2;text-decoration:none}body>header h2{margin:.2em 0 0;font-size:1em;color:#aaa;font-weight:normal}body>nav{position:relative;background-color:#fff;background:none,#fff;border-top:1px solid #fff;border-bottom:1px solid #bfbfbf;padding-top:.35em;padding-bottom:.35em}body>nav form{-webkit-background-clip:padding;-moz-background-clip:padding;background-clip:padding-box;margin:0;padding:0}body>nav form .search{padding:.3em .5em 0;font-size:.85em;font-family:"Open Sans",sans-serif;line-height:1.1em;width:95%;-webkit-border-radius:0.5em;-moz-border-radius:0.5em;-ms-border-radius:0.5em;-o-border-radius:0.5em;border-radius:0.5em;-webkit-background-clip:padding;-moz-background-clip:padding;background-clip:padding-box;-webkit-box-shadow:#fff 0 1px;-moz-box-shadow:#fff 0 1px;box-shadow:#fff 0 1px;background-color:#fff;border:1px solid #e6e6e6;color:#888}body>nav form .search:focus{color:#444;border-color:#80b1df;-webkit-box-shadow:#80b1df 0 0 4px,#80b1df 0 0 3px inset;-moz-box-shadow:#80b1df 0 0 4px,#80b1df 0 0 3px inset;box-shadow:#80b1df 0 0 4px,#80b1df 0 0 3px inset;background-color:#fff;outline:none}body>nav fieldset[role=search]{float:right;width:48%}body>nav fieldset.mobile-nav{float:left;width:48%}body>nav fieldset.mobile-nav select{width:100%;font-size:.8em;border:1px solid #888}body>nav ul{display:none}@media only screen and (min-width: 550px){body>nav{font-size:.9em}body>nav ul{margin:0;padding:0;border:0;overflow:hidden;*zoom:1;float:left;display:block;padding-top:.15em}body>nav ul li{list-style-image:none;list-style-type:none;margin-left:0;white-space:nowrap;display:inline;float:left;padding-left:0;padding-right:0}body>nav ul li:first-child,body>nav ul li.first{padding-left:0}body>nav ul li:last-child{padding-right:0}body>nav ul li.last{padding-right:0}body>nav ul.subscription{margin-left:.8em;float:right}body>nav ul.subscription li:last-child a{padding-right:0}body>nav ul li{margin:0}body>nav a{color:#268bd2;font-family:"Open Sans",sans-serif;text-shadow:#fff 0 1px;float:left;text-decoration:none;font-size:1.1em;padding:.1em 0;line-height:1.5em}body>nav a:visited{color:#268bd2}body>nav a:hover{color:#124466}body>nav li+li{border-left:1px solid #e3e3e3;margin-left:.8em}body>nav li+li a{padding-left:.8em;border-left:1px solid #fff}body>nav form{float:right;text-align:left;padding-left:.8em;width:175px}body>nav form .search{width:93%;font-size:.95em;line-height:1.2em}body>nav ul[data-subscription$=email]+form{width:97px}body>nav ul[data-subscription$=email]+form .search{width:91%}body>nav fieldset.mobile-nav{display:none}body>nav fieldset[role=search]{width:99%}}@media only screen and (min-width: 992px){body>nav form{width:215px}body>nav ul[data-subscription$=email]+form{width:147px}}.no-placeholder body>nav .search{background:#fff url('/source/images/search.png?1403566401') 0.3em 0.25em no-repeat;text-indent:1.3em}@media only screen and (min-width: 550px){.maskImage body>nav ul[data-subscription$=email]+form{width:123px}}@media only screen and (min-width: 992px){.maskImage body>nav ul[data-subscription$=email]+form{width:173px}}.maskImage ul.subscription{position:relative;top:.2em}.maskImage ul.subscription li,.maskImage ul.subscription a{border:0;padding:0}.maskImage a[rel=subscribe-rss]{position:relative;top:0px;text-indent:-999999em;background-color:#fff;border:0;padding:0}.maskImage a[rel=subscribe-rss],.maskImage a[rel=subscribe-rss]:after{-webkit-mask-image:url('/source/images/rss.png?1403566401');-moz-mask-image:url('/source/images/rss.png?1403566401');-ms-mask-image:url('/source/images/rss.png?1403566401');-o-mask-image:url('/source/images/rss.png?1403566401');mask-image:url('/source/images/rss.png?1403566401');-webkit-mask-repeat:no-repeat;-moz-mask-repeat:no-repeat;-ms-mask-repeat:no-repeat;-o-mask-repeat:no-repeat;mask-repeat:no-repeat;width:22px;height:22px}.maskImage a[rel=subscribe-rss]:after{content:"";position:absolute;top:-1px;left:0;background-color:#8dc4ea}.maskImage a[rel=subscribe-rss]:hover:after{background-color:#78b9e6}.maskImage a[rel=subscribe-email]{position:relative;top:0px;text-indent:-999999em;background-color:#fff;border:0;padding:0}.maskImage a[rel=subscribe-email],.maskImage a[rel=subscribe-email]:after{-webkit-mask-image:url('/source/images/email.png?1403566401');-moz-mask-image:url('/source/images/email.png?1403566401');-ms-mask-image:url('/source/images/email.png?1403566401');-o-mask-image:url('/source/images/email.png?1403566401');mask-image:url('/source/images/email.png?1403566401');-webkit-mask-repeat:no-repeat;-moz-mask-repeat:no-repeat;-ms-mask-repeat:no-repeat;-o-mask-repeat:no-repeat;mask-repeat:no-repeat;width:28px;height:22px}.maskImage a[rel=subscribe-email]:after{content:"";position:absolute;top:-1px;left:0;background-color:#8dc4ea}.maskImage a[rel=subscribe-email]:hover:after{background-color:#78b9e6}article{padding-top:1em}article header{position:relative;padding-top:2em;padding-bottom:1em;margin-bottom:1em;background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAABCAYAAACsXeyTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAFUlEQVQIHWNIS0sr/v//PwMMDzY+ADqMahlW4J91AAAAAElFTkSuQmCC') bottom left repeat-x}article header h1{margin:0}article header h1 a{text-decoration:none}article header h1 a:hover{text-decoration:underline}article header p{font-size:.9em;color:#aaa;margin:0}article header p.meta{text-transform:uppercase;position:absolute;top:0}@media only screen and (min-width: 768px){article header{margin-bottom:1.5em;padding-bottom:1em;background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAABCAYAAACsXeyTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAFUlEQVQIHWNIS0sr/v//PwMMDzY+ADqMahlW4J91AAAAAElFTkSuQmCC') bottom left repeat-x}}article h2{padding-top:0.8em;background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAABCAYAAACsXeyTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAFUlEQVQIHWNIS0sr/v//PwMMDzY+ADqMahlW4J91AAAAAElFTkSuQmCC') top left repeat-x}.entry-content article h2:first-child,article header+h2{padding-top:0}article h2:first-child,article header+h2{background:none}article .feature{padding-top:.5em;margin-bottom:1em;padding-bottom:1em;background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAABCAYAAACsXeyTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAFUlEQVQIHWNIS0sr/v//PwMMDzY+ADqMahlW4J91AAAAAElFTkSuQmCC') bottom left repeat-x;font-size:2.0em;font-style:italic;line-height:1.3em}article img,article video,article .flash-video{-webkit-border-radius:0.3em;-moz-border-radius:0.3em;-ms-border-radius:0.3em;-o-border-radius:0.3em;border-radius:0.3em;-webkit-box-shadow:rgba(0,0,0,0.15) 0 1px 4px;-moz-box-shadow:rgba(0,0,0,0.15) 0 1px 4px;box-shadow:rgba(0,0,0,0.15) 0 1px 4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:#fff 0.5em solid}article video,article .flash-video{margin:0 auto 1.5em}article video{display:block;width:100%}article .flash-video>div{position:relative;display:block;padding-bottom:56.25%;padding-top:1px;height:0;overflow:hidden}article .flash-video>div iframe,article .flash-video>div object,article .flash-video>div embed{position:absolute;top:0;left:0;width:100%;height:100%}article table{font-size:90%;margin-bottom:1.5em}article table thead tr{border-bottom:1px solid #e0e0e0}article table th{font-weight:bold;padding-right:20px}article table td{padding:0 20px 10px 0;vertical-align:top}article>footer{padding-bottom:2.5em;margin-top:2em}article>footer p.meta{margin-bottom:.8em;font-size:.85em;clear:both;overflow:hidden}.blog-index article+article{background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAABCAYAAACsXeyTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAFUlEQVQIHWNIS0sr/v//PwMMDzY+ADqMahlW4J91AAAAAElFTkSuQmCC') top left repeat-x}#content .blog-index{padding-top:0;padding-bottom:0}#content .blog-index article{padding-top:2em}#content .blog-index article header{background:none;padding-bottom:0}#content .blog-index article h1{font-size:2.2em}#content .blog-index article h1 a{color:inherit}#content .blog-index article h1 a:hover{color:#32a7f9}#content .blog-index a[rel=full-article]{background:#f2f2f2;display:inline-block;padding:.4em .8em;margin-right:.5em;text-decoration:none;color:#666;-webkit-transition:background-color 0.5s;-moz-transition:background-color 0.5s;-o-transition:background-color 0.5s;transition:background-color 0.5s}#content .blog-index a[rel=full-article]:hover{background:#32a7f9;text-shadow:none;color:#fff}#content .blog-index footer{margin-top:1em}.separator,article>footer .byline+time:before,article>footer time+time:before,article>footer .comments:before,article>footer .byline ~ .categories:before{content:"\2022 ";padding:0 .4em 0 .2em;display:inline-block}#content div.pagination{text-align:center;font-size:.95em;position:relative;background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAABCAYAAACsXeyTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAFUlEQVQIHWNIS0sr/v//PwMMDzY+ADqMahlW4J91AAAAAElFTkSuQmCC') top left repeat-x;padding-top:1.5em;padding-bottom:1.5em}#content div.pagination a{text-decoration:none;color:#aaa}#content div.pagination a.prev{position:absolute;left:0}#content div.pagination a.next{position:absolute;right:0}#content div.pagination a:hover{color:#32a7f9}#content div.pagination a[href*=archive]:before,#content div.pagination a[href*=archive]:after{content:'\2014';padding:0 .3em}p.meta+.sharing{padding-top:1em;padding-left:0;background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAABCAYAAACsXeyTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAFUlEQVQIHWNIS0sr/v//PwMMDzY+ADqMahlW4J91AAAAAElFTkSuQmCC') top left repeat-x}#fb-root{display:none}.highlight,html .gist .gist-file .gist-syntax .gist-highlight{border:1px solid #05232b !important}.highlight table,html .gist .gist-file .gist-syntax .gist-highlight table{margin:0}.highlight table td,html .gist .gist-file .gist-syntax .gist-highlight table td{padding:0}.highlight table td.code,html .gist .gist-file .gist-syntax .gist-highlight table td.code{width:100%}.highlight .line-numbers,html .gist .gist-file .gist-syntax .highlight .line_numbers{text-align:right;font-size:13px;line-height:1.45em;background:#073642 url('/source/images/noise.png?1403566401') top left !important;border-right:1px solid #00232c !important;-webkit-box-shadow:#083e4b -1px 0 inset;-moz-box-shadow:#083e4b -1px 0 inset;box-shadow:#083e4b -1px 0 inset;text-shadow:#021014 0 -1px;padding:.8em !important;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0}.highlight .line-numbers span,html .gist .gist-file .gist-syntax .highlight .line_numbers span{color:#586e75 !important}figure.code,.gist-file,pre{-webkit-box-shadow:rgba(0,0,0,0.06) 0 0 10px;-moz-box-shadow:rgba(0,0,0,0.06) 0 0 10px;box-shadow:rgba(0,0,0,0.06) 0 0 10px}figure.code .highlight pre,.gist-file .highlight pre,pre .highlight pre{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.gist .highlight *::-moz-selection,figure.code .highlight *::-moz-selection{background:#386774;color:inherit;text-shadow:#002b36 0 1px}.gist .highlight *::-webkit-selection,figure.code .highlight *::-webkit-selection{background:#386774;color:inherit;text-shadow:#002b36 0 1px}.gist .highlight *::selection,figure.code .highlight *::selection{background:#386774;color:inherit;text-shadow:#002b36 0 1px}html .gist .gist-file{margin-bottom:1.8em;position:relative;border:none;padding-top:26px !important}html .gist .gist-file .highlight{margin-bottom:0}html .gist .gist-file .gist-syntax{border-bottom:0 !important;background:none !important}html .gist .gist-file .gist-syntax .gist-highlight{background:#002b36 !important}html .gist .gist-file .gist-syntax .highlight pre{padding:0}html .gist .gist-file .gist-meta{padding:.6em 0.8em;border:1px solid #083e4b !important;color:#586e75;font-size:.7em !important;background:#073642 url('/source/images/noise.png?1403566401') top left;line-height:1.5em}html .gist .gist-file .gist-meta a{color:#75878b !important;text-decoration:none}html .gist .gist-file .gist-meta a:hover{text-decoration:underline}html .gist .gist-file .gist-meta a:hover{color:#93a1a1 !important}html .gist .gist-file .gist-meta a[href*='#file']{position:absolute;top:0;left:0;right:-10px;color:#474747 !important}html .gist .gist-file .gist-meta a[href*='#file']:hover{color:#268bd2 !important}html .gist .gist-file .gist-meta a[href*=raw]{top:.4em}pre{background:#002b36 url('/source/images/noise.png?1403566401') top left;-webkit-border-radius:0.4em;-moz-border-radius:0.4em;-ms-border-radius:0.4em;-o-border-radius:0.4em;border-radius:0.4em;border:1px solid #05232b;line-height:1.45em;font-size:13px;margin-bottom:2.1em;padding:.8em 1em;color:#93a1a1;overflow:auto}h3.filename+pre{-moz-border-radius-topleft:0px;-webkit-border-top-left-radius:0px;border-top-left-radius:0px;-moz-border-radius-topright:0px;-webkit-border-top-right-radius:0px;border-top-right-radius:0px}p code,li code{display:inline-block;white-space:no-wrap;background:#fff;font-size:.8em;line-height:1.5em;color:#555;border:1px solid #ddd;-webkit-border-radius:0.4em;-moz-border-radius:0.4em;-ms-border-radius:0.4em;-o-border-radius:0.4em;border-radius:0.4em;padding:0 .3em;margin:-1px 0}p pre code,li pre code{font-size:1em !important;background:none;border:none}.pre-code,html .gist .gist-file .gist-syntax .highlight pre,.highlight code{font-family:Menlo,Monaco,"Andale Mono","lucida console","Courier New",monospace !important;overflow:scroll;overflow-y:hidden;display:block;padding:.8em;overflow-x:auto;line-height:1.45em;background:#002b36 url('/source/images/noise.png?1403566401') top left !important;color:#93a1a1 !important}.pre-code span,html .gist .gist-file .gist-syntax .highlight pre span,.highlight code span{color:#93a1a1 !important}.pre-code span,html .gist .gist-file .gist-syntax .highlight pre span,.highlight code span{font-style:normal !important;font-weight:normal !important}.pre-code .c,html .gist .gist-file .gist-syntax .highlight pre .c,.highlight code .c{color:#586e75 !important;font-style:italic !important}.pre-code .cm,html .gist .gist-file .gist-syntax .highlight pre .cm,.highlight code .cm{color:#586e75 !important;font-style:italic !important}.pre-code .cp,html .gist .gist-file .gist-syntax .highlight pre .cp,.highlight code .cp{color:#586e75 !important;font-style:italic !important}.pre-code .c1,html .gist .gist-file .gist-syntax .highlight pre .c1,.highlight code .c1{color:#586e75 !important;font-style:italic !important}.pre-code .cs,html .gist .gist-file .gist-syntax .highlight pre .cs,.highlight code .cs{color:#586e75 !important;font-weight:bold !important;font-style:italic !important}.pre-code .err,html .gist .gist-file .gist-syntax .highlight pre .err,.highlight code .err{color:#dc322f !important;background:none !important}.pre-code .k,html .gist .gist-file .gist-syntax .highlight pre .k,.highlight code .k{color:#cb4b16 !important}.pre-code .o,html .gist .gist-file .gist-syntax .highlight pre .o,.highlight code .o{color:#93a1a1 !important;font-weight:bold !important}.pre-code .p,html .gist .gist-file .gist-syntax .highlight pre .p,.highlight code .p{color:#93a1a1 !important}.pre-code .ow,html .gist .gist-file .gist-syntax .highlight pre .ow,.highlight code .ow{color:#2aa198 !important;font-weight:bold !important}.pre-code .gd,html .gist .gist-file .gist-syntax .highlight pre .gd,.highlight code .gd{color:#93a1a1 !important;background-color:#372c34 !important;display:inline-block}.pre-code .gd .x,html .gist .gist-file .gist-syntax .highlight pre .gd .x,.highlight code .gd .x{color:#93a1a1 !important;background-color:#4d2d33 !important;display:inline-block}.pre-code .ge,html .gist .gist-file .gist-syntax .highlight pre .ge,.highlight code .ge{color:#93a1a1 !important;font-style:italic !important}.pre-code .gh,html .gist .gist-file .gist-syntax .highlight pre .gh,.highlight code .gh{color:#586e75 !important}.pre-code .gi,html .gist .gist-file .gist-syntax .highlight pre .gi,.highlight code .gi{color:#93a1a1 !important;background-color:#1a412b !important;display:inline-block}.pre-code .gi .x,html .gist .gist-file .gist-syntax .highlight pre .gi .x,.highlight code .gi .x{color:#93a1a1 !important;background-color:#355720 !important;display:inline-block}.pre-code .gs,html .gist .gist-file .gist-syntax .highlight pre .gs,.highlight code .gs{color:#93a1a1 !important;font-weight:bold !important}.pre-code .gu,html .gist .gist-file .gist-syntax .highlight pre .gu,.highlight code .gu{color:#6c71c4 !important}.pre-code .kc,html .gist .gist-file .gist-syntax .highlight pre .kc,.highlight code .kc{color:#859900 !important;font-weight:bold !important}.pre-code .kd,html .gist .gist-file .gist-syntax .highlight pre .kd,.highlight code .kd{color:#268bd2 !important}.pre-code .kp,html .gist .gist-file .gist-syntax .highlight pre .kp,.highlight code .kp{color:#cb4b16 !important;font-weight:bold !important}.pre-code .kr,html .gist .gist-file .gist-syntax .highlight pre .kr,.highlight code .kr{color:#d33682 !important;font-weight:bold !important}.pre-code .kt,html .gist .gist-file .gist-syntax .highlight pre .kt,.highlight code .kt{color:#2aa198 !important}.pre-code .n,html .gist .gist-file .gist-syntax .highlight pre .n,.highlight code .n{color:#268bd2 !important}.pre-code .na,html .gist .gist-file .gist-syntax .highlight pre .na,.highlight code .na{color:#268bd2 !important}.pre-code .nb,html .gist .gist-file .gist-syntax .highlight pre .nb,.highlight code .nb{color:#859900 !important}.pre-code .nc,html .gist .gist-file .gist-syntax .highlight pre .nc,.highlight code .nc{color:#d33682 !important}.pre-code .no,html .gist .gist-file .gist-syntax .highlight pre .no,.highlight code .no{color:#b58900 !important}.pre-code .nl,html .gist .gist-file .gist-syntax .highlight pre .nl,.highlight code .nl{color:#859900 !important}.pre-code .ne,html .gist .gist-file .gist-syntax .highlight pre .ne,.highlight code .ne{color:#268bd2 !important;font-weight:bold !important}.pre-code .nf,html .gist .gist-file .gist-syntax .highlight pre .nf,.highlight code .nf{color:#268bd2 !important;font-weight:bold !important}.pre-code .nn,html .gist .gist-file .gist-syntax .highlight pre .nn,.highlight code .nn{color:#b58900 !important}.pre-code .nt,html .gist .gist-file .gist-syntax .highlight pre .nt,.highlight code .nt{color:#268bd2 !important;font-weight:bold !important}.pre-code .nx,html .gist .gist-file .gist-syntax .highlight pre .nx,.highlight code .nx{color:#b58900 !important}.pre-code .vg,html .gist .gist-file .gist-syntax .highlight pre .vg,.highlight code .vg{color:#268bd2 !important}.pre-code .vi,html .gist .gist-file .gist-syntax .highlight pre .vi,.highlight code .vi{color:#268bd2 !important}.pre-code .nv,html .gist .gist-file .gist-syntax .highlight pre .nv,.highlight code .nv{color:#268bd2 !important}.pre-code .mf,html .gist .gist-file .gist-syntax .highlight pre .mf,.highlight code .mf{color:#2aa198 !important}.pre-code .m,html .gist .gist-file .gist-syntax .highlight pre .m,.highlight code .m{color:#2aa198 !important}.pre-code .mh,html .gist .gist-file .gist-syntax .highlight pre .mh,.highlight code .mh{color:#2aa198 !important}.pre-code .mi,html .gist .gist-file .gist-syntax .highlight pre .mi,.highlight code .mi{color:#2aa198 !important}.pre-code .s,html .gist .gist-file .gist-syntax .highlight pre .s,.highlight code .s{color:#2aa198 !important}.pre-code .sd,html .gist .gist-file .gist-syntax .highlight pre .sd,.highlight code .sd{color:#2aa198 !important}.pre-code .s2,html .gist .gist-file .gist-syntax .highlight pre .s2,.highlight code .s2{color:#2aa198 !important}.pre-code .se,html .gist .gist-file .gist-syntax .highlight pre .se,.highlight code .se{color:#dc322f !important}.pre-code .si,html .gist .gist-file .gist-syntax .highlight pre .si,.highlight code .si{color:#268bd2 !important}.pre-code .sr,html .gist .gist-file .gist-syntax .highlight pre .sr,.highlight code .sr{color:#2aa198 !important}.pre-code .s1,html .gist .gist-file .gist-syntax .highlight pre .s1,.highlight code .s1{color:#2aa198 !important}.pre-code div .gd,html .gist .gist-file .gist-syntax .highlight pre div .gd,.highlight code div .gd,.pre-code div .gd .x,html .gist .gist-file .gist-syntax .highlight pre div .gd .x,.highlight code div .gd .x,.pre-code div .gi,html .gist .gist-file .gist-syntax .highlight pre div .gi,.highlight code div .gi,.pre-code div .gi .x,html .gist .gist-file .gist-syntax .highlight pre div .gi .x,.highlight code div .gi .x{display:inline-block;width:100%}.highlight,.gist-highlight{margin-bottom:1.8em;background:#002b36;overflow-y:hidden;overflow-x:auto}.highlight pre,.gist-highlight pre{background:none;-webkit-border-radius:0px;-moz-border-radius:0px;-ms-border-radius:0px;-o-border-radius:0px;border-radius:0px;border:none;padding:0;margin-bottom:0}pre::-webkit-scrollbar,.highlight::-webkit-scrollbar,.gist-highlight::-webkit-scrollbar{height:.5em;background:rgba(255,255,255,0.15)}pre::-webkit-scrollbar-thumb:horizontal,.highlight::-webkit-scrollbar-thumb:horizontal,.gist-highlight::-webkit-scrollbar-thumb:horizontal{background:rgba(255,255,255,0.2);-webkit-border-radius:4px;border-radius:4px}.highlight code{background:#000}figure.code{background:none;padding:0;border:0;margin-bottom:1.5em}figure.code pre{margin-bottom:0}figure.code figcaption{position:relative}figure.code .highlight{margin-bottom:0}.code-title,html .gist .gist-file .gist-meta a[href*='#file'],h3.filename,figure.code figcaption{text-align:center;font-size:13px;line-height:2em;text-shadow:#cbcccc 0 1px 0;color:#474747;font-weight:normal;margin-bottom:0;-moz-border-radius-topleft:5px;-webkit-border-top-left-radius:5px;border-top-left-radius:5px;-moz-border-radius-topright:5px;-webkit-border-top-right-radius:5px;border-top-right-radius:5px;font-family:"Helvetica Neue", Arial, "Lucida Grande", "Lucida Sans Unicode", Lucida, sans-serif;background:#aaa url('/source/images/code_bg.png?1403566401') top repeat-x;border:1px solid #565656;border-top-color:#cbcbcb;border-left-color:#a5a5a5;border-right-color:#a5a5a5;border-bottom:0}.download-source,html .gist .gist-file .gist-meta a[href*=raw],figure.code figcaption a{position:absolute;right:.8em;text-decoration:none;color:#666 !important;z-index:1;font-size:13px;text-shadow:#cbcccc 0 1px 0;padding-left:3em}.download-source:hover,html .gist .gist-file .gist-meta a[href*=raw]:hover,figure.code figcaption a:hover{text-decoration:underline}#archive #content>div,#archive #content>div>article{padding-top:0}#blog-archives{color:#aaa}#blog-archives article{padding:1em 0 1em;position:relative;background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAABCAYAAACsXeyTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAFUlEQVQIHWNIS0sr/v//PwMMDzY+ADqMahlW4J91AAAAAElFTkSuQmCC') bottom left repeat-x}#blog-archives article:last-child{background:none}#blog-archives article footer{padding:0;margin:0}#blog-archives h1{color:#222;margin-bottom:.3em}#blog-archives h2{display:none}#blog-archives h1{font-size:1.5em}#blog-archives h1 a{text-decoration:none;color:inherit;font-weight:normal;display:inline-block}#blog-archives h1 a:hover{text-decoration:underline}#blog-archives h1 a:hover{color:#32a7f9}#blog-archives a.category,#blog-archives time{color:#aaa}#blog-archives .entry-content{display:none}#blog-archives time{font-size:.9em;line-height:1.2em}#blog-archives time .month,#blog-archives time .day{display:inline-block}#blog-archives time .month{text-transform:uppercase}#blog-archives p{margin-bottom:1em}#blog-archives a,#blog-archives .entry-content a{color:inherit}#blog-archives a:hover,#blog-archives .entry-content a:hover{color:#32a7f9}#blog-archives a:hover{color:#32a7f9}@media only screen and (min-width: 550px){#blog-archives article{margin-left:5em}#blog-archives h2{margin-bottom:.3em;font-weight:normal;display:inline-block;position:relative;top:-1px;float:left}#blog-archives h2:first-child{padding-top:.75em}#blog-archives time{position:absolute;text-align:right;left:0em;top:1.8em}#blog-archives .year{display:none}#blog-archives article{padding-left:4.5em;padding-bottom:.7em}#blog-archives a.category{line-height:1.1em}}#content>.category article{margin-left:0;padding-left:6.8em}#content>.category .year{display:inline}.side-shadow-border,aside.sidebar section h1,aside.sidebar li{-webkit-box-shadow:#fff 0 1px;-moz-box-shadow:#fff 0 1px;box-shadow:#fff 0 1px}aside.sidebar{overflow:hidden;color:#4b4b4b;text-shadow:#fff 0 1px}aside.sidebar section{font-size:.8em;line-height:1.4em;margin-bottom:1.5em}aside.sidebar section h1{margin:1.5em 0 0;padding-bottom:.2em;border-bottom:1px solid #e0e0e0}aside.sidebar section h1+p{padding-top:.4em}aside.sidebar img{-webkit-border-radius:0.3em;-moz-border-radius:0.3em;-ms-border-radius:0.3em;-o-border-radius:0.3em;border-radius:0.3em;-webkit-box-shadow:rgba(0,0,0,0.15) 0 1px 4px;-moz-box-shadow:rgba(0,0,0,0.15) 0 1px 4px;box-shadow:rgba(0,0,0,0.15) 0 1px 4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:#fff 0.3em solid}aside.sidebar ul{margin-bottom:0.5em;margin-left:0}aside.sidebar li{list-style:none;padding:.5em 0;margin:0;border-bottom:1px solid #e0e0e0}aside.sidebar li p:last-child{margin-bottom:0}aside.sidebar a{color:inherit;-webkit-transition:color 0.5s;-moz-transition:color 0.5s;-o-transition:color 0.5s;transition:color 0.5s}aside.sidebar:hover a{color:#222}aside.sidebar:hover a:hover{color:#32a7f9}.aside-alt-link,#pinboard_linkroll .pin-tag{color:#7e7e7e}.aside-alt-link:hover,#pinboard_linkroll .pin-tag:hover{color:#32a7f9}@media only screen and (min-width: 768px){.toggle-sidebar{outline:none;position:absolute;right:-10px;top:0;bottom:0;display:inline-block;text-decoration:none;color:#cecece;width:9px;cursor:pointer}.toggle-sidebar:hover{background:#e9e9e9;background:-webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, rgba(224,224,224,0.5)), color-stop(100%, rgba(224,224,224,0)));background:-webkit-linear-gradient(left, rgba(224,224,224,0.5),rgba(224,224,224,0));background:-moz-linear-gradient(left, rgba(224,224,224,0.5),rgba(224,224,224,0));background:-o-linear-gradient(left, rgba(224,224,224,0.5),rgba(224,224,224,0));background:linear-gradient(left, rgba(224,224,224,0.5),rgba(224,224,224,0))}.toggle-sidebar:after{position:absolute;right:-11px;top:0;width:20px;font-size:1.2em;line-height:1.1em;padding-bottom:.15em;-moz-border-radius-bottomright:0.3em;-webkit-border-bottom-right-radius:0.3em;border-bottom-right-radius:0.3em;text-align:center;background:#fff url('/source/images/noise.png?1403566401') top left;border-bottom:1px solid #e0e0e0;border-right:1px solid #e0e0e0;content:"\00BB";text-indent:-1px}.collapse-sidebar .toggle-sidebar{text-indent:0px;right:-20px;width:19px}.collapse-sidebar .toggle-sidebar:hover{background:#e9e9e9}.collapse-sidebar .toggle-sidebar:after{border-left:1px solid #e0e0e0;text-shadow:#fff 0 1px;content:"\00AB";left:0px;right:0;text-align:center;text-indent:0;border:0;border-right-width:0;background:none}}.googleplus h1{-moz-box-shadow:none !important;-webkit-box-shadow:none !important;-o-box-shadow:none !important;box-shadow:none !important;border-bottom:0px none !important}.googleplus a{text-decoration:none;white-space:normal !important;line-height:32px}.googleplus a img{float:left;margin-right:0.5em;border:0 none}.googleplus-hidden{position:absolute;top:-1000em;left:-1000em}#pinboard_linkroll .pin-title,#pinboard_linkroll .pin-description{display:block;margin-bottom:.5em}#pinboard_linkroll .pin-tag{text-decoration:none}#pinboard_linkroll .pin-tag:hover{text-decoration:underline}#pinboard_linkroll .pin-tag:after{content:','}#pinboard_linkroll .pin-tag:last-child:after{content:''}.delicious-posts a.delicious-link{margin-bottom:.5em;display:block}.delicious-posts p{font-size:1em}body>footer{font-size:.8em;color:#888;text-shadow:#fff 0 1px;background-color:#fff;background:#fff,#fff;border-top:1px solid #fff;position:relative;padding-top:1em;padding-bottom:1em;margin-bottom:3em;-moz-border-radius-bottomleft:0.4em;-webkit-border-bottom-left-radius:0.4em;border-bottom-left-radius:0.4em;-moz-border-radius-bottomright:0.4em;-webkit-border-bottom-right-radius:0.4em;border-bottom-right-radius:0.4em;z-index:1}body>footer a{color:#9e9e9e}body>footer a:visited{color:#9e9e9e}body>footer a:hover{color:#484848}body>footer p:last-child{margin-bottom:0}html{background:#fff}body{line-height:1.8em;font-size:1.1em;max-width:1320px}body>div{background:#fff !important;border-bottom:2px solid #f2f2f2}body>div>div{border-right:2px solid #f2f2f2;background:#fff !important}body>nav{border-bottom:2px solid #f2f2f2}body>nav li+li{border-left:2px solid #f2f2f2}body>nav a{font-family:"Noto Serif",serif}body>header h1 a{font-weight:bold}body #content .blog-index article header h1{margin:0}body #content .blog-index article header h1 a{text-decoration:none}body #content .blog-index article header h1 a:hover{text-decoration:none;color:#268bd2}body #blog-archives h1 a{text-decoration:none}body #blog-archives h1 a:hover{text-decoration:none}body aside.sidebar{background:#fff;border-left:2px solid #f2f2f2;height:100%}body aside.sidebar form .search{padding:.3em .5em 0;font-size:.85em;font-family:"Noto Serif",serif;line-height:1.1em;width:95%;background-color:#fff;border:2px solid #f2f2f2;color:#000}body aside.sidebar input[type=text]:focus,body aside.sidebar textarea:focus{box-shadow:0 0 0 #fff}body .toggle-sidebar{display:none}@media only screen and (max-width: 749px){aside.sidebar{padding-top:15px;padding-bottom:15px}}@media only screen and (min-width: 750px){aside.sidebar{border-top:0px solid black}}@media only screen and (min-width: 992px){body{font-size:1.3em}.collapse-sidebar aside.sidebar{background:#fff}}.meta{font-family:"Noto Serif",serif}.sticky{position:fixed;width:100%;left:0;top:0;z-index:100}::-webkit-input-placeholder{color:#268bd2}:-moz-placeholder{color:#268bd2}::-moz-placeholder{color:#268bd2}:-ms-input-placeholder{color:#268bd2}
|
data/lib/boldandblue.rb
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
require 'boldandblue/version'
|
|
2
|
+
require 'octopress-ink'
|
|
3
|
+
|
|
4
|
+
Octopress::Ink.add_plugin({
|
|
5
|
+
name: "Boldandblue",
|
|
6
|
+
slug: "theme",
|
|
7
|
+
gem: "boldandblue",
|
|
8
|
+
path: File.expand_path(File.join(File.dirname(__FILE__), "..")),
|
|
9
|
+
type: "theme",
|
|
10
|
+
version: Boldandblue::VERSION,
|
|
11
|
+
description: "John Keith's Bold and Blue as an Octopress 3 theme gem",
|
|
12
|
+
source_url: "https://github.com/grantbachman/boldandblue",
|
|
13
|
+
website: "" # Optional project website
|
|
14
|
+
})
|
metadata
ADDED
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: boldandblue
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.2
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Grant David Bachman
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2015-02-08 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: bundler
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '1.7'
|
|
20
|
+
type: :development
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '1.7'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: rake
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '10.0'
|
|
34
|
+
type: :development
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - "~>"
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '10.0'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: octopress-ink
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - '='
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: 1.0.0.rc.40
|
|
48
|
+
type: :runtime
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - '='
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: 1.0.0.rc.40
|
|
55
|
+
description: This is John Keith's Bold and Blue Octopress theme, ported into a gem
|
|
56
|
+
that's usable with Octopress 3's Ink module
|
|
57
|
+
email:
|
|
58
|
+
- grantbachman@gmail.com
|
|
59
|
+
executables: []
|
|
60
|
+
extensions: []
|
|
61
|
+
extra_rdoc_files: []
|
|
62
|
+
files:
|
|
63
|
+
- LICENSE.txt
|
|
64
|
+
- README.md
|
|
65
|
+
- assets/images/bird_32_gray.png
|
|
66
|
+
- assets/images/bird_32_gray_fail.png
|
|
67
|
+
- assets/images/code_bg.png
|
|
68
|
+
- assets/images/dotted-border.png
|
|
69
|
+
- assets/images/email.png
|
|
70
|
+
- assets/images/line-tile.png
|
|
71
|
+
- assets/images/noise.png
|
|
72
|
+
- assets/images/rss.png
|
|
73
|
+
- assets/images/search.png
|
|
74
|
+
- assets/includes/after_footer.html
|
|
75
|
+
- assets/includes/archive_post.html
|
|
76
|
+
- assets/includes/article.html
|
|
77
|
+
- assets/includes/aside.html
|
|
78
|
+
- assets/includes/asides/delicious.html
|
|
79
|
+
- assets/includes/asides/github.html
|
|
80
|
+
- assets/includes/asides/googleplus.html
|
|
81
|
+
- assets/includes/asides/pinboard.html
|
|
82
|
+
- assets/includes/asides/recent_posts.html
|
|
83
|
+
- assets/includes/custom/after_footer.html
|
|
84
|
+
- assets/includes/custom/asides/about.html
|
|
85
|
+
- assets/includes/custom/category_feed.xml
|
|
86
|
+
- assets/includes/custom/footer.html
|
|
87
|
+
- assets/includes/custom/head.html
|
|
88
|
+
- assets/includes/custom/header.html
|
|
89
|
+
- assets/includes/custom/navigation.html
|
|
90
|
+
- assets/includes/disqus.html
|
|
91
|
+
- assets/includes/facebook_like.html
|
|
92
|
+
- assets/includes/footer.html
|
|
93
|
+
- assets/includes/google_analytics.html
|
|
94
|
+
- assets/includes/google_plus_one.html
|
|
95
|
+
- assets/includes/head.html
|
|
96
|
+
- assets/includes/header.html
|
|
97
|
+
- assets/includes/index.html
|
|
98
|
+
- assets/includes/navigation.html
|
|
99
|
+
- assets/includes/post/author.html
|
|
100
|
+
- assets/includes/post/categories.html
|
|
101
|
+
- assets/includes/post/date.html
|
|
102
|
+
- assets/includes/post/disqus_thread.html
|
|
103
|
+
- assets/includes/post/sharing.html
|
|
104
|
+
- assets/includes/twitter_sharing.html
|
|
105
|
+
- assets/javascripts/github.js
|
|
106
|
+
- assets/javascripts/libs/jXHR.js
|
|
107
|
+
- assets/javascripts/libs/jquery.min.js
|
|
108
|
+
- assets/javascripts/libs/swfobject-dynamic.js
|
|
109
|
+
- assets/javascripts/modernizr-2.0.js
|
|
110
|
+
- assets/javascripts/pinboard.js
|
|
111
|
+
- assets/javascripts/twitter.js
|
|
112
|
+
- assets/layouts/category_index.html
|
|
113
|
+
- assets/layouts/default.html
|
|
114
|
+
- assets/layouts/page.html
|
|
115
|
+
- assets/layouts/post.html
|
|
116
|
+
- assets/pages/archive.html
|
|
117
|
+
- assets/pages/index.html
|
|
118
|
+
- assets/stylesheets/screen.css
|
|
119
|
+
- lib/boldandblue.rb
|
|
120
|
+
- lib/boldandblue/version.rb
|
|
121
|
+
homepage: http://gdb.io
|
|
122
|
+
licenses:
|
|
123
|
+
- MIT
|
|
124
|
+
metadata: {}
|
|
125
|
+
post_install_message:
|
|
126
|
+
rdoc_options: []
|
|
127
|
+
require_paths:
|
|
128
|
+
- lib
|
|
129
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
130
|
+
requirements:
|
|
131
|
+
- - ">="
|
|
132
|
+
- !ruby/object:Gem::Version
|
|
133
|
+
version: 2.2.0
|
|
134
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
|
+
requirements:
|
|
136
|
+
- - ">="
|
|
137
|
+
- !ruby/object:Gem::Version
|
|
138
|
+
version: '0'
|
|
139
|
+
requirements: []
|
|
140
|
+
rubyforge_project:
|
|
141
|
+
rubygems_version: 2.4.5
|
|
142
|
+
signing_key:
|
|
143
|
+
specification_version: 4
|
|
144
|
+
summary: John Keith's Bold and Blue as an Octopress 3 theme gem
|
|
145
|
+
test_files: []
|