labrea-theme 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +85 -0
- data/_includes/head.html +20 -0
- data/_includes/header.html +15 -0
- data/_includes/image-gallery.html +7 -0
- data/_includes/lightbox.html +215 -0
- data/_includes/medium-crosspost.html +5 -0
- data/_includes/pagination.html +17 -0
- data/_includes/post_pagination.html +13 -0
- data/_layouts/default.html +15 -0
- data/_layouts/link.html +13 -0
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +17 -0
- data/_sass/ace.scss +58 -0
- data/_sass/basscss.min.scss +1 -0
- data/_sass/github.scss +61 -0
- data/assets/css/main.scss +4 -0
- metadata +103 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 5f2dd847888b44d317c62bacc0979ab7f1c59ddd
|
4
|
+
data.tar.gz: baf5e9d1fc5f97c904a8b668dd04361e6f9d5185
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 35ec65dd17a2f139805547db5bc540a2235bbb622d39cd7bbb5a7600bb9bde666f2838fe66d8d323e293f51712a7c2f8a803a37b68edb24e01b53c8434e67d86
|
7
|
+
data.tar.gz: 8dbb8b37ec02e736c538e4a6f3ef328ada9e45bf0f2336fe9b0a63763992c4e04604564706d5e2065433844886677eddf737c6f3eef3a40dd7baa750f5134bb9
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 noah
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,85 @@
|
|
1
|
+
# labrea
|
2
|
+
|
3
|
+
A [Jekyll](http://jekyllrb.com/) theme based on [Ace](https://github.com/aliou/ace) with only minor modifications.
|
4
|
+
|
5
|
+
|
6
|
+
## Installation
|
7
|
+
|
8
|
+
Add this to your Jekyll site's `Gemfile`:
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
gem "labrea"
|
12
|
+
gem "jekyll-paginate" # if you want pagination enabled
|
13
|
+
```
|
14
|
+
|
15
|
+
And add this line to your Jekyll site's `_config.yml`:
|
16
|
+
|
17
|
+
```yaml
|
18
|
+
theme: labrea
|
19
|
+
```
|
20
|
+
|
21
|
+
and ensure you have `jekyll-paginate` listed under gems in your `_config.yaml`:
|
22
|
+
|
23
|
+
```yaml
|
24
|
+
plugins:
|
25
|
+
- jekyl-paginate
|
26
|
+
```
|
27
|
+
|
28
|
+
And then execute:
|
29
|
+
|
30
|
+
$ bundle
|
31
|
+
|
32
|
+
Or install it yourself as:
|
33
|
+
|
34
|
+
$ gem install labrea
|
35
|
+
|
36
|
+
## Usage
|
37
|
+
|
38
|
+
### Navigation menu
|
39
|
+
|
40
|
+
Navigation links are displayed below the heading. The default is a list of all pages in the site. You can customise this by adding something along the following lines to your `_config.yaml`:
|
41
|
+
|
42
|
+
```yaml
|
43
|
+
header_pages:
|
44
|
+
- about.md
|
45
|
+
- portfolio.md
|
46
|
+
```
|
47
|
+
|
48
|
+
This functionality is copied from the [minima theme](https://github.com/jekyll/minima)
|
49
|
+
|
50
|
+
### Custom CSS
|
51
|
+
|
52
|
+
If you would like to add custom CSS, create a file `/assets/css/main.scss` and add
|
53
|
+
|
54
|
+
```css
|
55
|
+
---
|
56
|
+
---
|
57
|
+
|
58
|
+
@import "ace";
|
59
|
+
```
|
60
|
+
at the beginning and place your custom code below.
|
61
|
+
|
62
|
+
### Lightbox
|
63
|
+
|
64
|
+
This theme has included a [minimal lightbox](https://jekyllcodex.org/without-plugin/lightbox/). All image and video links open in a lightbox. To prevent this behaviour on any specific link add the css class `.no-lightbox`. In markdown this is achieved in the following way
|
65
|
+
|
66
|
+
```Markdown
|
67
|
+
[link text](/link/address){:.no-lightbox}
|
68
|
+
```
|
69
|
+
|
70
|
+
### Image galleries
|
71
|
+
|
72
|
+
This theme has included support for [image galleries](https://jekyllcodex.org/without-plugin/image-gallery/). Please read the information in that link before using, in particular images are resized and hosted by a third party. To insert a gallery into a post, create a directory in `/assets/images/` with the same name as your post and place your jpg images here. Place your post in a directory with the same name. Then insert
|
73
|
+
|
74
|
+
```Markdown
|
75
|
+
{% include image-gallery.html folder="." %}
|
76
|
+
```
|
77
|
+
|
78
|
+
## Contributing
|
79
|
+
|
80
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/noaham/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
81
|
+
|
82
|
+
## License
|
83
|
+
|
84
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
85
|
+
|
data/_includes/head.html
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="UTF-8">
|
3
|
+
<link href="http://gmpg.org/xfn/11" rel="profile">
|
4
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
5
|
+
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
6
|
+
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
|
8
|
+
<meta name='description' content="{{ site.description }}" />
|
9
|
+
|
10
|
+
<title>
|
11
|
+
{% if page.title and page.title != 'Home' %}
|
12
|
+
{{ page.title }} · {{ site.title }}
|
13
|
+
{% else %}
|
14
|
+
{{ site.title }}
|
15
|
+
{% endif %}
|
16
|
+
</title>
|
17
|
+
|
18
|
+
<link rel="stylesheet" href="{{ "/assets/css/main.css" | prepend: site.baseurl }}">
|
19
|
+
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ site.baseurl }}/feed.xml">
|
20
|
+
</head>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<header class='mt4 mb3 ml4 mr1 sm-ml2'>
|
2
|
+
<h1 class='mb1' role='banner'><a href='{{ site.baseurl }}/'>{{ site.title }}</a></h1>
|
3
|
+
<div class='mxn1' role='navigation'>
|
4
|
+
{% assign default_paths = site.pages | map: "path" %}
|
5
|
+
{% assign page_paths = site.header_pages | default: default_paths %}
|
6
|
+
{% if page_paths %}
|
7
|
+
{% for path in page_paths %}
|
8
|
+
{% if my_page.title and my_page.title != "Posts" %}
|
9
|
+
{% assign my_page = site.pages | where: "path", path | first %}
|
10
|
+
<a class="btn button-narrow h3" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
11
|
+
{% endif %}
|
12
|
+
{% endfor %}
|
13
|
+
{% endif %}
|
14
|
+
</div>
|
15
|
+
</header>
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<style>
|
2
|
+
.image-gallery {overflow: auto; margin-left: -1%!important;}
|
3
|
+
.image-gallery a {float: left; display: block; margin: 0 0 1% 1%; width: 19%;}
|
4
|
+
.image-gallery a img {width: 100%; display: block;}
|
5
|
+
</style>
|
6
|
+
|
7
|
+
<p class="image-gallery">{% for file in site.static_files %}{% if file.path contains include.folder %}{% if file.extname == '.jpg' or file.extname == '.jpeg' or file.extname == '.JPG' or file.extname == '.JPEG' %}<a href="{{ file.path }}"><img src="//images.weserv.nl/?url={{ site.url | replace: 'http://','' | replace: 'https://','' }}{{ file.path }}&w=300&h=300&output=jpg&q=50&t=square" /></a>{% endif %}{% endif %}{% endfor %}</p>
|
@@ -0,0 +1,215 @@
|
|
1
|
+
<style>
|
2
|
+
.lightbox {width: 100%; height: 100%; position: fixed; top: 0; left: 0; background: rgba(0,0,0,0.85); z-index: 9999999; line-height: 0; cursor: pointer;}
|
3
|
+
.lightbox img {
|
4
|
+
position: relative;
|
5
|
+
top: 50%;
|
6
|
+
left: 50%;
|
7
|
+
-ms-transform: translateX(-50%) translateY(-50%);
|
8
|
+
-webkit-transform: translate(-50%,-50%);
|
9
|
+
transform: translate(-50%,-50%);
|
10
|
+
max-width: 100%;
|
11
|
+
max-height: 100%;
|
12
|
+
}
|
13
|
+
@media screen and (min-width: 1200px) {
|
14
|
+
.lightbox img {
|
15
|
+
max-width: 1200px;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
@media screen and (min-height: 1200px) {
|
19
|
+
.lightbox img {
|
20
|
+
max-height: 1200px;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
.lightbox .videoWrapperContainer {
|
24
|
+
position: relative;
|
25
|
+
top: 50%;
|
26
|
+
left: 50%;
|
27
|
+
-ms-transform: translateX(-50%) translateY(-50%);
|
28
|
+
-webkit-transform: translate(-50%,-50%);
|
29
|
+
transform: translate(-50%,-50%);
|
30
|
+
max-width: 900px;
|
31
|
+
max-height: 100%;
|
32
|
+
}
|
33
|
+
.lightbox .videoWrapperContainer .videoWrapper {
|
34
|
+
height: 0;
|
35
|
+
line-height: 0;
|
36
|
+
margin: 0;
|
37
|
+
padding: 0;
|
38
|
+
position: relative;
|
39
|
+
padding-bottom: 56.333%; /* custom */
|
40
|
+
background: black;
|
41
|
+
}
|
42
|
+
.lightbox .videoWrapper iframe {
|
43
|
+
position: absolute;
|
44
|
+
top: 0;
|
45
|
+
left: 0;
|
46
|
+
width: 100%;
|
47
|
+
height: 100%;
|
48
|
+
border: 0;
|
49
|
+
display: block;
|
50
|
+
}
|
51
|
+
.lightbox #prev, .lightbox #next {height: 50px; line-height: 36px; display: none; margin-top: -25px; position: fixed; top: 50%; padding: 0 15px; cursor: pointer; text-decoration: none; z-index: 99; color: white; font-size: 60px;}
|
52
|
+
.lightbox.gallery #prev, .lightbox.gallery #next {display: block;}
|
53
|
+
.lightbox #prev {left: 0;}
|
54
|
+
.lightbox #next {right: 0;}
|
55
|
+
.lightbox #close {height: 50px; width: 50px; position: fixed; cursor: pointer; text-decoration: none; z-index: 99; right: 0; top: 0;}
|
56
|
+
.lightbox #close:after, .lightbox #close:before {position: absolute; margin-top: 22px; margin-left: 14px; content: ""; height: 3px; background: white; width: 23px;
|
57
|
+
-webkit-transform-origin: 50% 50%;
|
58
|
+
-moz-transform-origin: 50% 50%;
|
59
|
+
-o-transform-origin: 50% 50%;
|
60
|
+
transform-origin: 50% 50%;
|
61
|
+
/* Safari */
|
62
|
+
-webkit-transform: rotate(-45deg);
|
63
|
+
/* Firefox */
|
64
|
+
-moz-transform: rotate(-45deg);
|
65
|
+
/* IE */
|
66
|
+
-ms-transform: rotate(-45deg);
|
67
|
+
/* Opera */
|
68
|
+
-o-transform: rotate(-45deg);
|
69
|
+
}
|
70
|
+
.lightbox #close:after {
|
71
|
+
/* Safari */
|
72
|
+
-webkit-transform: rotate(45deg);
|
73
|
+
/* Firefox */
|
74
|
+
-moz-transform: rotate(45deg);
|
75
|
+
/* IE */
|
76
|
+
-ms-transform: rotate(45deg);
|
77
|
+
/* Opera */
|
78
|
+
-o-transform: rotate(45deg);
|
79
|
+
}
|
80
|
+
.lightbox, .lightbox * {
|
81
|
+
-webkit-user-select: none;
|
82
|
+
-moz-user-select: none;
|
83
|
+
-ms-user-select: none;
|
84
|
+
user-select: none;
|
85
|
+
}
|
86
|
+
</style>
|
87
|
+
|
88
|
+
<script>
|
89
|
+
function is_youtubelink(url) {
|
90
|
+
var p = /^(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})(?:\S+)?$/;
|
91
|
+
return (url.match(p)) ? RegExp.$1 : false;
|
92
|
+
}
|
93
|
+
function is_imagelink(url) {
|
94
|
+
var p = /([a-z\-_0-9\/\:\.]*\.(jpg|jpeg|png|gif))/i;
|
95
|
+
return (url.match(p)) ? true : false;
|
96
|
+
}
|
97
|
+
function is_vimeolink(url,el) {
|
98
|
+
var id = false;
|
99
|
+
$.ajax({
|
100
|
+
url: 'https://vimeo.com/api/oembed.json?url='+url,
|
101
|
+
async: true,
|
102
|
+
success: function(response) {
|
103
|
+
if(response.video_id) {
|
104
|
+
id = response.video_id;
|
105
|
+
$(el).addClass('lightbox-vimeo').attr('data-id',id);
|
106
|
+
}
|
107
|
+
}
|
108
|
+
});
|
109
|
+
}
|
110
|
+
|
111
|
+
$(document).ready(function() {
|
112
|
+
//add classes to links to be able to initiate lightboxes
|
113
|
+
$("a").each(function(){
|
114
|
+
var url = $(this).attr('href');
|
115
|
+
if(url) {
|
116
|
+
if(url.indexOf('vimeo') !== -1 && !$(this).hasClass('no-lightbox')) is_vimeolink(url,$(this));
|
117
|
+
if(is_youtubelink(url) && !$(this).hasClass('no-lightbox')) $(this).addClass('lightbox-youtube').attr('data-id',is_youtubelink(url));
|
118
|
+
if(is_imagelink(url) && !$(this).hasClass('no-lightbox')) $(this).addClass('lightbox-image');
|
119
|
+
}
|
120
|
+
});
|
121
|
+
//remove the clicked lightbox
|
122
|
+
$("body").on("click", ".lightbox", function(event){
|
123
|
+
if($(this).hasClass('gallery')) {
|
124
|
+
$(this).remove();
|
125
|
+
if($(event.target).attr('id')=='next') {
|
126
|
+
//next item
|
127
|
+
if($("a.gallery.current").nextAll("a.gallery:first").length) $("a.gallery.current").nextAll("a.gallery:first").click();
|
128
|
+
else $("a.gallery.current").parent().find("a.gallery").first().click();
|
129
|
+
}
|
130
|
+
else if ($(event.target).attr('id')=='prev') {
|
131
|
+
//prev item
|
132
|
+
if($("a.gallery.current").prevAll("a.gallery:first").length) $("a.gallery.current").prevAll("a.gallery:first").click();
|
133
|
+
else $("a.gallery.current").parent().find("a.gallery").last().click();
|
134
|
+
}
|
135
|
+
else {
|
136
|
+
$("a.gallery").removeClass('gallery');
|
137
|
+
}
|
138
|
+
}
|
139
|
+
else $(this).remove();
|
140
|
+
});
|
141
|
+
//prevent image from being draggable (for swipe)
|
142
|
+
$("body").on('dragstart', ".lightbox img", function(event) { event.preventDefault(); });
|
143
|
+
//add the youtube lightbox on click
|
144
|
+
$("a.lightbox-youtube").click(function(event){
|
145
|
+
event.preventDefault();
|
146
|
+
$('<div class="lightbox"><a id="close"></a><a id="next">›</a><a id="prev">‹</a><div class="videoWrapperContainer"><div class="videoWrapper"><iframe src="https://www.youtube.com/embed/'+$(this).attr('data-id')+'?autoplay=1&showinfo=0&rel=0"></iframe></div></div></div>').appendTo('body');
|
147
|
+
});
|
148
|
+
//add the image lightbox on click
|
149
|
+
$("a.lightbox-image").click(function(event){
|
150
|
+
event.preventDefault();
|
151
|
+
$('<div class="lightbox"><a id="close"></a><a id="next">›</a><a id="prev">‹</a><img src="'+$(this).attr('href')+'" /></div>').appendTo('body');
|
152
|
+
});
|
153
|
+
//add the vimeo lightbox on click
|
154
|
+
$("body").on("click", "a.lightbox-vimeo", function(event){
|
155
|
+
event.preventDefault();
|
156
|
+
$('<div class="lightbox"><a id="close"></a><a id="next">›</a><a id="prev">‹</a><div class="videoWrapperContainer"><div class="videoWrapper"><iframe src="https://player.vimeo.com/video/'+$(this).attr('data-id')+'/?autoplay=1&byline=0&title=0&portrait=0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div></div></div>').appendTo('body');
|
157
|
+
});
|
158
|
+
|
159
|
+
$("body").on("click", "a[class*='lightbox-']", function(){
|
160
|
+
var link_elements = $(this).parent().find("a[class*='lightbox-']");
|
161
|
+
$(link_elements).removeClass('current');
|
162
|
+
for (var i=0; i<link_elements.length; i++) {
|
163
|
+
if($(this).attr('href') == $(link_elements[i]).attr('href')) {
|
164
|
+
$(link_elements[i]).addClass('current');
|
165
|
+
}
|
166
|
+
}
|
167
|
+
if(link_elements.length>1) {
|
168
|
+
$('.lightbox').addClass('gallery');
|
169
|
+
$(link_elements).addClass('gallery');
|
170
|
+
}
|
171
|
+
});
|
172
|
+
|
173
|
+
|
174
|
+
});
|
175
|
+
|
176
|
+
$(document).keydown(function(e) {
|
177
|
+
switch(e.which) {
|
178
|
+
case 37: // left
|
179
|
+
$("#prev").click();
|
180
|
+
break;
|
181
|
+
case 39: // right
|
182
|
+
$("#next").click();
|
183
|
+
break;
|
184
|
+
case 27: // esc
|
185
|
+
$("#close").click();
|
186
|
+
break;
|
187
|
+
default: return; // exit this handler for other keys
|
188
|
+
}
|
189
|
+
e.preventDefault(); // prevent the default action (scroll / move caret)
|
190
|
+
});
|
191
|
+
|
192
|
+
/*===========================
|
193
|
+
Swipe-it v1.4.1
|
194
|
+
An event listener for swiping gestures with vanilla js.
|
195
|
+
https://github.com/tri613/swipe-it#readme
|
196
|
+
|
197
|
+
@Create 2016/09/22
|
198
|
+
@Update 2017/08/11
|
199
|
+
@Author Trina Lu
|
200
|
+
===========================*/
|
201
|
+
"use strict";var _slicedToArray=function(){function n(n,t){var e=[],i=!0,o=!1,r=void 0;try{for(var u,c=n[Symbol.iterator]();!(i=(u=c.next()).done)&&(e.push(u.value),!t||e.length!==t);i=!0);}catch(n){o=!0,r=n}finally{try{!i&&c.return&&c.return()}finally{if(o)throw r}}return e}return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return n(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();!function(n,t,e){function i(n){function e(){o("touchstart",m,w),o("touchmove",d,w),o("touchend",p,w),E.mouseEvent&&o("mousedown",s,w)}function i(){y=!1,D=!1,A=!1,b=!1,a=!1}function s(n){a=this,y=n.clientX,D=n.clientY,o("mousemove",l,v),o("mouseup",h,v)}function l(n){n.preventDefault(),y&&D&&(A=n.clientX,b=n.clientY)}function h(n){r("mousemove",l,v),r("mouseup",h,v),p(n)}function m(n){a=this,y=n.touches[0].clientX,D=n.touches[0].clientY}function d(n){A=n.touches[0].clientX,b=n.touches[0].clientY}function p(n){if(y&&D&&A&&b){var t=y-A,e=D-b,o=[t,e].map(Math.abs),r=_slicedToArray(o,2),c=r[0],s=r[1],v=E.minDistance;if(c>v){var f=y<A?"swipeRight":"swipeLeft";u(f,a,{distance:t,start:y,end:A})}if(s>v){var l=D>b?"swipeUp":"swipeDown";u(l,a,{distance:e,start:D,end:b})}(c>v||s>v)&&u("swipe",a)}i()}var E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},w=c(t.querySelectorAll(n)),y=void 0,D=void 0,A=void 0,b=void 0;E.mouseEvent=void 0===E.mouseEvent?f.mouseEvent:E.mouseEvent,E.minDistance=void 0===E.minDistance?f.minDistance:E.minDistance,i(),e(),this.on=function(n,t){return o(n,t,w),this}}function o(n,t,e){s(e).forEach(function(e){return e.addEventListener(n,t)})}function r(n,t,e){s(e).forEach(function(e){return e.removeEventListener(n,t)})}function u(n,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=t.createEvent("Event");o.initEvent(n,!0,!0),o.swipe=i,s(e).forEach(function(n){return n.dispatchEvent(o)})}function c(n){for(var t=[],e=0;e<n.length;e++)t.push(n[e]);return t}function s(n){return Array.isArray(n)?n:[n]}var a=!1,v=[n],f={mouseEvent:!0,minDistance:30};n[e]=i}(window,document,"SwipeIt");
|
202
|
+
|
203
|
+
var mySwipeIt = new SwipeIt('body');
|
204
|
+
mySwipeIt.on('swipeLeft',function(e){
|
205
|
+
//check if lightbox is present
|
206
|
+
if($('.lightbox').length > 0 ) {
|
207
|
+
$("#next").click();
|
208
|
+
}
|
209
|
+
}).on('swipeRight',function(e){
|
210
|
+
//check if lightbox is present
|
211
|
+
if($('.lightbox').length > 0 ) {
|
212
|
+
$("#prev").click();
|
213
|
+
}
|
214
|
+
});
|
215
|
+
</script>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<footer class='py4'>
|
2
|
+
{% if paginator.next_page %}
|
3
|
+
<a class='h2' href="{{ site.baseurl }}/{{ paginator.next_page }}/">←</a>
|
4
|
+
{% else %}
|
5
|
+
<span class='h2'>←</span>
|
6
|
+
{% endif %}
|
7
|
+
|
8
|
+
{% if paginator.previous_page %}
|
9
|
+
{% if paginator.page == 2 %}
|
10
|
+
<a class='h2' href="{{ site.baseurl }}/">→</a>
|
11
|
+
{% else %}
|
12
|
+
<a class='h2' href="{{ site.baseurl }}/{{ paginator.previous_page }}/">→</a>
|
13
|
+
{% endif %}
|
14
|
+
{% else %}
|
15
|
+
<span class='h2'>→</span>
|
16
|
+
{% endif %}
|
17
|
+
</footer>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<footer class='py4'>
|
2
|
+
{% if page.previous.url %}
|
3
|
+
<a class='h2' href="{{ site.baseurl }}{{ page.previous.url }}/">←</a>
|
4
|
+
{% else %}
|
5
|
+
<span class='h2'>←</span>
|
6
|
+
{% endif %}
|
7
|
+
|
8
|
+
{% if page.next.url %}
|
9
|
+
<a class='h2' href="{{ site.baseurl }}{{ page.next.url }}/">→</a>
|
10
|
+
{% else %}
|
11
|
+
<span class='h2'>→</span>
|
12
|
+
{% endif %}
|
13
|
+
</footer>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en-us">
|
3
|
+
|
4
|
+
{% include head.html %}
|
5
|
+
|
6
|
+
<body class='navy bg-white'>
|
7
|
+
{% include header.html %}
|
8
|
+
|
9
|
+
<main class='container px4 sm-px2' role='main'>
|
10
|
+
{{ content }}
|
11
|
+
</main>
|
12
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
|
13
|
+
{% include lightbox.html %}
|
14
|
+
</body>
|
15
|
+
</html>
|
data/_layouts/link.html
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<a href='{{ site.baseurl }}/'>← {{ site.title }}</a>
|
6
|
+
|
7
|
+
<article class='justify'>
|
8
|
+
<h2 class='h3 mb1'><a href='{{ page.link }}'>{{ page.title }} →</a></h2>
|
9
|
+
<time class='grayish'>{{ page.date | date: '%B %-d, %Y' }}</time>
|
10
|
+
{{ content }}
|
11
|
+
</article>
|
12
|
+
|
13
|
+
{% include post_pagination.html %}
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<a href='{{ site.baseurl }}/'>← Posts</a>
|
6
|
+
|
7
|
+
<article class='justify'>
|
8
|
+
<div class='mb2'>
|
9
|
+
<h2 class='h3 mb0'><a href='{{ site.baseurl }}{{ page.url }}/'>{{ page.title }}</a></h2>
|
10
|
+
<time class='grayish'>{{ page.date | date: '%B %-d, %Y' }}</time>
|
11
|
+
</div>
|
12
|
+
{{ content }}
|
13
|
+
|
14
|
+
{% include medium-crosspost.html url=page.medium_url%}
|
15
|
+
</article>
|
16
|
+
|
17
|
+
{% include post_pagination.html %}
|
data/_sass/ace.scss
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
@import 'https://fonts.googleapis.com/css?family=Crete+Round';
|
2
|
+
@import "basscss.min";
|
3
|
+
@import "github"; // For code blocks.
|
4
|
+
|
5
|
+
body {
|
6
|
+
font-family: 'Georgia', serif;
|
7
|
+
}
|
8
|
+
|
9
|
+
h1, h2, h3 {
|
10
|
+
font-family: "Crete Round", serif;
|
11
|
+
font-weight: normal;
|
12
|
+
}
|
13
|
+
|
14
|
+
.container {
|
15
|
+
max-width: 48em;
|
16
|
+
margin: 0;
|
17
|
+
}
|
18
|
+
|
19
|
+
p {
|
20
|
+
font-size: 1.2rem;
|
21
|
+
}
|
22
|
+
|
23
|
+
pre {
|
24
|
+
padding: 1rem;
|
25
|
+
background-color: rgba(0,0,0,.0625);
|
26
|
+
}
|
27
|
+
|
28
|
+
img {
|
29
|
+
margin: 10px;
|
30
|
+
}
|
31
|
+
|
32
|
+
blockquote {
|
33
|
+
border-left: 1px solid #ddd;
|
34
|
+
color: #767676;
|
35
|
+
}
|
36
|
+
|
37
|
+
blockquote p {
|
38
|
+
font-style: initial;
|
39
|
+
}
|
40
|
+
|
41
|
+
a {
|
42
|
+
color: #005eb0;
|
43
|
+
}
|
44
|
+
|
45
|
+
@media (max-width: 52em) {
|
46
|
+
.sm-px2 {
|
47
|
+
padding-left: 1rem;
|
48
|
+
padding-right: 1rem;
|
49
|
+
}
|
50
|
+
|
51
|
+
.sm-ml2 {
|
52
|
+
margin-left: 1rem;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
.grayish {
|
57
|
+
color: #767676;
|
58
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
body{margin:0}img{max-width:100%}svg{max-height:100%}fieldset,input,select,textarea{font-family:inherit;font-size:1rem;box-sizing:border-box;margin-top:0;margin-bottom:0}input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week]{height:2.25rem;padding:.5rem .5rem;vertical-align:middle;-webkit-appearance:none}select{line-height:1.75;padding:.5rem .5rem}select:not([multiple]){height:2.25rem;vertical-align:middle}textarea{line-height:1.75;padding:.5rem .5rem}.fieldset-reset{padding:0;margin-left:0;margin-right:0;border:0}.fieldset-reset legend{padding:0}.button,button{font-family:inherit;font-size:inherit;font-weight:700;text-decoration:none;cursor:pointer;display:inline-block;line-height:1.125rem;padding:.5rem 1rem;margin:0;height:auto;border:1px solid transparent;vertical-align:middle;-webkit-appearance:none}.button,.button::after,.button::before,button,button::after,button::before{box-sizing:border-box;box-sizing:border-box}::-moz-focus-inner{border:0;padding:0}.button:hover{text-decoration:none}table{border-collapse:separate;border-spacing:0;max-width:100%;width:100%}th{text-align:left;font-weight:700}td,th{padding:.25rem 1rem;line-height:inherit}th{vertical-align:bottom}td{vertical-align:top}body{font-family:'Helvetica Neue',Helvetica,sans-serif;line-height:1.5;font-size:100%}h1,h2,h3,h4,h5,h6{font-family:'Helvetica Neue',Helvetica,sans-serif;font-weight:700;line-height:1.25;margin-top:1em;margin-bottom:.5em}p{font-size:1rem;margin-top:0;margin-bottom:1rem}dl,ol,ul{font-size:1rem;margin-top:0;margin-bottom:1rem}code,pre,samp{font-family:'Source Code Pro',Consolas,monospace;font-size:inherit}pre{margin-top:0;margin-bottom:1rem;overflow-x:scroll}hr{margin-top:2rem;margin-bottom:2rem}blockquote{margin:2rem 0;padding:0 1rem}blockquote,blockquote p{font-size:1.25rem;font-style:italic}.h1,h1{font-size:2rem}.h2,h2{font-size:1.5rem}.h3,h3{font-size:1.25rem}.h4,h4{font-size:1rem}.h5,h5{font-size:.875rem}.h6,h6{font-size:.75rem}.list-reset{list-style:none;padding-left:0}.inline{display:inline}.block{display:block}.inline-block{display:inline-block}.table{display:table}.table-cell{display:table-cell}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-auto{overflow:auto}.clearfix:after,.clearfix:before{content:" ";display:table}.clearfix:after{clear:both}.left{float:left}.right{float:right}.fit{max-width:100%}.half-width{width:50%}.full-width{width:100%}.bold{font-weight:700}.regular{font-weight:400}.italic{font-style:italic}.caps{text-transform:uppercase;letter-spacing:.2em}.left-align{text-align:left}.center{text-align:center}.right-align{text-align:right}.justify{text-align:justify}.nowrap{white-space:nowrap}.break-word{word-wrap:break-word}.truncate{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.m0{margin:0}.mt0{margin-top:0}.mr0{margin-right:0}.mb0{margin-bottom:0}.ml0{margin-left:0}.m1{margin:.5rem}.mt1{margin-top:.5rem}.mr1{margin-right:.5rem}.mb1{margin-bottom:.5rem}.ml1{margin-left:.5rem}.m2{margin:1rem}.mt2{margin-top:1rem}.mr2{margin-right:1rem}.mb2{margin-bottom:1rem}.ml2{margin-left:1rem}.m3{margin:2rem}.mt3{margin-top:2rem}.mr3{margin-right:2rem}.mb3{margin-bottom:2rem}.ml3{margin-left:2rem}.m4{margin:4rem}.mt4{margin-top:4rem}.mr4{margin-right:4rem}.mb4{margin-bottom:4rem}.ml4{margin-left:4rem}.mxn1{margin-left:-.5rem;margin-right:-.5rem}.mxn2{margin-left:-1rem;margin-right:-1rem}.mxn3{margin-left:-2rem;margin-right:-2rem}.mxn4{margin-left:-4rem;margin-right:-4rem}.mx-auto{margin-left:auto;margin-right:auto}.p1{padding:.5rem}.py1{padding-top:.5rem;padding-bottom:.5rem}.px1{padding-left:.5rem;padding-right:.5rem}.p2{padding:1rem}.py2{padding-top:1rem;padding-bottom:1rem}.px2{padding-left:1rem;padding-right:1rem}.p3{padding:2rem}.py3{padding-top:2rem;padding-bottom:2rem}.px3{padding-left:2rem;padding-right:2rem}.p4{padding:4rem}.py4{padding-top:4rem;padding-bottom:4rem}.px4{padding-left:4rem;padding-right:4rem}.lg-show,.md-show,.sm-show{display:none!important}@media (min-width:40em){.sm-show{display:block!important}}@media (min-width:52em){.md-show{display:block!important}}@media (min-width:64em){.lg-show{display:block!important}}@media (min-width:40em){.sm-hide{display:none!important}}@media (min-width:52em){.md-hide{display:none!important}}@media (min-width:64em){.lg-hide{display:none!important}}.display-none{display:none!important}.hide{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}.relative{position:relative}.absolute{position:absolute}.fixed{position:fixed}.top-0{top:0}.right-0{right:0}.bottom-0{bottom:0}.left-0{left:0}.z1{z-index:1}.z2{z-index:2}.z3{z-index:3}.z4{z-index:4}.button-small{padding:.25rem .5rem}.button-big{padding:1rem 1.25rem}.button-narrow{padding-left:.5rem;padding-right:.5rem}.container{max-width:64em;margin-left:auto;margin-right:auto}.col{float:left;box-sizing:border-box}.col-right{float:right;box-sizing:border-box}.col-1{width:8.33333%}.col-2{width:16.66667%}.col-3{width:25%}.col-4{width:33.33333%}.col-5{width:41.66667%}.col-6{width:50%}.col-7{width:58.33333%}.col-8{width:66.66667%}.col-9{width:75%}.col-10{width:83.33333%}.col-11{width:91.66667%}.col-12{width:100%}@media (min-width:40em){.sm-col{float:left;box-sizing:border-box}.sm-col-right{float:right;box-sizing:border-box}.sm-col-1{width:8.33333%}.sm-col-2{width:16.66667%}.sm-col-3{width:25%}.sm-col-4{width:33.33333%}.sm-col-5{width:41.66667%}.sm-col-6{width:50%}.sm-col-7{width:58.33333%}.sm-col-8{width:66.66667%}.sm-col-9{width:75%}.sm-col-10{width:83.33333%}.sm-col-11{width:91.66667%}.sm-col-12{width:100%}}@media (min-width:52em){.md-col{float:left;box-sizing:border-box}.md-col-right{float:right;box-sizing:border-box}.md-col-1{width:8.33333%}.md-col-2{width:16.66667%}.md-col-3{width:25%}.md-col-4{width:33.33333%}.md-col-5{width:41.66667%}.md-col-6{width:50%}.md-col-7{width:58.33333%}.md-col-8{width:66.66667%}.md-col-9{width:75%}.md-col-10{width:83.33333%}.md-col-11{width:91.66667%}.md-col-12{width:100%}}@media (min-width:64em){.lg-col{float:left;box-sizing:border-box}.lg-col-right{float:right;box-sizing:border-box}.lg-col-1{width:8.33333%}.lg-col-2{width:16.66667%}.lg-col-3{width:25%}.lg-col-4{width:33.33333%}.lg-col-5{width:41.66667%}.lg-col-6{width:50%}.lg-col-7{width:58.33333%}.lg-col-8{width:66.66667%}.lg-col-9{width:75%}.lg-col-10{width:83.33333%}.lg-col-11{width:91.66667%}.lg-col-12{width:100%}}.flex{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.flex-column{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.flex-wrap{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.flex-center{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.flex-baseline{-webkit-box-align:baseline;-webkit-align-items:baseline;-ms-flex-align:baseline;align-items:baseline}.flex-stretch{-webkit-box-align:stretch;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.flex-start{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start}.flex-end{-webkit-box-align:end;-webkit-align-items:flex-end;-ms-flex-align:end;align-items:flex-end}.flex-justify{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.flex-first{-webkit-box-ordinal-group:0;-webkit-order:-1;-ms-flex-order:-1;order:-1}.flex-last{-webkit-box-ordinal-group:1025;-webkit-order:1024;-ms-flex-order:1024;order:1024}.flex-auto{-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}.flex-grow{-webkit-box-flex:1;-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto}.flex-none{-webkit-box-flex:0;-webkit-flex:none;-ms-flex:none;flex:none}.flex>div{box-sizing:border-box}@media (min-width:40em){.sm-flex{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.sm-flex>div{box-sizing:border-box}}@media (min-width:52em){.md-flex{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.md-flex>div{box-sizing:border-box}}@media (min-width:64em){.lg-flex{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.lg-flex>div{box-sizing:border-box}}body{color:#111;background-color:#fff}a{color:#0074d9;text-decoration:none}a:hover{text-decoration:underline}code,pre{background-color:transparent;border-radius:3px}hr{border:0;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:rgba(0,0,0,.125)}.button{color:#fff;background-color:#0074d9;border-radius:3px}.button:hover{box-shadow:inset 0 0 0 20rem rgba(0,0,0,.0625)}.button:focus{outline:0;border-color:rgba(0,0,0,.125);box-shadow:0 0 0 3px rgba(0,0,0,.25)}.button.is-active,.button:active{box-shadow:inset 0 0 0 20rem rgba(0,0,0,.125),inset 0 3px 4px 0 rgba(0,0,0,.25),0 0 1px rgba(0,0,0,.125)}.button.is-disabled,.button:disabled{opacity:.5}.field-light{background-color:#fff;-webkit-transition:box-shadow .2s ease;transition:box-shadow .2s ease;border-style:solid;border-width:1px;border-color:rgba(0,0,0,.125);border-radius:3px}.field-light.is-focused,.field-light:focus{outline:0;border-color:#0074d9;box-shadow:0 0 0 2px rgba(0,116,217,.5)}.field-light.is-disabled,.field-light:disabled{background-color:rgba(0,0,0,.125);opacity:.5}.field-light.is-read-only,.field-light:read-only:not(select){background-color:rgba(0,0,0,.125)}.field-light.is-success{border-color:#2ecc40}.field-light.is-success.is-focused,.field-light.is-success:focus{box-shadow:0 0 0 2px rgba(46,204,64,.5)}.field-light.is-warning{border-color:#ffdc00}.field-light.is-warning.is-focused,.field-light.is-warning:focus{box-shadow:0 0 0 2px rgba(255,220,0,.5)}.field-light.is-error,.field-light:invalid{border-color:#ff4136}.field-light.is-error.is-focused,.field-light.is-error:focus{box-shadow:0 0 0 2px rgba(255,65,54,.5)}.field-dark{color:#fff;background-color:rgba(0,0,0,.25);border:1px solid rgba(0,0,0,.0625);border-radius:3px}.field-dark::-webkit-input-placeholder{color:rgba(255,255,255,.75)}.field-dark::-moz-placeholder{color:rgba(255,255,255,.75)}.field-dark:-ms-input-placeholder{color:rgba(255,255,255,.75)}.field-dark::placeholder{color:rgba(255,255,255,.75)}.field-dark:focus{outline:0;border:1px solid rgba(255,255,255,.5);box-shadow:0 0 0 2px rgba(255,255,255,.25)}.field-dark:read-only:not(select){background-color:rgba(255,255,255,.25)}.field-dark.is-success{border-color:#2ecc40}.field-dark.is-success:focus{box-shadow:0 0 0 2px rgba(46,204,64,.5)}.field-dark.is-warning{border-color:#ffdc00}.field-dark.is-warning:focus{box-shadow:0 0 0 2px rgba(255,220,0,.5)}.field-dark.is-error,.field-dark:invalid{border-color:#ff4136}.field-dark.is-error:focus{box-shadow:0 0 0 2px rgba(255,65,54,.5)}input[type=range]{vertical-align:middle;background-color:transparent}.range-light{color:inherit;-webkit-appearance:none;padding-top:.5rem;padding-bottom:.5rem}.range-light::-webkit-slider-thumb{-webkit-appearance:none;position:relative;width:.5rem;height:1.25rem;border-radius:3px;background-color:currentcolor;cursor:pointer;margin-top:-.5rem}.range-light::-webkit-slider-thumb:before{content:'';display:block;position:absolute;top:-.5rem;left:-.875rem;width:2.25rem;height:2.25rem;opacity:0}.range-light::-moz-range-thumb{width:.5rem;height:1.25rem;border-radius:3px;border-color:transparent;border-width:0;background-color:currentcolor;cursor:pointer}.range-light::-webkit-slider-runnable-track{height:.25rem;cursor:pointer;border-radius:3px;background-color:rgba(0,0,0,.25)}.range-light::-moz-range-track{height:.25rem;cursor:pointer;border-radius:3px;background-color:rgba(0,0,0,.25)}.range-light:focus{outline:0}.range-light:focus::-webkit-slider-thumb{outline:0;border:0;box-shadow:0 0 1px 2px currentcolor}.range-light:focus::-moz-range-thumb{outline:0;border:0;box-shadow:0 0 0 3px rgba(0,0,0,.25)}.progress{display:block;width:100%;height:.5625rem;margin:.5rem 0;background-color:rgba(0,0,0,.125);border:0;border-radius:10000px;overflow:hidden;-webkit-appearance:none}.progress::-webkit-progress-bar{-webkit-appearance:none;background-color:rgba(0,0,0,.125)}.progress::-webkit-progress-value{-webkit-appearance:none;background-color:currentColor}.progress::-moz-progress-bar{background-color:currentColor}.table-light td,.table-light th{border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgba(0,0,0,.125)}.table-light tr:last-child td{border-bottom:0}.button-outline{position:relative;z-index:2;color:inherit;background-color:transparent;border-radius:3px;border:1px solid currentcolor}.button-outline::before{content:'';display:block;position:absolute;z-index:-1;top:-1px;right:-1px;bottom:-1px;left:-1px;border:1px solid transparent;background-color:currentcolor;border-radius:3px;opacity:0}.button-outline:hover{box-shadow:none}.button-outline:focus::before,.button-outline:hover::before{opacity:.125}.button-outline:focus{outline:0;border:1px solid currentcolor;box-shadow:0 0 0 2px}.button-outline.is-active,.button-outline:active{box-shadow:inset 0 1px 5px 0,0 0 1px}.button-outline.is-disabled,.button-outline:disabled{opacity:.5}.button-transparent{position:relative;z-index:2;color:inherit;background-color:transparent;border-radius:0;border:1px solid transparent}.button-transparent::before{content:'';display:block;position:absolute;z-index:-1;top:-1px;right:-1px;bottom:-1px;left:-1px;border:1px solid transparent;background-color:currentcolor;opacity:0}.button-transparent:hover{box-shadow:none}.button-transparent:focus::before,.button-transparent:hover::before{opacity:.09375}.button-transparent:focus{outline:0;border-color:transparent;box-shadow:0 0 0 2px}.button-transparent.is-active,.button-transparent:active{box-shadow:none}.button-transparent.is-active::before,.button-transparent:active::before{opacity:.0625}.button-transparent.is-disabled,.button-transparent:disabled{opacity:.5}.bg-cover{background-size:cover}.bg-contain{background-size:contain}.bg-center{background-position:center}.bg-top{background-position:top}.bg-right{background-position:right}.bg-bottom{background-position:bottom}.bg-left{background-position:left}.border{border-style:solid;border-width:1px;border-color:rgba(0,0,0,.125)}.border-top{border-top-style:solid;border-top-width:1px;border-top-color:rgba(0,0,0,.125)}.border-right{border-right-style:solid;border-right-width:1px;border-right-color:rgba(0,0,0,.125)}.border-bottom{border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:rgba(0,0,0,.125)}.border-left{border-left-style:solid;border-left-width:1px;border-left-color:rgba(0,0,0,.125)}.rounded{border-radius:3px}.circle{border-radius:50%}.rounded-top{border-radius:3px 3px 0 0}.rounded-right{border-radius:0 3px 3px 0}.rounded-bottom{border-radius:0 0 3px 3px}.rounded-left{border-radius:3px 0 0 3px}.not-rounded{border-radius:0}.black,.dark-gray{color:#111}.gray,.mid-gray{color:#aaa}.light-gray,.silver{color:#ddd}.white{color:#fff}.aqua{color:#7fdbff}.blue{color:#0074d9}.navy{color:#001f3f}.teal{color:#39cccc}.green{color:#2ecc40}.olive{color:#3d9970}.lime{color:#01ff70}.yellow{color:#ffdc00}.orange{color:#ff851b}.red{color:#ff4136}.fuchsia{color:#f012be}.purple{color:#b10dc9}.maroon{color:#85144b}.bg-black,.bg-dark-gray{background-color:#111}.bg-gray,.bg-mid-gray{background-color:#aaa}.bg-light-gray,.bg-silver{background-color:#ddd}.bg-white{background-color:#fff}.bg-aqua{background-color:#7fdbff}.bg-blue{background-color:#0074d9}.bg-navy{background-color:#001f3f}.bg-teal{background-color:#39cccc}.bg-green{background-color:#2ecc40}.bg-olive{background-color:#3d9970}.bg-lime{background-color:#01ff70}.bg-yellow{background-color:#ffdc00}.bg-orange{background-color:#ff851b}.bg-red{background-color:#ff4136}.bg-fuchsia{background-color:#f012be}.bg-purple{background-color:#b10dc9}.bg-maroon{background-color:#85144b}.bg-darken-1{background-color:rgba(0,0,0,.0625)}.bg-darken-2{background-color:rgba(0,0,0,.125)}.bg-darken-3{background-color:rgba(0,0,0,.25)}.bg-darken-4{background-color:rgba(0,0,0,.5)}.border-black{border-color:#111}.border-gray{border-color:#aaa}.border-silver{border-color:#ddd}.border-white{border-color:#fff}.border-aqua{border-color:#7fdbff}.border-blue{border-color:#0074d9}.border-navy{border-color:#001f3f}.border-teal{border-color:#39cccc}.border-green{border-color:#2ecc40}.border-olive{border-color:#3d9970}.border-lime{border-color:#01ff70}.border-yellow{border-color:#ffdc00}.border-orange{border-color:#ff851b}.border-red{border-color:#ff4136}.border-fuchsia{border-color:#f012be}.border-purple{border-color:#b10dc9}.border-maroon{border-color:#85144b}.border-darken-1{border-color:rgba(0,0,0,.0625)}.border-darken-2{border-color:rgba(0,0,0,.125)}.border-darken-3{border-color:rgba(0,0,0,.25)}.border-darken-4{border-color:rgba(0,0,0,.5)}.muted{opacity:.5}.color-inherit{color:inherit}
|
data/_sass/github.scss
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
.highlight .hll { background-color: #ffffcc }
|
2
|
+
.highlight .c { color: #999988; font-style: italic } /* Comment */
|
3
|
+
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
|
4
|
+
.highlight .k { color: #000000; font-weight: bold } /* Keyword */
|
5
|
+
.highlight .o { color: #000000; font-weight: bold } /* Operator */
|
6
|
+
.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
|
7
|
+
.highlight .cp { color: #999999; font-weight: bold; font-style: italic } /* Comment.Preproc */
|
8
|
+
.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
|
9
|
+
.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
|
10
|
+
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
|
11
|
+
.highlight .ge { color: #000000; font-style: italic } /* Generic.Emph */
|
12
|
+
.highlight .gr { color: #aa0000 } /* Generic.Error */
|
13
|
+
.highlight .gh { color: #999999 } /* Generic.Heading */
|
14
|
+
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
|
15
|
+
.highlight .go { color: #888888 } /* Generic.Output */
|
16
|
+
.highlight .gp { color: #555555 } /* Generic.Prompt */
|
17
|
+
.highlight .gs { font-weight: bold } /* Generic.Strong */
|
18
|
+
.highlight .gu { color: #aaaaaa } /* Generic.Subheading */
|
19
|
+
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
|
20
|
+
.highlight .kc { color: #000000; font-weight: bold } /* Keyword.Constant */
|
21
|
+
.highlight .kd { color: #000000; font-weight: bold } /* Keyword.Declaration */
|
22
|
+
.highlight .kn { color: #000000; font-weight: bold } /* Keyword.Namespace */
|
23
|
+
.highlight .kp { color: #000000; font-weight: bold } /* Keyword.Pseudo */
|
24
|
+
.highlight .kr { color: #000000; font-weight: bold } /* Keyword.Reserved */
|
25
|
+
.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
|
26
|
+
.highlight .m { color: #009999 } /* Literal.Number */
|
27
|
+
.highlight .s { color: #d01040 } /* Literal.String */
|
28
|
+
.highlight .na { color: #008080 } /* Name.Attribute */
|
29
|
+
.highlight .nb { color: #0086B3 } /* Name.Builtin */
|
30
|
+
.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
|
31
|
+
.highlight .no { color: #008080 } /* Name.Constant */
|
32
|
+
.highlight .nd { color: #3c5d5d; font-weight: bold } /* Name.Decorator */
|
33
|
+
.highlight .ni { color: #800080 } /* Name.Entity */
|
34
|
+
.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
|
35
|
+
.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
|
36
|
+
.highlight .nl { color: #990000; font-weight: bold } /* Name.Label */
|
37
|
+
.highlight .nn { color: #555555 } /* Name.Namespace */
|
38
|
+
.highlight .nt { color: #000080 } /* Name.Tag */
|
39
|
+
.highlight .nv { color: #008080 } /* Name.Variable */
|
40
|
+
.highlight .ow { color: #000000; font-weight: bold } /* Operator.Word */
|
41
|
+
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
|
42
|
+
.highlight .mf { color: #009999 } /* Literal.Number.Float */
|
43
|
+
.highlight .mh { color: #009999 } /* Literal.Number.Hex */
|
44
|
+
.highlight .mi { color: #009999 } /* Literal.Number.Integer */
|
45
|
+
.highlight .mo { color: #009999 } /* Literal.Number.Oct */
|
46
|
+
.highlight .sb { color: #d01040 } /* Literal.String.Backtick */
|
47
|
+
.highlight .sc { color: #d01040 } /* Literal.String.Char */
|
48
|
+
.highlight .sd { color: #d01040 } /* Literal.String.Doc */
|
49
|
+
.highlight .s2 { color: #d01040 } /* Literal.String.Double */
|
50
|
+
.highlight .se { color: #d01040 } /* Literal.String.Escape */
|
51
|
+
.highlight .sh { color: #d01040 } /* Literal.String.Heredoc */
|
52
|
+
.highlight .si { color: #d01040 } /* Literal.String.Interpol */
|
53
|
+
.highlight .sx { color: #d01040 } /* Literal.String.Other */
|
54
|
+
.highlight .sr { color: #009926 } /* Literal.String.Regex */
|
55
|
+
.highlight .s1 { color: #d01040 } /* Literal.String.Single */
|
56
|
+
.highlight .ss { color: #990073 } /* Literal.String.Symbol */
|
57
|
+
.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
|
58
|
+
.highlight .vc { color: #008080 } /* Name.Variable.Class */
|
59
|
+
.highlight .vg { color: #008080 } /* Name.Variable.Global */
|
60
|
+
.highlight .vi { color: #008080 } /* Name.Variable.Instance */
|
61
|
+
.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
|
metadata
ADDED
@@ -0,0 +1,103 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: labrea-theme
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- noah
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-05-03 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.7'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.16'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.16'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '12.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '12.0'
|
55
|
+
description:
|
56
|
+
email:
|
57
|
+
- noah.alexander.white@gmail.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- LICENSE.txt
|
63
|
+
- README.md
|
64
|
+
- _includes/head.html
|
65
|
+
- _includes/header.html
|
66
|
+
- _includes/image-gallery.html
|
67
|
+
- _includes/lightbox.html
|
68
|
+
- _includes/medium-crosspost.html
|
69
|
+
- _includes/pagination.html
|
70
|
+
- _includes/post_pagination.html
|
71
|
+
- _layouts/default.html
|
72
|
+
- _layouts/link.html
|
73
|
+
- _layouts/page.html
|
74
|
+
- _layouts/post.html
|
75
|
+
- _sass/ace.scss
|
76
|
+
- _sass/basscss.min.scss
|
77
|
+
- _sass/github.scss
|
78
|
+
- assets/css/main.scss
|
79
|
+
homepage: https://github.com/noaham/labrea
|
80
|
+
licenses:
|
81
|
+
- MIT
|
82
|
+
metadata: {}
|
83
|
+
post_install_message:
|
84
|
+
rdoc_options: []
|
85
|
+
require_paths:
|
86
|
+
- lib
|
87
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - ">="
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '0'
|
92
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
requirements: []
|
98
|
+
rubyforge_project:
|
99
|
+
rubygems_version: 2.5.2
|
100
|
+
signing_key:
|
101
|
+
specification_version: 4
|
102
|
+
summary: A simple Jekyll theme for journalling based on ace-theme.
|
103
|
+
test_files: []
|