From 561d5a4fff7377f1593e264ef7740cf566fd841e Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Sun, 25 Oct 2015 21:35:50 +0100 Subject: [PATCH 01/24] fixed pagination extra space --- assets/scss/components/_pagination.scss | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/assets/scss/components/_pagination.scss b/assets/scss/components/_pagination.scss index 710b497f..2bcc5af8 100755 --- a/assets/scss/components/_pagination.scss +++ b/assets/scss/components/_pagination.scss @@ -1,11 +1,19 @@ .pagination { margin: 0 0 2.5rem; } -.posts.index { - margin-right: 1rem; - margin-left: 1rem; - font-size: .8rem; +.posts { - color: $gray-dark; + &.index { + font-size: .8rem; + color: $gray-dark; + } + + &.newer { + margin-right: 1rem; + } + + &.older { + margin-left: 1rem; + } } From af17af50a0c3e744099c71522f9358e86c7a7469 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Sun, 25 Oct 2015 21:36:27 +0100 Subject: [PATCH 02/24] be posible to setup a different open button --- assets/js/src/cover.coffee | 3 ++- partials/navigation.hbs | 10 ++-------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/assets/js/src/cover.coffee b/assets/js/src/cover.coffee index 83fda955..ac8c07c7 100755 --- a/assets/js/src/cover.coffee +++ b/assets/js/src/cover.coffee @@ -3,6 +3,7 @@ $ -> isOpen = location.hash is '#open' + openButton = window.open_button or '.nav-posts > a' _animate = -> setTimeout(-> @@ -16,7 +17,7 @@ $ -> $('#menu-button').click -> $('.cover, main, #menu-button, html').toggleClass 'expanded' - $('.nav-blog > a, #avatar-link').click (event) -> + $("#{openButton}, #avatar-link").click (event) -> if Uno.is 'page', 'home' event.preventDefault() location.hash = if location.hash is '' then '#open' else '' diff --git a/partials/navigation.hbs b/partials/navigation.hbs index 05801645..7f2c8f81 100755 --- a/partials/navigation.hbs +++ b/partials/navigation.hbs @@ -1,15 +1,9 @@ From 4747b0a4527f442758f034c43170eb8e3e828ee2 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Wed, 28 Oct 2015 20:48:11 +0100 Subject: [PATCH 03/24] mixins renamed into utils --- .../modules/{_mixins.scss => _utils.scss} | 30 +++++++++++++++++++ assets/scss/uno-zen.scss | 4 +-- 2 files changed, 32 insertions(+), 2 deletions(-) rename assets/scss/modules/{_mixins.scss => _utils.scss} (71%) diff --git a/assets/scss/modules/_mixins.scss b/assets/scss/modules/_utils.scss similarity index 71% rename from assets/scss/modules/_mixins.scss rename to assets/scss/modules/_utils.scss index 6c2a98b8..acef8a04 100755 --- a/assets/scss/modules/_mixins.scss +++ b/assets/scss/modules/_utils.scss @@ -1,3 +1,33 @@ +%dotted-link { + padding-right: 0.2rem; + padding-left: 0.2rem; + padding-bottom: 2px; + transition: all .5s; + + &::after { + position: absolute; + bottom: -.5px; + left: 0; + + width: 100%; + height: 0; + + content: ""; + + border-bottom: 1px dashed $primary-color; + } + &:hover { + color: $white; + border-color: $hover-color; + background: $primary-color; + } + + &:hover, + &:active { + outline: 0; + } +} + @mixin inline-code-style { padding: .09rem .2rem; diff --git a/assets/scss/uno-zen.scss b/assets/scss/uno-zen.scss index c2e2c64a..58df1cbc 100755 --- a/assets/scss/uno-zen.scss +++ b/assets/scss/uno-zen.scss @@ -2,14 +2,14 @@ // PRE // ------------------------------ -@import 'modules/mixins.scss'; +@import 'modules/variables.scss'; +@import 'modules/utils.scss'; // ------------------------------ // MODULES // ------------------------------ @import 'modules/reset.scss'; -@import 'modules/variables.scss'; @import 'modules/grid.scss'; @import 'modules/global.scss'; @import 'modules/fonts.scss'; From c33125df4851faa7fdb03544c6a1624d38cdde0d Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Wed, 28 Oct 2015 21:47:29 +0100 Subject: [PATCH 04/24] first approach of posts --- assets/scss/components/_post.scss | 73 ++++++++++++------------------- assets/scss/modules/_utils.scss | 6 +-- index.hbs | 19 +++++--- 3 files changed, 42 insertions(+), 56 deletions(-) diff --git a/assets/scss/components/_post.scss b/assets/scss/components/_post.scss index a6513494..80873ed3 100755 --- a/assets/scss/components/_post.scss +++ b/assets/scss/components/_post.scss @@ -1,64 +1,39 @@ .posts { + padding: 0; margin: 0; list-style-type: none; - text-align: left; - > li { - > a { - > h2 { - margin-bottom: 1rem; - - line-height: 3rem; - - transition: all $aside-animation-time; - - &:hover { - transition: all $aside-animation-time; + margin-bottom: 1.25rem; - color: $hover-color; - } - &:first-child { - margin-top: 0; - } - } + &:first-child { + margin-top: 4.6875rem; } - } -} - -#post-content { - a { - padding: 0 .2em; - - transition: all .5s; - - &::after { - position: absolute; - bottom: -.5px; - left: 0; - width: 100%; - height: 0; - - content: ""; - - border-bottom: 1px dashed $primary-color; + &:last-child { + margin-bottom: 4.6875rem; } - &:hover { - color: $white; - border-color: $hover-color; - background: $primary-color; + + > time { + float: right; + text-transform: uppercase; + color: #777; + font-size: 10px; + letter-spacing: 2px; } - &:hover, - &:active { - outline: 0; + > a { + @extend %dotted-link; } } } +#post-content a { + @extend %dotted-link; +} + .post { > p { > img { @@ -93,7 +68,12 @@ } &.tags { > a { - padding: .167rem .25rem; + + &:first-child { + margin-left: .55rem; + } + + padding: .15rem .25rem; font-size: .55rem; @@ -102,7 +82,8 @@ color: $gray-lightest; border-radius: .25rem; - background-color: rgba($primary-color, .7); + background-color: rgba($primary-color, .45); + bottom: 4px; &:hover { background-color: rgba($primary-color, 1); diff --git a/assets/scss/modules/_utils.scss b/assets/scss/modules/_utils.scss index acef8a04..f8fb4f6d 100755 --- a/assets/scss/modules/_utils.scss +++ b/assets/scss/modules/_utils.scss @@ -1,12 +1,10 @@ %dotted-link { - padding-right: 0.2rem; - padding-left: 0.2rem; - padding-bottom: 2px; + padding: 3px; transition: all .5s; &::after { position: absolute; - bottom: -.5px; + bottom: 0px; left: 0; width: 100%; diff --git a/index.hbs b/index.hbs index 04c1eeee..87162b0f 100755 --- a/index.hbs +++ b/index.hbs @@ -1,8 +1,19 @@ {{!< default}} + +

Writtings

    {{#foreach posts}}
  1. - + + {{title}} + {{tags separator=" "}} +
  2. + {{/foreach}} +
+{{pagination}} + + +{{!--

{{{title}}}

{{excerpt}}…

@@ -10,8 +21,4 @@ {{tags prefix="on " separator=" "}} -
- - {{/foreach}} - -{{pagination}} +
--}} From fe7a0013e1743fa45f474c69001485aa1d46130f Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Wed, 28 Oct 2015 22:03:39 +0100 Subject: [PATCH 05/24] fixed post list margins --- assets/scss/components/_post.scss | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/assets/scss/components/_post.scss b/assets/scss/components/_post.scss index 80873ed3..ad879fd2 100755 --- a/assets/scss/components/_post.scss +++ b/assets/scss/components/_post.scss @@ -6,6 +6,7 @@ list-style-type: none; > li { + margin-left: 1rem; margin-bottom: 1.25rem; &:first-child { @@ -27,6 +28,10 @@ > a { @extend %dotted-link; } + + > span > a { + bottom: 3px; + } } } @@ -70,7 +75,11 @@ > a { &:first-child { - margin-left: .55rem; + margin-left: .2rem; + } + + &:last-child { + margin-right: .2rem; } padding: .15rem .25rem; @@ -83,7 +92,7 @@ color: $gray-lightest; border-radius: .25rem; background-color: rgba($primary-color, .45); - bottom: 4px; + // bottom: 1.5px; &:hover { background-color: rgba($primary-color, 1); From 570d08c8dd1bedba0912288c1dccb6f547713cb7 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Wed, 28 Oct 2015 22:11:00 +0100 Subject: [PATCH 06/24] adjust margins...again. --- assets/scss/components/_post.scss | 13 +++---------- index.hbs | 4 ++-- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/assets/scss/components/_post.scss b/assets/scss/components/_post.scss index ad879fd2..cdb46108 100755 --- a/assets/scss/components/_post.scss +++ b/assets/scss/components/_post.scss @@ -1,7 +1,8 @@ -.posts { +#posts-list { padding: 0; margin: 0; + margin: 5rem 0; list-style-type: none; @@ -9,14 +10,6 @@ margin-left: 1rem; margin-bottom: 1.25rem; - &:first-child { - margin-top: 4.6875rem; - } - - &:last-child { - margin-bottom: 4.6875rem; - } - > time { float: right; text-transform: uppercase; @@ -30,7 +23,7 @@ } > span > a { - bottom: 3px; + bottom: 2px; } } } diff --git a/index.hbs b/index.hbs index 87162b0f..31cdaadc 100755 --- a/index.hbs +++ b/index.hbs @@ -1,7 +1,7 @@ {{!< default}} -

Writtings

-
    +

    Writtings.

    +
      {{#foreach posts}}
    1. From 58fa32ddcb3a9e5d2d2c370be4e28d9405eb3c82 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Wed, 28 Oct 2015 22:52:20 +0100 Subject: [PATCH 07/24] adjust post list media queries --- assets/scss/components/_media-queries.scss | 31 +++++++++++++++++----- assets/scss/modules/_utils.scss | 15 ++--------- 2 files changed, 27 insertions(+), 19 deletions(-) diff --git a/assets/scss/components/_media-queries.scss b/assets/scss/components/_media-queries.scss index 70e6042a..e5915c1a 100755 --- a/assets/scss/components/_media-queries.scss +++ b/assets/scss/components/_media-queries.scss @@ -17,6 +17,7 @@ @media all and (max-width:1024px) { /* disabling element, too much information*/ .pace, + span.post.tags, .post.reading-time, .post.related { display: none; @@ -121,6 +122,13 @@ } } } + + #posts-list > li { + > time { + padding: 0 0 0 4rem; + } + } + main { left: 0; @@ -136,6 +144,14 @@ // ------------------------------ @media all and (max-width:480px) { + + .post .tags, + .post .meta > time, + .pagination > span { + display: none; + } + + .btn { display: block; margin-bottom: .4em; @@ -167,14 +183,17 @@ #panic-button { margin-bottom: 1rem; } - #post-title { - margin: 2.5rem 0; + + #posts-list > li { + margin-bottom: 2.5rem; + > time { + padding: 0 0 25px 25px; + letter-spacing: 1px; + } } - .post .tags, - .post .meta > time, - .pagination > span { - display: none; + #post-title { + margin: 2.5rem 0; } .post { diff --git a/assets/scss/modules/_utils.scss b/assets/scss/modules/_utils.scss index f8fb4f6d..93d349bd 100755 --- a/assets/scss/modules/_utils.scss +++ b/assets/scss/modules/_utils.scss @@ -1,19 +1,8 @@ %dotted-link { - padding: 3px; + border-bottom: 1px dashed $primary-color; + line-height: 25px; transition: all .5s; - &::after { - position: absolute; - bottom: 0px; - left: 0; - - width: 100%; - height: 0; - - content: ""; - - border-bottom: 1px dashed $primary-color; - } &:hover { color: $white; border-color: $hover-color; From fad10860326b2d161a04c06246e0aab95a431f6b Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Wed, 28 Oct 2015 22:52:37 +0100 Subject: [PATCH 08/24] adjust read time for post lists --- assets/js/src/__init.coffee | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/assets/js/src/__init.coffee b/assets/js/src/__init.coffee index d7417ec1..8668b20a 100755 --- a/assets/js/src/__init.coffee +++ b/assets/js/src/__init.coffee @@ -33,9 +33,11 @@ $ -> else postDateInDays = "#{postDateInDays} days ago" $(this).html(postDateInDays) - $(this).mouseover -> $(this).html(postDate) - $(this).mouseout -> $(this).html(postDateInDays) - DateInDays '.post.meta > time' + $(this).mouseover -> $(this).html postDate + $(this).mouseout -> $(this).html postDateInDays + + selectorDate = if Uno.is 'home' then '#posts-list time' else '.post.meta > time' + DateInDays selectorDate device: -> w = window.innerWidth From b77b378edf4db9db8f99581713cc6dc30fe62493 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Thu, 12 Nov 2015 10:50:28 +0100 Subject: [PATCH 09/24] adjust padding in links --- assets/scss/modules/_utils.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/scss/modules/_utils.scss b/assets/scss/modules/_utils.scss index 93d349bd..2d319e03 100755 --- a/assets/scss/modules/_utils.scss +++ b/assets/scss/modules/_utils.scss @@ -2,6 +2,7 @@ border-bottom: 1px dashed $primary-color; line-height: 25px; transition: all .5s; + padding: .1rem .25rem; &:hover { color: $white; From 673d0afaf4236159bcc2bb88a4205f0a528e46d0 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Thu, 12 Nov 2015 10:56:19 +0100 Subject: [PATCH 10/24] adjust breadcrumbs on mobile --- assets/scss/components/_media-queries.scss | 25 ++++++++-------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/assets/scss/components/_media-queries.scss b/assets/scss/components/_media-queries.scss index e5915c1a..87a1ff85 100755 --- a/assets/scss/components/_media-queries.scss +++ b/assets/scss/components/_media-queries.scss @@ -151,14 +151,15 @@ display: none; } + main { + padding: 1rem 0; + } .btn { display: block; margin-bottom: .4em; } - main { - padding: 1rem 0; - } + .mayday { width: auto; > h2 { @@ -184,6 +185,11 @@ margin-bottom: 1rem; } + .posts.newer, + .posts.older { + margin: 1rem 0; + } + #posts-list > li { margin-bottom: 2.5rem; > time { @@ -196,19 +202,6 @@ margin: 2.5rem 0; } - .post { - &.newer, - &.older { - padding: 1rem; - } - &.newer { - margin: 0 0 1.2rem; - } - &.older { - margin: 0 0 10px; - } - } - blockquote { > p { margin: 2rem -1rem; From 3810a2cf823f2113660f8f38bb7661d6d68616d1 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Thu, 12 Nov 2015 11:11:35 +0100 Subject: [PATCH 11/24] mark and selection color based in $secondary-color --- assets/scss/modules/_global.scss | 6 +++--- assets/scss/modules/_variables.scss | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/assets/scss/modules/_global.scss b/assets/scss/modules/_global.scss index 5434d07f..2ebb412c 100755 --- a/assets/scss/modules/_global.scss +++ b/assets/scss/modules/_global.scss @@ -5,7 +5,7 @@ html { height: 100%; max-height: 100%; - + &.expanded { overflow-y: hidden; } @@ -23,11 +23,11 @@ body { } mark { - background: saturate($primary-color, 60%); + background: saturate($secondary-color, 60%); } ::selection { - background: lighten($primary-color, 26%); + background: lighten($secondary-color, 26%); } ::scrollbar { diff --git a/assets/scss/modules/_variables.scss b/assets/scss/modules/_variables.scss index a3510b5a..af38f1d2 100755 --- a/assets/scss/modules/_variables.scss +++ b/assets/scss/modules/_variables.scss @@ -14,9 +14,10 @@ $cyan : #006064; $red : #e74c3c; $purple : #493252; $slate : #3d4260; +$yellow : #FFC107; $primary-color : lighten($red, 5%); -$secondary-color : $gray-dark; +$secondary-color : $yellow; $cover-secondary : rgba(#5f2c82, .1); $cover-primary : rgba(#49a09d, .2); From f150cdc8b368975acffe4eb737a9075f59a1f66b Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Sun, 15 Nov 2015 22:16:30 +0100 Subject: [PATCH 12/24] Added twemoji as dependency --- assets/js/src/__init.coffee | 13 +++++++ assets/js/src/main.coffee | 1 + assets/scss/modules/_global.scss | 66 +++++++------------------------- bower.json | 13 ++++--- gulpfile.coffee | 1 + 5 files changed, 35 insertions(+), 59 deletions(-) diff --git a/assets/js/src/__init.coffee b/assets/js/src/__init.coffee index 8668b20a..11804d97 100755 --- a/assets/js/src/__init.coffee +++ b/assets/js/src/__init.coffee @@ -45,3 +45,16 @@ $ -> return 'mobile' if (w <= 480) return 'tablet' if (w <= 1024) 'desktop' + + parseEmojis: -> + twemoji.parse document.body, + folder: 'svg' + ext: '.svg' + callback: (icon, options, variant) -> + switch icon + # © copyright + # ® registered trademark + when 'a9', 'ae', '2122' + # ™ trademark + return false + ''.concat options.base, options.size, '/', icon, options.ext diff --git a/assets/js/src/main.coffee b/assets/js/src/main.coffee index d385b7cb..cf1c358b 100644 --- a/assets/js/src/main.coffee +++ b/assets/js/src/main.coffee @@ -6,6 +6,7 @@ $ -> el.dataset.page = Uno.context() el.dataset.device = Uno.device() + Uno.parseEmojis() Uno.readTime() FastClick.attach el unless Uno.is 'device', 'desktop' diff --git a/assets/scss/modules/_global.scss b/assets/scss/modules/_global.scss index 2ebb412c..93265703 100755 --- a/assets/scss/modules/_global.scss +++ b/assets/scss/modules/_global.scss @@ -5,97 +5,75 @@ html { height: 100%; max-height: 100%; + font-size: $unit; &.expanded { overflow-y: hidden; } - - font-size: $unit; } -html, -body { +html, body { height: 100%; } body { font-family: $sans-font; - color: $gray-darker; } - mark { background: saturate($secondary-color, 60%); } - ::selection { background: lighten($secondary-color, 26%); } - ::scrollbar { display: none; } - // ------------------------------ // TYPOGRAPHY // ------------------------------ a { position: relative; - transition: all $aside-animation-time; text-decoration: none; - color: $link-color; &:hover { color: $hover-color; } } -h1, -h2, -h3, -h4, -h5, -h5 { +h1, h2, h3, h4, h5, h5 { font-family: $serif-font; -webkit-font-smoothing: antialiased; font-weight: lighter; - color: $gray-darkest; } h1 { margin: $margin-h1 0; - font-size: $font-h1; line-height: 3rem; } h2 { margin: $margin-h2 0; - font-size: $font-h2; } h3 { margin: $margin-h3 0; - font-size: $font-h3; } h4 { margin: $margin-h4 0; - font-size: $font-h4; } h5 { margin: $margin-h5 0; - font-size: $font-h5; } h6 { margin: $margin-h6 0; - font-size: $font-h6; } p { margin-bottom: 1.3rem; - line-height: 1.7rem; > code { @@ -111,13 +89,11 @@ em { blockquote { > p { margin: 2.5rem -3rem; - font-family: $quote-font; font-size: 1.2rem; -webkit-font-smoothing: antialiased; font-style: italic; line-height: 1.4; - text-align: center; letter-spacing: .01rem; word-wrap: break-word; @@ -127,17 +103,14 @@ blockquote { // BASIC STYLING // ------------------------------ -ol, -ul { +ol, ul { margin: 0 0 1.3rem 2.5rem; li { margin: 0 0 .2rem 0; - line-height: 1.6rem; } - ol, - ul { + ol, ul { margin: .1rem 0 .2rem 2rem; } } @@ -147,22 +120,17 @@ ol { ul { list-style-type: disc; } - li > code { @include inline-code-style; } - pre { padding: 1rem 2.5%; margin-bottom: 1.3rem; - font-family: $code-font; font-size: .9rem; font-weight: $font-weight-normal; line-height: 1.3rem; - word-wrap: break-word; - color: $gray-dark; border: 1px solid #d9d9d9; border-radius: 3px; @@ -170,26 +138,20 @@ pre { > code { font-family: $code-font; font-size: .85rem; - color: $gray-dark; } } - -code:hover, -pre:hover { +code:hover, pre:hover { color: $gray-darkest; } .block-heading { position: relative; bottom: -15px; - font-size: .8rem; font-weight: bold; - text-align: center; letter-spacing: 1px; text-transform: uppercase; - @include column(12); } .label { @@ -207,7 +169,6 @@ pre:hover { .container { position: relative; - width: $total-width - $gutter-width; margin: 0 auto; } @@ -217,11 +178,8 @@ main { right: 0; bottom: 0; left: 22.5rem; - padding: 2rem 3rem; - - > .content { padding: 2rem 0; margin: 0 3.7rem; @@ -232,9 +190,7 @@ main { > footer { display: block; padding: 2em 0 0; - font-size: .7em; - color: lighten($gray-dark, 10%); border-top: 2px solid $gray-light; } @@ -246,7 +202,6 @@ main { a { text-decoration: underline; - color: lighten($gray-dark, 5%); &:hover { @@ -254,9 +209,15 @@ main { } } } +.emoji { + width: auto !important; + width: 1em !important; + height: 1em !important; + margin: 0 .05em 0 .1em !important; + vertical-align: -.1em !important; +} .divider { margin: 10px auto; - border-top: 1px solid $divider-color; &.long { @@ -268,7 +229,6 @@ main { &.post { width: 30%; margin: 1.7rem 0; - border-top: 1px solid $gray-light; } } diff --git a/bower.json b/bower.json index db66d8a1..ec558c84 100755 --- a/bower.json +++ b/bower.json @@ -14,26 +14,27 @@ "url": "https://github.com/Kikobeats/uno-zen/issues" }, "keywords": [ + "elegant", "ghost", + "minimalism", "theme", "uno", - "zen", - "elegant", - "minimalism" + "zen" ], "dependencies": { "animate.css": "*", "fastclick": "*", + "fitvids": "*", "ghostHunter": "git://github.com/i11ume/ghostHunter.git", "pace": "*", "reading-time": "*", - "fitvids": "*" + "twemoji": "git://github.com/twitter/twemoji.git#gh-pages" }, "ignore": [ "**/.*", - "node_modules", - "bower_components", "assets/vendor ", + "bower_components", + "node_modules", "test", "tests" ], diff --git a/gulpfile.coffee b/gulpfile.coffee index 6d41f6b4..dc5c42b7 100755 --- a/gulpfile.coffee +++ b/gulpfile.coffee @@ -43,6 +43,7 @@ src = 'assets/vendor/ghostHunter/jquery.ghostHunter.min.js' 'assets/vendor/pace/pace.min.js' 'assets/vendor/fitvids/jquery.fitvids.js' + 'assets/vendor/twemoji/twemoji.min.js' 'assets/vendor/reading-time/build/readingTime.min.js'] css : main : 'assets/css/' + dist.name + '.css' From 2f8aaf53db60ac97a5de319a7114265bd21972d3 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Sun, 15 Nov 2015 22:47:03 +0100 Subject: [PATCH 13/24] add prism as dependency --- assets/js/src/prism.js | 17 +++ assets/scss/modules/_global.scss | 131 +++++++++++---------- assets/scss/modules/_prism.scss | 196 +++++++++++++++++++++++++++++++ assets/scss/modules/_utils.scss | 12 -- assets/scss/uno-zen.scss | 3 +- gulpfile.coffee | 5 +- 6 files changed, 287 insertions(+), 77 deletions(-) create mode 100644 assets/js/src/prism.js create mode 100644 assets/scss/modules/_prism.scss diff --git a/assets/js/src/prism.js b/assets/js/src/prism.js new file mode 100644 index 00000000..23fc1818 --- /dev/null +++ b/assets/js/src/prism.js @@ -0,0 +1,17 @@ +/* http://prismjs.com/download.html?themes=prism-okaidia&languages=markup+css+clike+javascript+bash+c+coffeescript+css-extras+git+markdown+scss+sql&plugins=line-numbers+autolinker+show-language */ +var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(){var e=/\blang(?:uage)?-(?!\*)(\w+)\b/i,t=_self.Prism={util:{encode:function(e){return e instanceof n?new n(e.type,t.util.encode(e.content),e.alias):"Array"===t.util.type(e)?e.map(t.util.encode):e.replace(/&/g,"&").replace(/e.length)break e;if(!(d instanceof a)){u.lastIndex=0;var m=u.exec(d);if(m){c&&(f=m[1].length);var y=m.index-1+f,m=m[0].slice(f),v=m.length,k=y+v,b=d.slice(0,y+1),w=d.slice(k+1),P=[p,1];b&&P.push(b);var A=new a(i,g?t.tokenize(m,g):m,h);P.push(A),w&&P.push(w),Array.prototype.splice.apply(r,P)}}}}}return r},hooks:{all:{},add:function(e,n){var a=t.hooks.all;a[e]=a[e]||[],a[e].push(n)},run:function(e,n){var a=t.hooks.all[e];if(a&&a.length)for(var r,l=0;r=a[l++];)r(n)}}},n=t.Token=function(e,t,n){this.type=e,this.content=t,this.alias=n};if(n.stringify=function(e,a,r){if("string"==typeof e)return e;if("Array"===t.util.type(e))return e.map(function(t){return n.stringify(t,a,e)}).join("");var l={type:e.type,content:n.stringify(e.content,a,r),tag:"span",classes:["token",e.type],attributes:{},language:a,parent:r};if("comment"==l.type&&(l.attributes.spellcheck="true"),e.alias){var i="Array"===t.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(l.classes,i)}t.hooks.run("wrap",l);var o="";for(var s in l.attributes)o+=(o?" ":"")+s+'="'+(l.attributes[s]||"")+'"';return"<"+l.tag+' class="'+l.classes.join(" ")+'" '+o+">"+l.content+""},!_self.document)return _self.addEventListener?(_self.addEventListener("message",function(e){var n=JSON.parse(e.data),a=n.language,r=n.code,l=n.immediateClose;_self.postMessage(t.highlight(r,t.languages[a],a)),l&&_self.close()},!1),_self.Prism):_self.Prism;var a=document.getElementsByTagName("script");return a=a[a.length-1],a&&(t.filename=a.src,document.addEventListener&&!a.hasAttribute("data-manual")&&document.addEventListener("DOMContentLoaded",t.highlightAll)),_self.Prism}();"undefined"!=typeof module&&module.exports&&(module.exports=Prism),"undefined"!=typeof global&&(global.Prism=Prism); +Prism.languages.markup={comment://,prolog:/<\?[\w\W]+?\?>/,doctype://,cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=.$<]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\\1|\\?(?!\1)[\w\W])*\1|[^\s'">=]+))?)*\s*\/?>/i,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:('|")[\w\W]*?(\1)|[^\s>]+)/i,inside:{punctuation:/[=>"']/}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},Prism.hooks.add("wrap",function(a){"entity"===a.type&&(a.attributes.title=a.content.replace(/&/,"&"))}),Prism.languages.xml=Prism.languages.markup,Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup; +Prism.languages.css={comment:/\/\*[\w\W]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^\{\}\s][^\{\};]*?(?=\s*\{)/,string:/("|')(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1/,property:/(\b|\B)[\w-]+(?=\s*:)/i,important:/\B!important\b/i,"function":/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},Prism.languages.css.atrule.inside.rest=Prism.util.clone(Prism.languages.css),Prism.languages.markup&&(Prism.languages.insertBefore("markup","tag",{style:{pattern:/()[\w\W]*?(?=<\/style>)/i,lookbehind:!0,inside:Prism.languages.css,alias:"language-css"}}),Prism.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|').*?\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:Prism.languages.markup.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:Prism.languages.css}},alias:"language-css"}},Prism.languages.markup.tag)); +Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\w\W]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0}],string:/(["'])(\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[a-z0-9_\.\\]+/i,lookbehind:!0,inside:{punctuation:/(\.|\\)/}},keyword:/\b(if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,"boolean":/\b(true|false)\b/,"function":/[a-z0-9_]+(?=\()/i,number:/\b-?(?:0x[\da-f]+|\d*\.?\d+(?:e[+-]?\d+)?)\b/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/}; +Prism.languages.javascript=Prism.languages.extend("clike",{keyword:/\b(as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\b/,number:/\b-?(0x[\dA-Fa-f]+|0b[01]+|0o[0-7]+|\d*\.?\d+([Ee][+-]?\d+)?|NaN|Infinity)\b/,"function":/[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*(?=\()/i}),Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/(^|[^\/])\/(?!\/)(\[.+?]|\\.|[^\/\\\r\n])+\/[gimyu]{0,5}(?=\s*($|[\r\n,.;})]))/,lookbehind:!0}}),Prism.languages.insertBefore("javascript","class-name",{"template-string":{pattern:/`(?:\\`|\\?[^`])*`/,inside:{interpolation:{pattern:/\$\{[^}]+\}/,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&Prism.languages.insertBefore("markup","tag",{script:{pattern:/()[\w\W]*?(?=<\/script>)/i,lookbehind:!0,inside:Prism.languages.javascript,alias:"language-javascript"}}),Prism.languages.js=Prism.languages.javascript; +!function(e){var t={variable:[{pattern:/\$?\(\([\w\W]+?\)\)/,inside:{variable:[{pattern:/(^\$\(\([\w\W]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b-?(?:0x[\dA-Fa-f]+|\d*\.?\d+(?:[Ee]-?\d+)?)\b/,operator:/--?|-=|\+\+?|\+=|!=?|~|\*\*?|\*=|\/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|\^=?|\|\|?|\|=|\?|:/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\([^)]+\)|`[^`]+`/,inside:{variable:/^\$\(|^`|\)$|`$/}},/\$(?:[a-z0-9_#\?\*!@]+|\{[^}]+\})/i]};e.languages.bash={shebang:{pattern:/^#!\s*\/bin\/bash|^#!\s*\/bin\/sh/,alias:"important"},comment:{pattern:/(^|[^"{\\])#.*/,lookbehind:!0},string:[{pattern:/((?:^|[^<])<<\s*)(?:"|')?(\w+?)(?:"|')?\s*\r?\n(?:[\s\S])*?\r?\n\2/g,lookbehind:!0,inside:t},{pattern:/("|')(?:\\?[\s\S])*?\1/g,inside:t}],variable:t.variable,"function":{pattern:/(^|\s|;|\||&)(?:alias|apropos|apt-get|aptitude|aspell|awk|basename|bash|bc|bg|builtin|bzip2|cal|cat|cd|cfdisk|chgrp|chmod|chown|chroot|chkconfig|cksum|clear|cmp|comm|command|cp|cron|crontab|csplit|cut|date|dc|dd|ddrescue|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|enable|env|ethtool|eval|exec|expand|expect|export|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|getopts|git|grep|groupadd|groupdel|groupmod|groups|gzip|hash|head|help|hg|history|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|jobs|join|kill|killall|less|link|ln|locate|logname|logout|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|make|man|mkdir|mkfifo|mkisofs|mknod|more|most|mount|mtools|mtr|mv|mmv|nano|netstat|nice|nl|nohup|notify-send|nslookup|open|op|passwd|paste|pathchk|ping|pkill|popd|pr|printcap|printenv|printf|ps|pushd|pv|pwd|quota|quotacheck|quotactl|ram|rar|rcp|read|readarray|readonly|reboot|rename|renice|remsync|rev|rm|rmdir|rsync|screen|scp|sdiff|sed|seq|service|sftp|shift|shopt|shutdown|sleep|slocate|sort|source|split|ssh|stat|strace|su|sudo|sum|suspend|sync|tail|tar|tee|test|time|timeout|times|touch|top|traceroute|trap|tr|tsort|tty|type|ulimit|umask|umount|unalias|uname|unexpand|uniq|units|unrar|unshar|uptime|useradd|userdel|usermod|users|uuencode|uudecode|v|vdir|vi|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yes|zip)(?=$|\s|;|\||&)/,lookbehind:!0},keyword:{pattern:/(^|\s|;|\||&)(?:let|:|\.|if|then|else|elif|fi|for|break|continue|while|in|case|function|select|do|done|until|echo|exit|return|set|declare)(?=$|\s|;|\||&)/,lookbehind:!0},"boolean":{pattern:/(^|\s|;|\||&)(?:true|false)(?=$|\s|;|\||&)/,lookbehind:!0},operator:/&&?|\|\|?|==?|!=?|<<>|<=?|>=?|=~/,punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];]/};var a=t.variable[1].inside;a["function"]=e.languages.bash["function"],a.keyword=e.languages.bash.keyword,a.boolean=e.languages.bash.boolean,a.operator=e.languages.bash.operator,a.punctuation=e.languages.bash.punctuation}(Prism); +Prism.languages.c=Prism.languages.extend("clike",{keyword:/\b(asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,operator:/\-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*\/]/,number:/\b-?(?:0x[\da-f]+|\d*\.?\d+(?:e[+-]?\d+)?)[ful]*\b/i}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^\s*)#\s*[a-z]+([^\r\n\\]|\\.|\\(?:\r\n?|\n))*/im,lookbehind:!0,alias:"property",inside:{string:{pattern:/(#\s*include\s*)(<.+?>|("|')(\\?.)+?\3)/,lookbehind:!0},directive:{pattern:/(#\s*)\b(define|elif|else|endif|error|ifdef|ifndef|if|import|include|line|pragma|undef|using)\b/,lookbehind:!0,alias:"keyword"}}},constant:/\b(__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|stdin|stdout|stderr)\b/}),delete Prism.languages.c["class-name"],delete Prism.languages.c["boolean"]; +!function(e){var n=/#(?!\{).+/,t={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:n,string:[/'(?:\\?[^\\])*?'/,{pattern:/"(?:\\?[^\\])*?"/,inside:{interpolation:t}}],keyword:/\b(and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:n,interpolation:t}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\?[\s\S])*?`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},rest:e.languages.javascript}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,alias:"string"},{pattern:/"""[\s\S]*?"""/,alias:"string",inside:{interpolation:t}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/})}(Prism); +Prism.languages.css.selector={pattern:/[^\{\}\s][^\{\}]*(?=\s*\{)/,inside:{"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+(?:\(.*\))?/,"class":/\.[-:\.\w]+/,id:/#[-:\.\w]+/}},Prism.languages.insertBefore("css","function",{hexcode:/#[\da-f]{3,6}/i,entity:/\\[\da-f]{1,8}/i,number:/[\d%\.]+/}); +Prism.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(\\?.)*?\1/m,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s(--|-)\w+/m}},coord:/^@@.*@@$/m,commit_sha1:/^commit \w{40}$/m}; +Prism.languages.markdown=Prism.languages.extend("markup",{}),Prism.languages.insertBefore("markdown","prolog",{blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},code:[{pattern:/^(?: {4}|\t).+/m,alias:"keyword"},{pattern:/``.+?``|`[^`\n]+`/,alias:"keyword"}],title:[{pattern:/\w+.*(?:\r?\n|\r)(?:==+|--+)/,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#+.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])([\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:/(^|[^\\])(\*\*|__)(?:(?:\r?\n|\r)(?!\r?\n|\r)|.)+?\2/,lookbehind:!0,inside:{punctuation:/^\*\*|^__|\*\*$|__$/}},italic:{pattern:/(^|[^\\])([*_])(?:(?:\r?\n|\r)(?!\r?\n|\r)|.)+?\2/,lookbehind:!0,inside:{punctuation:/^[*_]|[*_]$/}},url:{pattern:/!?\[[^\]]+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)| ?\[[^\]\n]*\])/,inside:{variable:{pattern:/(!?\[)[^\]]+(?=\]$)/,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\])*"(?=\)$)/}}}}),Prism.languages.markdown.bold.inside.url=Prism.util.clone(Prism.languages.markdown.url),Prism.languages.markdown.italic.inside.url=Prism.util.clone(Prism.languages.markdown.url),Prism.languages.markdown.bold.inside.italic=Prism.util.clone(Prism.languages.markdown.italic),Prism.languages.markdown.italic.inside.bold=Prism.util.clone(Prism.languages.markdown.bold); +Prism.languages.scss=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\w\W]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-]+(?:\([^()]+\)|[^(])*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)*url(?=\()/i,selector:{pattern:/(?=\S)[^@;\{\}\(\)]?([^@;\{\}\(\)]|&|#\{\$[-_\w]+\})+(?=\s*\{(\}|\s|[^\}]+(:|\{)[^\}]+))/m,inside:{placeholder:/%[-_\w]+/}}}),Prism.languages.insertBefore("scss","atrule",{keyword:[/@(?:if|else(?: if)?|for|each|while|import|extend|debug|warn|mixin|include|function|return|content)/i,{pattern:/( +)(?:from|through)(?= )/,lookbehind:!0}]}),Prism.languages.insertBefore("scss","property",{variable:/\$[-_\w]+|#\{\$[-_\w]+\}/}),Prism.languages.insertBefore("scss","function",{placeholder:{pattern:/%[-_\w]+/,alias:"selector"},statement:/\B!(?:default|optional)\b/i,"boolean":/\b(?:true|false)\b/,"null":/\bnull\b/,operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|or|not)(?=\s)/,lookbehind:!0}}),Prism.languages.scss.atrule.inside.rest=Prism.util.clone(Prism.languages.scss); +Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\w\W]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},string:{pattern:/(^|[^@\\])("|')(?:\\?[\s\S])*?\2/,lookbehind:!0},variable:/@[\w.$]+|@("|'|`)(?:\\?[\s\S])+?\1/,"function":/\b(?:COUNT|SUM|AVG|MIN|MAX|FIRST|LAST|UCASE|LCASE|MID|LEN|ROUND|NOW|FORMAT)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR VARYING|CHARACTER (?:SET|VARYING)|CHARSET|CHECK|CHECKPOINT|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMN|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS|CONTAINSTABLE|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|DATA(?:BASES?)?|DATETIME|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE(?: PRECISION)?|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE KEY|ELSE|ENABLE|ENCLOSED BY|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPE(?:D BY)?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTO|INVOKER|ISOLATION LEVEL|JOIN|KEYS?|KILL|LANGUAGE SQL|LAST|LEFT|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MODIFIES SQL DATA|MODIFY|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL(?: CHAR VARYING| CHARACTER(?: VARYING)?| VARCHAR)?|NATURAL|NCHAR(?: VARCHAR)?|NEXT|NO(?: SQL|CHECK|CYCLE)?|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READ(?:S SQL DATA|TEXT)?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEATABLE|REPLICATION|REQUIRE|RESTORE|RESTRICT|RETURNS?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE MODE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|START(?:ING BY)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED BY|TEXT(?:SIZE)?|THEN|TIMESTAMP|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNPIVOT|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?)\b/i,"boolean":/\b(?:TRUE|FALSE|NULL)\b/i,number:/\b-?(?:0x)?\d*\.?[\da-f]+\b/,operator:/[-+*\/=%^~]|&&?|\|?\||!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|IN|LIKE|NOT|OR|IS|DIV|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}; +!function(){"undefined"!=typeof self&&self.Prism&&self.document&&Prism.hooks.add("complete",function(e){if(e.code){var t=e.element.parentNode,s=/\s*\bline-numbers\b\s*/;if(t&&/pre/i.test(t.nodeName)&&(s.test(t.className)||s.test(e.element.className))&&!e.element.querySelector(".line-numbers-rows")){s.test(e.element.className)&&(e.element.className=e.element.className.replace(s,"")),s.test(t.className)||(t.className+=" line-numbers");var n,a=e.code.match(/\n(?!$)/g),l=a?a.length+1:1,m=new Array(l+1);m=m.join(""),n=document.createElement("span"),n.className="line-numbers-rows",n.innerHTML=m,t.hasAttribute("data-start")&&(t.style.counterReset="linenumber "+(parseInt(t.getAttribute("data-start"),10)-1)),e.element.appendChild(n)}}})}(); +!function(){if(("undefined"==typeof self||self.Prism)&&("undefined"==typeof global||global.Prism)){var i=/\b([a-z]{3,7}:\/\/|tel:)[\w\-+%~\/.:#=?&]+/,n=/\b\S+@[\w.]+[a-z]{2}/,e=/\[([^\]]+)]\(([^)]+)\)/,t=["comment","url","attr-value","string"];Prism.hooks.add("before-highlight",function(a){a.grammar&&!a.grammar["url-link"]&&(Prism.languages.DFS(a.grammar,function(a,r,l){t.indexOf(l)>-1&&"Array"!==Prism.util.type(r)&&(r.pattern||(r=this[a]={pattern:r}),r.inside=r.inside||{},"comment"==l&&(r.inside["md-link"]=e),"attr-value"==l?Prism.languages.insertBefore("inside","punctuation",{"url-link":i},r):r.inside["url-link"]=i,r.inside["email-link"]=n)}),a.grammar["url-link"]=i,a.grammar["email-link"]=n)}),Prism.hooks.add("wrap",function(i){if(/-link$/.test(i.type)){i.tag="a";var n=i.content;if("email-link"==i.type&&0!=n.indexOf("mailto:"))n="mailto:"+n;else if("md-link"==i.type){var t=i.content.match(e);n=t[2],i.content=t[1]}i.attributes.href=n}})}}(); +!function(){if("undefined"!=typeof self&&self.Prism&&self.document){var e={css:"CSS",clike:"C-like",javascript:"JavaScript",abap:"ABAP",actionscript:"ActionScript",apacheconf:"Apache Configuration",apl:"APL",applescript:"AppleScript",asciidoc:"AsciiDoc",aspnet:"ASP.NET (C#)",autoit:"AutoIt",autohotkey:"AutoHotkey",basic:"BASIC",csharp:"C#",cpp:"C++",coffeescript:"CoffeeScript","css-extras":"CSS Extras",fsharp:"F#",glsl:"GLSL",http:"HTTP",inform7:"Inform 7",latex:"LaTeX",lolcode:"LOLCODE",matlab:"MATLAB",mel:"MEL",nasm:"NASM",nginx:"nginx",nsis:"NSIS",objectivec:"Objective-C",ocaml:"OCaml",parigp:"PARI/GP",php:"PHP","php-extras":"PHP Extras",powershell:"PowerShell",jsx:"React JSX",rest:"reST (reStructuredText)",sas:"SAS",sass:"Sass (Sass)",scss:"Sass (Scss)",sql:"SQL",typescript:"TypeScript",vhdl:"VHDL",vim:"vim",wiki:"Wiki markup",yaml:"YAML"};Prism.hooks.add("before-highlight",function(a){var s=a.element.parentNode;if(s&&/pre/i.test(s.nodeName)){var t=e[a.language]||a.language.substring(0,1).toUpperCase()+a.language.substring(1);s.setAttribute("data-language",t);var i,r,l=s.previousSibling;l&&/\s*\bprism-show-language\b\s*/.test(l.className)&&l.firstChild&&/\s*\bprism-show-language-label\b\s*/.test(l.firstChild.className)?(r=l.firstChild,r.getAttribute("data-language")!==t&&(r.setAttribute("data-language",t),r.innerHTML=t)):(i=document.createElement("div"),r=document.createElement("div"),r.className="prism-show-language-label",r.setAttribute("data-language",t),r.innerHTML=t,i.className="prism-show-language",i.appendChild(r),s.parentNode.insertBefore(i,s))}})}}(); diff --git a/assets/scss/modules/_global.scss b/assets/scss/modules/_global.scss index 93265703..1c61f3e4 100755 --- a/assets/scss/modules/_global.scss +++ b/assets/scss/modules/_global.scss @@ -5,17 +5,20 @@ html { height: 100%; max-height: 100%; + font-size: $unit; &.expanded { overflow-y: hidden; } } -html, body { +html, +body { height: 100%; } body { font-family: $sans-font; + color: $gray-darker; } mark { @@ -27,58 +30,74 @@ mark { ::scrollbar { display: none; } + +hr { + border: none; +} + // ------------------------------ // TYPOGRAPHY // ------------------------------ a { position: relative; + transition: all $aside-animation-time; text-decoration: none; + color: $link-color; &:hover { color: $hover-color; } } -h1, h2, h3, h4, h5, h5 { +h1, +h2, +h3, +h4, +h5, +h5 { font-family: $serif-font; -webkit-font-smoothing: antialiased; font-weight: lighter; + color: $gray-darkest; } h1 { margin: $margin-h1 0; + font-size: $font-h1; line-height: 3rem; } h2 { margin: $margin-h2 0; + font-size: $font-h2; } h3 { margin: $margin-h3 0; + font-size: $font-h3; } h4 { margin: $margin-h4 0; + font-size: $font-h4; } h5 { margin: $margin-h5 0; + font-size: $font-h5; } h6 { margin: $margin-h6 0; + font-size: $font-h6; } p { margin-bottom: 1.3rem; - line-height: 1.7rem; - > code { - @include inline-code-style; - } + line-height: 1.7rem; } strong { font-weight: bold; @@ -89,11 +108,13 @@ em { blockquote { > p { margin: 2.5rem -3rem; + font-family: $quote-font; font-size: 1.2rem; -webkit-font-smoothing: antialiased; font-style: italic; line-height: 1.4; + text-align: center; letter-spacing: .01rem; word-wrap: break-word; @@ -103,14 +124,17 @@ blockquote { // BASIC STYLING // ------------------------------ -ol, ul { +ol, +ul { margin: 0 0 1.3rem 2.5rem; li { margin: 0 0 .2rem 0; + line-height: 1.6rem; } - ol, ul { + ol, + ul { margin: .1rem 0 .2rem 2rem; } } @@ -120,64 +144,35 @@ ol { ul { list-style-type: disc; } -li > code { - @include inline-code-style; -} -pre { - padding: 1rem 2.5%; - margin-bottom: 1.3rem; - font-family: $code-font; - font-size: .9rem; - font-weight: $font-weight-normal; - line-height: 1.3rem; - word-wrap: break-word; - color: $gray-dark; - border: 1px solid #d9d9d9; - border-radius: 3px; - - > code { - font-family: $code-font; - font-size: .85rem; - color: $gray-dark; - } -} -code:hover, pre:hover { - color: $gray-darkest; -} + .block-heading { position: relative; bottom: -15px; + font-size: .8rem; font-weight: bold; + text-align: center; letter-spacing: 1px; text-transform: uppercase; + @include column(12); } .label { - // position: relative; - // display: inline-block; padding: 8px 18px 9px; - // color: $gray-lightest; - // text-align: center; - // background: $primary-color; - // border-radius: $border-radius; } + // ------------------------------ // MAIN LAYOUT // ------------------------------ -.container { - position: relative; - width: $total-width - $gutter-width; - margin: 0 auto; -} main { position: absolute; top: 0; right: 0; bottom: 0; left: 22.5rem; + padding: 2rem 3rem; > .content { @@ -190,18 +185,48 @@ main { > footer { display: block; padding: 2em 0 0; + font-size: .7em; + color: lighten($gray-dark, 10%); border-top: 2px solid $gray-light; } } } + +.divider { + margin: 10px auto; + + border-top: 1px solid $divider-color; + + &.long { + width: 30%; + } + &.short { + width: 15%; + } + &.post { + width: 30%; + margin: 1.7rem 0; + + border-top: 1px solid $gray-light; + } +} + +.container { + position: relative; + + width: $total-width - $gutter-width; + margin: 0 auto; +} + .copyright { display: block; margin-bottom: .7em; a { text-decoration: underline; + color: lighten($gray-dark, 5%); &:hover { @@ -214,24 +239,6 @@ main { width: 1em !important; height: 1em !important; margin: 0 .05em 0 .1em !important; - vertical-align: -.1em !important; -} -.divider { - margin: 10px auto; - border-top: 1px solid $divider-color; - &.long { - width: 30%; - } - &.short { - width: 15%; - } - &.post { - width: 30%; - margin: 1.7rem 0; - border-top: 1px solid $gray-light; - } -} -hr { - border: none; + vertical-align: -.1em !important; } diff --git a/assets/scss/modules/_prism.scss b/assets/scss/modules/_prism.scss new file mode 100644 index 00000000..12b944b6 --- /dev/null +++ b/assets/scss/modules/_prism.scss @@ -0,0 +1,196 @@ +/* http://prismjs.com/download.html?themes=prism-okaidia&languages=markup+css+clike+javascript+bash+c+coffeescript+css-extras+git+markdown+scss+sql&plugins=line-numbers+autolinker+show-language */ +/** + * okaidia theme for JavaScript, CSS and HTML + * Loosely based on Monokai textmate theme by http://www.monokai.nl/ + * @author ocodia + */ + +code, +pre[class*="language-"] { + color: #f8f8f2; + text-shadow: 0 1px rgba(0, 0, 0, 0.3); + font-family: $code-font; + direction: ltr; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + hyphens: none; +} + +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: .5em 0; + overflow: auto; + border-radius: 0.3em; +} + +:not(pre) > code, +pre[class*="language-"] { + background: $gray-darkest; +} + +/* Inline code */ +:not(pre) > code { + padding: .2em; + border-radius: .3em; + white-space: normal; +} + +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} + +.token.punctuation { + color: #f8f8f2; +} + +.namespace { + opacity: .7; +} + +.token.property, +.token.tag, +.token.constant, +.token.symbol, +.token.deleted { + color: #f92672; +} + +.token.boolean, +.token.number { + color: #ae81ff; +} + +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #a6e22e; +} + +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string, +.token.variable { + color: #f8f8f2; +} + +.token.atrule, +.token.attr-value, +.token.function { + color: #e6db74; +} + +.token.keyword { + color: #66d9ef; +} + +.token.regex, +.token.important { + color: #fd971f; +} + +.token.important, +.token.bold { + font-weight: $font-weight-normal; +} +.token.italic { + font-style: italic; +} + +.token.entity { + cursor: help; +} + +pre.line-numbers { + position: relative; + padding-left: 3.8em; + counter-reset: linenumber; +} + +pre.line-numbers > code { + position: relative; +} + +.line-numbers .line-numbers-rows { + position: absolute; + pointer-events: none; + top: 0; + font-size: 100%; + left: -3.8em; + width: 3em; /* works for line-numbers below 1000 lines */ + letter-spacing: -1px; + border-right: 1px solid #999; + + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + +} + + .line-numbers-rows > span { + pointer-events: none; + display: block; + counter-increment: linenumber; + } + + .line-numbers-rows > span:before { + content: counter(linenumber); + color: #999; + display: block; + padding-right: 0.8em; + text-align: right; + } +.token a { + color: inherit; +} +div.prism-show-language { + position: relative; +} + +div.prism-show-language > div.prism-show-language-label[data-language] { + color: black; + background-color: #CFCFCF; + display: inline-block; + position: absolute; + bottom: auto; + left: auto; + top: 0; + right: 0; + width: auto; + height: auto; + font-size: .9rem; + border-radius: 0 0 0 5px; + padding: 0 0.5em; + text-shadow: none; + z-index: 1; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + -webkit-transform: none; + -moz-transform: none; + -ms-transform: none; + -o-transform: none; + transform: none; +} + diff --git a/assets/scss/modules/_utils.scss b/assets/scss/modules/_utils.scss index 2d319e03..1ef318ff 100755 --- a/assets/scss/modules/_utils.scss +++ b/assets/scss/modules/_utils.scss @@ -16,18 +16,6 @@ } } -@mixin inline-code-style { - padding: .09rem .2rem; - - font-family: $code-font; - font-size: .85rem; - font-weight: $font-weight-normal; - - color: $gray-dark; - border: 1px solid #d9d9d9; - border-radius: 3px; -} - @mixin background-filter { background: linear-gradient(150deg, $cover-secondary 30%, $cover-primary 70%) 0 0/cover fixed; } diff --git a/assets/scss/uno-zen.scss b/assets/scss/uno-zen.scss index 58df1cbc..c427aaaa 100755 --- a/assets/scss/uno-zen.scss +++ b/assets/scss/uno-zen.scss @@ -16,11 +16,12 @@ @import 'modules/buttons.scss'; @import 'modules/forms.scss'; @import 'modules/effects.scss'; +@import 'modules/prism.scss'; // ------------------------------ // COMPONENTS // ------------------------------ - +// @import 'components/aside.scss'; @import 'components/page-error.scss'; @import 'components/pagination.scss'; diff --git a/gulpfile.coffee b/gulpfile.coffee index dc5c42b7..9c9d5dd6 100755 --- a/gulpfile.coffee +++ b/gulpfile.coffee @@ -26,7 +26,7 @@ PORT = # -- Files --------------------------------------------------------------------- dist = - name : _s.slugify(pkg.name) + name : _s.slugify pkg.name css : 'assets/css' js : 'assets/js' @@ -44,7 +44,8 @@ src = 'assets/vendor/pace/pace.min.js' 'assets/vendor/fitvids/jquery.fitvids.js' 'assets/vendor/twemoji/twemoji.min.js' - 'assets/vendor/reading-time/build/readingTime.min.js'] + 'assets/vendor/reading-time/build/readingTime.min.js' + 'assets/js/src/prism.js'] css : main : 'assets/css/' + dist.name + '.css' vendor : [] From 427d429311515fff4ea6db943b46086ff24a7237 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Sun, 15 Nov 2015 22:56:34 +0100 Subject: [PATCH 14/24] 2.6.0-rc.2 --- assets/css/uno-zen.css | 2 +- assets/js/uno-zen.js | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) mode change 100755 => 100644 assets/js/uno-zen.js diff --git a/assets/css/uno-zen.css b/assets/css/uno-zen.css index 5cd87ab0..8ab01f32 100755 --- a/assets/css/uno-zen.css +++ b/assets/css/uno-zen.css @@ -5,4 +5,4 @@ * @author Kiko Beats (https://github.com/kikobeats) * @license MIT */ -@import url(https://fonts.googleapis.com/css?family=Raleway:400,700|Roboto+Slab:300,400);.result,blockquote>p,pre{word-wrap:break-word}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{padding:0;margin:0;font:inherit;font-size:100%;vertical-align:baseline;border:0}blockquote>p,em{font-style:italic}.btn,.icon-reverse:after,.icon:before,blockquote>p,h1,h2,h3,h4,h5{-webkit-font-smoothing:antialiased}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1;width:100%;font-family:Raleway,sans-serif;color:#666}.block-heading,.container{position:relative;width:940px}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-spacing:0;border-collapse:collapse}body:after,body:before{display:table;content:""}body:after{clear:both}html{max-height:100%;font-size:1rem}html.expanded{overflow-y:hidden}body,html{height:100%}mark{background:#ff503e}::-moz-selection{background:#f8cdc9}::selection{background:#f8cdc9}::scrollbar{display:none}a{position:relative;-webkit-transition:all 350ms;transition:all 350ms;text-decoration:none;color:#333}a:hover{color:#ea6153}h1,h2,h3,h4,h5{font-family:"Roboto Slab",serif;font-weight:lighter;color:#333}h1{margin:2.75rem 0;font-size:2.2rem;line-height:3rem}h2{margin:2rem 0;font-size:1.7rem}h3{margin:1.6rem 0;font-size:1.445rem}h4{margin:1.28rem 0;font-size:1.22825rem}h5{margin:1.024rem 0;font-size:1.04401rem}h6{margin:.8192rem 0;font-size:.88741rem}p{margin-bottom:1.3rem;line-height:1.7rem}li>code,p>code{padding:.09rem .2rem;font-family:Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif;font-size:.85rem;font-weight:300;color:#999;border:1px solid #d9d9d9;border-radius:3px}strong{font-weight:700}blockquote>p{margin:2.5rem -3rem;font-family:freight-text-pro,Georgia,Cambria,"Times New Roman",Times,serif;font-size:1.2rem;line-height:1.4;text-align:center;letter-spacing:.01rem}pre,pre>code{font-family:Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif;color:#999}ol,ul{list-style:none;margin:0 0 1.3rem 2.5rem}ol li,ul li{margin:0 0 .2rem;line-height:1.6rem}ol ol,ol ul,ul ol,ul ul{margin:.1rem 0 .2rem 2rem}ol{list-style-type:decimal}ul{list-style-type:disc}pre{padding:1rem 2.5%;margin-bottom:1.3rem;font-size:.9rem;font-weight:300;line-height:1.3rem;border:1px solid #d9d9d9;border-radius:3px}pre>code{font-size:.85rem}code:hover,pre:hover{color:#333}.block-heading{bottom:-15px;font-size:.8rem;font-weight:700;text-align:center;letter-spacing:1px;text-transform:uppercase;display:inline;float:left;margin:0 10px}.label{padding:8px 18px 9px}.container{margin:0 auto}main{position:absolute;top:0;right:0;bottom:0;left:22.5rem;padding:2rem 3rem}main>.content{padding:2rem 0;margin:0 3.7rem}main>.content>h1{margin-bottom:2.7rem}main>.content>footer{display:block;padding:2em 0 0;font-size:.7em;color:#b3b3b3;border-top:2px solid #ddd}.copyright{display:block;margin-bottom:.7em}.copyright a{text-decoration:underline;color:#a6a6a6}.btn,.copyright a:hover{color:#ea6153}.divider{margin:10px auto;border-top:1px solid rgba(255,255,255,.14)}.divider.long{width:30%}.divider.short{width:15%}.divider.post{width:30%;margin:1.7rem 0;border-top:1px solid #ddd}hr{border:none}@font-face{font-family:foundation-icons;font-style:normal;font-weight:400;src:url(../fonts/foundation-icons/foundation-icons.eot);src:url(../fonts/foundation-icons/foundation-icons.eot?#iefix) format("embedded-opentype"),url(../fonts/foundation-icons/foundation-icons.woff) format("woff"),url(../fonts/foundation-icons/foundation-icons.ttf) format("truetype"),url(../fonts/foundation-icons/foundation-icons.svg#fontcustom) format("svg")}.icon-reverse:after,.icon:before{display:inline-block;font-family:foundation-icons;font-style:normal;font-weight:400;font-variant:normal;line-height:1;text-decoration:inherit;text-transform:none}.icon-search{position:static!important}.icon-search:before{position:absolute;right:83px;margin-top:30px;content:"\f16c"}.icon-address-book:before{content:"\f100"}.icon-alert:before{content:"\f101"}.icon-align-center:before{content:"\f102"}.icon-align-justify:before{content:"\f103"}.icon-align-left:before{content:"\f104"}.icon-align-right:before{content:"\f105"}.icon-anchor:before{content:"\f106"}.icon-annotate:before{content:"\f107"}.icon-archive:before{content:"\f108"}.icon-arrow-down:before{content:"\f109"}.icon-arrow-left:before{content:"\f10a"}.icon-arrow-right:before{content:"\f10b"}.icon-arrow-up:before{content:"\f10c"}.icon-arrows-compress:before{content:"\f10d"}.icon-arrows-expand:before{content:"\f10e"}.icon-arrows-in:before{content:"\f10f"}.icon-arrows-out:before{content:"\f110"}.icon-asl:before{content:"\f111"}.icon-asterisk:before{content:"\f112"}.icon-at-sign:before{content:"\f113"}.icon-background-color:before{content:"\f114"}.icon-battery-empty:before{content:"\f115"}.icon-battery-full:before{content:"\f116"}.icon-battery-half:before{content:"\f117"}.icon-bitcoin-circle:before{content:"\f118"}.icon-bitcoin:before{content:"\f119"}.icon-blind:before{content:"\f11a"}.icon-bluetooth:before{content:"\f11b"}.icon-bold:before{content:"\f11c"}.icon-book-bookmark:before{content:"\f11d"}.icon-book:before{content:"\f11e"}.icon-bookmark:before{content:"\f11f"}.icon-braille:before{content:"\f120"}.icon-burst-new:before{content:"\f121"}.icon-burst-sale:before{content:"\f122"}.icon-burst:before{content:"\f123"}.icon-calendar:before{content:"\f124"}.icon-camera:before{content:"\f125"}.icon-check:before{content:"\f126"}.icon-checkbox:before{content:"\f127"}.icon-clipboard-notes:before{content:"\f128"}.icon-clipboard-pencil:before{content:"\f129"}.icon-clipboard:before{content:"\f12a"}.icon-clock:before{content:"\f12b"}.icon-closed-caption:before{content:"\f12c"}.icon-cloud:before{content:"\f12d"}.icon-comment-minus:before{content:"\f12e"}.icon-comment-quotes:before{content:"\f12f"}.icon-comment-video:before{content:"\f130"}.icon-comment:before{content:"\f131"}.icon-comments:before{content:"\f132"}.icon-compass:before{content:"\f133"}.icon-contrast:before{content:"\f134"}.icon-credit-card:before{content:"\f135"}.icon-crop:before{content:"\f136"}.icon-crown:before{content:"\f137"}.icon-css3:before{content:"\f138"}.icon-database:before{content:"\f139"}.icon-die-five:before{content:"\f13a"}.icon-die-four:before{content:"\f13b"}.icon-die-one:before{content:"\f13c"}.icon-die-six:before{content:"\f13d"}.icon-die-three:before{content:"\f13e"}.icon-die-two:before{content:"\f13f"}.icon-dislike:before{content:"\f140"}.icon-dollar-bill:before{content:"\f141"}.icon-dollar:before{content:"\f142"}.icon-download:before{content:"\f143"}.icon-eject:before{content:"\f144"}.icon-elevator:before{content:"\f145"}.icon-euro:before{content:"\f146"}.icon-eye:before{content:"\f147"}.icon-fast-forward:before{content:"\f148"}.icon-female-symbol:before{content:"\f149"}.icon-female:before{content:"\f14a"}.icon-filter:before{content:"\f14b"}.icon-first-aid:before{content:"\f14c"}.icon-flag:before{content:"\f14d"}.icon-folder-add:before{content:"\f14e"}.icon-folder-lock:before{content:"\f14f"}.icon-folder:before{content:"\f150"}.icon-foot:before{content:"\f151"}.icon-foundation:before{content:"\f152"}.icon-graph-bar:before{content:"\f153"}.icon-graph-horizontal:before{content:"\f154"}.icon-graph-pie:before{content:"\f155"}.icon-graph-trend:before{content:"\f156"}.icon-guide-dog:before{content:"\f157"}.icon-hearing-aid:before{content:"\f158"}.icon-heart:before{content:"\f159"}.icon-home:before{content:"\f15a"}.icon-html5:before{content:"\f15b"}.icon-indent-less:before{content:"\f15c"}.icon-indent-more:before{content:"\f15d"}.icon-info:before{content:"\f15e"}.icon-italic:before{content:"\f15f"}.icon-key:before{content:"\f160"}.icon-laptop:before{content:"\f161"}.icon-layout:before{content:"\f162"}.icon-lightbulb:before{content:"\f163"}.icon-like:before{content:"\f164"}.icon-link:before{content:"\f165"}.icon-list-bullet:before{content:"\f166"}.icon-list-number:before{content:"\f167"}.icon-list-thumbnails:before{content:"\f168"}.icon-list:before{content:"\f169"}.icon-lock:before{content:"\f16a"}.icon-loop:before{content:"\f16b"}.icon-magnifying-glass:before{content:"\f16c"}.icon-mail:before{content:"\f16d"}.icon-male-female:before{content:"\f16e"}.icon-male-symbol:before{content:"\f16f"}.icon-male:before{content:"\f170"}.icon-map:before{content:"\f171"}.icon-marker:before{content:"\f172"}.icon-megaphone:before{content:"\f173"}.icon-microphone:before{content:"\f174"}.icon-minus-circle:before{content:"\f175"}.icon-minus:before{content:"\f176"}.icon-mobile-signal:before{content:"\f177"}.icon-mobile:before{content:"\f178"}.icon-monitor:before{content:"\f179"}.icon-mountains:before{content:"\f17a"}.icon-music:before{content:"\f17b"}.icon-next:before{content:"\f17c"}.icon-no-dogs:before{content:"\f17d"}.icon-no-smoking:before{content:"\f17e"}.icon-page-add:before{content:"\f17f"}.icon-page-copy:before{content:"\f180"}.icon-page-csv:before{content:"\f181"}.icon-page-delete:before{content:"\f182"}.icon-page-doc:before{content:"\f183"}.icon-page-edit:before{content:"\f184"}.icon-page-export-csv:before{content:"\f185"}.icon-page-export-doc:before{content:"\f186"}.icon-page-export-pdf:before{content:"\f187"}.icon-page-export:before{content:"\f188"}.icon-page-filled:before{content:"\f189"}.icon-page-multiple:before{content:"\f18a"}.icon-page-pdf:before{content:"\f18b"}.icon-page-remove:before{content:"\f18c"}.icon-page-search:before{content:"\f18d"}.icon-page:before{content:"\f18e"}.icon-paint-bucket:before{content:"\f18f"}.icon-paperclip:before{content:"\f190"}.icon-pause:before{content:"\f191"}.icon-paw:before{content:"\f192"}.icon-paypal:before{content:"\f193"}.icon-pencil:before{content:"\f194"}.icon-photo:before{content:"\f195"}.icon-play-circle:before{content:"\f196"}.icon-play-video:before{content:"\f197"}.icon-play:before{content:"\f198"}.icon-plus:before{content:"\f199"}.icon-pound:before{content:"\f19a"}.icon-power:before{content:"\f19b"}.icon-previous:before{content:"\f19c"}.icon-price-tag:before{content:"\f19d"}.icon-pricetag-multiple:before{content:"\f19e"}.icon-print:before{content:"\f19f"}.icon-prohibited:before{content:"\f1a0"}.icon-projection-screen:before{content:"\f1a1"}.icon-puzzle:before{content:"\f1a2"}.icon-quote:before{content:"\f1a3"}.icon-record:before{content:"\f1a4"}.icon-refresh:before{content:"\f1a5"}.icon-results-demographics:before{content:"\f1a6"}.icon-results:before{content:"\f1a7"}.icon-rewind-ten:before{content:"\f1a8"}.icon-rewind:before{content:"\f1a9"}.icon-rss:before{content:"\f1aa"}.icon-safety-cone:before{content:"\f1ab"}.icon-save:before{content:"\f1ac"}.icon-share:before{content:"\f1ad"}.icon-sheriff-badge:before{content:"\f1ae"}.icon-shield:before{content:"\f1af"}.icon-shopping-bag:before{content:"\f1b0"}.icon-shopping-cart:before{content:"\f1b1"}.icon-shuffle:before{content:"\f1b2"}.icon-skull:before{content:"\f1b3"}.icon-social-500px:before{content:"\f1b4"}.icon-social-adobe:before{content:"\f1b5"}.icon-social-amazon:before{content:"\f1b6"}.icon-social-android:before{content:"\f1b7"}.icon-social-apple:before{content:"\f1b8"}.icon-social-behance:before{content:"\f1b9"}.icon-social-bing:before{content:"\f1ba"}.icon-social-blogger:before{content:"\f1bb"}.icon-social-delicious:before{content:"\f1bc"}.icon-social-designer-news:before{content:"\f1bd"}.icon-social-deviant-art:before{content:"\f1be"}.icon-social-digg:before{content:"\f1bf"}.icon-social-dribbble:before{content:"\f1c0"}.icon-social-drive:before{content:"\f1c1"}.icon-social-dropbox:before{content:"\f1c2"}.icon-social-evernote:before{content:"\f1c3"}.icon-social-facebook:before{content:"\f1c4"}.icon-social-flickr:before{content:"\f1c5"}.icon-social-forrst:before{content:"\f1c6"}.icon-social-foursquare:before{content:"\f1c7"}.icon-social-game-center:before{content:"\f1c8"}.icon-social-github:before{content:"\f1c9"}.icon-social-google-plus:before{content:"\f1ca"}.icon-social-hacker-news:before{content:"\f1cb"}.icon-social-hi5:before{content:"\f1cc"}.icon-social-instagram:before{content:"\f1cd"}.icon-social-joomla:before{content:"\f1ce"}.icon-social-lastfm:before{content:"\f1cf"}.icon-social-linkedin:before{content:"\f1d0"}.icon-social-medium:before{content:"\f1d1"}.icon-social-myspace:before{content:"\f1d2"}.icon-social-orkut:before{content:"\f1d3"}.icon-social-path:before{content:"\f1d4"}.icon-social-picasa:before{content:"\f1d5"}.icon-social-pinterest:before{content:"\f1d6"}.icon-social-rdio:before{content:"\f1d7"}.icon-social-reddit:before{content:"\f1d8"}.icon-social-skillshare:before{content:"\f1d9"}.icon-social-skype:before{content:"\f1da"}.icon-social-smashing-mag:before{content:"\f1db"}.icon-social-snapchat:before{content:"\f1dc"}.icon-social-spotify:before{content:"\f1dd"}.icon-social-squidoo:before{content:"\f1de"}.icon-social-stack-overflow:before{content:"\f1df"}.icon-social-steam:before{content:"\f1e0"}.icon-social-stumbleupon:before{content:"\f1e1"}.icon-social-treehouse:before{content:"\f1e2"}.icon-social-tumblr:before{content:"\f1e3"}.icon-social-twitter-post:after,.icon-social-twitter:before{content:"\f1e4"}.icon-social-twitter-post:after{display:inline-block;height:36px;margin-left:9px;font-size:26px;vertical-align:middle}.icon-social-vimeo:before{content:"\f1e5"}.icon-social-windows:before{content:"\f1e6"}.icon-social-xbox:before{content:"\f1e7"}.icon-social-yahoo:before{content:"\f1e8"}.icon-social-yelp:before{content:"\f1e9"}.icon-social-youtube:before{content:"\f1ea"}.icon-social-zerply:before{content:"\f1eb"}.icon-social-zurb:before{content:"\f1ec"}.icon-sound:before{content:"\f1ed"}.icon-star:before{content:"\f1ee"}.icon-stop:before{content:"\f1ef"}.icon-strikethrough:before{content:"\f1f0"}.icon-subscript:before{content:"\f1f1"}.icon-superscript:before{content:"\f1f2"}.icon-tablet-landscape:before{content:"\f1f3"}.icon-tablet-portrait:before{content:"\f1f4"}.icon-target-two:before{content:"\f1f5"}.icon-target:before{content:"\f1f6"}.icon-telephone-accessible:before{content:"\f1f7"}.icon-telephone:before{content:"\f1f8"}.icon-text-color:before{content:"\f1f9"}.icon-thumbnails:before{content:"\f1fa"}.icon-ticket:before{content:"\f1fb"}.icon-torso-business:before{content:"\f1fc"}.icon-torso-female:before{content:"\f1fd"}.icon-torso:before{content:"\f1fe"}.icon-torsos-all-female:before{content:"\f1ff"}.icon-torsos-all:before{content:"\f200"}.icon-torsos-female-male:before{content:"\f201"}.icon-torsos-male-female:before{content:"\f202"}.icon-torsos:before{content:"\f203"}.icon-trash:before{content:"\f204"}.icon-trees:before{content:"\f205"}.icon-trophy:before{content:"\f206"}.icon-underline:before{content:"\f207"}.icon-universal-access:before{content:"\f208"}.icon-unlink:before{content:"\f209"}.icon-unlock:before{content:"\f20a"}.icon-upload-cloud:before{content:"\f20b"}.icon-upload:before{content:"\f20c"}.icon-usb:before{content:"\f20d"}.icon-video:before{content:"\f20e"}.icon-volume-none:before{content:"\f20f"}.icon-volume-strike:before{content:"\f210"}.icon-volume:before{content:"\f211"}.icon-web:before{content:"\f212"}.icon-wheelchair:before{content:"\f213"}.icon-widget:before{content:"\f214"}.icon-wrench:before{content:"\f215"}.icon-x-circle:before{content:"\f216"}.icon-x:before{content:"\f217"}.icon-yen:before{content:"\f218"}.icon-zoom-in:before{content:"\f219"}.icon-zoom-out:before{content:"\f21a"}.btn.square,img.square{border-radius:0}.btn.rounded,img.rounded{border-radius:50%}.btn{padding:10px 20px;font-size:.9em;font-weight:700;letter-spacing:1px;border:1px solid #ea6153;border-radius:20px;text-shadow:none}.btn:hover{color:#d62c1a;border-color:#d62c1a}.btn.small{padding:8px 12px;font-size:.7em}.btn.large{padding:10px 24px;font-size:1.1em}.btn.secondary{color:#999;border-color:#999}.btn.secondary:hover{color:#737373;border-color:#737373}#menu-button{display:none}.hvr-buzz-out,.hvr-grow-rotate{display:inline-block;-moz-osx-font-smoothing:grayscale;box-shadow:0 0 1px transparent;vertical-align:middle}#menu-button>a>i{position:relative;top:3px;font-size:36px;color:#f8f8f8}:focus{outline:0}input[type=text],input[type=password],input[type=datetime],input[type=datetime-local],input[type=date],input[type=month],input[type=time],input[type=week],input[type=number],input[type=email],input[type=url],input[type=search],input[type=tel]{width:240px;padding:1em;font-size:.9em;color:#666;border:1px solid #ddd;border-radius:3px;background:#f8f8f8}input[type=text] ::-webkit-input-placeholder,input[type=password] ::-webkit-input-placeholder,input[type=datetime] ::-webkit-input-placeholder,input[type=datetime-local] ::-webkit-input-placeholder,input[type=date] ::-webkit-input-placeholder,input[type=month] ::-webkit-input-placeholder,input[type=time] ::-webkit-input-placeholder,input[type=week] ::-webkit-input-placeholder,input[type=number] ::-webkit-input-placeholder,input[type=email] ::-webkit-input-placeholder,input[type=url] ::-webkit-input-placeholder,input[type=search] ::-webkit-input-placeholder,input[type=tel] ::-webkit-input-placeholder{color:#ccc}input[type=text] :-moz-placeholder,input[type=password] :-moz-placeholder,input[type=datetime] :-moz-placeholder,input[type=datetime-local] :-moz-placeholder,input[type=date] :-moz-placeholder,input[type=month] :-moz-placeholder,input[type=time] :-moz-placeholder,input[type=week] :-moz-placeholder,input[type=number] :-moz-placeholder,input[type=email] :-moz-placeholder,input[type=url] :-moz-placeholder,input[type=search] :-moz-placeholder,input[type=tel] :-moz-placeholder{color:#ccc}input[type=text] ::-moz-placeholder,input[type=password] ::-moz-placeholder,input[type=datetime] ::-moz-placeholder,input[type=datetime-local] ::-moz-placeholder,input[type=date] ::-moz-placeholder,input[type=month] ::-moz-placeholder,input[type=time] ::-moz-placeholder,input[type=week] ::-moz-placeholder,input[type=number] ::-moz-placeholder,input[type=email] ::-moz-placeholder,input[type=url] ::-moz-placeholder,input[type=search] ::-moz-placeholder,input[type=tel] ::-moz-placeholder{color:#ccc}input[type=text] :-ms-input-placeholder,input[type=password] :-ms-input-placeholder,input[type=datetime] :-ms-input-placeholder,input[type=datetime-local] :-ms-input-placeholder,input[type=date] :-ms-input-placeholder,input[type=month] :-ms-input-placeholder,input[type=time] :-ms-input-placeholder,input[type=week] :-ms-input-placeholder,input[type=number] :-ms-input-placeholder,input[type=email] :-ms-input-placeholder,input[type=url] :-ms-input-placeholder,input[type=search] :-ms-input-placeholder,input[type=tel] :-ms-input-placeholder{color:#ccc}input[type=text]:focus,input[type=password]:focus,input[type=datetime]:focus,input[type=datetime-local]:focus,input[type=date]:focus,input[type=month]:focus,input[type=time]:focus,input[type=week]:focus,input[type=number]:focus,input[type=email]:focus,input[type=url]:focus,input[type=search]:focus,input[type=tel]:focus{border-color:#999}.hvr-grow-rotate{-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-property:-webkit-transform;transition-property:transform;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.hvr-grow-rotate:active,.hvr-grow-rotate:focus,.hvr-grow-rotate:hover{-webkit-transform:scale(1.1) rotate(4deg);-ms-transform:scale(1.1) rotate(4deg);transform:scale(1.1) rotate(4deg)}@-webkit-keyframes hvr-buzz-out{10%,30%{-webkit-transform:translateX(3px) rotate(2deg);transform:translateX(3px) rotate(2deg)}20%,40%{-webkit-transform:translateX(-3px) rotate(-2deg);transform:translateX(-3px) rotate(-2deg)}50%,70%{-webkit-transform:translateX(2px) rotate(1deg);transform:translateX(2px) rotate(1deg)}60%,80%{-webkit-transform:translateX(-2px) rotate(-1deg);transform:translateX(-2px) rotate(-1deg)}90%{-webkit-transform:translateX(1px) rotate(0);transform:translateX(1px) rotate(0)}100%{-webkit-transform:translateX(-1px) rotate(0);transform:translateX(-1px) rotate(0)}}@keyframes hvr-buzz-out{10%,30%{-webkit-transform:translateX(3px) rotate(2deg);transform:translateX(3px) rotate(2deg)}20%,40%{-webkit-transform:translateX(-3px) rotate(-2deg);transform:translateX(-3px) rotate(-2deg)}50%,70%{-webkit-transform:translateX(2px) rotate(1deg);transform:translateX(2px) rotate(1deg)}60%,80%{-webkit-transform:translateX(-2px) rotate(-1deg);transform:translateX(-2px) rotate(-1deg)}90%{-webkit-transform:translateX(1px) rotate(0);transform:translateX(1px) rotate(0)}100%{-webkit-transform:translateX(-1px) rotate(0);transform:translateX(-1px) rotate(0)}}.hvr-buzz-out{-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.hvr-buzz-out:active,.hvr-buzz-out:focus,.hvr-buzz-out:hover{-webkit-animation-name:hvr-buzz-out;animation-name:hvr-buzz-out;-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-iteration-count:1;animation-iteration-count:1}@-webkit-keyframes move{0%,100%{-webkit-transform:translate(0,50px);transform:translate(0,50px)}50%{-webkit-transform:translate(20px,100px);transform:translate(20px,100px)}}@keyframes move{0%,100%{-webkit-transform:translate(0,50px);transform:translate(0,50px)}50%{-webkit-transform:translate(20px,100px);transform:translate(20px,100px)}}@-webkit-keyframes blink{0%,100%{top:50px;left:0}50%{top:100px;left:20px}}@keyframes blink{0%,100%{top:50px;left:0}50%{top:100px;left:20px}}@-webkit-keyframes flicker{0%,80%,93%{opacity:.9}30%{opacity:.97}40%,98%{opacity:1}88%{opacity:.98}90%{opacity:.94}95%{opacity:.99}96%,99%{opacity:.93}}@keyframes flicker{0%,80%,93%{opacity:.9}30%{opacity:.97}40%,98%{opacity:1}88%{opacity:.98}90%{opacity:.94}95%{opacity:.99}96%,99%{opacity:.93}}.cover{position:fixed;z-index:1;display:block;width:22.5rem;height:100%;overflow-y:auto;border-right:1px solid #ccc;box-shadow:10.5px -10px 1px -9px #ddd}.cover.animated{-webkit-transition:width 350ms cubic-bezier(.645,.045,.355,1);transition:width 350ms cubic-bezier(.645,.045,.355,1)}.cover.expanded{width:100%}.cover.container{font-weight:100;text-align:center;color:#f8f8f8;text-shadow:0 1px 1px rgba(0,0,0,.4);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background:-webkit-linear-gradient(300deg,rgba(95,44,130,.1) 30%,rgba(73,160,157,.2) 70%) 0 0/cover fixed;background:linear-gradient(150deg,rgba(95,44,130,.1) 30%,rgba(73,160,157,.2) 70%) 0 0/cover fixed}#profile-resume{display:none}.profile{max-width:38.75rem}.profile>p{margin:0 2rem;font-size:.9rem}.profile>a>h1,.profile>a>h3{margin:0;color:#f8f8f8}.profile>a>h1{font-family:Raleway,sans-serif;font-size:1.6rem;font-weight:700;letter-spacing:.05rem}.profile>a>img{width:7rem;border:2px solid rgba(234,97,83,.1);box-shadow:0 0 1px 1px rgba(0,0,0,.3)}.navigation.left{display:inline-block;margin-top:1.2rem;margin-bottom:1rem}.navigation.left .links{margin:0;list-style:none}.navigation.left .links>li{display:block;margin:0 1px 0 0;line-height:1em}.navigation.left .links>li.expanded{display:inline-block;margin:0 5px;border-radius:20px;border:1px solid #f8f8f8}.navigation.left .links>li>a,.navigation.right .social.item a{font-size:.9em;-webkit-font-smoothing:antialiased;font-weight:700;letter-spacing:1px;border-radius:20px;text-shadow:none;position:relative}.navigation.left .links>li.expanded>a{padding:.625rem 1.25rem}.navigation.left .links>li>a{float:none;padding:.5rem 1.25rem;display:block;opacity:.8;color:#f8f8f8}.navigation.left .links>li>a:hover{opacity:1;color:#ea6153}.navigation.right{display:block;margin:.5rem}.navigation.right .social{margin:0}.navigation.right .social.item{display:inline-block;margin:0 4px 0 0;line-height:1em}.navigation.right .social.item a{padding:6px 8px 6px 9px;display:block;opacity:.8;color:#f8f8f8}.navigation.right .social.item a:hover{opacity:1;color:#ea6153}.navigation.right .social.item a .label{display:none}.navigation.right .social.item a .icon{display:block;font-size:1.7em}body[data-page=error]{width:100%;height:100%;font-size:1rem;font-weight:400;line-height:25px;text-align:center;background:-webkit-linear-gradient(300deg,rgba(95,44,130,.1) 30%,rgba(73,160,157,.2) 70%) 0 0/cover fixed;background:linear-gradient(150deg,rgba(95,44,130,.1) 30%,rgba(73,160,157,.2) 70%) 0 0/cover fixed}body[data-page=error]>article{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.mayday{width:500px;margin:150px auto 20px}.astro-wrap,.astronaut{width:20vh;height:32vh}.mayday>h2{font-size:24px;line-height:35px;color:#f8f8f8;text-shadow:0 1px 1px rgba(0,0,0,.4)}.astro-wrap{position:relative;margin:auto}.astronaut{position:absolute;top:0;left:0;-webkit-transform:translate(0,50px);-ms-transform:translate(0,50px);transform:translate(0,50px);-webkit-animation:move 10s infinite;animation:move 10s infinite;background:url(/assets/img/astronaut.png) center/cover no-repeat}.pagination{margin:0 0 2.5rem}.posts.index{margin-right:1rem;margin-left:1rem;font-size:.8rem;color:#999}.posts{padding:0;margin:0;list-style-type:none;text-align:left}#search-results,.post>header,.post>p>img{text-align:center}.posts>li>a>h2{margin-bottom:1rem;line-height:3rem;-webkit-transition:all 350ms;transition:all 350ms}.posts>li>a>h2:hover{-webkit-transition:all 350ms;transition:all 350ms;color:#ea6153}#post-content a,.post.tags>a{-webkit-transition:all 350ms}.posts>li>a>h2:first-child{margin-top:0}#post-content a{transition:all 350ms}#post-content a::after{position:absolute;bottom:-.5px;left:0;width:100%;height:0;content:"";border-bottom:1px solid #ea6153}#post-content a:hover{border-color:#ea6153}.post>p>img{width:100%;margin:1.5rem auto;border-radius:3px}.post pre{width:95%}.post.description{margin-bottom:1rem;font-size:.9em;color:#999}.post.meta{margin:.7em 0;font-size:.85rem;color:#ccc}.post.tags>a{padding:.167rem .25rem;font-size:.55rem;transition:all 350ms;text-transform:uppercase;color:#f8f8f8;border-radius:.25rem;background-color:rgba(234,97,83,.7)}.post.tags>a:hover{background-color:#ea6153}.post.author img{display:inline-block;height:22px;margin:0 .5rem;vertical-align:middle;border:none;box-shadow:none}.post.comments{padding:2rem 0 0}.post.related{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:4rem 0 2rem;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}#post-image{max-width:100%;margin-top:1rem}#post-title{margin:3rem 0 2.5rem;-webkit-transition:all 350ms;transition:all 350ms}#post-title:hover{color:#ea6153}#search-container{margin-top:1.5rem}#search-form{padding:.25rem 0}#search-field{width:12.5rem;height:1rem;padding:4% 5px 4% 18px;-webkit-transition:border .3s ease-in;transition:border .3s ease-in;border-radius:1.68rem}#search-field:focus,#search-field:hover{border:1.5px solid #ed7669}#search-results.active{margin-top:3rem;margin-bottom:9rem}#search-results>p{margin-bottom:3rem;font-size:1.2rem}.result{display:block;padding:1rem;margin-bottom:1.3rem;text-decoration:none;border:1px solid #ea6153;border-radius:5px}.result>h2,.result>h4{color:#666}.result:hover{-webkit-transition:.5s;transition:.5s}.result:hover>h2,.result:hover>h4{-webkit-transition:.5s;transition:.5s;color:#ea6153}.icon-search{top:31.5rem;left:16.5rem;color:#ccc;text-shadow:1px 1px 0 #ccc}.pace{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;-webkit-pointer-events:none}.pace-inactive{display:none}.pace .pace-progress{position:fixed;top:0;right:100%;z-index:2000;width:100%;height:2px;background:#ea6153}@media only screen and (min-width:1824px){main{padding:2.5rem 11rem}.content{margin:0 7rem}}@media all and (max-width:1024px){#menu-button,.cover.animated{-webkit-transition:all 350ms}.pace,.post.reading-time,.post.related{display:none}#search-container{display:none!important}#profile-resume{display:inherit}#menu-button{position:fixed;top:.5rem;left:13.5rem;z-index:2;display:block;transition:all 350ms}#menu-button.expanded{left:.85rem}#menu-button>a>i{color:#ea6153}.cover{width:16rem;-webkit-transition:width 350ms cubic-bezier(.645,.045,.355,1),-webkit-transform 350ms cubic-bezier(.645,.045,.355,1),border-right 630ms cubic-bezier(.645,.045,.355,1),box-shadow 630ms cubic-bezier(.645,.045,.355,1);transition:width 350ms cubic-bezier(.645,.045,.355,1),transform 350ms cubic-bezier(.645,.045,.355,1),border-right 630ms cubic-bezier(.645,.045,.355,1),box-shadow 630ms cubic-bezier(.645,.045,.355,1);-webkit-transform:translate3d(-16rem,0,0);transform:translate3d(-16rem,0,0);border-right:none;box-shadow:none}.cover.expanded{width:16rem;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);border-right:1px solid #ccc;box-shadow:11px -10px 1px -9px #ddd}.cover.animated{transition:all 350ms}.profile{width:100%;height:100%;max-width:100%}.profile.contact>nav{padding:0}.profile>a>img{width:8rem;margin-bottom:1rem}.navigation,.navigation.left .links.item{width:100%}.profile .divider,.profile>p{display:none}.navigation.left .links>li{margin:0}.navigation.left .links>li>a{padding:.85rem 1.25rem;font-size:1rem}#avatar-link{display:inline-block;margin-top:4rem}.navigation.right{margin:0}main{left:0;-webkit-transition:all 350ms;transition:all 350ms;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}main.expanded{-webkit-transform:translate3d(14rem,0,0);transform:translate3d(14rem,0,0)}}@media all and (max-width:480px){.btn{display:block;margin-bottom:.4em}main{padding:1rem 0}.mayday{width:auto}.mayday>h2{font-size:20px;line-height:25px}.astronaut{background-size:55%}.astro-wrap{margin:-5% auto}.astro-wrap,.astronaut{height:10rem}#panic-button{margin-bottom:1rem}#post-title{margin:2.5rem 0}.pagination>span,.post .meta>time,.post .tags{display:none}.post.newer,.post.older{padding:1rem}.post.newer{margin:0 0 1.2rem}.post.older{margin:0 0 10px}blockquote>p{margin:2rem -1rem}} \ No newline at end of file +@import url(https://fonts.googleapis.com/css?family=Raleway:400,700|Roboto+Slab:300,400);#post-content a:active,#post-content a:hover,#posts-list>li>a:active,#posts-list>li>a:hover,:focus{outline:0}.hvr-buzz-out,.hvr-grow-rotate{-moz-osx-font-smoothing:grayscale;box-shadow:0 0 1px transparent}#post-content a,#posts-list>li>a{border-bottom:1px dashed #ea6153;line-height:25px;-webkit-transition:all .5s;transition:all .5s;padding:.1rem .25rem}.post.tags>a,a{-webkit-transition:all 350ms}#post-content a:hover,#posts-list>li>a:hover{color:#FFF;border-color:#ea6153;background:#ea6153}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{padding:0;margin:0;font:inherit;font-size:100%;vertical-align:baseline;border:0}blockquote>p,em{font-style:italic}.btn,.icon-reverse:after,.icon:before,blockquote>p,h1,h2,h3,h4,h5{-webkit-font-smoothing:antialiased}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1;width:100%;font-family:Raleway,sans-serif;color:#666}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-spacing:0;border-collapse:collapse}body:after,body:before{display:table;content:""}body:after{clear:both}html{max-height:100%;font-size:1rem}html.expanded{overflow-y:hidden}body,html{height:100%}mark{background:#ffc107}::-moz-selection{background:#ffe28c}::selection{background:#ffe28c}::scrollbar{display:none}hr{border:none}a{position:relative;transition:all 350ms;text-decoration:none;color:#333}a:hover{color:#ea6153}h1,h2,h3,h4,h5{font-family:"Roboto Slab",serif;font-weight:lighter;color:#333}.block-heading,strong{font-weight:700}h1{margin:2.75rem 0;font-size:2.2rem;line-height:3rem}h2{margin:2rem 0;font-size:1.7rem}h3{margin:1.6rem 0;font-size:1.445rem}h4{margin:1.28rem 0;font-size:1.22825rem}h5{margin:1.024rem 0;font-size:1.04401rem}h6{margin:.8192rem 0;font-size:.88741rem}p{margin-bottom:1.3rem;line-height:1.7rem}blockquote>p{margin:2.5rem -3rem;font-family:freight-text-pro,Georgia,Cambria,"Times New Roman",Times,serif;font-size:1.2rem;line-height:1.4;text-align:center;letter-spacing:.01rem;word-wrap:break-word}ol,ul{list-style:none;margin:0 0 1.3rem 2.5rem}ol li,ul li{margin:0 0 .2rem;line-height:1.6rem}ol ol,ol ul,ul ol,ul ul{margin:.1rem 0 .2rem 2rem}ol{list-style-type:decimal}ul{list-style-type:disc}.block-heading{position:relative;bottom:-15px;font-size:.8rem;text-align:center;letter-spacing:1px;text-transform:uppercase;display:inline;float:left;width:940px;margin:0 10px}.label{padding:8px 18px 9px}main{position:absolute;top:0;right:0;bottom:0;left:22.5rem;padding:2rem 3rem}main>.content{padding:2rem 0;margin:0 3.7rem}main>.content>h1{margin-bottom:2.7rem}main>.content>footer{display:block;padding:2em 0 0;font-size:.7em;color:#b3b3b3;border-top:2px solid #ddd}.divider{margin:10px auto;border-top:1px solid rgba(255,255,255,.14)}.divider.long{width:30%}.divider.short{width:15%}.divider.post{width:30%;margin:1.7rem 0;border-top:1px solid #ddd}.container{position:relative;width:940px;margin:0 auto}.copyright{display:block;margin-bottom:.7em}.copyright a{text-decoration:underline;color:#a6a6a6}.btn,.copyright a:hover{color:#ea6153}.emoji{width:auto!important;width:1em!important;height:1em!important;margin:0 .05em 0 .1em!important;vertical-align:-.1em!important}@font-face{font-family:foundation-icons;font-style:normal;font-weight:400;src:url(../fonts/foundation-icons/foundation-icons.eot);src:url(../fonts/foundation-icons/foundation-icons.eot?#iefix) format("embedded-opentype"),url(../fonts/foundation-icons/foundation-icons.woff) format("woff"),url(../fonts/foundation-icons/foundation-icons.ttf) format("truetype"),url(../fonts/foundation-icons/foundation-icons.svg#fontcustom) format("svg")}.icon-reverse:after,.icon:before{display:inline-block;font-family:foundation-icons;font-style:normal;font-weight:400;font-variant:normal;line-height:1;text-decoration:inherit;text-transform:none}.icon-search{position:static!important}.icon-search:before{position:absolute;right:83px;margin-top:30px;content:"\f16c"}#menu-button>a>i,pre.line-numbers,pre.line-numbers>code{position:relative}.icon-address-book:before{content:"\f100"}.icon-alert:before{content:"\f101"}.icon-align-center:before{content:"\f102"}.icon-align-justify:before{content:"\f103"}.icon-align-left:before{content:"\f104"}.icon-align-right:before{content:"\f105"}.icon-anchor:before{content:"\f106"}.icon-annotate:before{content:"\f107"}.icon-archive:before{content:"\f108"}.icon-arrow-down:before{content:"\f109"}.icon-arrow-left:before{content:"\f10a"}.icon-arrow-right:before{content:"\f10b"}.icon-arrow-up:before{content:"\f10c"}.icon-arrows-compress:before{content:"\f10d"}.icon-arrows-expand:before{content:"\f10e"}.icon-arrows-in:before{content:"\f10f"}.icon-arrows-out:before{content:"\f110"}.icon-asl:before{content:"\f111"}.icon-asterisk:before{content:"\f112"}.icon-at-sign:before{content:"\f113"}.icon-background-color:before{content:"\f114"}.icon-battery-empty:before{content:"\f115"}.icon-battery-full:before{content:"\f116"}.icon-battery-half:before{content:"\f117"}.icon-bitcoin-circle:before{content:"\f118"}.icon-bitcoin:before{content:"\f119"}.icon-blind:before{content:"\f11a"}.icon-bluetooth:before{content:"\f11b"}.icon-bold:before{content:"\f11c"}.icon-book-bookmark:before{content:"\f11d"}.icon-book:before{content:"\f11e"}.icon-bookmark:before{content:"\f11f"}.icon-braille:before{content:"\f120"}.icon-burst-new:before{content:"\f121"}.icon-burst-sale:before{content:"\f122"}.icon-burst:before{content:"\f123"}.icon-calendar:before{content:"\f124"}.icon-camera:before{content:"\f125"}.icon-check:before{content:"\f126"}.icon-checkbox:before{content:"\f127"}.icon-clipboard-notes:before{content:"\f128"}.icon-clipboard-pencil:before{content:"\f129"}.icon-clipboard:before{content:"\f12a"}.icon-clock:before{content:"\f12b"}.icon-closed-caption:before{content:"\f12c"}.icon-cloud:before{content:"\f12d"}.icon-comment-minus:before{content:"\f12e"}.icon-comment-quotes:before{content:"\f12f"}.icon-comment-video:before{content:"\f130"}.icon-comment:before{content:"\f131"}.icon-comments:before{content:"\f132"}.icon-compass:before{content:"\f133"}.icon-contrast:before{content:"\f134"}.icon-credit-card:before{content:"\f135"}.icon-crop:before{content:"\f136"}.icon-crown:before{content:"\f137"}.icon-css3:before{content:"\f138"}.icon-database:before{content:"\f139"}.icon-die-five:before{content:"\f13a"}.icon-die-four:before{content:"\f13b"}.icon-die-one:before{content:"\f13c"}.icon-die-six:before{content:"\f13d"}.icon-die-three:before{content:"\f13e"}.icon-die-two:before{content:"\f13f"}.icon-dislike:before{content:"\f140"}.icon-dollar-bill:before{content:"\f141"}.icon-dollar:before{content:"\f142"}.icon-download:before{content:"\f143"}.icon-eject:before{content:"\f144"}.icon-elevator:before{content:"\f145"}.icon-euro:before{content:"\f146"}.icon-eye:before{content:"\f147"}.icon-fast-forward:before{content:"\f148"}.icon-female-symbol:before{content:"\f149"}.icon-female:before{content:"\f14a"}.icon-filter:before{content:"\f14b"}.icon-first-aid:before{content:"\f14c"}.icon-flag:before{content:"\f14d"}.icon-folder-add:before{content:"\f14e"}.icon-folder-lock:before{content:"\f14f"}.icon-folder:before{content:"\f150"}.icon-foot:before{content:"\f151"}.icon-foundation:before{content:"\f152"}.icon-graph-bar:before{content:"\f153"}.icon-graph-horizontal:before{content:"\f154"}.icon-graph-pie:before{content:"\f155"}.icon-graph-trend:before{content:"\f156"}.icon-guide-dog:before{content:"\f157"}.icon-hearing-aid:before{content:"\f158"}.icon-heart:before{content:"\f159"}.icon-home:before{content:"\f15a"}.icon-html5:before{content:"\f15b"}.icon-indent-less:before{content:"\f15c"}.icon-indent-more:before{content:"\f15d"}.icon-info:before{content:"\f15e"}.icon-italic:before{content:"\f15f"}.icon-key:before{content:"\f160"}.icon-laptop:before{content:"\f161"}.icon-layout:before{content:"\f162"}.icon-lightbulb:before{content:"\f163"}.icon-like:before{content:"\f164"}.icon-link:before{content:"\f165"}.icon-list-bullet:before{content:"\f166"}.icon-list-number:before{content:"\f167"}.icon-list-thumbnails:before{content:"\f168"}.icon-list:before{content:"\f169"}.icon-lock:before{content:"\f16a"}.icon-loop:before{content:"\f16b"}.icon-magnifying-glass:before{content:"\f16c"}.icon-mail:before{content:"\f16d"}.icon-male-female:before{content:"\f16e"}.icon-male-symbol:before{content:"\f16f"}.icon-male:before{content:"\f170"}.icon-map:before{content:"\f171"}.icon-marker:before{content:"\f172"}.icon-megaphone:before{content:"\f173"}.icon-microphone:before{content:"\f174"}.icon-minus-circle:before{content:"\f175"}.icon-minus:before{content:"\f176"}.icon-mobile-signal:before{content:"\f177"}.icon-mobile:before{content:"\f178"}.icon-monitor:before{content:"\f179"}.icon-mountains:before{content:"\f17a"}.icon-music:before{content:"\f17b"}.icon-next:before{content:"\f17c"}.icon-no-dogs:before{content:"\f17d"}.icon-no-smoking:before{content:"\f17e"}.icon-page-add:before{content:"\f17f"}.icon-page-copy:before{content:"\f180"}.icon-page-csv:before{content:"\f181"}.icon-page-delete:before{content:"\f182"}.icon-page-doc:before{content:"\f183"}.icon-page-edit:before{content:"\f184"}.icon-page-export-csv:before{content:"\f185"}.icon-page-export-doc:before{content:"\f186"}.icon-page-export-pdf:before{content:"\f187"}.icon-page-export:before{content:"\f188"}.icon-page-filled:before{content:"\f189"}.icon-page-multiple:before{content:"\f18a"}.icon-page-pdf:before{content:"\f18b"}.icon-page-remove:before{content:"\f18c"}.icon-page-search:before{content:"\f18d"}.icon-page:before{content:"\f18e"}.icon-paint-bucket:before{content:"\f18f"}.icon-paperclip:before{content:"\f190"}.icon-pause:before{content:"\f191"}.icon-paw:before{content:"\f192"}.icon-paypal:before{content:"\f193"}.icon-pencil:before{content:"\f194"}.icon-photo:before{content:"\f195"}.icon-play-circle:before{content:"\f196"}.icon-play-video:before{content:"\f197"}.icon-play:before{content:"\f198"}.icon-plus:before{content:"\f199"}.icon-pound:before{content:"\f19a"}.icon-power:before{content:"\f19b"}.icon-previous:before{content:"\f19c"}.icon-price-tag:before{content:"\f19d"}.icon-pricetag-multiple:before{content:"\f19e"}.icon-print:before{content:"\f19f"}.icon-prohibited:before{content:"\f1a0"}.icon-projection-screen:before{content:"\f1a1"}.icon-puzzle:before{content:"\f1a2"}.icon-quote:before{content:"\f1a3"}.icon-record:before{content:"\f1a4"}.icon-refresh:before{content:"\f1a5"}.icon-results-demographics:before{content:"\f1a6"}.icon-results:before{content:"\f1a7"}.icon-rewind-ten:before{content:"\f1a8"}.icon-rewind:before{content:"\f1a9"}.icon-rss:before{content:"\f1aa"}.icon-safety-cone:before{content:"\f1ab"}.icon-save:before{content:"\f1ac"}.icon-share:before{content:"\f1ad"}.icon-sheriff-badge:before{content:"\f1ae"}.icon-shield:before{content:"\f1af"}.icon-shopping-bag:before{content:"\f1b0"}.icon-shopping-cart:before{content:"\f1b1"}.icon-shuffle:before{content:"\f1b2"}.icon-skull:before{content:"\f1b3"}.icon-social-500px:before{content:"\f1b4"}.icon-social-adobe:before{content:"\f1b5"}.icon-social-amazon:before{content:"\f1b6"}.icon-social-android:before{content:"\f1b7"}.icon-social-apple:before{content:"\f1b8"}.icon-social-behance:before{content:"\f1b9"}.icon-social-bing:before{content:"\f1ba"}.icon-social-blogger:before{content:"\f1bb"}.icon-social-delicious:before{content:"\f1bc"}.icon-social-designer-news:before{content:"\f1bd"}.icon-social-deviant-art:before{content:"\f1be"}.icon-social-digg:before{content:"\f1bf"}.icon-social-dribbble:before{content:"\f1c0"}.icon-social-drive:before{content:"\f1c1"}.icon-social-dropbox:before{content:"\f1c2"}.icon-social-evernote:before{content:"\f1c3"}.icon-social-facebook:before{content:"\f1c4"}.icon-social-flickr:before{content:"\f1c5"}.icon-social-forrst:before{content:"\f1c6"}.icon-social-foursquare:before{content:"\f1c7"}.icon-social-game-center:before{content:"\f1c8"}.icon-social-github:before{content:"\f1c9"}.icon-social-google-plus:before{content:"\f1ca"}.icon-social-hacker-news:before{content:"\f1cb"}.icon-social-hi5:before{content:"\f1cc"}.icon-social-instagram:before{content:"\f1cd"}.icon-social-joomla:before{content:"\f1ce"}.icon-social-lastfm:before{content:"\f1cf"}.icon-social-linkedin:before{content:"\f1d0"}.icon-social-medium:before{content:"\f1d1"}.icon-social-myspace:before{content:"\f1d2"}.icon-social-orkut:before{content:"\f1d3"}.icon-social-path:before{content:"\f1d4"}.icon-social-picasa:before{content:"\f1d5"}.icon-social-pinterest:before{content:"\f1d6"}.icon-social-rdio:before{content:"\f1d7"}.icon-social-reddit:before{content:"\f1d8"}.icon-social-skillshare:before{content:"\f1d9"}.icon-social-skype:before{content:"\f1da"}.icon-social-smashing-mag:before{content:"\f1db"}.icon-social-snapchat:before{content:"\f1dc"}.icon-social-spotify:before{content:"\f1dd"}.icon-social-squidoo:before{content:"\f1de"}.icon-social-stack-overflow:before{content:"\f1df"}.icon-social-steam:before{content:"\f1e0"}.icon-social-stumbleupon:before{content:"\f1e1"}.icon-social-treehouse:before{content:"\f1e2"}.icon-social-tumblr:before{content:"\f1e3"}.icon-social-twitter-post:after,.icon-social-twitter:before{content:"\f1e4"}.icon-social-twitter-post:after{display:inline-block;height:36px;margin-left:9px;font-size:26px;vertical-align:middle}.icon-social-vimeo:before{content:"\f1e5"}.icon-social-windows:before{content:"\f1e6"}.icon-social-xbox:before{content:"\f1e7"}.icon-social-yahoo:before{content:"\f1e8"}.icon-social-yelp:before{content:"\f1e9"}.icon-social-youtube:before{content:"\f1ea"}.icon-social-zerply:before{content:"\f1eb"}.icon-social-zurb:before{content:"\f1ec"}.icon-sound:before{content:"\f1ed"}.icon-star:before{content:"\f1ee"}.icon-stop:before{content:"\f1ef"}.icon-strikethrough:before{content:"\f1f0"}.icon-subscript:before{content:"\f1f1"}.icon-superscript:before{content:"\f1f2"}.icon-tablet-landscape:before{content:"\f1f3"}.icon-tablet-portrait:before{content:"\f1f4"}.icon-target-two:before{content:"\f1f5"}.icon-target:before{content:"\f1f6"}.icon-telephone-accessible:before{content:"\f1f7"}.icon-telephone:before{content:"\f1f8"}.icon-text-color:before{content:"\f1f9"}.icon-thumbnails:before{content:"\f1fa"}.icon-ticket:before{content:"\f1fb"}.icon-torso-business:before{content:"\f1fc"}.icon-torso-female:before{content:"\f1fd"}.icon-torso:before{content:"\f1fe"}.icon-torsos-all-female:before{content:"\f1ff"}.icon-torsos-all:before{content:"\f200"}.icon-torsos-female-male:before{content:"\f201"}.icon-torsos-male-female:before{content:"\f202"}.icon-torsos:before{content:"\f203"}.icon-trash:before{content:"\f204"}.icon-trees:before{content:"\f205"}.icon-trophy:before{content:"\f206"}.icon-underline:before{content:"\f207"}.icon-universal-access:before{content:"\f208"}.icon-unlink:before{content:"\f209"}.icon-unlock:before{content:"\f20a"}.icon-upload-cloud:before{content:"\f20b"}.icon-upload:before{content:"\f20c"}.icon-usb:before{content:"\f20d"}.icon-video:before{content:"\f20e"}.icon-volume-none:before{content:"\f20f"}.icon-volume-strike:before{content:"\f210"}.icon-volume:before{content:"\f211"}.icon-web:before{content:"\f212"}.icon-wheelchair:before{content:"\f213"}.icon-widget:before{content:"\f214"}.icon-wrench:before{content:"\f215"}.icon-x-circle:before{content:"\f216"}.icon-x:before{content:"\f217"}.icon-yen:before{content:"\f218"}.icon-zoom-in:before{content:"\f219"}.icon-zoom-out:before{content:"\f21a"}.btn.square,img.square{border-radius:0}.btn.rounded,img.rounded{border-radius:50%}.btn{padding:10px 20px;font-size:.9em;font-weight:700;letter-spacing:1px;border:1px solid #ea6153;border-radius:20px;text-shadow:none}.btn:hover{color:#d62c1a;border-color:#d62c1a}.btn.small{padding:8px 12px;font-size:.7em}.btn.large{padding:10px 24px;font-size:1.1em}.btn.secondary{color:#FFC107;border-color:#FFC107}.btn.secondary:hover{color:#b98b00;border-color:#b98b00}#menu-button{display:none}#menu-button>a>i{top:3px;font-size:36px;color:#f8f8f8}input[type=text],input[type=password],input[type=datetime],input[type=datetime-local],input[type=date],input[type=month],input[type=time],input[type=week],input[type=number],input[type=email],input[type=url],input[type=search],input[type=tel]{width:240px;padding:1em;font-size:.9em;color:#666;border:1px solid #ddd;border-radius:3px;background:#f8f8f8}input[type=text] ::-webkit-input-placeholder,input[type=password] ::-webkit-input-placeholder,input[type=datetime] ::-webkit-input-placeholder,input[type=datetime-local] ::-webkit-input-placeholder,input[type=date] ::-webkit-input-placeholder,input[type=month] ::-webkit-input-placeholder,input[type=time] ::-webkit-input-placeholder,input[type=week] ::-webkit-input-placeholder,input[type=number] ::-webkit-input-placeholder,input[type=email] ::-webkit-input-placeholder,input[type=url] ::-webkit-input-placeholder,input[type=search] ::-webkit-input-placeholder,input[type=tel] ::-webkit-input-placeholder{color:#ccc}input[type=text] :-moz-placeholder,input[type=password] :-moz-placeholder,input[type=datetime] :-moz-placeholder,input[type=datetime-local] :-moz-placeholder,input[type=date] :-moz-placeholder,input[type=month] :-moz-placeholder,input[type=time] :-moz-placeholder,input[type=week] :-moz-placeholder,input[type=number] :-moz-placeholder,input[type=email] :-moz-placeholder,input[type=url] :-moz-placeholder,input[type=search] :-moz-placeholder,input[type=tel] :-moz-placeholder{color:#ccc}input[type=text] ::-moz-placeholder,input[type=password] ::-moz-placeholder,input[type=datetime] ::-moz-placeholder,input[type=datetime-local] ::-moz-placeholder,input[type=date] ::-moz-placeholder,input[type=month] ::-moz-placeholder,input[type=time] ::-moz-placeholder,input[type=week] ::-moz-placeholder,input[type=number] ::-moz-placeholder,input[type=email] ::-moz-placeholder,input[type=url] ::-moz-placeholder,input[type=search] ::-moz-placeholder,input[type=tel] ::-moz-placeholder{color:#ccc}input[type=text] :-ms-input-placeholder,input[type=password] :-ms-input-placeholder,input[type=datetime] :-ms-input-placeholder,input[type=datetime-local] :-ms-input-placeholder,input[type=date] :-ms-input-placeholder,input[type=month] :-ms-input-placeholder,input[type=time] :-ms-input-placeholder,input[type=week] :-ms-input-placeholder,input[type=number] :-ms-input-placeholder,input[type=email] :-ms-input-placeholder,input[type=url] :-ms-input-placeholder,input[type=search] :-ms-input-placeholder,input[type=tel] :-ms-input-placeholder{color:#ccc}input[type=text]:focus,input[type=password]:focus,input[type=datetime]:focus,input[type=datetime-local]:focus,input[type=date]:focus,input[type=month]:focus,input[type=time]:focus,input[type=week]:focus,input[type=number]:focus,input[type=email]:focus,input[type=url]:focus,input[type=search]:focus,input[type=tel]:focus{border-color:#FFC107}.hvr-grow-rotate{display:inline-block;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-property:-webkit-transform;transition-property:transform;-webkit-transform:translateZ(0);transform:translateZ(0);vertical-align:middle;-webkit-backface-visibility:hidden;backface-visibility:hidden}.hvr-grow-rotate:active,.hvr-grow-rotate:focus,.hvr-grow-rotate:hover{-webkit-transform:scale(1.1) rotate(4deg);-ms-transform:scale(1.1) rotate(4deg);transform:scale(1.1) rotate(4deg)}@-webkit-keyframes hvr-buzz-out{10%,30%{-webkit-transform:translateX(3px) rotate(2deg);transform:translateX(3px) rotate(2deg)}20%,40%{-webkit-transform:translateX(-3px) rotate(-2deg);transform:translateX(-3px) rotate(-2deg)}50%,70%{-webkit-transform:translateX(2px) rotate(1deg);transform:translateX(2px) rotate(1deg)}60%,80%{-webkit-transform:translateX(-2px) rotate(-1deg);transform:translateX(-2px) rotate(-1deg)}90%{-webkit-transform:translateX(1px) rotate(0);transform:translateX(1px) rotate(0)}100%{-webkit-transform:translateX(-1px) rotate(0);transform:translateX(-1px) rotate(0)}}@keyframes hvr-buzz-out{10%,30%{-webkit-transform:translateX(3px) rotate(2deg);transform:translateX(3px) rotate(2deg)}20%,40%{-webkit-transform:translateX(-3px) rotate(-2deg);transform:translateX(-3px) rotate(-2deg)}50%,70%{-webkit-transform:translateX(2px) rotate(1deg);transform:translateX(2px) rotate(1deg)}60%,80%{-webkit-transform:translateX(-2px) rotate(-1deg);transform:translateX(-2px) rotate(-1deg)}90%{-webkit-transform:translateX(1px) rotate(0);transform:translateX(1px) rotate(0)}100%{-webkit-transform:translateX(-1px) rotate(0);transform:translateX(-1px) rotate(0)}}.hvr-buzz-out{display:inline-block;-webkit-transform:translateZ(0);transform:translateZ(0);vertical-align:middle;-webkit-backface-visibility:hidden;backface-visibility:hidden}.hvr-buzz-out:active,.hvr-buzz-out:focus,.hvr-buzz-out:hover{-webkit-animation-name:hvr-buzz-out;animation-name:hvr-buzz-out;-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-iteration-count:1;animation-iteration-count:1}@-webkit-keyframes move{0%,100%{-webkit-transform:translate(0,50px);transform:translate(0,50px)}50%{-webkit-transform:translate(20px,100px);transform:translate(20px,100px)}}@keyframes move{0%,100%{-webkit-transform:translate(0,50px);transform:translate(0,50px)}50%{-webkit-transform:translate(20px,100px);transform:translate(20px,100px)}}@-webkit-keyframes blink{0%,100%{top:50px;left:0}50%{top:100px;left:20px}}@keyframes blink{0%,100%{top:50px;left:0}50%{top:100px;left:20px}}@-webkit-keyframes flicker{0%,80%,93%{opacity:.9}30%{opacity:.97}40%,98%{opacity:1}88%{opacity:.98}90%{opacity:.94}95%{opacity:.99}96%,99%{opacity:.93}}@keyframes flicker{0%,80%,93%{opacity:.9}30%{opacity:.97}40%,98%{opacity:1}88%{opacity:.98}90%{opacity:.94}95%{opacity:.99}96%,99%{opacity:.93}}code,pre[class*=language-]{color:#f8f8f2;text-shadow:0 1px rgba(0,0,0,.3);font-family:Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code,pre[class*=language-]{background:#333}:not(pre)>code{padding:.2em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#f8f8f2}.namespace{opacity:.7}.token.constant,.token.deleted,.token.property,.token.symbol,.token.tag{color:#f92672}.token.boolean,.token.number{color:#ae81ff}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#a6e22e}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url,.token.variable{color:#f8f8f2}.token.atrule,.token.attr-value,.token.function{color:#e6db74}.token.keyword{color:#66d9ef}.token.important,.token.regex{color:#fd971f}.token.bold,.token.important{font-weight:300}.token.italic{font-style:italic}.token.entity{cursor:help}pre.line-numbers{padding-left:3.8em;counter-reset:linenumber}.line-numbers .line-numbers-rows{position:absolute;pointer-events:none;top:0;font-size:100%;left:-3.8em;width:3em;letter-spacing:-1px;border-right:1px solid #999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.line-numbers-rows>span{pointer-events:none;display:block;counter-increment:linenumber}.line-numbers-rows>span:before{content:counter(linenumber);color:#999;display:block;padding-right:.8em;text-align:right}#search-results,.cover.container,.post>header,.post>p>img{text-align:center}.token a{color:inherit}div.prism-show-language{position:relative}div.prism-show-language>div.prism-show-language-label[data-language]{color:#000;background-color:#CFCFCF;display:inline-block;position:absolute;bottom:auto;left:auto;top:0;right:0;width:auto;height:auto;font-size:.9rem;border-radius:0 0 0 5px;padding:0 .5em;text-shadow:none;z-index:1;box-shadow:none;-webkit-transform:none;-ms-transform:none;transform:none}.cover{position:fixed;z-index:1;display:block;width:22.5rem;height:100%;overflow-y:auto;border-right:1px solid #ccc;box-shadow:10.5px -10px 1px -9px #ddd}.cover.animated{-webkit-transition:width 350ms cubic-bezier(.645,.045,.355,1);transition:width 350ms cubic-bezier(.645,.045,.355,1)}.cover.expanded{width:100%}.cover.container{font-weight:100;color:#f8f8f8;text-shadow:0 1px 1px rgba(0,0,0,.4);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background:-webkit-linear-gradient(300deg,rgba(95,44,130,.1) 30%,rgba(73,160,157,.2) 70%) 0 0/cover fixed;background:linear-gradient(150deg,rgba(95,44,130,.1) 30%,rgba(73,160,157,.2) 70%) 0 0/cover fixed}#profile-resume{display:none}.profile{max-width:38.75rem}.profile>p{margin:0 2rem;font-size:.9rem}.profile>a>h1,.profile>a>h3{margin:0;color:#f8f8f8}.profile>a>h1{font-family:Raleway,sans-serif;font-size:1.6rem;font-weight:700;letter-spacing:.05rem}.profile>a>img{width:7rem;border:2px solid rgba(234,97,83,.1);box-shadow:0 0 1px 1px rgba(0,0,0,.3)}.navigation.left{display:inline-block;margin-top:1.2rem;margin-bottom:1rem}.navigation.left .links{margin:0;list-style:none}.navigation.left .links>li{display:block;margin:0 1px 0 0;line-height:1em}.navigation.left .links>li.expanded{display:inline-block;margin:0 5px;border-radius:20px;border:1px solid #f8f8f8}.navigation.left .links>li>a,.navigation.right .social.item a{font-size:.9em;-webkit-font-smoothing:antialiased;font-weight:700;letter-spacing:1px;border-radius:20px;text-shadow:none;position:relative}.navigation.left .links>li.expanded>a{padding:.625rem 1.25rem}.navigation.left .links>li>a{float:none;padding:.5rem 1.25rem;display:block;opacity:.8;color:#f8f8f8}.navigation.left .links>li>a:hover{opacity:1;color:#ea6153}.navigation.right{display:block;margin:.5rem}.navigation.right .social{margin:0}.navigation.right .social.item{display:inline-block;margin:0 4px 0 0;line-height:1em}.navigation.right .social.item a{padding:6px 8px 6px 9px;display:block;opacity:.8;color:#f8f8f8}.navigation.right .social.item a:hover{opacity:1;color:#ea6153}.navigation.right .social.item a .label{display:none}.navigation.right .social.item a .icon{display:block;font-size:1.7em}body[data-page=error]{width:100%;height:100%;font-size:1rem;font-weight:400;line-height:25px;text-align:center;background:-webkit-linear-gradient(300deg,rgba(95,44,130,.1) 30%,rgba(73,160,157,.2) 70%) 0 0/cover fixed;background:linear-gradient(150deg,rgba(95,44,130,.1) 30%,rgba(73,160,157,.2) 70%) 0 0/cover fixed}body[data-page=error]>article{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.mayday{width:500px;margin:150px auto 20px}.astro-wrap,.astronaut{width:20vh;height:32vh}.mayday>h2{font-size:24px;line-height:35px;color:#f8f8f8;text-shadow:0 1px 1px rgba(0,0,0,.4)}.astro-wrap{position:relative;margin:auto}.astronaut{position:absolute;top:0;left:0;-webkit-transform:translate(0,50px);-ms-transform:translate(0,50px);transform:translate(0,50px);-webkit-animation:move 10s infinite;animation:move 10s infinite;background:url(/assets/img/astronaut.png) center/cover no-repeat}.pagination{margin:0 0 2.5rem}.posts.index{font-size:.8rem;color:#999}.posts.newer{margin-right:1rem}.posts.older{margin-left:1rem}#posts-list{padding:0;margin:5rem 0;list-style-type:none}#posts-list>li{margin-left:1rem;margin-bottom:1.25rem}#posts-list>li>time{float:right;text-transform:uppercase;color:#777;font-size:10px;letter-spacing:2px}#posts-list>li>span>a{bottom:2px}.post>p>img{width:100%;margin:1.5rem auto;border-radius:3px}.post pre{width:95%}.post.description{margin-bottom:1rem;font-size:.9em;color:#999}.post.meta{margin:.7em 0;font-size:.85rem;color:#ccc}.post.tags>a{padding:.15rem .25rem;font-size:.55rem;transition:all 350ms;text-transform:uppercase;color:#f8f8f8;border-radius:.25rem;background-color:rgba(234,97,83,.45)}.post.tags>a:first-child{margin-left:.2rem}.post.tags>a:last-child{margin-right:.2rem}.post.tags>a:hover{background-color:#ea6153}.post.author img{display:inline-block;height:22px;margin:0 .5rem;vertical-align:middle;border:none;box-shadow:none}.post.comments{padding:2rem 0 0}.post.related{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:4rem 0 2rem;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}#post-image{max-width:100%;margin-top:1rem}#post-title{margin:3rem 0 2.5rem;-webkit-transition:all 350ms;transition:all 350ms}#post-title:hover{color:#ea6153}#search-container{margin-top:1.5rem}#search-form{padding:.25rem 0}#search-field{width:12.5rem;height:1rem;padding:4% 5px 4% 18px;-webkit-transition:border .3s ease-in;transition:border .3s ease-in;border-radius:1.68rem}#search-field:focus,#search-field:hover{border:1.5px solid #ed7669}#search-results.active{margin-top:3rem;margin-bottom:9rem}#search-results>p{margin-bottom:3rem;font-size:1.2rem}.result{display:block;padding:1rem;margin-bottom:1.3rem;text-decoration:none;word-wrap:break-word;border:1px solid #ea6153;border-radius:5px}.result>h2,.result>h4{color:#666}.result:hover{-webkit-transition:.5s;transition:.5s}.result:hover>h2,.result:hover>h4{-webkit-transition:.5s;transition:.5s;color:#ea6153}.icon-search{top:31.5rem;left:16.5rem;color:#ccc;text-shadow:1px 1px 0 #ccc}.pace{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;-webkit-pointer-events:none}.pace-inactive{display:none}.pace .pace-progress{position:fixed;top:0;right:100%;z-index:2000;width:100%;height:2px;background:#ea6153}@media only screen and (min-width:1824px){main{padding:2.5rem 11rem}.content{margin:0 7rem}}@media all and (max-width:1024px){#menu-button,.cover.animated{-webkit-transition:all 350ms}.pace,.post.reading-time,.post.related,span.post.tags{display:none}#search-container{display:none!important}#profile-resume{display:inherit}#menu-button{position:fixed;top:.5rem;left:13.5rem;z-index:2;display:block;transition:all 350ms}#menu-button.expanded{left:.85rem}#menu-button>a>i{color:#ea6153}.cover{width:16rem;-webkit-transition:width 350ms cubic-bezier(.645,.045,.355,1),-webkit-transform 350ms cubic-bezier(.645,.045,.355,1),border-right 630ms cubic-bezier(.645,.045,.355,1),box-shadow 630ms cubic-bezier(.645,.045,.355,1);transition:width 350ms cubic-bezier(.645,.045,.355,1),transform 350ms cubic-bezier(.645,.045,.355,1),border-right 630ms cubic-bezier(.645,.045,.355,1),box-shadow 630ms cubic-bezier(.645,.045,.355,1);-webkit-transform:translate3d(-16rem,0,0);transform:translate3d(-16rem,0,0);border-right:none;box-shadow:none}.cover.expanded{width:16rem;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);border-right:1px solid #ccc;box-shadow:11px -10px 1px -9px #ddd}.cover.animated{transition:all 350ms}.profile{width:100%;height:100%;max-width:100%}.profile.contact>nav{padding:0}.profile>a>img{width:8rem;margin-bottom:1rem}.navigation,.navigation.left .links.item{width:100%}.profile .divider,.profile>p{display:none}.navigation.left .links>li{margin:0}.navigation.left .links>li>a{padding:.85rem 1.25rem;font-size:1rem}#avatar-link{display:inline-block;margin-top:4rem}.navigation.right{margin:0}#posts-list>li>time{padding:0 0 0 4rem}main{left:0;-webkit-transition:all 350ms;transition:all 350ms;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}main.expanded{-webkit-transform:translate3d(14rem,0,0);transform:translate3d(14rem,0,0)}}@media all and (max-width:480px){.pagination>span,.post .meta>time,.post .tags{display:none}main{padding:1rem 0}.btn{display:block;margin-bottom:.4em}.mayday{width:auto}.mayday>h2{font-size:20px;line-height:25px}.astronaut{background-size:55%}.astro-wrap{margin:-5% auto}.astro-wrap,.astronaut{height:10rem}#panic-button{margin-bottom:1rem}.posts.newer,.posts.older{margin:1rem 0}#posts-list>li{margin-bottom:2.5rem}#posts-list>li>time{padding:0 0 25px 25px;letter-spacing:1px}#post-title{margin:2.5rem 0}blockquote>p{margin:2rem -1rem}} \ No newline at end of file diff --git a/assets/js/uno-zen.js b/assets/js/uno-zen.js old mode 100755 new mode 100644 index 5a10442a..014aa964 --- a/assets/js/uno-zen.js +++ b/assets/js/uno-zen.js @@ -5,5 +5,6 @@ * @author Kiko Beats (https://github.com/kikobeats) * @license MIT */ -!function(){"use strict";function FastClick(layer,options){function bind(method,context){return function(){return method.apply(context,arguments)}}var oldOnClick;if(options=options||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=options.touchBoundary||10,this.layer=layer,this.tapDelay=options.tapDelay||200,this.tapTimeout=options.tapTimeout||700,!FastClick.notNeeded(layer)){for(var methods=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],context=this,i=0,l=methods.length;l>i;i++)context[methods[i]]=bind(context[methods[i]],context);deviceIsAndroid&&(layer.addEventListener("mouseover",this.onMouse,!0),layer.addEventListener("mousedown",this.onMouse,!0),layer.addEventListener("mouseup",this.onMouse,!0)),layer.addEventListener("click",this.onClick,!0),layer.addEventListener("touchstart",this.onTouchStart,!1),layer.addEventListener("touchmove",this.onTouchMove,!1),layer.addEventListener("touchend",this.onTouchEnd,!1),layer.addEventListener("touchcancel",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(layer.removeEventListener=function(type,callback,capture){var rmv=Node.prototype.removeEventListener;"click"===type?rmv.call(layer,type,callback.hijacked||callback,capture):rmv.call(layer,type,callback,capture)},layer.addEventListener=function(type,callback,capture){var adv=Node.prototype.addEventListener;"click"===type?adv.call(layer,type,callback.hijacked||(callback.hijacked=function(event){event.propagationStopped||callback(event)}),capture):adv.call(layer,type,callback,capture)}),"function"==typeof layer.onclick&&(oldOnClick=layer.onclick,layer.addEventListener("click",function(event){oldOnClick(event)},!1),layer.onclick=null)}}var deviceIsWindowsPhone=navigator.userAgent.indexOf("Windows Phone")>=0,deviceIsAndroid=navigator.userAgent.indexOf("Android")>0&&!deviceIsWindowsPhone,deviceIsIOS=/iP(ad|hone|od)/.test(navigator.userAgent)&&!deviceIsWindowsPhone,deviceIsIOS4=deviceIsIOS&&/OS 4_\d(_\d)?/.test(navigator.userAgent),deviceIsIOSWithBadTarget=deviceIsIOS&&/OS [6-7]_\d/.test(navigator.userAgent),deviceIsBlackBerry10=navigator.userAgent.indexOf("BB10")>0;FastClick.prototype.needsClick=function(target){switch(target.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(target.disabled)return!0;break;case"input":if(deviceIsIOS&&"file"===target.type||target.disabled)return!0;break;case"label":case"iframe":case"video":return!0}return/\bneedsclick\b/.test(target.className)},FastClick.prototype.needsFocus=function(target){switch(target.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!deviceIsAndroid;case"input":switch(target.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!target.disabled&&!target.readOnly;default:return/\bneedsfocus\b/.test(target.className)}},FastClick.prototype.sendClick=function(targetElement,event){var clickEvent,touch;document.activeElement&&document.activeElement!==targetElement&&document.activeElement.blur(),touch=event.changedTouches[0],clickEvent=document.createEvent("MouseEvents"),clickEvent.initMouseEvent(this.determineEventType(targetElement),!0,!0,window,1,touch.screenX,touch.screenY,touch.clientX,touch.clientY,!1,!1,!1,!1,0,null),clickEvent.forwardedTouchEvent=!0,targetElement.dispatchEvent(clickEvent)},FastClick.prototype.determineEventType=function(targetElement){return deviceIsAndroid&&"select"===targetElement.tagName.toLowerCase()?"mousedown":"click"},FastClick.prototype.focus=function(targetElement){var length;deviceIsIOS&&targetElement.setSelectionRange&&0!==targetElement.type.indexOf("date")&&"time"!==targetElement.type&&"month"!==targetElement.type?(length=targetElement.value.length,targetElement.setSelectionRange(length,length)):targetElement.focus()},FastClick.prototype.updateScrollParent=function(targetElement){var scrollParent,parentElement;if(scrollParent=targetElement.fastClickScrollParent,!scrollParent||!scrollParent.contains(targetElement)){parentElement=targetElement;do{if(parentElement.scrollHeight>parentElement.offsetHeight){scrollParent=parentElement,targetElement.fastClickScrollParent=parentElement;break}parentElement=parentElement.parentElement}while(parentElement)}scrollParent&&(scrollParent.fastClickLastScrollTop=scrollParent.scrollTop)},FastClick.prototype.getTargetElementFromEventTarget=function(eventTarget){return eventTarget.nodeType===Node.TEXT_NODE?eventTarget.parentNode:eventTarget},FastClick.prototype.onTouchStart=function(event){var targetElement,touch,selection;if(event.targetTouches.length>1)return!0;if(targetElement=this.getTargetElementFromEventTarget(event.target),touch=event.targetTouches[0],deviceIsIOS){if(selection=window.getSelection(),selection.rangeCount&&!selection.isCollapsed)return!0;if(!deviceIsIOS4){if(touch.identifier&&touch.identifier===this.lastTouchIdentifier)return event.preventDefault(),!1;this.lastTouchIdentifier=touch.identifier,this.updateScrollParent(targetElement)}}return this.trackingClick=!0,this.trackingClickStart=event.timeStamp,this.targetElement=targetElement,this.touchStartX=touch.pageX,this.touchStartY=touch.pageY,event.timeStamp-this.lastClickTimeboundary||Math.abs(touch.pageY-this.touchStartY)>boundary?!0:!1},FastClick.prototype.onTouchMove=function(event){return this.trackingClick?((this.targetElement!==this.getTargetElementFromEventTarget(event.target)||this.touchHasMoved(event))&&(this.trackingClick=!1,this.targetElement=null),!0):!0},FastClick.prototype.findControl=function(labelElement){return void 0!==labelElement.control?labelElement.control:labelElement.htmlFor?document.getElementById(labelElement.htmlFor):labelElement.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},FastClick.prototype.onTouchEnd=function(event){var forElement,trackingClickStart,targetTagName,scrollParent,touch,targetElement=this.targetElement;if(!this.trackingClick)return!0;if(event.timeStamp-this.lastClickTimethis.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=event.timeStamp,trackingClickStart=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,deviceIsIOSWithBadTarget&&(touch=event.changedTouches[0],targetElement=document.elementFromPoint(touch.pageX-window.pageXOffset,touch.pageY-window.pageYOffset)||targetElement,targetElement.fastClickScrollParent=this.targetElement.fastClickScrollParent),targetTagName=targetElement.tagName.toLowerCase(),"label"===targetTagName){if(forElement=this.findControl(targetElement)){if(this.focus(targetElement),deviceIsAndroid)return!1;targetElement=forElement}}else if(this.needsFocus(targetElement))return event.timeStamp-trackingClickStart>100||deviceIsIOS&&window.top!==window&&"input"===targetTagName?(this.targetElement=null,!1):(this.focus(targetElement),this.sendClick(targetElement,event),deviceIsIOS&&"select"===targetTagName||(this.targetElement=null,event.preventDefault()),!1);return deviceIsIOS&&!deviceIsIOS4&&(scrollParent=targetElement.fastClickScrollParent,scrollParent&&scrollParent.fastClickLastScrollTop!==scrollParent.scrollTop)?!0:(this.needsClick(targetElement)||(event.preventDefault(),this.sendClick(targetElement,event)),!1)},FastClick.prototype.onTouchCancel=function(){this.trackingClick=!1,this.targetElement=null},FastClick.prototype.onMouse=function(event){return this.targetElement?event.forwardedTouchEvent?!0:event.cancelable&&(!this.needsClick(this.targetElement)||this.cancelNextClick)?(event.stopImmediatePropagation?event.stopImmediatePropagation():event.propagationStopped=!0,event.stopPropagation(),event.preventDefault(),!1):!0:!0},FastClick.prototype.onClick=function(event){var permitted;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):"submit"===event.target.type&&0===event.detail?!0:(permitted=this.onMouse(event),permitted||(this.targetElement=null),permitted)},FastClick.prototype.destroy=function(){var layer=this.layer;deviceIsAndroid&&(layer.removeEventListener("mouseover",this.onMouse,!0),layer.removeEventListener("mousedown",this.onMouse,!0),layer.removeEventListener("mouseup",this.onMouse,!0)),layer.removeEventListener("click",this.onClick,!0),layer.removeEventListener("touchstart",this.onTouchStart,!1),layer.removeEventListener("touchmove",this.onTouchMove,!1),layer.removeEventListener("touchend",this.onTouchEnd,!1),layer.removeEventListener("touchcancel",this.onTouchCancel,!1)},FastClick.notNeeded=function(layer){var metaViewport,chromeVersion,blackberryVersion,firefoxVersion;if("undefined"==typeof window.ontouchstart)return!0;if(chromeVersion=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]){if(!deviceIsAndroid)return!0;if(metaViewport=document.querySelector("meta[name=viewport]")){if(-1!==metaViewport.content.indexOf("user-scalable=no"))return!0;if(chromeVersion>31&&document.documentElement.scrollWidth<=window.outerWidth)return!0}}if(deviceIsBlackBerry10&&(blackberryVersion=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/),blackberryVersion[1]>=10&&blackberryVersion[2]>=3&&(metaViewport=document.querySelector("meta[name=viewport]")))){if(-1!==metaViewport.content.indexOf("user-scalable=no"))return!0;if(document.documentElement.scrollWidth<=window.outerWidth)return!0}return"none"===layer.style.msTouchAction||"manipulation"===layer.style.touchAction?!0:(firefoxVersion=+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1],firefoxVersion>=27&&(metaViewport=document.querySelector("meta[name=viewport]"),metaViewport&&(-1!==metaViewport.content.indexOf("user-scalable=no")||document.documentElement.scrollWidth<=window.outerWidth))?!0:"none"===layer.style.touchAction||"manipulation"===layer.style.touchAction?!0:!1)},FastClick.attach=function(layer,options){return new FastClick(layer,options)},"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return FastClick}):"undefined"!=typeof module&&module.exports?(module.exports=FastClick.attach,module.exports.FastClick=FastClick):window.FastClick=FastClick}(),function(){"use strict";$(function(){var Uno;return window.Uno=Uno={version:"2.5.7",search:{container:function(){return $("#results")},form:function(action){return $("#search-container")[action]()}},loadingBar:function(action){return $(".pace")[action]()},context:function(){var className;return className=document.body.className.split(" ")[0].split("-")[0],""===className?"error":className},app:function(){return document.body}(),is:function(property,value){return this.app.dataset[property]===value},readTime:function(){var DateInDays;return(DateInDays=function(selector,cb){return $(selector).each(function(){var postDate,postDateInDays,postDateNow;return postDate=$(this).html(),postDateNow=new Date(Date.now()),postDateInDays=Math.floor((postDateNow-new Date(postDate))/864e5),0===postDateInDays?postDateInDays="today":1===postDateInDays?postDateInDays="yesterday":postDateInDays+=" days ago",$(this).html(postDateInDays),$(this).mouseover(function(){return $(this).html(postDate)}),$(this).mouseout(function(){return $(this).html(postDateInDays)})})})(".post.meta > time")},device:function(){var h,w;return w=window.innerWidth,h=window.innerHeight,480>=w?"mobile":1024>=w?"tablet":"desktop"}}})}.call(this),function($){var lunr=function(t){var e=new lunr.Index;return e.pipeline.add(lunr.stopWordFilter,lunr.stemmer),t&&t.call(e,e),e};lunr.version="0.4.3","undefined"!=typeof module&&(module.exports=lunr),lunr.utils={},lunr.utils.warn=function(t){return function(e){t.console&&console.warn&&console.warn(e)}}(this),lunr.utils.zeroFillArray=function(){var t=[0];return function(e){for(;e>t.length;)t=t.concat(t);return t.slice(0,e)}}(),lunr.EventEmitter=function(){this.events={}},lunr.EventEmitter.prototype.addListener=function(){var t=Array.prototype.slice.call(arguments),e=t.pop(),n=t;if("function"!=typeof e)throw new TypeError("last argument must be a function");n.forEach(function(t){this.hasHandler(t)||(this.events[t]=[]),this.events[t].push(e)},this)},lunr.EventEmitter.prototype.removeListener=function(t,e){if(this.hasHandler(t)){var n=this.events[t].indexOf(e);this.events[t].splice(n,1),this.events[t].length||delete this.events[t]}},lunr.EventEmitter.prototype.emit=function(t){if(this.hasHandler(t)){var e=Array.prototype.slice.call(arguments,1);this.events[t].forEach(function(t){t.apply(void 0,e)})}},lunr.EventEmitter.prototype.hasHandler=function(t){return t in this.events},lunr.tokenizer=function(t){if(!arguments.length||null==t||void 0==t)return[];if(Array.isArray(t))return t.map(function(t){return t.toLowerCase()});for(var e=(""+t).replace(/^\s+/,""),n=e.length-1;n>=0;n--)if(/\S/.test(e.charAt(n))){e=e.substring(0,n+1);break}return e.split(/\s+/).map(function(t){return t.replace(/^\W+/,"").replace(/\W+$/,"").toLowerCase()})},lunr.Pipeline=function(){this._stack=[]},lunr.Pipeline.registeredFunctions={},lunr.Pipeline.registerFunction=function(t,e){e in this.registeredFunctions&&lunr.utils.warn("Overwriting existing registered function: "+e),t.label=e,lunr.Pipeline.registeredFunctions[t.label]=t},lunr.Pipeline.warnIfFunctionNotRegistered=function(t){var e=t.label&&t.label in this.registeredFunctions;e||lunr.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",t)},lunr.Pipeline.load=function(t){var e=new lunr.Pipeline;return t.forEach(function(t){var n=lunr.Pipeline.registeredFunctions[t];if(!n)throw Error("Cannot load un-registered function: "+t);e.add(n)}),e},lunr.Pipeline.prototype.add=function(){var t=Array.prototype.slice.call(arguments);t.forEach(function(t){lunr.Pipeline.warnIfFunctionNotRegistered(t),this._stack.push(t)},this)},lunr.Pipeline.prototype.after=function(t,e){lunr.Pipeline.warnIfFunctionNotRegistered(e);var n=this._stack.indexOf(t)+1;this._stack.splice(n,0,e)},lunr.Pipeline.prototype.before=function(t,e){lunr.Pipeline.warnIfFunctionNotRegistered(e);var n=this._stack.indexOf(t);this._stack.splice(n,0,e)},lunr.Pipeline.prototype.remove=function(t){var e=this._stack.indexOf(t);this._stack.splice(e,1)},lunr.Pipeline.prototype.run=function(t){for(var e=[],n=t.length,r=this._stack.length,o=0;n>o;o++){for(var i=t[o],s=0;r>s&&(i=this._stack[s](i,o,t),void 0!==i);s++);void 0!==i&&e.push(i)}return e},lunr.Pipeline.prototype.toJSON=function(){return this._stack.map(function(t){return lunr.Pipeline.warnIfFunctionNotRegistered(t),t.label})},lunr.Vector=function(t){this.elements=t},lunr.Vector.prototype.magnitude=function(){if(this._magnitude)return this._magnitude;for(var t,e=0,n=this.elements,r=n.length,o=0;r>o;o++)t=n[o],e+=t*t;return this._magnitude=Math.sqrt(e)},lunr.Vector.prototype.dot=function(t){for(var e=this.elements,n=t.elements,r=e.length,o=0,i=0;r>i;i++)o+=e[i]*n[i];return o},lunr.Vector.prototype.similarity=function(t){return this.dot(t)/(this.magnitude()*t.magnitude())},lunr.Vector.prototype.toArray=function(){return this.elements},lunr.SortedSet=function(){this.length=0,this.elements=[]},lunr.SortedSet.load=function(t){var e=new this;return e.elements=t,e.length=t.length,e},lunr.SortedSet.prototype.add=function(){Array.prototype.slice.call(arguments).forEach(function(t){~this.indexOf(t)||this.elements.splice(this.locationFor(t),0,t)},this),this.length=this.elements.length},lunr.SortedSet.prototype.toArray=function(){return this.elements.slice()},lunr.SortedSet.prototype.map=function(t,e){return this.elements.map(t,e)},lunr.SortedSet.prototype.forEach=function(t,e){return this.elements.forEach(t,e)},lunr.SortedSet.prototype.indexOf=function(t,e,n){var e=e||0,n=n||this.elements.length,r=n-e,o=e+Math.floor(r/2),i=this.elements[o];return 1>=r?i===t?o:-1:t>i?this.indexOf(t,o,n):i>t?this.indexOf(t,e,o):i===t?o:void 0},lunr.SortedSet.prototype.locationFor=function(t,e,n){var e=e||0,n=n||this.elements.length,r=n-e,o=e+Math.floor(r/2),i=this.elements[o];if(1>=r){if(i>t)return o;if(t>i)return o+1}return t>i?this.locationFor(t,o,n):i>t?this.locationFor(t,e,o):void 0},lunr.SortedSet.prototype.intersect=function(t){for(var e=new lunr.SortedSet,n=0,r=0,o=this.length,i=t.length,s=this.elements,l=t.elements;!(n>o-1||r>i-1);)s[n]!==l[r]?s[n]l[r]&&r++:(e.add(s[n]),n++,r++);return e},lunr.SortedSet.prototype.clone=function(){var t=new lunr.SortedSet;return t.elements=this.toArray(),t.length=t.elements.length,t},lunr.SortedSet.prototype.union=function(t){var e,n,r;return this.length>=t.length?(e=this,n=t):(e=t,n=this),r=e.clone(),r.add.apply(r,n.toArray()),r},lunr.SortedSet.prototype.toJSON=function(){return this.toArray()},lunr.Index=function(){this._fields=[],this._ref="id",this.pipeline=new lunr.Pipeline,this.documentStore=new lunr.Store,this.tokenStore=new lunr.TokenStore,this.corpusTokens=new lunr.SortedSet,this.eventEmitter=new lunr.EventEmitter,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))},lunr.Index.prototype.on=function(){var t=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,t)},lunr.Index.prototype.off=function(t,e){return this.eventEmitter.removeListener(t,e)},lunr.Index.load=function(t){t.version!==lunr.version&&lunr.utils.warn("version mismatch: current "+lunr.version+" importing "+t.version);var e=new this;return e._fields=t.fields,e._ref=t.ref,e.documentStore=lunr.Store.load(t.documentStore),e.tokenStore=lunr.TokenStore.load(t.tokenStore),e.corpusTokens=lunr.SortedSet.load(t.corpusTokens),e.pipeline=lunr.Pipeline.load(t.pipeline),e},lunr.Index.prototype.field=function(t,e){var e=e||{},n={name:t,boost:e.boost||1};return this._fields.push(n),this},lunr.Index.prototype.ref=function(t){return this._ref=t,this},lunr.Index.prototype.add=function(t,e){var n={},r=new lunr.SortedSet,o=t[this._ref],e=void 0===e?!0:e;this._fields.forEach(function(e){var o=this.pipeline.run(lunr.tokenizer(t[e.name]));n[e.name]=o,lunr.SortedSet.prototype.add.apply(r,o)},this),this.documentStore.set(o,r),lunr.SortedSet.prototype.add.apply(this.corpusTokens,r.toArray());for(var i=0;r.length>i;i++){var s=r.elements[i],l=this._fields.reduce(function(t,e){var r=n[e.name].length;if(!r)return t;var o=n[e.name].filter(function(t){return t===s}).length;return t+o/r*e.boost},0);this.tokenStore.add(s,{ref:o,tf:l})}e&&this.eventEmitter.emit("add",t,this)},lunr.Index.prototype.remove=function(t,e){var n=t[this._ref],e=void 0===e?!0:e;if(this.documentStore.has(n)){var r=this.documentStore.get(n);this.documentStore.remove(n),r.forEach(function(t){this.tokenStore.remove(t,n)},this),e&&this.eventEmitter.emit("remove",t,this)}},lunr.Index.prototype.update=function(t,e){var e=void 0===e?!0:e;this.remove(t,!1),this.add(t,!1),e&&this.eventEmitter.emit("update",t,this)},lunr.Index.prototype.idf=function(t){if(this._idfCache[t])return this._idfCache[t];var e=this.tokenStore.count(t),n=1;return e>0&&(n=1+Math.log(this.tokenStore.length/e)),this._idfCache[t]=n},lunr.Index.prototype.search=function(t){var e=this.pipeline.run(lunr.tokenizer(t)),n=lunr.utils.zeroFillArray(this.corpusTokens.length),r=[],o=this._fields.reduce(function(t,e){return t+e.boost},0),i=e.some(function(t){return this.tokenStore.has(t)},this);if(!i)return[];e.forEach(function(t,e,i){var s=1/i.length*this._fields.length*o,l=this,u=this.tokenStore.expand(t).reduce(function(e,r){var o=l.corpusTokens.indexOf(r),i=l.idf(r),u=1,a=new lunr.SortedSet;if(r!==t){var h=Math.max(3,r.length-t.length);u=1/Math.log(h)}return o>-1&&(n[o]=s*i*u),Object.keys(l.tokenStore.get(r)).forEach(function(t){a.add(t)}),e.union(a)},new lunr.SortedSet);r.push(u)},this);var s=r.reduce(function(t,e){return t.intersect(e)}),l=new lunr.Vector(n);return s.map(function(t){return{ref:t,score:l.similarity(this.documentVector(t))}},this).sort(function(t,e){return e.score-t.score})},lunr.Index.prototype.documentVector=function(t){for(var e=this.documentStore.get(t),n=e.length,r=lunr.utils.zeroFillArray(this.corpusTokens.length),o=0;n>o;o++){var i=e.elements[o],s=this.tokenStore.get(i)[t].tf,l=this.idf(i);r[this.corpusTokens.indexOf(i)]=s*l}return new lunr.Vector(r)},lunr.Index.prototype.toJSON=function(){return{version:lunr.version,fields:this._fields,ref:this._ref,documentStore:this.documentStore.toJSON(),tokenStore:this.tokenStore.toJSON(),corpusTokens:this.corpusTokens.toJSON(),pipeline:this.pipeline.toJSON()}},lunr.Store=function(){this.store={},this.length=0},lunr.Store.load=function(t){var e=new this;return e.length=t.length,e.store=Object.keys(t.store).reduce(function(e,n){return e[n]=lunr.SortedSet.load(t.store[n]),e},{}),e},lunr.Store.prototype.set=function(t,e){this.store[t]=e,this.length=Object.keys(this.store).length},lunr.Store.prototype.get=function(t){return this.store[t]},lunr.Store.prototype.has=function(t){return t in this.store},lunr.Store.prototype.remove=function(t){this.has(t)&&(delete this.store[t],this.length--)},lunr.Store.prototype.toJSON=function(){return{store:this.store,length:this.length}},lunr.stemmer=function(){var t={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},e={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},n="[^aeiou]",r="[aeiouy]",o=n+"[^aeiouy]*",i=r+"[aeiou]*",s="^("+o+")?"+i+o,l="^("+o+")?"+i+o+"("+i+")?$",u="^("+o+")?"+i+o+i+o,a="^("+o+")?"+r;return function(n){var i,h,c,p,f,d,v;if(3>n.length)return n;if(c=n.substr(0,1),"y"==c&&(n=c.toUpperCase()+n.substr(1)),p=/^(.+?)(ss|i)es$/,f=/^(.+?)([^s])s$/,p.test(n)?n=n.replace(p,"$1$2"):f.test(n)&&(n=n.replace(f,"$1$2")),p=/^(.+?)eed$/,f=/^(.+?)(ed|ing)$/,p.test(n)){var m=p.exec(n);p=RegExp(s),p.test(m[1])&&(p=/.$/,n=n.replace(p,""))}else if(f.test(n)){var m=f.exec(n);i=m[1],f=RegExp(a),f.test(i)&&(n=i,f=/(at|bl|iz)$/,d=RegExp("([^aeiouylsz])\\1$"),v=RegExp("^"+o+r+"[^aeiouwxy]$"),f.test(n)?n+="e":d.test(n)?(p=/.$/,n=n.replace(p,"")):v.test(n)&&(n+="e"))}if(p=/^(.+?)y$/,p.test(n)){var m=p.exec(n);i=m[1],p=RegExp(a),p.test(i)&&(n=i+"i")}if(p=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,p.test(n)){var m=p.exec(n);i=m[1],h=m[2],p=RegExp(s),p.test(i)&&(n=i+t[h])}if(p=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,p.test(n)){var m=p.exec(n);i=m[1],h=m[2],p=RegExp(s),p.test(i)&&(n=i+e[h])}if(p=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,f=/^(.+?)(s|t)(ion)$/,p.test(n)){var m=p.exec(n);i=m[1],p=RegExp(u),p.test(i)&&(n=i)}else if(f.test(n)){var m=f.exec(n);i=m[1]+m[2],f=RegExp(u),f.test(i)&&(n=i)}if(p=/^(.+?)e$/,p.test(n)){var m=p.exec(n);i=m[1],p=RegExp(u),f=RegExp(l),d=RegExp("^"+o+r+"[^aeiouwxy]$"),(p.test(i)||f.test(i)&&!d.test(i))&&(n=i)}return p=/ll$/,f=RegExp(u),p.test(n)&&f.test(n)&&(p=/.$/,n=n.replace(p,"")),"y"==c&&(n=c.toLowerCase()+n.substr(1)),n}}(),lunr.Pipeline.registerFunction(lunr.stemmer,"stemmer"),lunr.stopWordFilter=function(t){return-1===lunr.stopWordFilter.stopWords.indexOf(t)?t:void 0},lunr.stopWordFilter.stopWords=new lunr.SortedSet,lunr.stopWordFilter.stopWords.length=119,lunr.stopWordFilter.stopWords.elements=["","a","able","about","across","after","all","almost","also","am","among","an","and","any","are","as","at","be","because","been","but","by","can","cannot","could","dear","did","do","does","either","else","ever","every","for","from","get","got","had","has","have","he","her","hers","him","his","how","however","i","if","in","into","is","it","its","just","least","let","like","likely","may","me","might","most","must","my","neither","no","nor","not","of","off","often","on","only","or","other","our","own","rather","said","say","says","she","should","since","so","some","than","that","the","their","them","then","there","these","they","this","tis","to","too","twas","us","wants","was","we","were","what","when","where","which","while","who","whom","why","will","with","would","yet","you","your"],lunr.Pipeline.registerFunction(lunr.stopWordFilter,"stopWordFilter"),lunr.TokenStore=function(){this.root={docs:{}},this.length=0},lunr.TokenStore.load=function(t){var e=new this;return e.root=t.root,e.length=t.length,e},lunr.TokenStore.prototype.add=function(t,e,n){var n=n||this.root,r=t[0],o=t.slice(1);return r in n||(n[r]={docs:{}}),0===o.length?(n[r].docs[e.ref]=e,void(this.length+=1)):this.add(o,e,n[r])},lunr.TokenStore.prototype.has=function(t){if(!t)return!1;for(var e=this.root,n=0;t.length>n;n++){if(!e[t[n]])return!1;e=e[t[n]]}return!0},lunr.TokenStore.prototype.getNode=function(t){if(!t)return{};for(var e=this.root,n=0;t.length>n;n++){if(!e[t[n]])return{};e=e[t[n]]}return e},lunr.TokenStore.prototype.get=function(t,e){return this.getNode(t,e).docs||{}},lunr.TokenStore.prototype.count=function(t,e){return Object.keys(this.get(t,e)).length},lunr.TokenStore.prototype.remove=function(t,e){if(t){for(var n=this.root,r=0;t.length>r;r++){if(!(t[r]in n))return;n=n[t[r]]}delete n.docs[e]}},lunr.TokenStore.prototype.expand=function(t,e){var n=this.getNode(t),r=n.docs||{},e=e||[];return Object.keys(r).length&&e.push(t),Object.keys(n).forEach(function(n){"docs"!==n&&e.concat(this.expand(t+n,e))},this),e},lunr.TokenStore.prototype.toJSON=function(){return{root:this.root,length:this.length}},$.fn.ghostHunter=function(options){var opts=$.extend({},$.fn.ghostHunter.defaults,options);return opts.results?(pluginMethods.init(this,opts),pluginMethods):void 0},$.fn.ghostHunter.defaults={results:!1,rss:"/rss",onKeyUp:!1,result_template:"

      {{title}}

      {{pubDate}}

      ",info_template:"

      Number of posts found: {{amount}}

      ",displaySearchInfo:!0,zeroResultsInfo:!0,before:!1,onComplete:!1};var pluginMethods={isInit:!1,init:function(target,opts){var that=this;this.target=target,this.rss=opts.rss,this.results=opts.results,this.blogData=[],this.result_template=opts.result_template,this.info_template=opts.info_template,this.zeroResultsInfo=opts.zeroResultsInfo,this.displaySearchInfo=opts.displaySearchInfo,this.before=opts.before,this.onComplete=opts.onComplete,this.index=lunr(function(){this.field("title",{boost:10}),this.field("description"),this.field("link"),this.field("category"),this.field("pubDate"),this.ref("id")}),target.focus(function(){that.loadRSS()}),target.closest("form").submit(function(e){e.preventDefault(),that.find(target.val())}),opts.onKeyUp&&(that.loadRSS(),target.keyup(function(){that.find(target.val())}))},loadRSS:function(){if(this.isInit)return!1;var index=this.index,rssURL=this.rss,blogData=this.blogData;$.get(rssURL,function(data){for(var posts=$(data).find("item"),i=0;posts&&i0)&&this.displaySearchInfo&&results.append(this.format(this.info_template,{amount:searchResult.length}));for(var i=0;i span"}),$(".content").fitVids()),Uno.is("page","error")?$("#panic-button").click(function(){var s;return s=document.createElement("script"),s.setAttribute("src","https://nthitz.github.io/turndownforwhatjs/tdfw.js"),document.body.appendChild(s)}):void 0})}.call(this),function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X=[].slice,Y={}.hasOwnProperty,Z=function(a,b){function c(){this.constructor=a}for(var d in b)Y.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a},$=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1};for(u={catchupTime:100,initialRate:.03,minTime:250,ghostTime:100,maxProgressPerFrame:20,easeFactor:1.25,startOnPageLoad:!0,restartOnPushState:!0,restartOnRequestAfter:500,target:"body",elements:{checkInterval:100,selectors:["body"]},eventLag:{minSamples:10,sampleCount:3,lagThreshold:3},ajax:{trackMethods:["GET"],trackWebSockets:!0,ignoreURLs:[]}},C=function(){var a;return null!=(a="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance.now():void 0)?a:+new Date},E=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,t=window.cancelAnimationFrame||window.mozCancelAnimationFrame,null==E&&(E=function(a){return setTimeout(a,50)},t=function(a){return clearTimeout(a)}),G=function(a){var b,c;return b=C(),(c=function(){var d;return d=C()-b,d>=33?(b=C(),a(d,function(){return E(c)})):setTimeout(c,33-d)})()},F=function(){var a,b,c;return c=arguments[0],b=arguments[1],a=3<=arguments.length?X.call(arguments,2):[],"function"==typeof c[b]?c[b].apply(c,a):c[b]},v=function(){var a,b,c,d,e,f,g;for(b=arguments[0],d=2<=arguments.length?X.call(arguments,1):[],f=0,g=d.length;g>f;f++)if(c=d[f])for(a in c)Y.call(c,a)&&(e=c[a],null!=b[a]&&"object"==typeof b[a]&&null!=e&&"object"==typeof e?v(b[a],e):b[a]=e);return b},q=function(a){var b,c,d,e,f;for(c=b=0,e=0,f=a.length;f>e;e++)d=a[e],c+=Math.abs(d),b++;return c/b},x=function(a,b){var c,d,e;if(null==a&&(a="options"),null==b&&(b=!0),e=document.querySelector("[data-pace-"+a+"]")){if(c=e.getAttribute("data-pace-"+a),!b)return c;try{return JSON.parse(c)}catch(f){return d=f,"undefined"!=typeof console&&null!==console?console.error("Error parsing inline pace options",d):void 0}}},g=function(){function a(){}return a.prototype.on=function(a,b,c,d){var e;return null==d&&(d=!1),null==this.bindings&&(this.bindings={}),null==(e=this.bindings)[a]&&(e[a]=[]),this.bindings[a].push({handler:b,ctx:c,once:d})},a.prototype.once=function(a,b,c){return this.on(a,b,c,!0)},a.prototype.off=function(a,b){var c,d,e;if(null!=(null!=(d=this.bindings)?d[a]:void 0)){if(null==b)return delete this.bindings[a];for(c=0,e=[];cQ;Q++)K=U[Q],D[K]===!0&&(D[K]=u[K]);i=function(a){function b(){return V=b.__super__.constructor.apply(this,arguments)}return Z(b,a),b}(Error),b=function(){function a(){this.progress=0}return a.prototype.getElement=function(){var a;if(null==this.el){if(a=document.querySelector(D.target),!a)throw new i;this.el=document.createElement("div"),this.el.className="pace pace-active",document.body.className=document.body.className.replace(/pace-done/g,""),document.body.className+=" pace-running",this.el.innerHTML='
      \n
      \n
      \n
      ',null!=a.firstChild?a.insertBefore(this.el,a.firstChild):a.appendChild(this.el)}return this.el},a.prototype.finish=function(){var a;return a=this.getElement(),a.className=a.className.replace("pace-active",""),a.className+=" pace-inactive",document.body.className=document.body.className.replace("pace-running",""),document.body.className+=" pace-done"},a.prototype.update=function(a){return this.progress=a,this.render()},a.prototype.destroy=function(){try{this.getElement().parentNode.removeChild(this.getElement())}catch(a){i=a}return this.el=void 0},a.prototype.render=function(){var a,b,c,d,e,f,g;if(null==document.querySelector(D.target))return!1;for(a=this.getElement(),d="translate3d("+this.progress+"%, 0, 0)",g=["webkitTransform","msTransform","transform"],e=0,f=g.length;f>e;e++)b=g[e],a.children[0].style[b]=d;return(!this.lastRenderedProgress||this.lastRenderedProgress|0!==this.progress|0)&&(a.children[0].setAttribute("data-progress-text",""+(0|this.progress)+"%"),this.progress>=100?c="99":(c=this.progress<10?"0":"",c+=0|this.progress),a.children[0].setAttribute("data-progress",""+c)),this.lastRenderedProgress=this.progress},a.prototype.done=function(){return this.progress>=100},a}(),h=function(){function a(){this.bindings={}}return a.prototype.trigger=function(a,b){var c,d,e,f,g;if(null!=this.bindings[a]){for(f=this.bindings[a],g=[],d=0,e=f.length;e>d;d++)c=f[d],g.push(c.call(this,b));return g}},a.prototype.on=function(a,b){var c;return null==(c=this.bindings)[a]&&(c[a]=[]),this.bindings[a].push(b)},a}(),P=window.XMLHttpRequest,O=window.XDomainRequest,N=window.WebSocket,w=function(a,b){var c,d,e;e=[];for(d in b.prototype)try{e.push(null==a[d]&&"function"!=typeof b[d]?"function"==typeof Object.defineProperty?Object.defineProperty(a,d,{get:function(){return b.prototype[d]},configurable:!0,enumerable:!0}):a[d]=b.prototype[d]:void 0)}catch(f){c=f}return e},A=[],j.ignore=function(){var a,b,c;return b=arguments[0],a=2<=arguments.length?X.call(arguments,1):[],A.unshift("ignore"),c=b.apply(null,a),A.shift(),c},j.track=function(){var a,b,c;return b=arguments[0],a=2<=arguments.length?X.call(arguments,1):[],A.unshift("track"),c=b.apply(null,a),A.shift(),c},J=function(a){var b;if(null==a&&(a="GET"),"track"===A[0])return"force";if(!A.length&&D.ajax){if("socket"===a&&D.ajax.trackWebSockets)return!0;if(b=a.toUpperCase(),$.call(D.ajax.trackMethods,b)>=0)return!0}return!1},k=function(a){function b(){var a,c=this;b.__super__.constructor.apply(this,arguments),a=function(a){var b;return b=a.open,a.open=function(d,e){return J(d)&&c.trigger("request",{type:d,url:e,request:a}),b.apply(a,arguments)}},window.XMLHttpRequest=function(b){var c;return c=new P(b),a(c),c};try{w(window.XMLHttpRequest,P)}catch(d){}if(null!=O){window.XDomainRequest=function(){var b;return b=new O,a(b),b};try{w(window.XDomainRequest,O)}catch(d){}}if(null!=N&&D.ajax.trackWebSockets){window.WebSocket=function(a,b){var d;return d=null!=b?new N(a,b):new N(a),J("socket")&&c.trigger("request",{type:"socket",url:a,protocols:b,request:d}),d};try{w(window.WebSocket,N)}catch(d){}}}return Z(b,a),b}(h),R=null,y=function(){return null==R&&(R=new k),R},I=function(a){var b,c,d,e;for(e=D.ajax.ignoreURLs,c=0,d=e.length;d>c;c++)if(b=e[c],"string"==typeof b){if(-1!==a.indexOf(b))return!0}else if(b.test(a))return!0;return!1},y().on("request",function(b){var c,d,e,f,g;return f=b.type,e=b.request,g=b.url,I(g)?void 0:j.running||D.restartOnRequestAfter===!1&&"force"!==J(f)?void 0:(d=arguments,c=D.restartOnRequestAfter||0,"boolean"==typeof c&&(c=0),setTimeout(function(){var b,c,g,h,i,k;if(b="socket"===f?e.readyState<2:0<(h=e.readyState)&&4>h){for(j.restart(),i=j.sources,k=[],c=0,g=i.length;g>c;c++){if(K=i[c],K instanceof a){K.watch.apply(K,d);break}k.push(void 0)}return k}},c))}),a=function(){function a(){var a=this;this.elements=[],y().on("request",function(){return a.watch.apply(a,arguments)})}return a.prototype.watch=function(a){var b,c,d,e;return d=a.type,b=a.request,e=a.url,I(e)?void 0:(c="socket"===d?new n(b):new o(b),this.elements.push(c))},a}(),o=function(){function a(a){var b,c,d,e,f,g,h=this;if(this.progress=0,null!=window.ProgressEvent)for(c=null,a.addEventListener("progress",function(a){return h.progress=a.lengthComputable?100*a.loaded/a.total:h.progress+(100-h.progress)/2},!1),g=["load","abort","timeout","error"],d=0,e=g.length;e>d;d++)b=g[d],a.addEventListener(b,function(){return h.progress=100},!1);else f=a.onreadystatechange,a.onreadystatechange=function(){var b;return 0===(b=a.readyState)||4===b?h.progress=100:3===a.readyState&&(h.progress=50),"function"==typeof f?f.apply(null,arguments):void 0}}return a}(),n=function(){function a(a){var b,c,d,e,f=this;for(this.progress=0,e=["error","open"],c=0,d=e.length;d>c;c++)b=e[c],a.addEventListener(b,function(){return f.progress=100},!1)}return a}(),d=function(){function a(a){var b,c,d,f;for(null==a&&(a={}),this.elements=[],null==a.selectors&&(a.selectors=[]),f=a.selectors,c=0,d=f.length;d>c;c++)b=f[c],this.elements.push(new e(b))}return a}(),e=function(){function a(a){this.selector=a,this.progress=0,this.check()}return a.prototype.check=function(){var a=this;return document.querySelector(this.selector)?this.done():setTimeout(function(){return a.check()},D.elements.checkInterval)},a.prototype.done=function(){return this.progress=100},a}(),c=function(){function a(){var a,b,c=this;this.progress=null!=(b=this.states[document.readyState])?b:100,a=document.onreadystatechange,document.onreadystatechange=function(){return null!=c.states[document.readyState]&&(c.progress=c.states[document.readyState]),"function"==typeof a?a.apply(null,arguments):void 0}}return a.prototype.states={loading:0,interactive:50,complete:100},a}(),f=function(){function a(){var a,b,c,d,e,f=this;this.progress=0,a=0,e=[],d=0,c=C(),b=setInterval(function(){var g;return g=C()-c-50,c=C(),e.push(g),e.length>D.eventLag.sampleCount&&e.shift(),a=q(e),++d>=D.eventLag.minSamples&&a=100&&(this.done=!0),b===this.last?this.sinceLastUpdate+=a:(this.sinceLastUpdate&&(this.rate=(b-this.last)/this.sinceLastUpdate),this.catchup=(b-this.progress)/D.catchupTime,this.sinceLastUpdate=0,this.last=b),b>this.progress&&(this.progress+=this.catchup*a),c=1-Math.pow(this.progress/100,D.easeFactor),this.progress+=c*this.rate*a,this.progress=Math.min(this.lastProgress+D.maxProgressPerFrame,this.progress),this.progress=Math.max(0,this.progress),this.progress=Math.min(100,this.progress),this.lastProgress=this.progress,this.progress},a}(),L=null,H=null,r=null,M=null,p=null,s=null,j.running=!1,z=function(){return D.restartOnPushState?j.restart():void 0},null!=window.history.pushState&&(T=window.history.pushState,window.history.pushState=function(){return z(),T.apply(window.history,arguments)}),null!=window.history.replaceState&&(W=window.history.replaceState,window.history.replaceState=function(){return z(),W.apply(window.history,arguments)}),l={ajax:a,elements:d,document:c,eventLag:f},(B=function(){var a,c,d,e,f,g,h,i;for(j.sources=L=[],g=["ajax","elements","document","eventLag"],c=0,e=g.length;e>c;c++)a=g[c],D[a]!==!1&&L.push(new l[a](D[a]));for(i=null!=(h=D.extraSources)?h:[],d=0,f=i.length;f>d;d++)K=i[d],L.push(new K(D));return j.bar=r=new b,H=[],M=new m})(),j.stop=function(){return j.trigger("stop"),j.running=!1,r.destroy(),s=!0,null!=p&&("function"==typeof t&&t(p),p=null),B()},j.restart=function(){return j.trigger("restart"),j.stop(),j.start()},j.go=function(){var a;return j.running=!0,r.render(),a=C(),s=!1,p=G(function(b,c){var d,e,f,g,h,i,k,l,n,o,p,q,t,u,v,w;for(l=100-r.progress,e=p=0,f=!0,i=q=0,u=L.length;u>q;i=++q)for(K=L[i],o=null!=H[i]?H[i]:H[i]=[],h=null!=(w=K.elements)?w:[K],k=t=0,v=h.length;v>t;k=++t)g=h[k],n=null!=o[k]?o[k]:o[k]=new m(g),f&=n.done,n.done||(e++,p+=n.tick(b));return d=p/e,r.update(M.tick(b,d)),r.done()||f||s?(r.update(100),j.trigger("done"),setTimeout(function(){return r.finish(),j.running=!1,j.trigger("hide")},Math.max(D.ghostTime,Math.max(D.minTime-(C()-a),0)))):c()})},j.start=function(a){v(D,a),j.running=!0;try{r.render()}catch(b){i=b}return document.querySelector(".pace")?(j.trigger("start"),j.go()):setTimeout(j.start,50)},"function"==typeof define&&define.amd?define(["pace"],function(){return j}):"object"==typeof exports?module.exports=j:D.startOnPageLoad&&j.start()}.call(this),function(){"use strict";$(function(){var _animate,_expand,isOpen;return isOpen="#open"===location.hash,_animate=function(){return setTimeout(function(){return $(".cover").addClass("animated")},1e3)},_expand=function(options){return $("main, .cover, .links > li, html").toggleClass("expanded"),Uno.search.form(options.form)},$("#menu-button").click(function(){return $(".cover, main, #menu-button, html").toggleClass("expanded")}),$(".nav-blog > a, #avatar-link").click(function(event){return Uno.is("page","home")?(event.preventDefault(),location.hash=""===location.hash?"#open":"",Uno.is("device","desktop")?_expand({form:"toggle"}):$("#menu-button").trigger("click")):void 0}),Uno.is("device","desktop")&&Uno.is("page","home")&&(_animate(),!isOpen)?_expand({form:"hide"}):void 0})}.call(this),function($){"use strict";$.fn.fitVids=function(options){var settings={customSelector:null};if(!document.getElementById("fit-vids-style")){var head=document.head||document.getElementsByTagName("head")[0],css=".fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}",div=document.createElement("div");div.innerHTML='

      x

      ",head.appendChild(div.childNodes[1])}return options&&$.extend(settings,options),this.each(function(){var selectors=["iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.html']","object","embed"];settings.customSelector&&selectors.push(settings.customSelector);var $allVideos=$(this).find(selectors.join(","));$allVideos=$allVideos.not("object object"),$allVideos.each(function(){var $this=$(this);if(!("embed"===this.tagName.toLowerCase()&&$this.parent("object").length||$this.parent(".fluid-width-video-wrapper").length)){var height="object"===this.tagName.toLowerCase()||$this.attr("height")&&!isNaN(parseInt($this.attr("height"),10))?parseInt($this.attr("height"),10):$this.height(),width=isNaN(parseInt($this.attr("width"),10))?$this.width():parseInt($this.attr("width"),10),aspectRatio=height/width;if(!$this.attr("id")){var videoID="fitvid"+Math.floor(999999*Math.random());$this.attr("id",videoID)}$this.wrap('
      ').parent(".fluid-width-video-wrapper").css("padding-top",100*aspectRatio+"%"),$this.removeAttr("height").removeAttr("width")}})})}}(window.jQuery||window.Zepto),function(){"use strict";$(function(){var hideSearch,showSearch;return showSearch=function(){return $(".content").hide(),$("#search-results").addClass("active")},hideSearch=function(){return $(".content").show(),$("#search-results").removeClass("active")},$("#search-field").ghostHunter({results:"#search-results",zeroResultsInfo:!1,onKeyUp:!0,displaySearchInfo:!0,result_template:"\n

      {{title}}

      \n

      {{pubDate}}

      \n
      ",onComplete:function(query){return query.length>0?showSearch():hideSearch()}})})}.call(this),function(a){a.fn.readingTime=function(o){if(!this.length)return this;var g={readingTimeTarget:".eta",wordCountTarget:null,wordsPerMinute:270,round:!0,lang:"en",remotePath:null,remoteTarget:null},h=this,c=a(this);h.settings=a.extend({},g,o);var e=h.settings.readingTimeTarget,d=h.settings.wordCountTarget,j=h.settings.wordsPerMinute,m=h.settings.round,b=h.settings.lang,f=h.settings.remotePath,l=h.settings.remoteTarget;if("fr"==b)var k="Moins d'une minute",n="min";else if("de"==b)var k="Weniger als eine Minute",n="min";else if("es"==b)var k="Menos de un minuto",n="min";else var k="Less than a minute",n="min";var i=function(v){var s=v.split(" ").length,r=j/60,p=s/r,u=Math.round(p/60),t=Math.round(p-60*u);if(m===!0)u>0?c.find(e).text(u+" "+n):c.find(e).text(k);else{var q=u+":"+t;c.find(e).text(q)}""!==d&&void 0!==d&&c.find(d).text(s)};c.each(function(){null!=f&&null!=l?a.get(f,function(p){i(a(p).children().text())}):i(c.text())})}}(jQuery); \ No newline at end of file +!function(){"use strict";function FastClick(layer,options){function bind(method,context){return function(){return method.apply(context,arguments)}}var oldOnClick;if(options=options||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=options.touchBoundary||10,this.layer=layer,this.tapDelay=options.tapDelay||200,this.tapTimeout=options.tapTimeout||700,!FastClick.notNeeded(layer)){for(var methods=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],context=this,i=0,l=methods.length;l>i;i++)context[methods[i]]=bind(context[methods[i]],context);deviceIsAndroid&&(layer.addEventListener("mouseover",this.onMouse,!0),layer.addEventListener("mousedown",this.onMouse,!0),layer.addEventListener("mouseup",this.onMouse,!0)),layer.addEventListener("click",this.onClick,!0),layer.addEventListener("touchstart",this.onTouchStart,!1),layer.addEventListener("touchmove",this.onTouchMove,!1),layer.addEventListener("touchend",this.onTouchEnd,!1),layer.addEventListener("touchcancel",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(layer.removeEventListener=function(type,callback,capture){var rmv=Node.prototype.removeEventListener;"click"===type?rmv.call(layer,type,callback.hijacked||callback,capture):rmv.call(layer,type,callback,capture)},layer.addEventListener=function(type,callback,capture){var adv=Node.prototype.addEventListener;"click"===type?adv.call(layer,type,callback.hijacked||(callback.hijacked=function(event){event.propagationStopped||callback(event)}),capture):adv.call(layer,type,callback,capture)}),"function"==typeof layer.onclick&&(oldOnClick=layer.onclick,layer.addEventListener("click",function(event){oldOnClick(event)},!1),layer.onclick=null)}}var deviceIsWindowsPhone=navigator.userAgent.indexOf("Windows Phone")>=0,deviceIsAndroid=navigator.userAgent.indexOf("Android")>0&&!deviceIsWindowsPhone,deviceIsIOS=/iP(ad|hone|od)/.test(navigator.userAgent)&&!deviceIsWindowsPhone,deviceIsIOS4=deviceIsIOS&&/OS 4_\d(_\d)?/.test(navigator.userAgent),deviceIsIOSWithBadTarget=deviceIsIOS&&/OS [6-7]_\d/.test(navigator.userAgent),deviceIsBlackBerry10=navigator.userAgent.indexOf("BB10")>0;FastClick.prototype.needsClick=function(target){switch(target.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(target.disabled)return!0;break;case"input":if(deviceIsIOS&&"file"===target.type||target.disabled)return!0;break;case"label":case"iframe":case"video":return!0}return/\bneedsclick\b/.test(target.className)},FastClick.prototype.needsFocus=function(target){switch(target.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!deviceIsAndroid;case"input":switch(target.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!target.disabled&&!target.readOnly;default:return/\bneedsfocus\b/.test(target.className)}},FastClick.prototype.sendClick=function(targetElement,event){var clickEvent,touch;document.activeElement&&document.activeElement!==targetElement&&document.activeElement.blur(),touch=event.changedTouches[0],clickEvent=document.createEvent("MouseEvents"),clickEvent.initMouseEvent(this.determineEventType(targetElement),!0,!0,window,1,touch.screenX,touch.screenY,touch.clientX,touch.clientY,!1,!1,!1,!1,0,null),clickEvent.forwardedTouchEvent=!0,targetElement.dispatchEvent(clickEvent)},FastClick.prototype.determineEventType=function(targetElement){return deviceIsAndroid&&"select"===targetElement.tagName.toLowerCase()?"mousedown":"click"},FastClick.prototype.focus=function(targetElement){var length;deviceIsIOS&&targetElement.setSelectionRange&&0!==targetElement.type.indexOf("date")&&"time"!==targetElement.type&&"month"!==targetElement.type?(length=targetElement.value.length,targetElement.setSelectionRange(length,length)):targetElement.focus()},FastClick.prototype.updateScrollParent=function(targetElement){var scrollParent,parentElement;if(scrollParent=targetElement.fastClickScrollParent,!scrollParent||!scrollParent.contains(targetElement)){parentElement=targetElement;do{if(parentElement.scrollHeight>parentElement.offsetHeight){scrollParent=parentElement,targetElement.fastClickScrollParent=parentElement;break}parentElement=parentElement.parentElement}while(parentElement)}scrollParent&&(scrollParent.fastClickLastScrollTop=scrollParent.scrollTop)},FastClick.prototype.getTargetElementFromEventTarget=function(eventTarget){return eventTarget.nodeType===Node.TEXT_NODE?eventTarget.parentNode:eventTarget},FastClick.prototype.onTouchStart=function(event){var targetElement,touch,selection;if(event.targetTouches.length>1)return!0;if(targetElement=this.getTargetElementFromEventTarget(event.target),touch=event.targetTouches[0],deviceIsIOS){if(selection=window.getSelection(),selection.rangeCount&&!selection.isCollapsed)return!0;if(!deviceIsIOS4){if(touch.identifier&&touch.identifier===this.lastTouchIdentifier)return event.preventDefault(),!1;this.lastTouchIdentifier=touch.identifier,this.updateScrollParent(targetElement)}}return this.trackingClick=!0,this.trackingClickStart=event.timeStamp,this.targetElement=targetElement,this.touchStartX=touch.pageX,this.touchStartY=touch.pageY,event.timeStamp-this.lastClickTimeboundary||Math.abs(touch.pageY-this.touchStartY)>boundary?!0:!1},FastClick.prototype.onTouchMove=function(event){return this.trackingClick?((this.targetElement!==this.getTargetElementFromEventTarget(event.target)||this.touchHasMoved(event))&&(this.trackingClick=!1,this.targetElement=null),!0):!0},FastClick.prototype.findControl=function(labelElement){return void 0!==labelElement.control?labelElement.control:labelElement.htmlFor?document.getElementById(labelElement.htmlFor):labelElement.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},FastClick.prototype.onTouchEnd=function(event){var forElement,trackingClickStart,targetTagName,scrollParent,touch,targetElement=this.targetElement;if(!this.trackingClick)return!0;if(event.timeStamp-this.lastClickTimethis.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=event.timeStamp,trackingClickStart=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,deviceIsIOSWithBadTarget&&(touch=event.changedTouches[0],targetElement=document.elementFromPoint(touch.pageX-window.pageXOffset,touch.pageY-window.pageYOffset)||targetElement,targetElement.fastClickScrollParent=this.targetElement.fastClickScrollParent),targetTagName=targetElement.tagName.toLowerCase(),"label"===targetTagName){if(forElement=this.findControl(targetElement)){if(this.focus(targetElement),deviceIsAndroid)return!1;targetElement=forElement}}else if(this.needsFocus(targetElement))return event.timeStamp-trackingClickStart>100||deviceIsIOS&&window.top!==window&&"input"===targetTagName?(this.targetElement=null,!1):(this.focus(targetElement),this.sendClick(targetElement,event),deviceIsIOS&&"select"===targetTagName||(this.targetElement=null,event.preventDefault()),!1);return deviceIsIOS&&!deviceIsIOS4&&(scrollParent=targetElement.fastClickScrollParent,scrollParent&&scrollParent.fastClickLastScrollTop!==scrollParent.scrollTop)?!0:(this.needsClick(targetElement)||(event.preventDefault(),this.sendClick(targetElement,event)),!1)},FastClick.prototype.onTouchCancel=function(){this.trackingClick=!1,this.targetElement=null},FastClick.prototype.onMouse=function(event){return this.targetElement?event.forwardedTouchEvent?!0:event.cancelable&&(!this.needsClick(this.targetElement)||this.cancelNextClick)?(event.stopImmediatePropagation?event.stopImmediatePropagation():event.propagationStopped=!0,event.stopPropagation(),event.preventDefault(),!1):!0:!0},FastClick.prototype.onClick=function(event){var permitted;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):"submit"===event.target.type&&0===event.detail?!0:(permitted=this.onMouse(event),permitted||(this.targetElement=null),permitted)},FastClick.prototype.destroy=function(){var layer=this.layer;deviceIsAndroid&&(layer.removeEventListener("mouseover",this.onMouse,!0),layer.removeEventListener("mousedown",this.onMouse,!0),layer.removeEventListener("mouseup",this.onMouse,!0)),layer.removeEventListener("click",this.onClick,!0),layer.removeEventListener("touchstart",this.onTouchStart,!1),layer.removeEventListener("touchmove",this.onTouchMove,!1),layer.removeEventListener("touchend",this.onTouchEnd,!1),layer.removeEventListener("touchcancel",this.onTouchCancel,!1)},FastClick.notNeeded=function(layer){var metaViewport,chromeVersion,blackberryVersion,firefoxVersion;if("undefined"==typeof window.ontouchstart)return!0;if(chromeVersion=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]){if(!deviceIsAndroid)return!0;if(metaViewport=document.querySelector("meta[name=viewport]")){if(-1!==metaViewport.content.indexOf("user-scalable=no"))return!0;if(chromeVersion>31&&document.documentElement.scrollWidth<=window.outerWidth)return!0}}if(deviceIsBlackBerry10&&(blackberryVersion=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/),blackberryVersion[1]>=10&&blackberryVersion[2]>=3&&(metaViewport=document.querySelector("meta[name=viewport]")))){if(-1!==metaViewport.content.indexOf("user-scalable=no"))return!0;if(document.documentElement.scrollWidth<=window.outerWidth)return!0}return"none"===layer.style.msTouchAction||"manipulation"===layer.style.touchAction?!0:(firefoxVersion=+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1],firefoxVersion>=27&&(metaViewport=document.querySelector("meta[name=viewport]"),metaViewport&&(-1!==metaViewport.content.indexOf("user-scalable=no")||document.documentElement.scrollWidth<=window.outerWidth))?!0:"none"===layer.style.touchAction||"manipulation"===layer.style.touchAction?!0:!1)},FastClick.attach=function(layer,options){return new FastClick(layer,options)},"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return FastClick}):"undefined"!=typeof module&&module.exports?(module.exports=FastClick.attach,module.exports.FastClick=FastClick):window.FastClick=FastClick}(),function(){"use strict";$(function(){var Uno;return window.Uno=Uno={version:"2.5.7",search:{container:function(){return $("#results")},form:function(action){return $("#search-container")[action]()}},loadingBar:function(action){return $(".pace")[action]()},context:function(){var className;return className=document.body.className.split(" ")[0].split("-")[0],""===className?"error":className},app:function(){return document.body}(),is:function(property,value){return this.app.dataset[property]===value},readTime:function(){var DateInDays,selectorDate;return DateInDays=function(selector,cb){return $(selector).each(function(){var postDate,postDateInDays,postDateNow;return postDate=$(this).html(),postDateNow=new Date(Date.now()),postDateInDays=Math.floor((postDateNow-new Date(postDate))/864e5),0===postDateInDays?postDateInDays="today":1===postDateInDays?postDateInDays="yesterday":postDateInDays+=" days ago",$(this).html(postDateInDays),$(this).mouseover(function(){return $(this).html(postDate)}),$(this).mouseout(function(){return $(this).html(postDateInDays)})})},selectorDate=Uno.is("home")?"#posts-list time":".post.meta > time",DateInDays(selectorDate)},device:function(){var h,w;return w=window.innerWidth,h=window.innerHeight,480>=w?"mobile":1024>=w?"tablet":"desktop"},parseEmojis:function(){return twemoji.parse(document.body,{folder:"svg",ext:".svg",callback:function(icon,options,variant){switch(icon){case"a9":case"ae":case"2122":return!1}return"".concat(options.base,options.size,"/",icon,options.ext)}})}}})}.call(this),function($){var lunr=function(t){var e=new lunr.Index;return e.pipeline.add(lunr.stopWordFilter,lunr.stemmer),t&&t.call(e,e),e};lunr.version="0.4.3","undefined"!=typeof module&&(module.exports=lunr),lunr.utils={},lunr.utils.warn=function(t){return function(e){t.console&&console.warn&&console.warn(e)}}(this),lunr.utils.zeroFillArray=function(){var t=[0];return function(e){for(;e>t.length;)t=t.concat(t);return t.slice(0,e)}}(),lunr.EventEmitter=function(){this.events={}},lunr.EventEmitter.prototype.addListener=function(){var t=Array.prototype.slice.call(arguments),e=t.pop(),n=t;if("function"!=typeof e)throw new TypeError("last argument must be a function");n.forEach(function(t){this.hasHandler(t)||(this.events[t]=[]),this.events[t].push(e)},this)},lunr.EventEmitter.prototype.removeListener=function(t,e){if(this.hasHandler(t)){var n=this.events[t].indexOf(e);this.events[t].splice(n,1),this.events[t].length||delete this.events[t]}},lunr.EventEmitter.prototype.emit=function(t){if(this.hasHandler(t)){var e=Array.prototype.slice.call(arguments,1);this.events[t].forEach(function(t){t.apply(void 0,e)})}},lunr.EventEmitter.prototype.hasHandler=function(t){return t in this.events},lunr.tokenizer=function(t){if(!arguments.length||null==t||void 0==t)return[];if(Array.isArray(t))return t.map(function(t){return t.toLowerCase()});for(var e=(""+t).replace(/^\s+/,""),n=e.length-1;n>=0;n--)if(/\S/.test(e.charAt(n))){e=e.substring(0,n+1);break}return e.split(/\s+/).map(function(t){return t.replace(/^\W+/,"").replace(/\W+$/,"").toLowerCase()})},lunr.Pipeline=function(){this._stack=[]},lunr.Pipeline.registeredFunctions={},lunr.Pipeline.registerFunction=function(t,e){e in this.registeredFunctions&&lunr.utils.warn("Overwriting existing registered function: "+e),t.label=e,lunr.Pipeline.registeredFunctions[t.label]=t},lunr.Pipeline.warnIfFunctionNotRegistered=function(t){var e=t.label&&t.label in this.registeredFunctions;e||lunr.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",t)},lunr.Pipeline.load=function(t){var e=new lunr.Pipeline;return t.forEach(function(t){var n=lunr.Pipeline.registeredFunctions[t];if(!n)throw Error("Cannot load un-registered function: "+t);e.add(n)}),e},lunr.Pipeline.prototype.add=function(){var t=Array.prototype.slice.call(arguments);t.forEach(function(t){lunr.Pipeline.warnIfFunctionNotRegistered(t),this._stack.push(t)},this)},lunr.Pipeline.prototype.after=function(t,e){lunr.Pipeline.warnIfFunctionNotRegistered(e);var n=this._stack.indexOf(t)+1;this._stack.splice(n,0,e)},lunr.Pipeline.prototype.before=function(t,e){lunr.Pipeline.warnIfFunctionNotRegistered(e);var n=this._stack.indexOf(t);this._stack.splice(n,0,e)},lunr.Pipeline.prototype.remove=function(t){var e=this._stack.indexOf(t);this._stack.splice(e,1)},lunr.Pipeline.prototype.run=function(t){for(var e=[],n=t.length,r=this._stack.length,o=0;n>o;o++){for(var i=t[o],s=0;r>s&&(i=this._stack[s](i,o,t),void 0!==i);s++);void 0!==i&&e.push(i)}return e},lunr.Pipeline.prototype.toJSON=function(){return this._stack.map(function(t){return lunr.Pipeline.warnIfFunctionNotRegistered(t),t.label})},lunr.Vector=function(t){this.elements=t},lunr.Vector.prototype.magnitude=function(){if(this._magnitude)return this._magnitude;for(var t,e=0,n=this.elements,r=n.length,o=0;r>o;o++)t=n[o],e+=t*t;return this._magnitude=Math.sqrt(e)},lunr.Vector.prototype.dot=function(t){for(var e=this.elements,n=t.elements,r=e.length,o=0,i=0;r>i;i++)o+=e[i]*n[i];return o},lunr.Vector.prototype.similarity=function(t){return this.dot(t)/(this.magnitude()*t.magnitude())},lunr.Vector.prototype.toArray=function(){return this.elements},lunr.SortedSet=function(){this.length=0,this.elements=[]},lunr.SortedSet.load=function(t){var e=new this;return e.elements=t,e.length=t.length,e},lunr.SortedSet.prototype.add=function(){Array.prototype.slice.call(arguments).forEach(function(t){~this.indexOf(t)||this.elements.splice(this.locationFor(t),0,t)},this),this.length=this.elements.length},lunr.SortedSet.prototype.toArray=function(){return this.elements.slice()},lunr.SortedSet.prototype.map=function(t,e){return this.elements.map(t,e)},lunr.SortedSet.prototype.forEach=function(t,e){return this.elements.forEach(t,e)},lunr.SortedSet.prototype.indexOf=function(t,e,n){var e=e||0,n=n||this.elements.length,r=n-e,o=e+Math.floor(r/2),i=this.elements[o];return 1>=r?i===t?o:-1:t>i?this.indexOf(t,o,n):i>t?this.indexOf(t,e,o):i===t?o:void 0},lunr.SortedSet.prototype.locationFor=function(t,e,n){var e=e||0,n=n||this.elements.length,r=n-e,o=e+Math.floor(r/2),i=this.elements[o];if(1>=r){if(i>t)return o;if(t>i)return o+1}return t>i?this.locationFor(t,o,n):i>t?this.locationFor(t,e,o):void 0},lunr.SortedSet.prototype.intersect=function(t){for(var e=new lunr.SortedSet,n=0,r=0,o=this.length,i=t.length,s=this.elements,l=t.elements;!(n>o-1||r>i-1);)s[n]!==l[r]?s[n]l[r]&&r++:(e.add(s[n]),n++,r++);return e},lunr.SortedSet.prototype.clone=function(){var t=new lunr.SortedSet;return t.elements=this.toArray(),t.length=t.elements.length,t},lunr.SortedSet.prototype.union=function(t){var e,n,r;return this.length>=t.length?(e=this,n=t):(e=t,n=this),r=e.clone(),r.add.apply(r,n.toArray()),r},lunr.SortedSet.prototype.toJSON=function(){return this.toArray()},lunr.Index=function(){this._fields=[],this._ref="id",this.pipeline=new lunr.Pipeline,this.documentStore=new lunr.Store,this.tokenStore=new lunr.TokenStore,this.corpusTokens=new lunr.SortedSet,this.eventEmitter=new lunr.EventEmitter,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))},lunr.Index.prototype.on=function(){var t=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,t)},lunr.Index.prototype.off=function(t,e){return this.eventEmitter.removeListener(t,e)},lunr.Index.load=function(t){t.version!==lunr.version&&lunr.utils.warn("version mismatch: current "+lunr.version+" importing "+t.version);var e=new this;return e._fields=t.fields,e._ref=t.ref,e.documentStore=lunr.Store.load(t.documentStore),e.tokenStore=lunr.TokenStore.load(t.tokenStore),e.corpusTokens=lunr.SortedSet.load(t.corpusTokens),e.pipeline=lunr.Pipeline.load(t.pipeline),e},lunr.Index.prototype.field=function(t,e){var e=e||{},n={name:t,boost:e.boost||1};return this._fields.push(n),this},lunr.Index.prototype.ref=function(t){return this._ref=t,this},lunr.Index.prototype.add=function(t,e){var n={},r=new lunr.SortedSet,o=t[this._ref],e=void 0===e?!0:e;this._fields.forEach(function(e){var o=this.pipeline.run(lunr.tokenizer(t[e.name]));n[e.name]=o,lunr.SortedSet.prototype.add.apply(r,o)},this),this.documentStore.set(o,r),lunr.SortedSet.prototype.add.apply(this.corpusTokens,r.toArray());for(var i=0;r.length>i;i++){var s=r.elements[i],l=this._fields.reduce(function(t,e){var r=n[e.name].length;if(!r)return t;var o=n[e.name].filter(function(t){return t===s}).length;return t+o/r*e.boost},0);this.tokenStore.add(s,{ref:o,tf:l})}e&&this.eventEmitter.emit("add",t,this)},lunr.Index.prototype.remove=function(t,e){var n=t[this._ref],e=void 0===e?!0:e;if(this.documentStore.has(n)){var r=this.documentStore.get(n);this.documentStore.remove(n),r.forEach(function(t){this.tokenStore.remove(t,n)},this),e&&this.eventEmitter.emit("remove",t,this)}},lunr.Index.prototype.update=function(t,e){var e=void 0===e?!0:e;this.remove(t,!1),this.add(t,!1),e&&this.eventEmitter.emit("update",t,this)},lunr.Index.prototype.idf=function(t){if(this._idfCache[t])return this._idfCache[t];var e=this.tokenStore.count(t),n=1;return e>0&&(n=1+Math.log(this.tokenStore.length/e)),this._idfCache[t]=n},lunr.Index.prototype.search=function(t){var e=this.pipeline.run(lunr.tokenizer(t)),n=lunr.utils.zeroFillArray(this.corpusTokens.length),r=[],o=this._fields.reduce(function(t,e){return t+e.boost},0),i=e.some(function(t){return this.tokenStore.has(t)},this);if(!i)return[];e.forEach(function(t,e,i){var s=1/i.length*this._fields.length*o,l=this,u=this.tokenStore.expand(t).reduce(function(e,r){var o=l.corpusTokens.indexOf(r),i=l.idf(r),u=1,a=new lunr.SortedSet;if(r!==t){var h=Math.max(3,r.length-t.length);u=1/Math.log(h)}return o>-1&&(n[o]=s*i*u),Object.keys(l.tokenStore.get(r)).forEach(function(t){a.add(t)}),e.union(a)},new lunr.SortedSet);r.push(u)},this);var s=r.reduce(function(t,e){return t.intersect(e)}),l=new lunr.Vector(n);return s.map(function(t){return{ref:t,score:l.similarity(this.documentVector(t))}},this).sort(function(t,e){return e.score-t.score})},lunr.Index.prototype.documentVector=function(t){for(var e=this.documentStore.get(t),n=e.length,r=lunr.utils.zeroFillArray(this.corpusTokens.length),o=0;n>o;o++){var i=e.elements[o],s=this.tokenStore.get(i)[t].tf,l=this.idf(i);r[this.corpusTokens.indexOf(i)]=s*l}return new lunr.Vector(r)},lunr.Index.prototype.toJSON=function(){return{version:lunr.version,fields:this._fields,ref:this._ref,documentStore:this.documentStore.toJSON(),tokenStore:this.tokenStore.toJSON(),corpusTokens:this.corpusTokens.toJSON(),pipeline:this.pipeline.toJSON()}},lunr.Store=function(){this.store={},this.length=0},lunr.Store.load=function(t){var e=new this;return e.length=t.length,e.store=Object.keys(t.store).reduce(function(e,n){return e[n]=lunr.SortedSet.load(t.store[n]),e},{}),e},lunr.Store.prototype.set=function(t,e){this.store[t]=e,this.length=Object.keys(this.store).length},lunr.Store.prototype.get=function(t){return this.store[t]},lunr.Store.prototype.has=function(t){return t in this.store},lunr.Store.prototype.remove=function(t){this.has(t)&&(delete this.store[t],this.length--)},lunr.Store.prototype.toJSON=function(){return{store:this.store,length:this.length}},lunr.stemmer=function(){var t={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},e={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},n="[^aeiou]",r="[aeiouy]",o=n+"[^aeiouy]*",i=r+"[aeiou]*",s="^("+o+")?"+i+o,l="^("+o+")?"+i+o+"("+i+")?$",u="^("+o+")?"+i+o+i+o,a="^("+o+")?"+r;return function(n){var i,h,c,p,f,d,v;if(3>n.length)return n;if(c=n.substr(0,1),"y"==c&&(n=c.toUpperCase()+n.substr(1)),p=/^(.+?)(ss|i)es$/,f=/^(.+?)([^s])s$/,p.test(n)?n=n.replace(p,"$1$2"):f.test(n)&&(n=n.replace(f,"$1$2")),p=/^(.+?)eed$/,f=/^(.+?)(ed|ing)$/,p.test(n)){var m=p.exec(n);p=RegExp(s),p.test(m[1])&&(p=/.$/,n=n.replace(p,""))}else if(f.test(n)){var m=f.exec(n);i=m[1],f=RegExp(a),f.test(i)&&(n=i,f=/(at|bl|iz)$/,d=RegExp("([^aeiouylsz])\\1$"),v=RegExp("^"+o+r+"[^aeiouwxy]$"),f.test(n)?n+="e":d.test(n)?(p=/.$/,n=n.replace(p,"")):v.test(n)&&(n+="e"))}if(p=/^(.+?)y$/,p.test(n)){var m=p.exec(n);i=m[1],p=RegExp(a),p.test(i)&&(n=i+"i")}if(p=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,p.test(n)){var m=p.exec(n);i=m[1],h=m[2],p=RegExp(s),p.test(i)&&(n=i+t[h])}if(p=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,p.test(n)){var m=p.exec(n);i=m[1],h=m[2],p=RegExp(s),p.test(i)&&(n=i+e[h])}if(p=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,f=/^(.+?)(s|t)(ion)$/,p.test(n)){var m=p.exec(n);i=m[1],p=RegExp(u),p.test(i)&&(n=i)}else if(f.test(n)){var m=f.exec(n);i=m[1]+m[2],f=RegExp(u),f.test(i)&&(n=i)}if(p=/^(.+?)e$/,p.test(n)){var m=p.exec(n);i=m[1],p=RegExp(u),f=RegExp(l),d=RegExp("^"+o+r+"[^aeiouwxy]$"),(p.test(i)||f.test(i)&&!d.test(i))&&(n=i)}return p=/ll$/,f=RegExp(u),p.test(n)&&f.test(n)&&(p=/.$/,n=n.replace(p,"")),"y"==c&&(n=c.toLowerCase()+n.substr(1)),n}}(),lunr.Pipeline.registerFunction(lunr.stemmer,"stemmer"),lunr.stopWordFilter=function(t){return-1===lunr.stopWordFilter.stopWords.indexOf(t)?t:void 0},lunr.stopWordFilter.stopWords=new lunr.SortedSet,lunr.stopWordFilter.stopWords.length=119,lunr.stopWordFilter.stopWords.elements=["","a","able","about","across","after","all","almost","also","am","among","an","and","any","are","as","at","be","because","been","but","by","can","cannot","could","dear","did","do","does","either","else","ever","every","for","from","get","got","had","has","have","he","her","hers","him","his","how","however","i","if","in","into","is","it","its","just","least","let","like","likely","may","me","might","most","must","my","neither","no","nor","not","of","off","often","on","only","or","other","our","own","rather","said","say","says","she","should","since","so","some","than","that","the","their","them","then","there","these","they","this","tis","to","too","twas","us","wants","was","we","were","what","when","where","which","while","who","whom","why","will","with","would","yet","you","your"],lunr.Pipeline.registerFunction(lunr.stopWordFilter,"stopWordFilter"),lunr.TokenStore=function(){this.root={docs:{}},this.length=0},lunr.TokenStore.load=function(t){var e=new this;return e.root=t.root,e.length=t.length,e},lunr.TokenStore.prototype.add=function(t,e,n){var n=n||this.root,r=t[0],o=t.slice(1);return r in n||(n[r]={docs:{}}),0===o.length?(n[r].docs[e.ref]=e,void(this.length+=1)):this.add(o,e,n[r])},lunr.TokenStore.prototype.has=function(t){if(!t)return!1;for(var e=this.root,n=0;t.length>n;n++){if(!e[t[n]])return!1;e=e[t[n]]}return!0},lunr.TokenStore.prototype.getNode=function(t){if(!t)return{};for(var e=this.root,n=0;t.length>n;n++){if(!e[t[n]])return{};e=e[t[n]]}return e},lunr.TokenStore.prototype.get=function(t,e){return this.getNode(t,e).docs||{}},lunr.TokenStore.prototype.count=function(t,e){return Object.keys(this.get(t,e)).length},lunr.TokenStore.prototype.remove=function(t,e){if(t){for(var n=this.root,r=0;t.length>r;r++){if(!(t[r]in n))return;n=n[t[r]]}delete n.docs[e]}},lunr.TokenStore.prototype.expand=function(t,e){var n=this.getNode(t),r=n.docs||{},e=e||[];return Object.keys(r).length&&e.push(t),Object.keys(n).forEach(function(n){"docs"!==n&&e.concat(this.expand(t+n,e))},this),e},lunr.TokenStore.prototype.toJSON=function(){return{root:this.root,length:this.length}},$.fn.ghostHunter=function(options){var opts=$.extend({},$.fn.ghostHunter.defaults,options);return opts.results?(pluginMethods.init(this,opts),pluginMethods):void 0},$.fn.ghostHunter.defaults={results:!1,rss:"/rss",onKeyUp:!1,result_template:"

      {{title}}

      {{pubDate}}

      ",info_template:"

      Number of posts found: {{amount}}

      ",displaySearchInfo:!0,zeroResultsInfo:!0,before:!1,onComplete:!1};var pluginMethods={isInit:!1,init:function(target,opts){var that=this;this.target=target,this.rss=opts.rss,this.results=opts.results,this.blogData=[],this.result_template=opts.result_template,this.info_template=opts.info_template,this.zeroResultsInfo=opts.zeroResultsInfo,this.displaySearchInfo=opts.displaySearchInfo,this.before=opts.before,this.onComplete=opts.onComplete,this.index=lunr(function(){this.field("title",{boost:10}),this.field("description"),this.field("link"),this.field("category"),this.field("pubDate"),this.ref("id")}),target.focus(function(){that.loadRSS()}),target.closest("form").submit(function(e){e.preventDefault(),that.find(target.val())}),opts.onKeyUp&&(that.loadRSS(),target.keyup(function(){that.find(target.val())}))},loadRSS:function(){if(this.isInit)return!1;var index=this.index,rssURL=this.rss,blogData=this.blogData;$.get(rssURL,function(data){for(var posts=$(data).find("item"),i=0;posts&&i0)&&this.displaySearchInfo&&results.append(this.format(this.info_template,{amount:searchResult.length}));for(var i=0;i span"}),$(".content").fitVids()),Uno.is("page","error")?$("#panic-button").click(function(){var s;return s=document.createElement("script"),s.setAttribute("src","https://nthitz.github.io/turndownforwhatjs/tdfw.js"),document.body.appendChild(s)}):void 0})}.call(this),function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X=[].slice,Y={}.hasOwnProperty,Z=function(a,b){function c(){this.constructor=a}for(var d in b)Y.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a},$=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1};for(u={catchupTime:100,initialRate:.03,minTime:250,ghostTime:100,maxProgressPerFrame:20,easeFactor:1.25,startOnPageLoad:!0,restartOnPushState:!0,restartOnRequestAfter:500,target:"body",elements:{checkInterval:100,selectors:["body"]},eventLag:{minSamples:10,sampleCount:3,lagThreshold:3},ajax:{trackMethods:["GET"],trackWebSockets:!0,ignoreURLs:[]}},C=function(){var a;return null!=(a="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance.now():void 0)?a:+new Date},E=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,t=window.cancelAnimationFrame||window.mozCancelAnimationFrame,null==E&&(E=function(a){return setTimeout(a,50)},t=function(a){return clearTimeout(a)}),G=function(a){var b,c;return b=C(),(c=function(){var d;return d=C()-b,d>=33?(b=C(),a(d,function(){return E(c)})):setTimeout(c,33-d)})()},F=function(){var a,b,c;return c=arguments[0],b=arguments[1],a=3<=arguments.length?X.call(arguments,2):[],"function"==typeof c[b]?c[b].apply(c,a):c[b]},v=function(){var a,b,c,d,e,f,g;for(b=arguments[0],d=2<=arguments.length?X.call(arguments,1):[],f=0,g=d.length;g>f;f++)if(c=d[f])for(a in c)Y.call(c,a)&&(e=c[a],null!=b[a]&&"object"==typeof b[a]&&null!=e&&"object"==typeof e?v(b[a],e):b[a]=e);return b},q=function(a){var b,c,d,e,f;for(c=b=0,e=0,f=a.length;f>e;e++)d=a[e],c+=Math.abs(d),b++;return c/b},x=function(a,b){var c,d,e;if(null==a&&(a="options"),null==b&&(b=!0),e=document.querySelector("[data-pace-"+a+"]")){if(c=e.getAttribute("data-pace-"+a),!b)return c;try{return JSON.parse(c)}catch(f){return d=f,"undefined"!=typeof console&&null!==console?console.error("Error parsing inline pace options",d):void 0}}},g=function(){function a(){}return a.prototype.on=function(a,b,c,d){var e;return null==d&&(d=!1),null==this.bindings&&(this.bindings={}),null==(e=this.bindings)[a]&&(e[a]=[]),this.bindings[a].push({handler:b,ctx:c,once:d})},a.prototype.once=function(a,b,c){return this.on(a,b,c,!0)},a.prototype.off=function(a,b){var c,d,e;if(null!=(null!=(d=this.bindings)?d[a]:void 0)){if(null==b)return delete this.bindings[a];for(c=0,e=[];cQ;Q++)K=U[Q],D[K]===!0&&(D[K]=u[K]);i=function(a){function b(){return V=b.__super__.constructor.apply(this,arguments)}return Z(b,a),b}(Error),b=function(){function a(){this.progress=0}return a.prototype.getElement=function(){var a;if(null==this.el){if(a=document.querySelector(D.target),!a)throw new i;this.el=document.createElement("div"),this.el.className="pace pace-active",document.body.className=document.body.className.replace(/pace-done/g,""),document.body.className+=" pace-running",this.el.innerHTML='
      \n
      \n
      \n
      ',null!=a.firstChild?a.insertBefore(this.el,a.firstChild):a.appendChild(this.el)}return this.el},a.prototype.finish=function(){var a;return a=this.getElement(),a.className=a.className.replace("pace-active",""),a.className+=" pace-inactive",document.body.className=document.body.className.replace("pace-running",""),document.body.className+=" pace-done"},a.prototype.update=function(a){return this.progress=a,this.render()},a.prototype.destroy=function(){try{this.getElement().parentNode.removeChild(this.getElement())}catch(a){i=a}return this.el=void 0},a.prototype.render=function(){var a,b,c,d,e,f,g;if(null==document.querySelector(D.target))return!1;for(a=this.getElement(),d="translate3d("+this.progress+"%, 0, 0)",g=["webkitTransform","msTransform","transform"],e=0,f=g.length;f>e;e++)b=g[e],a.children[0].style[b]=d;return(!this.lastRenderedProgress||this.lastRenderedProgress|0!==this.progress|0)&&(a.children[0].setAttribute("data-progress-text",""+(0|this.progress)+"%"),this.progress>=100?c="99":(c=this.progress<10?"0":"",c+=0|this.progress),a.children[0].setAttribute("data-progress",""+c)),this.lastRenderedProgress=this.progress},a.prototype.done=function(){return this.progress>=100},a}(),h=function(){function a(){this.bindings={}}return a.prototype.trigger=function(a,b){var c,d,e,f,g;if(null!=this.bindings[a]){for(f=this.bindings[a],g=[],d=0,e=f.length;e>d;d++)c=f[d],g.push(c.call(this,b));return g}},a.prototype.on=function(a,b){var c;return null==(c=this.bindings)[a]&&(c[a]=[]),this.bindings[a].push(b)},a}(),P=window.XMLHttpRequest,O=window.XDomainRequest,N=window.WebSocket,w=function(a,b){var c,d,e;e=[];for(d in b.prototype)try{e.push(null==a[d]&&"function"!=typeof b[d]?"function"==typeof Object.defineProperty?Object.defineProperty(a,d,{get:function(){return b.prototype[d]},configurable:!0,enumerable:!0}):a[d]=b.prototype[d]:void 0)}catch(f){c=f}return e},A=[],j.ignore=function(){var a,b,c;return b=arguments[0],a=2<=arguments.length?X.call(arguments,1):[],A.unshift("ignore"),c=b.apply(null,a),A.shift(),c},j.track=function(){var a,b,c;return b=arguments[0],a=2<=arguments.length?X.call(arguments,1):[],A.unshift("track"),c=b.apply(null,a),A.shift(),c},J=function(a){var b;if(null==a&&(a="GET"),"track"===A[0])return"force";if(!A.length&&D.ajax){if("socket"===a&&D.ajax.trackWebSockets)return!0;if(b=a.toUpperCase(),$.call(D.ajax.trackMethods,b)>=0)return!0}return!1},k=function(a){function b(){var a,c=this;b.__super__.constructor.apply(this,arguments),a=function(a){var b;return b=a.open,a.open=function(d,e){return J(d)&&c.trigger("request",{type:d,url:e,request:a}),b.apply(a,arguments)}},window.XMLHttpRequest=function(b){var c;return c=new P(b),a(c),c};try{w(window.XMLHttpRequest,P)}catch(d){}if(null!=O){window.XDomainRequest=function(){var b;return b=new O,a(b),b};try{w(window.XDomainRequest,O)}catch(d){}}if(null!=N&&D.ajax.trackWebSockets){window.WebSocket=function(a,b){var d;return d=null!=b?new N(a,b):new N(a),J("socket")&&c.trigger("request",{type:"socket",url:a,protocols:b,request:d}),d};try{w(window.WebSocket,N)}catch(d){}}}return Z(b,a),b}(h),R=null,y=function(){return null==R&&(R=new k),R},I=function(a){var b,c,d,e;for(e=D.ajax.ignoreURLs,c=0,d=e.length;d>c;c++)if(b=e[c],"string"==typeof b){if(-1!==a.indexOf(b))return!0}else if(b.test(a))return!0;return!1},y().on("request",function(b){var c,d,e,f,g;return f=b.type,e=b.request,g=b.url,I(g)?void 0:j.running||D.restartOnRequestAfter===!1&&"force"!==J(f)?void 0:(d=arguments,c=D.restartOnRequestAfter||0,"boolean"==typeof c&&(c=0),setTimeout(function(){var b,c,g,h,i,k;if(b="socket"===f?e.readyState<2:0<(h=e.readyState)&&4>h){for(j.restart(),i=j.sources,k=[],c=0,g=i.length;g>c;c++){if(K=i[c],K instanceof a){K.watch.apply(K,d);break}k.push(void 0)}return k}},c))}),a=function(){function a(){var a=this;this.elements=[],y().on("request",function(){return a.watch.apply(a,arguments)})}return a.prototype.watch=function(a){var b,c,d,e;return d=a.type,b=a.request,e=a.url,I(e)?void 0:(c="socket"===d?new n(b):new o(b),this.elements.push(c))},a}(),o=function(){function a(a){var b,c,d,e,f,g,h=this;if(this.progress=0,null!=window.ProgressEvent)for(c=null,a.addEventListener("progress",function(a){return h.progress=a.lengthComputable?100*a.loaded/a.total:h.progress+(100-h.progress)/2},!1),g=["load","abort","timeout","error"],d=0,e=g.length;e>d;d++)b=g[d],a.addEventListener(b,function(){return h.progress=100},!1);else f=a.onreadystatechange,a.onreadystatechange=function(){var b;return 0===(b=a.readyState)||4===b?h.progress=100:3===a.readyState&&(h.progress=50),"function"==typeof f?f.apply(null,arguments):void 0}}return a}(),n=function(){function a(a){var b,c,d,e,f=this;for(this.progress=0,e=["error","open"],c=0,d=e.length;d>c;c++)b=e[c],a.addEventListener(b,function(){return f.progress=100},!1)}return a}(),d=function(){function a(a){var b,c,d,f;for(null==a&&(a={}),this.elements=[],null==a.selectors&&(a.selectors=[]),f=a.selectors,c=0,d=f.length;d>c;c++)b=f[c],this.elements.push(new e(b))}return a}(),e=function(){function a(a){this.selector=a,this.progress=0,this.check()}return a.prototype.check=function(){var a=this;return document.querySelector(this.selector)?this.done():setTimeout(function(){return a.check()},D.elements.checkInterval)},a.prototype.done=function(){return this.progress=100},a}(),c=function(){function a(){var a,b,c=this;this.progress=null!=(b=this.states[document.readyState])?b:100,a=document.onreadystatechange,document.onreadystatechange=function(){return null!=c.states[document.readyState]&&(c.progress=c.states[document.readyState]),"function"==typeof a?a.apply(null,arguments):void 0}}return a.prototype.states={loading:0,interactive:50,complete:100},a}(),f=function(){function a(){var a,b,c,d,e,f=this;this.progress=0,a=0,e=[],d=0,c=C(),b=setInterval(function(){var g;return g=C()-c-50,c=C(),e.push(g),e.length>D.eventLag.sampleCount&&e.shift(),a=q(e),++d>=D.eventLag.minSamples&&a=100&&(this.done=!0),b===this.last?this.sinceLastUpdate+=a:(this.sinceLastUpdate&&(this.rate=(b-this.last)/this.sinceLastUpdate),this.catchup=(b-this.progress)/D.catchupTime,this.sinceLastUpdate=0,this.last=b),b>this.progress&&(this.progress+=this.catchup*a),c=1-Math.pow(this.progress/100,D.easeFactor),this.progress+=c*this.rate*a,this.progress=Math.min(this.lastProgress+D.maxProgressPerFrame,this.progress),this.progress=Math.max(0,this.progress),this.progress=Math.min(100,this.progress),this.lastProgress=this.progress,this.progress},a}(),L=null,H=null,r=null,M=null,p=null,s=null,j.running=!1,z=function(){return D.restartOnPushState?j.restart():void 0},null!=window.history.pushState&&(T=window.history.pushState,window.history.pushState=function(){return z(),T.apply(window.history,arguments)}),null!=window.history.replaceState&&(W=window.history.replaceState,window.history.replaceState=function(){return z(),W.apply(window.history,arguments)}),l={ajax:a,elements:d,document:c,eventLag:f},(B=function(){var a,c,d,e,f,g,h,i;for(j.sources=L=[],g=["ajax","elements","document","eventLag"],c=0,e=g.length;e>c;c++)a=g[c],D[a]!==!1&&L.push(new l[a](D[a]));for(i=null!=(h=D.extraSources)?h:[],d=0,f=i.length;f>d;d++)K=i[d],L.push(new K(D));return j.bar=r=new b,H=[],M=new m})(),j.stop=function(){return j.trigger("stop"),j.running=!1,r.destroy(),s=!0,null!=p&&("function"==typeof t&&t(p),p=null),B()},j.restart=function(){return j.trigger("restart"),j.stop(),j.start()},j.go=function(){var a;return j.running=!0,r.render(),a=C(),s=!1,p=G(function(b,c){var d,e,f,g,h,i,k,l,n,o,p,q,t,u,v,w;for(l=100-r.progress,e=p=0,f=!0,i=q=0,u=L.length;u>q;i=++q)for(K=L[i],o=null!=H[i]?H[i]:H[i]=[],h=null!=(w=K.elements)?w:[K],k=t=0,v=h.length;v>t;k=++t)g=h[k],n=null!=o[k]?o[k]:o[k]=new m(g),f&=n.done,n.done||(e++,p+=n.tick(b));return d=p/e,r.update(M.tick(b,d)),r.done()||f||s?(r.update(100),j.trigger("done"),setTimeout(function(){return r.finish(),j.running=!1,j.trigger("hide")},Math.max(D.ghostTime,Math.max(D.minTime-(C()-a),0)))):c()})},j.start=function(a){v(D,a),j.running=!0;try{r.render()}catch(b){i=b}return document.querySelector(".pace")?(j.trigger("start"),j.go()):setTimeout(j.start,50)},"function"==typeof define&&define.amd?define(["pace"],function(){return j}):"object"==typeof exports?module.exports=j:D.startOnPageLoad&&j.start()}.call(this),function(){"use strict";$(function(){var _animate,_expand,isOpen,openButton;return isOpen="#open"===location.hash,openButton=window.open_button||".nav-posts > a",_animate=function(){return setTimeout(function(){return $(".cover").addClass("animated")},1e3)},_expand=function(options){return $("main, .cover, .links > li, html").toggleClass("expanded"),Uno.search.form(options.form)},$("#menu-button").click(function(){return $(".cover, main, #menu-button, html").toggleClass("expanded")}),$(openButton+", #avatar-link").click(function(event){return Uno.is("page","home")?(event.preventDefault(),location.hash=""===location.hash?"#open":"",Uno.is("device","desktop")?_expand({form:"toggle"}):$("#menu-button").trigger("click")):void 0}),Uno.is("device","desktop")&&Uno.is("page","home")&&(_animate(),!isOpen)?_expand({form:"hide"}):void 0})}.call(this),function($){"use strict";$.fn.fitVids=function(options){var settings={customSelector:null};if(!document.getElementById("fit-vids-style")){var head=document.head||document.getElementsByTagName("head")[0],css=".fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}",div=document.createElement("div");div.innerHTML='

      x

      ",head.appendChild(div.childNodes[1])}return options&&$.extend(settings,options),this.each(function(){var selectors=["iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.html']","object","embed"];settings.customSelector&&selectors.push(settings.customSelector);var $allVideos=$(this).find(selectors.join(","));$allVideos=$allVideos.not("object object"),$allVideos.each(function(){var $this=$(this);if(!("embed"===this.tagName.toLowerCase()&&$this.parent("object").length||$this.parent(".fluid-width-video-wrapper").length)){var height="object"===this.tagName.toLowerCase()||$this.attr("height")&&!isNaN(parseInt($this.attr("height"),10))?parseInt($this.attr("height"),10):$this.height(),width=isNaN(parseInt($this.attr("width"),10))?$this.width():parseInt($this.attr("width"),10),aspectRatio=height/width;if(!$this.attr("id")){var videoID="fitvid"+Math.floor(999999*Math.random());$this.attr("id",videoID)}$this.wrap('
      ').parent(".fluid-width-video-wrapper").css("padding-top",100*aspectRatio+"%"),$this.removeAttr("height").removeAttr("width")}})})}}(window.jQuery||window.Zepto),function(){"use strict";$(function(){var hideSearch,showSearch;return showSearch=function(){return $(".content").hide(),$("#search-results").addClass("active")},hideSearch=function(){return $(".content").show(),$("#search-results").removeClass("active")},$("#search-field").ghostHunter({results:"#search-results",zeroResultsInfo:!1,onKeyUp:!0,displaySearchInfo:!0,result_template:"\n

      {{title}}

      \n

      {{pubDate}}

      \n
      ",onComplete:function(query){return query.length>0?showSearch():hideSearch()}})})}.call(this);var twemoji=function(){"use strict";function createText(text){return document.createTextNode(text)}function escapeHTML(s){return s.replace(rescaper,replacer)}function defaultImageSrcGenerator(icon,options){return"".concat(options.base,options.size,"/",icon,options.ext)}function grabAllTextNodes(node,allText){for(var subnode,nodeType,childNodes=node.childNodes,length=childNodes.length;length--;)subnode=childNodes[length],nodeType=subnode.nodeType,3===nodeType?allText.push(subnode):1!==nodeType||shouldntBeParsed.test(subnode.nodeName)||grabAllTextNodes(subnode,allText);return allText}function grabTheRightIcon(icon,variant){return toCodePoint("️"===variant?icon.slice(0,-1):3===icon.length&&"️"===icon.charAt(1)?icon.charAt(0)+icon.charAt(2):icon)}function parseNode(node,options){for(var attrib,attrname,modified,fragment,subnode,text,match,i,index,img,alt,icon,variant,src,allText=grabAllTextNodes(node,[]),length=allText.length;length--;){for(modified=!1,fragment=document.createDocumentFragment(),subnode=allText[length],text=subnode.nodeValue,i=0;match=re.exec(text);){if(index=match.index,index!==i&&fragment.appendChild(createText(text.slice(i,index))),alt=match[0],icon=match[1],variant=match[2],i=index+alt.length,"︎"!==variant&&(src=options.callback(grabTheRightIcon(icon,variant),options,variant))){img=new Image,img.onerror=twemoji.onerror,img.setAttribute("draggable","false"),attrib=options.attributes(icon,variant);for(attrname in attrib)attrib.hasOwnProperty(attrname)&&0!==attrname.indexOf("on")&&!img.hasAttribute(attrname)&&img.setAttribute(attrname,attrib[attrname]);img.className=options.className,img.alt=alt,img.src=src,modified=!0,fragment.appendChild(img)}img||fragment.appendChild(createText(alt)),img=null}modified&&(i")}return ret})}function replacer(m){return escaper[m]}function returnNull(){return null}function toSizeSquaredAsset(value){return"number"==typeof value?value+"x"+value:value}function fromCodePoint(codepoint){var code="string"==typeof codepoint?parseInt(codepoint,16):codepoint;return 65536>code?fromCharCode(code):(code-=65536,fromCharCode(55296+(code>>10),56320+(1023&code)))}function parse(what,how){return how&&"function"!=typeof how||(how={callback:how}),("string"==typeof what?parseString:parseNode)(what,{callback:how.callback||defaultImageSrcGenerator,attributes:"function"==typeof how.attributes?how.attributes:returnNull,base:"string"==typeof how.base?how.base:twemoji.base,ext:how.ext||twemoji.ext,size:how.folder||toSizeSquaredAsset(how.size||twemoji.size),className:how.className||twemoji.className})}function replace(text,callback){return String(text).replace(re,callback)}function test(text){re.lastIndex=0;var result=re.test(text);return re.lastIndex=0,result}function toCodePoint(unicodeSurrogates,sep){for(var r=[],c=0,p=0,i=0;i=55296&&56319>=c?p=c:r.push(c.toString(16));return r.join(sep||"-")}var twemoji={base:("https:"===location.protocol?"https:":"http:")+"//twemoji.maxcdn.com/",ext:".png",size:"36x36",className:"emoji",convert:{fromCodePoint:fromCodePoint,toCodePoint:toCodePoint},onerror:function(){this.parentNode&&this.parentNode.replaceChild(createText(this.alt),this)},parse:parse,replace:replace,test:test},escaper={"&":"&","<":"<",">":">","'":"'",'"':"""},re=/((?:\ud83c\udde8\ud83c\uddf3|\ud83c\uddfa\ud83c\uddf8|\ud83c\uddf7\ud83c\uddfa|\ud83c\uddf0\ud83c\uddf7|\ud83c\uddef\ud83c\uddf5|\ud83c\uddee\ud83c\uddf9|\ud83c\uddec\ud83c\udde7|\ud83c\uddeb\ud83c\uddf7|\ud83c\uddea\ud83c\uddf8|\ud83c\udde9\ud83c\uddea|\u0039\ufe0f?\u20e3|\u0038\ufe0f?\u20e3|\u0037\ufe0f?\u20e3|\u0036\ufe0f?\u20e3|\u0035\ufe0f?\u20e3|\u0034\ufe0f?\u20e3|\u0033\ufe0f?\u20e3|\u0032\ufe0f?\u20e3|\u0031\ufe0f?\u20e3|\u0030\ufe0f?\u20e3|\u0023\ufe0f?\u20e3|\ud83d\udeb3|\ud83d\udeb1|\ud83d\udeb0|\ud83d\udeaf|\ud83d\udeae|\ud83d\udea6|\ud83d\udea3|\ud83d\udea1|\ud83d\udea0|\ud83d\ude9f|\ud83d\ude9e|\ud83d\ude9d|\ud83d\ude9c|\ud83d\ude9b|\ud83d\ude98|\ud83d\ude96|\ud83d\ude94|\ud83d\ude90|\ud83d\ude8e|\ud83d\ude8d|\ud83d\ude8b|\ud83d\ude8a|\ud83d\ude88|\ud83d\ude86|\ud83d\ude82|\ud83d\ude81|\ud83d\ude36|\ud83d\ude34|\ud83d\ude2f|\ud83d\ude2e|\ud83d\ude2c|\ud83d\ude27|\ud83d\ude26|\ud83d\ude1f|\ud83d\ude1b|\ud83d\ude19|\ud83d\ude17|\ud83d\ude15|\ud83d\ude11|\ud83d\ude10|\ud83d\ude0e|\ud83d\ude08|\ud83d\ude07|\ud83d\ude00|\ud83d\udd67|\ud83d\udd66|\ud83d\udd65|\ud83d\udd64|\ud83d\udd63|\ud83d\udd62|\ud83d\udd61|\ud83d\udd60|\ud83d\udd5f|\ud83d\udd5e|\ud83d\udd5d|\ud83d\udd5c|\ud83d\udd2d|\ud83d\udd2c|\ud83d\udd15|\ud83d\udd09|\ud83d\udd08|\ud83d\udd07|\ud83d\udd06|\ud83d\udd05|\ud83d\udd04|\ud83d\udd02|\ud83d\udd01|\ud83d\udd00|\ud83d\udcf5|\ud83d\udcef|\ud83d\udced|\ud83d\udcec|\ud83d\udcb7|\ud83d\udcb6|\ud83d\udcad|\ud83d\udc6d|\ud83d\udc6c|\ud83d\udc65|\ud83d\udc2a|\ud83d\udc16|\ud83d\udc15|\ud83d\udc13|\ud83d\udc10|\ud83d\udc0f|\ud83d\udc0b|\ud83d\udc0a|\ud83d\udc09|\ud83d\udc08|\ud83d\udc07|\ud83d\udc06|\ud83d\udc05|\ud83d\udc04|\ud83d\udc03|\ud83d\udc02|\ud83d\udc01|\ud83d\udc00|\ud83c\udfe4|\ud83c\udfc9|\ud83c\udfc7|\ud83c\udf7c|\ud83c\udf50|\ud83c\udf4b|\ud83c\udf33|\ud83c\udf32|\ud83c\udf1e|\ud83c\udf1d|\ud83c\udf1c|\ud83c\udf1a|\ud83c\udf18|\ud83c\udccf|\ud83c\udd70|\ud83c\udd71|\ud83c\udd7e|\ud83c\udd8e|\ud83c\udd91|\ud83c\udd92|\ud83c\udd93|\ud83c\udd94|\ud83c\udd95|\ud83c\udd96|\ud83c\udd97|\ud83c\udd98|\ud83c\udd99|\ud83c\udd9a|\ud83d\udc77|\ud83d\udec5|\ud83d\udec4|\ud83d\udec3|\ud83d\udec2|\ud83d\udec1|\ud83d\udebf|\ud83d\udeb8|\ud83d\udeb7|\ud83d\udeb5|\ud83c\ude01|\ud83c\ude02|\ud83c\ude32|\ud83c\ude33|\ud83c\ude34|\ud83c\ude35|\ud83c\ude36|\ud83c\ude37|\ud83c\ude38|\ud83c\ude39|\ud83c\ude3a|\ud83c\ude50|\ud83c\ude51|\ud83c\udf00|\ud83c\udf01|\ud83c\udf02|\ud83c\udf03|\ud83c\udf04|\ud83c\udf05|\ud83c\udf06|\ud83c\udf07|\ud83c\udf08|\ud83c\udf09|\ud83c\udf0a|\ud83c\udf0b|\ud83c\udf0c|\ud83c\udf0f|\ud83c\udf11|\ud83c\udf13|\ud83c\udf14|\ud83c\udf15|\ud83c\udf19|\ud83c\udf1b|\ud83c\udf1f|\ud83c\udf20|\ud83c\udf30|\ud83c\udf31|\ud83c\udf34|\ud83c\udf35|\ud83c\udf37|\ud83c\udf38|\ud83c\udf39|\ud83c\udf3a|\ud83c\udf3b|\ud83c\udf3c|\ud83c\udf3d|\ud83c\udf3e|\ud83c\udf3f|\ud83c\udf40|\ud83c\udf41|\ud83c\udf42|\ud83c\udf43|\ud83c\udf44|\ud83c\udf45|\ud83c\udf46|\ud83c\udf47|\ud83c\udf48|\ud83c\udf49|\ud83c\udf4a|\ud83c\udf4c|\ud83c\udf4d|\ud83c\udf4e|\ud83c\udf4f|\ud83c\udf51|\ud83c\udf52|\ud83c\udf53|\ud83c\udf54|\ud83c\udf55|\ud83c\udf56|\ud83c\udf57|\ud83c\udf58|\ud83c\udf59|\ud83c\udf5a|\ud83c\udf5b|\ud83c\udf5c|\ud83c\udf5d|\ud83c\udf5e|\ud83c\udf5f|\ud83c\udf60|\ud83c\udf61|\ud83c\udf62|\ud83c\udf63|\ud83c\udf64|\ud83c\udf65|\ud83c\udf66|\ud83c\udf67|\ud83c\udf68|\ud83c\udf69|\ud83c\udf6a|\ud83c\udf6b|\ud83c\udf6c|\ud83c\udf6d|\ud83c\udf6e|\ud83c\udf6f|\ud83c\udf70|\ud83c\udf71|\ud83c\udf72|\ud83c\udf73|\ud83c\udf74|\ud83c\udf75|\ud83c\udf76|\ud83c\udf77|\ud83c\udf78|\ud83c\udf79|\ud83c\udf7a|\ud83c\udf7b|\ud83c\udf80|\ud83c\udf81|\ud83c\udf82|\ud83c\udf83|\ud83c\udf84|\ud83c\udf85|\ud83c\udf86|\ud83c\udf87|\ud83c\udf88|\ud83c\udf89|\ud83c\udf8a|\ud83c\udf8b|\ud83c\udf8c|\ud83c\udf8d|\ud83c\udf8e|\ud83c\udf8f|\ud83c\udf90|\ud83c\udf91|\ud83c\udf92|\ud83c\udf93|\ud83c\udfa0|\ud83c\udfa1|\ud83c\udfa2|\ud83c\udfa3|\ud83c\udfa4|\ud83c\udfa5|\ud83c\udfa6|\ud83c\udfa7|\ud83c\udfa8|\ud83c\udfa9|\ud83c\udfaa|\ud83c\udfab|\ud83c\udfac|\ud83c\udfad|\ud83c\udfae|\ud83c\udfaf|\ud83c\udfb0|\ud83c\udfb1|\ud83c\udfb2|\ud83c\udfb3|\ud83c\udfb4|\ud83c\udfb5|\ud83c\udfb6|\ud83c\udfb7|\ud83c\udfb8|\ud83c\udfb9|\ud83c\udfba|\ud83c\udfbb|\ud83c\udfbc|\ud83c\udfbd|\ud83c\udfbe|\ud83c\udfbf|\ud83c\udfc0|\ud83c\udfc1|\ud83c\udfc2|\ud83c\udfc3|\ud83c\udfc4|\ud83c\udfc6|\ud83c\udfc8|\ud83c\udfca|\ud83c\udfe0|\ud83c\udfe1|\ud83c\udfe2|\ud83c\udfe3|\ud83c\udfe5|\ud83c\udfe6|\ud83c\udfe7|\ud83c\udfe8|\ud83c\udfe9|\ud83c\udfea|\ud83c\udfeb|\ud83c\udfec|\ud83c\udfed|\ud83c\udfee|\ud83c\udfef|\ud83c\udff0|\ud83d\udc0c|\ud83d\udc0d|\ud83d\udc0e|\ud83d\udc11|\ud83d\udc12|\ud83d\udc14|\ud83d\udc17|\ud83d\udc18|\ud83d\udc19|\ud83d\udc1a|\ud83d\udc1b|\ud83d\udc1c|\ud83d\udc1d|\ud83d\udc1e|\ud83d\udc1f|\ud83d\udc20|\ud83d\udc21|\ud83d\udc22|\ud83d\udc23|\ud83d\udc24|\ud83d\udc25|\ud83d\udc26|\ud83d\udc27|\ud83d\udc28|\ud83d\udc29|\ud83d\udc2b|\ud83d\udc2c|\ud83d\udc2d|\ud83d\udc2e|\ud83d\udc2f|\ud83d\udc30|\ud83d\udc31|\ud83d\udc32|\ud83d\udc33|\ud83d\udc34|\ud83d\udc35|\ud83d\udc36|\ud83d\udc37|\ud83d\udc38|\ud83d\udc39|\ud83d\udc3a|\ud83d\udc3b|\ud83d\udc3c|\ud83d\udc3d|\ud83d\udc3e|\ud83d\udc40|\ud83d\udc42|\ud83d\udc43|\ud83d\udc44|\ud83d\udc45|\ud83d\udc46|\ud83d\udc47|\ud83d\udc48|\ud83d\udc49|\ud83d\udc4a|\ud83d\udc4b|\ud83d\udc4c|\ud83d\udc4d|\ud83d\udc4e|\ud83d\udc4f|\ud83d\udc50|\ud83d\udc51|\ud83d\udc52|\ud83d\udc53|\ud83d\udc54|\ud83d\udc55|\ud83d\udc56|\ud83d\udc57|\ud83d\udc58|\ud83d\udc59|\ud83d\udc5a|\ud83d\udc5b|\ud83d\udc5c|\ud83d\udc5d|\ud83d\udc5e|\ud83d\udc5f|\ud83d\udc60|\ud83d\udc61|\ud83d\udc62|\ud83d\udc63|\ud83d\udc64|\ud83d\udc66|\ud83d\udc67|\ud83d\udc68|\ud83d\udc69|\ud83d\udc6a|\ud83d\udc6b|\ud83d\udc6e|\ud83d\udc6f|\ud83d\udc70|\ud83d\udc71|\ud83d\udc72|\ud83d\udc73|\ud83d\udc74|\ud83d\udc75|\ud83d\udc76|\ud83d\udeb4|\ud83d\udc78|\ud83d\udc79|\ud83d\udc7a|\ud83d\udc7b|\ud83d\udc7c|\ud83d\udc7d|\ud83d\udc7e|\ud83d\udc7f|\ud83d\udc80|\ud83d\udc81|\ud83d\udc82|\ud83d\udc83|\ud83d\udc84|\ud83d\udc85|\ud83d\udc86|\ud83d\udc87|\ud83d\udc88|\ud83d\udc89|\ud83d\udc8a|\ud83d\udc8b|\ud83d\udc8c|\ud83d\udc8d|\ud83d\udc8e|\ud83d\udc8f|\ud83d\udc90|\ud83d\udc91|\ud83d\udc92|\ud83d\udc93|\ud83d\udc94|\ud83d\udc95|\ud83d\udc96|\ud83d\udc97|\ud83d\udc98|\ud83d\udc99|\ud83d\udc9a|\ud83d\udc9b|\ud83d\udc9c|\ud83d\udc9d|\ud83d\udc9e|\ud83d\udc9f|\ud83d\udca0|\ud83d\udca1|\ud83d\udca2|\ud83d\udca3|\ud83d\udca4|\ud83d\udca5|\ud83d\udca6|\ud83d\udca7|\ud83d\udca8|\ud83d\udca9|\ud83d\udcaa|\ud83d\udcab|\ud83d\udcac|\ud83d\udcae|\ud83d\udcaf|\ud83d\udcb0|\ud83d\udcb1|\ud83d\udcb2|\ud83d\udcb3|\ud83d\udcb4|\ud83d\udcb5|\ud83d\udcb8|\ud83d\udcb9|\ud83d\udcba|\ud83d\udcbb|\ud83d\udcbc|\ud83d\udcbd|\ud83d\udcbe|\ud83d\udcbf|\ud83d\udcc0|\ud83d\udcc1|\ud83d\udcc2|\ud83d\udcc3|\ud83d\udcc4|\ud83d\udcc5|\ud83d\udcc6|\ud83d\udcc7|\ud83d\udcc8|\ud83d\udcc9|\ud83d\udcca|\ud83d\udccb|\ud83d\udccc|\ud83d\udccd|\ud83d\udcce|\ud83d\udccf|\ud83d\udcd0|\ud83d\udcd1|\ud83d\udcd2|\ud83d\udcd3|\ud83d\udcd4|\ud83d\udcd5|\ud83d\udcd6|\ud83d\udcd7|\ud83d\udcd8|\ud83d\udcd9|\ud83d\udcda|\ud83d\udcdb|\ud83d\udcdc|\ud83d\udcdd|\ud83d\udcde|\ud83d\udcdf|\ud83d\udce0|\ud83d\udce1|\ud83d\udce2|\ud83d\udce3|\ud83d\udce4|\ud83d\udce5|\ud83d\udce6|\ud83d\udce7|\ud83d\udce8|\ud83d\udce9|\ud83d\udcea|\ud83d\udceb|\ud83d\udcee|\ud83d\udcf0|\ud83d\udcf1|\ud83d\udcf2|\ud83d\udcf3|\ud83d\udcf4|\ud83d\udcf6|\ud83d\udcf7|\ud83d\udcf9|\ud83d\udcfa|\ud83d\udcfb|\ud83d\udcfc|\ud83d\udd03|\ud83d\udd0a|\ud83d\udd0b|\ud83d\udd0c|\ud83d\udd0d|\ud83d\udd0e|\ud83d\udd0f|\ud83d\udd10|\ud83d\udd11|\ud83d\udd12|\ud83d\udd13|\ud83d\udd14|\ud83d\udd16|\ud83d\udd17|\ud83d\udd18|\ud83d\udd19|\ud83d\udd1a|\ud83d\udd1b|\ud83d\udd1c|\ud83d\udd1d|\ud83d\udd1e|\ud83d\udd1f|\ud83d\udd20|\ud83d\udd21|\ud83d\udd22|\ud83d\udd23|\ud83d\udd24|\ud83d\udd25|\ud83d\udd26|\ud83d\udd27|\ud83d\udd28|\ud83d\udd29|\ud83d\udd2a|\ud83d\udd2b|\ud83d\udd2e|\ud83d\udd2f|\ud83d\udd30|\ud83d\udd31|\ud83d\udd32|\ud83d\udd33|\ud83d\udd34|\ud83d\udd35|\ud83d\udd36|\ud83d\udd37|\ud83d\udd38|\ud83d\udd39|\ud83d\udd3a|\ud83d\udd3b|\ud83d\udd3c|\ud83d\udd3d|\ud83d\udd50|\ud83d\udd51|\ud83d\udd52|\ud83d\udd53|\ud83d\udd54|\ud83d\udd55|\ud83d\udd56|\ud83d\udd57|\ud83d\udd58|\ud83d\udd59|\ud83d\udd5a|\ud83d\udd5b|\ud83d\uddfb|\ud83d\uddfc|\ud83d\uddfd|\ud83d\uddfe|\ud83d\uddff|\ud83d\ude01|\ud83d\ude02|\ud83d\ude03|\ud83d\ude04|\ud83d\ude05|\ud83d\ude06|\ud83d\ude09|\ud83d\ude0a|\ud83d\ude0b|\ud83d\ude0c|\ud83d\ude0d|\ud83d\ude0f|\ud83d\ude12|\ud83d\ude13|\ud83d\ude14|\ud83d\ude16|\ud83d\ude18|\ud83d\ude1a|\ud83d\ude1c|\ud83d\ude1d|\ud83d\ude1e|\ud83d\ude20|\ud83d\ude21|\ud83d\ude22|\ud83d\ude23|\ud83d\ude24|\ud83d\ude25|\ud83d\ude28|\ud83d\ude29|\ud83d\ude2a|\ud83d\ude2b|\ud83d\ude2d|\ud83d\ude30|\ud83d\ude31|\ud83d\ude32|\ud83d\ude33|\ud83d\ude35|\ud83d\ude37|\ud83d\ude38|\ud83d\ude39|\ud83d\ude3a|\ud83d\ude3b|\ud83d\ude3c|\ud83d\ude3d|\ud83d\ude3e|\ud83d\ude3f|\ud83d\ude40|\ud83d\ude45|\ud83d\ude46|\ud83d\ude47|\ud83d\ude48|\ud83d\ude49|\ud83d\ude4a|\ud83d\ude4b|\ud83d\ude4c|\ud83d\ude4d|\ud83d\ude4e|\ud83d\ude4f|\ud83d\ude80|\ud83d\ude83|\ud83d\ude84|\ud83d\ude85|\ud83d\ude87|\ud83d\ude89|\ud83d\ude8c|\ud83d\ude8f|\ud83d\ude91|\ud83d\ude92|\ud83d\ude93|\ud83d\ude95|\ud83d\ude97|\ud83d\ude99|\ud83d\ude9a|\ud83d\udea2|\ud83d\udea4|\ud83d\udea5|\ud83d\udea7|\ud83d\udea8|\ud83d\udea9|\ud83d\udeaa|\ud83d\udeab|\ud83d\udeac|\ud83d\udead|\ud83d\udeb2|\ud83d\udeb6|\ud83d\udeb9|\ud83d\udeba|\ud83d\udebb|\ud83d\udebc|\ud83d\udebd|\ud83d\udebe|\ud83d\udec0|\ud83c\udde6|\ud83c\udde7|\ud83c\udde8|\ud83c\udde9|\ud83c\uddea|\ud83c\uddeb|\ud83c\uddec|\ud83c\udded|\ud83c\uddee|\ud83c\uddef|\ud83c\uddf0|\ud83c\uddf1|\ud83c\uddf2|\ud83c\uddf3|\ud83c\uddf4|\ud83c\uddf5|\ud83c\uddf6|\ud83c\uddf7|\ud83c\uddf8|\ud83c\uddf9|\ud83c\uddfa|\ud83c\uddfb|\ud83c\uddfc|\ud83c\uddfd|\ud83c\uddfe|\ud83c\uddff|\ud83c\udf0d|\ud83c\udf0e|\ud83c\udf10|\ud83c\udf12|\ud83c\udf16|\ud83c\udf17|\ue50a|\u3030|\u27b0|\u2797|\u2796|\u2795|\u2755|\u2754|\u2753|\u274e|\u274c|\u2728|\u270b|\u270a|\u2705|\u26ce|\u23f3|\u23f0|\u23ec|\u23eb|\u23ea|\u23e9|\u2122|\u27bf|\u00a9|\u00ae)|(?:(?:\ud83c\udc04|\ud83c\udd7f|\ud83c\ude1a|\ud83c\ude2f|\u3299|\u303d|\u2b55|\u2b50|\u2b1c|\u2b1b|\u2b07|\u2b06|\u2b05|\u2935|\u2934|\u27a1|\u2764|\u2757|\u2747|\u2744|\u2734|\u2733|\u2716|\u2714|\u2712|\u270f|\u270c|\u2709|\u2708|\u2702|\u26fd|\u26fa|\u26f5|\u26f3|\u26f2|\u26ea|\u26d4|\u26c5|\u26c4|\u26be|\u26bd|\u26ab|\u26aa|\u26a1|\u26a0|\u2693|\u267f|\u267b|\u3297|\u2666|\u2665|\u2663|\u2660|\u2653|\u2652|\u2651|\u2650|\u264f|\u264e|\u264d|\u264c|\u264b|\u264a|\u2649|\u2648|\u263a|\u261d|\u2615|\u2614|\u2611|\u260e|\u2601|\u2600|\u25fe|\u25fd|\u25fc|\u25fb|\u25c0|\u25b6|\u25ab|\u25aa|\u24c2|\u231b|\u231a|\u21aa|\u21a9|\u2199|\u2198|\u2197|\u2196|\u2195|\u2194|\u2139|\u2049|\u203c|\u2668)([\uFE0E\uFE0F]?)))/g,rescaper=/[&<>'"]/g,shouldntBeParsed=/IFRAME|NOFRAMES|NOSCRIPT|SCRIPT|SELECT|STYLE|TEXTAREA|[a-z]/,fromCharCode=String.fromCharCode;return twemoji}();!function(a){a.fn.readingTime=function(o){if(!this.length)return this;var g={readingTimeTarget:".eta",wordCountTarget:null,wordsPerMinute:270,round:!0,lang:"en",remotePath:null,remoteTarget:null},h=this,c=a(this);h.settings=a.extend({},g,o);var e=h.settings.readingTimeTarget,d=h.settings.wordCountTarget,j=h.settings.wordsPerMinute,m=h.settings.round,b=h.settings.lang,f=h.settings.remotePath,l=h.settings.remoteTarget;if("fr"==b)var k="Moins d'une minute",n="min";else if("de"==b)var k="Weniger als eine Minute",n="min";else if("es"==b)var k="Menos de un minuto",n="min";else var k="Less than a minute",n="min";var i=function(v){var s=v.split(" ").length,r=j/60,p=s/r,u=Math.round(p/60),t=Math.round(p-60*u);if(m===!0)u>0?c.find(e).text(u+" "+n):c.find(e).text(k);else{var q=u+":"+t;c.find(e).text(q)}""!==d&&void 0!==d&&c.find(d).text(s)};c.each(function(){null!=f&&null!=l?a.get(f,function(p){i(a(p).children().text())}):i(c.text())})}}(jQuery);var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(){var e=/\blang(?:uage)?-(?!\*)(\w+)\b/i,t=_self.Prism={util:{encode:function(e){return e instanceof n?new n(e.type,t.util.encode(e.content),e.alias):"Array"===t.util.type(e)?e.map(t.util.encode):e.replace(/&/g,"&").replace(/e.length)break e;if(!(d instanceof a)){u.lastIndex=0; +var m=u.exec(d);if(m){c&&(f=m[1].length);var y=m.index-1+f,m=m[0].slice(f),v=m.length,k=y+v,b=d.slice(0,y+1),w=d.slice(k+1),P=[p,1];b&&P.push(b);var A=new a(i,g?t.tokenize(m,g):m,h);P.push(A),w&&P.push(w),Array.prototype.splice.apply(r,P)}}}}}return r},hooks:{all:{},add:function(e,n){var a=t.hooks.all;a[e]=a[e]||[],a[e].push(n)},run:function(e,n){var a=t.hooks.all[e];if(a&&a.length)for(var r,l=0;r=a[l++];)r(n)}}},n=t.Token=function(e,t,n){this.type=e,this.content=t,this.alias=n};if(n.stringify=function(e,a,r){if("string"==typeof e)return e;if("Array"===t.util.type(e))return e.map(function(t){return n.stringify(t,a,e)}).join("");var l={type:e.type,content:n.stringify(e.content,a,r),tag:"span",classes:["token",e.type],attributes:{},language:a,parent:r};if("comment"==l.type&&(l.attributes.spellcheck="true"),e.alias){var i="Array"===t.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(l.classes,i)}t.hooks.run("wrap",l);var o="";for(var s in l.attributes)o+=(o?" ":"")+s+'="'+(l.attributes[s]||"")+'"';return"<"+l.tag+' class="'+l.classes.join(" ")+'" '+o+">"+l.content+""},!_self.document)return _self.addEventListener?(_self.addEventListener("message",function(e){var n=JSON.parse(e.data),a=n.language,r=n.code,l=n.immediateClose;_self.postMessage(t.highlight(r,t.languages[a],a)),l&&_self.close()},!1),_self.Prism):_self.Prism;var a=document.getElementsByTagName("script");return a=a[a.length-1],a&&(t.filename=a.src,document.addEventListener&&!a.hasAttribute("data-manual")&&document.addEventListener("DOMContentLoaded",t.highlightAll)),_self.Prism}();"undefined"!=typeof module&&module.exports&&(module.exports=Prism),"undefined"!=typeof global&&(global.Prism=Prism),Prism.languages.markup={comment://,prolog:/<\?[\w\W]+?\?>/,doctype://,cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=.$<]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\\1|\\?(?!\1)[\w\W])*\1|[^\s'">=]+))?)*\s*\/?>/i,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:('|")[\w\W]*?(\1)|[^\s>]+)/i,inside:{punctuation:/[=>"']/}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},Prism.hooks.add("wrap",function(a){"entity"===a.type&&(a.attributes.title=a.content.replace(/&/,"&"))}),Prism.languages.xml=Prism.languages.markup,Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.css={comment:/\/\*[\w\W]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^\{\}\s][^\{\};]*?(?=\s*\{)/,string:/("|')(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1/,property:/(\b|\B)[\w-]+(?=\s*:)/i,important:/\B!important\b/i,"function":/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},Prism.languages.css.atrule.inside.rest=Prism.util.clone(Prism.languages.css),Prism.languages.markup&&(Prism.languages.insertBefore("markup","tag",{style:{pattern:/()[\w\W]*?(?=<\/style>)/i,lookbehind:!0,inside:Prism.languages.css,alias:"language-css"}}),Prism.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|').*?\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:Prism.languages.markup.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:Prism.languages.css}},alias:"language-css"}},Prism.languages.markup.tag)),Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\w\W]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0}],string:/(["'])(\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[a-z0-9_\.\\]+/i,lookbehind:!0,inside:{punctuation:/(\.|\\)/}},keyword:/\b(if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,"boolean":/\b(true|false)\b/,"function":/[a-z0-9_]+(?=\()/i,number:/\b-?(?:0x[\da-f]+|\d*\.?\d+(?:e[+-]?\d+)?)\b/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/},Prism.languages.javascript=Prism.languages.extend("clike",{keyword:/\b(as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\b/,number:/\b-?(0x[\dA-Fa-f]+|0b[01]+|0o[0-7]+|\d*\.?\d+([Ee][+-]?\d+)?|NaN|Infinity)\b/,"function":/[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*(?=\()/i}),Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/(^|[^\/])\/(?!\/)(\[.+?]|\\.|[^\/\\\r\n])+\/[gimyu]{0,5}(?=\s*($|[\r\n,.;})]))/,lookbehind:!0}}),Prism.languages.insertBefore("javascript","class-name",{"template-string":{pattern:/`(?:\\`|\\?[^`])*`/,inside:{interpolation:{pattern:/\$\{[^}]+\}/,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&Prism.languages.insertBefore("markup","tag",{script:{pattern:/()[\w\W]*?(?=<\/script>)/i,lookbehind:!0,inside:Prism.languages.javascript,alias:"language-javascript"}}),Prism.languages.js=Prism.languages.javascript,!function(e){var t={variable:[{pattern:/\$?\(\([\w\W]+?\)\)/,inside:{variable:[{pattern:/(^\$\(\([\w\W]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b-?(?:0x[\dA-Fa-f]+|\d*\.?\d+(?:[Ee]-?\d+)?)\b/,operator:/--?|-=|\+\+?|\+=|!=?|~|\*\*?|\*=|\/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|\^=?|\|\|?|\|=|\?|:/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\([^)]+\)|`[^`]+`/,inside:{variable:/^\$\(|^`|\)$|`$/}},/\$(?:[a-z0-9_#\?\*!@]+|\{[^}]+\})/i]};e.languages.bash={shebang:{pattern:/^#!\s*\/bin\/bash|^#!\s*\/bin\/sh/,alias:"important"},comment:{pattern:/(^|[^"{\\])#.*/,lookbehind:!0},string:[{pattern:/((?:^|[^<])<<\s*)(?:"|')?(\w+?)(?:"|')?\s*\r?\n(?:[\s\S])*?\r?\n\2/g,lookbehind:!0,inside:t},{pattern:/("|')(?:\\?[\s\S])*?\1/g,inside:t}],variable:t.variable,"function":{pattern:/(^|\s|;|\||&)(?:alias|apropos|apt-get|aptitude|aspell|awk|basename|bash|bc|bg|builtin|bzip2|cal|cat|cd|cfdisk|chgrp|chmod|chown|chroot|chkconfig|cksum|clear|cmp|comm|command|cp|cron|crontab|csplit|cut|date|dc|dd|ddrescue|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|enable|env|ethtool|eval|exec|expand|expect|export|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|getopts|git|grep|groupadd|groupdel|groupmod|groups|gzip|hash|head|help|hg|history|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|jobs|join|kill|killall|less|link|ln|locate|logname|logout|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|make|man|mkdir|mkfifo|mkisofs|mknod|more|most|mount|mtools|mtr|mv|mmv|nano|netstat|nice|nl|nohup|notify-send|nslookup|open|op|passwd|paste|pathchk|ping|pkill|popd|pr|printcap|printenv|printf|ps|pushd|pv|pwd|quota|quotacheck|quotactl|ram|rar|rcp|read|readarray|readonly|reboot|rename|renice|remsync|rev|rm|rmdir|rsync|screen|scp|sdiff|sed|seq|service|sftp|shift|shopt|shutdown|sleep|slocate|sort|source|split|ssh|stat|strace|su|sudo|sum|suspend|sync|tail|tar|tee|test|time|timeout|times|touch|top|traceroute|trap|tr|tsort|tty|type|ulimit|umask|umount|unalias|uname|unexpand|uniq|units|unrar|unshar|uptime|useradd|userdel|usermod|users|uuencode|uudecode|v|vdir|vi|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yes|zip)(?=$|\s|;|\||&)/,lookbehind:!0},keyword:{pattern:/(^|\s|;|\||&)(?:let|:|\.|if|then|else|elif|fi|for|break|continue|while|in|case|function|select|do|done|until|echo|exit|return|set|declare)(?=$|\s|;|\||&)/,lookbehind:!0},"boolean":{pattern:/(^|\s|;|\||&)(?:true|false)(?=$|\s|;|\||&)/,lookbehind:!0},operator:/&&?|\|\|?|==?|!=?|<<>|<=?|>=?|=~/,punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];]/};var a=t.variable[1].inside;a["function"]=e.languages.bash["function"],a.keyword=e.languages.bash.keyword,a["boolean"]=e.languages.bash["boolean"],a.operator=e.languages.bash.operator,a.punctuation=e.languages.bash.punctuation}(Prism),Prism.languages.c=Prism.languages.extend("clike",{keyword:/\b(asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,operator:/\-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*\/]/,number:/\b-?(?:0x[\da-f]+|\d*\.?\d+(?:e[+-]?\d+)?)[ful]*\b/i}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^\s*)#\s*[a-z]+([^\r\n\\]|\\.|\\(?:\r\n?|\n))*/im,lookbehind:!0,alias:"property",inside:{string:{pattern:/(#\s*include\s*)(<.+?>|("|')(\\?.)+?\3)/,lookbehind:!0},directive:{pattern:/(#\s*)\b(define|elif|else|endif|error|ifdef|ifndef|if|import|include|line|pragma|undef|using)\b/,lookbehind:!0,alias:"keyword"}}},constant:/\b(__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|stdin|stdout|stderr)\b/}),delete Prism.languages.c["class-name"],delete Prism.languages.c["boolean"],!function(e){var n=/#(?!\{).+/,t={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:n,string:[/'(?:\\?[^\\])*?'/,{pattern:/"(?:\\?[^\\])*?"/,inside:{interpolation:t}}],keyword:/\b(and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:n,interpolation:t}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\?[\s\S])*?`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},rest:e.languages.javascript}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,alias:"string"},{pattern:/"""[\s\S]*?"""/,alias:"string",inside:{interpolation:t}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/})}(Prism),Prism.languages.css.selector={pattern:/[^\{\}\s][^\{\}]*(?=\s*\{)/,inside:{"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+(?:\(.*\))?/,"class":/\.[-:\.\w]+/,id:/#[-:\.\w]+/}},Prism.languages.insertBefore("css","function",{hexcode:/#[\da-f]{3,6}/i,entity:/\\[\da-f]{1,8}/i,number:/[\d%\.]+/}),Prism.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(\\?.)*?\1/m,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s(--|-)\w+/m}},coord:/^@@.*@@$/m,commit_sha1:/^commit \w{40}$/m},Prism.languages.markdown=Prism.languages.extend("markup",{}),Prism.languages.insertBefore("markdown","prolog",{blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},code:[{pattern:/^(?: {4}|\t).+/m,alias:"keyword"},{pattern:/``.+?``|`[^`\n]+`/,alias:"keyword"}],title:[{pattern:/\w+.*(?:\r?\n|\r)(?:==+|--+)/,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#+.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])([\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:/(^|[^\\])(\*\*|__)(?:(?:\r?\n|\r)(?!\r?\n|\r)|.)+?\2/,lookbehind:!0,inside:{punctuation:/^\*\*|^__|\*\*$|__$/}},italic:{pattern:/(^|[^\\])([*_])(?:(?:\r?\n|\r)(?!\r?\n|\r)|.)+?\2/,lookbehind:!0,inside:{punctuation:/^[*_]|[*_]$/}},url:{pattern:/!?\[[^\]]+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)| ?\[[^\]\n]*\])/,inside:{variable:{pattern:/(!?\[)[^\]]+(?=\]$)/,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\])*"(?=\)$)/}}}}),Prism.languages.markdown.bold.inside.url=Prism.util.clone(Prism.languages.markdown.url),Prism.languages.markdown.italic.inside.url=Prism.util.clone(Prism.languages.markdown.url),Prism.languages.markdown.bold.inside.italic=Prism.util.clone(Prism.languages.markdown.italic),Prism.languages.markdown.italic.inside.bold=Prism.util.clone(Prism.languages.markdown.bold),Prism.languages.scss=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\w\W]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-]+(?:\([^()]+\)|[^(])*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)*url(?=\()/i,selector:{pattern:/(?=\S)[^@;\{\}\(\)]?([^@;\{\}\(\)]|&|#\{\$[-_\w]+\})+(?=\s*\{(\}|\s|[^\}]+(:|\{)[^\}]+))/m,inside:{placeholder:/%[-_\w]+/}}}),Prism.languages.insertBefore("scss","atrule",{keyword:[/@(?:if|else(?: if)?|for|each|while|import|extend|debug|warn|mixin|include|function|return|content)/i,{pattern:/( +)(?:from|through)(?= )/,lookbehind:!0}]}),Prism.languages.insertBefore("scss","property",{variable:/\$[-_\w]+|#\{\$[-_\w]+\}/}),Prism.languages.insertBefore("scss","function",{placeholder:{pattern:/%[-_\w]+/,alias:"selector"},statement:/\B!(?:default|optional)\b/i,"boolean":/\b(?:true|false)\b/,"null":/\bnull\b/,operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|or|not)(?=\s)/,lookbehind:!0}}),Prism.languages.scss.atrule.inside.rest=Prism.util.clone(Prism.languages.scss),Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\w\W]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},string:{pattern:/(^|[^@\\])("|')(?:\\?[\s\S])*?\2/,lookbehind:!0},variable:/@[\w.$]+|@("|'|`)(?:\\?[\s\S])+?\1/,"function":/\b(?:COUNT|SUM|AVG|MIN|MAX|FIRST|LAST|UCASE|LCASE|MID|LEN|ROUND|NOW|FORMAT)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR VARYING|CHARACTER (?:SET|VARYING)|CHARSET|CHECK|CHECKPOINT|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMN|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS|CONTAINSTABLE|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|DATA(?:BASES?)?|DATETIME|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE(?: PRECISION)?|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE KEY|ELSE|ENABLE|ENCLOSED BY|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPE(?:D BY)?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTO|INVOKER|ISOLATION LEVEL|JOIN|KEYS?|KILL|LANGUAGE SQL|LAST|LEFT|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MODIFIES SQL DATA|MODIFY|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL(?: CHAR VARYING| CHARACTER(?: VARYING)?| VARCHAR)?|NATURAL|NCHAR(?: VARCHAR)?|NEXT|NO(?: SQL|CHECK|CYCLE)?|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READ(?:S SQL DATA|TEXT)?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEATABLE|REPLICATION|REQUIRE|RESTORE|RESTRICT|RETURNS?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE MODE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|START(?:ING BY)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED BY|TEXT(?:SIZE)?|THEN|TIMESTAMP|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNPIVOT|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?)\b/i,"boolean":/\b(?:TRUE|FALSE|NULL)\b/i,number:/\b-?(?:0x)?\d*\.?[\da-f]+\b/,operator:/[-+*\/=%^~]|&&?|\|?\||!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|IN|LIKE|NOT|OR|IS|DIV|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},!function(){"undefined"!=typeof self&&self.Prism&&self.document&&Prism.hooks.add("complete",function(e){if(e.code){var t=e.element.parentNode,s=/\s*\bline-numbers\b\s*/;if(t&&/pre/i.test(t.nodeName)&&(s.test(t.className)||s.test(e.element.className))&&!e.element.querySelector(".line-numbers-rows")){s.test(e.element.className)&&(e.element.className=e.element.className.replace(s,"")),s.test(t.className)||(t.className+=" line-numbers");var n,a=e.code.match(/\n(?!$)/g),l=a?a.length+1:1,m=new Array(l+1);m=m.join(""),n=document.createElement("span"),n.className="line-numbers-rows",n.innerHTML=m,t.hasAttribute("data-start")&&(t.style.counterReset="linenumber "+(parseInt(t.getAttribute("data-start"),10)-1)),e.element.appendChild(n)}}})}(),!function(){if(("undefined"==typeof self||self.Prism)&&("undefined"==typeof global||global.Prism)){var i=/\b([a-z]{3,7}:\/\/|tel:)[\w\-+%~\/.:#=?&]+/,n=/\b\S+@[\w.]+[a-z]{2}/,e=/\[([^\]]+)]\(([^)]+)\)/,t=["comment","url","attr-value","string"];Prism.hooks.add("before-highlight",function(a){a.grammar&&!a.grammar["url-link"]&&(Prism.languages.DFS(a.grammar,function(a,r,l){t.indexOf(l)>-1&&"Array"!==Prism.util.type(r)&&(r.pattern||(r=this[a]={pattern:r}),r.inside=r.inside||{},"comment"==l&&(r.inside["md-link"]=e),"attr-value"==l?Prism.languages.insertBefore("inside","punctuation",{"url-link":i},r):r.inside["url-link"]=i,r.inside["email-link"]=n)}),a.grammar["url-link"]=i,a.grammar["email-link"]=n)}),Prism.hooks.add("wrap",function(i){if(/-link$/.test(i.type)){i.tag="a";var n=i.content;if("email-link"==i.type&&0!=n.indexOf("mailto:"))n="mailto:"+n;else if("md-link"==i.type){var t=i.content.match(e);n=t[2],i.content=t[1]}i.attributes.href=n}})}}(),!function(){if("undefined"!=typeof self&&self.Prism&&self.document){var e={css:"CSS",clike:"C-like",javascript:"JavaScript",abap:"ABAP",actionscript:"ActionScript",apacheconf:"Apache Configuration",apl:"APL",applescript:"AppleScript",asciidoc:"AsciiDoc",aspnet:"ASP.NET (C#)",autoit:"AutoIt",autohotkey:"AutoHotkey",basic:"BASIC",csharp:"C#",cpp:"C++",coffeescript:"CoffeeScript","css-extras":"CSS Extras",fsharp:"F#",glsl:"GLSL",http:"HTTP",inform7:"Inform 7",latex:"LaTeX",lolcode:"LOLCODE",matlab:"MATLAB",mel:"MEL",nasm:"NASM",nginx:"nginx",nsis:"NSIS",objectivec:"Objective-C",ocaml:"OCaml",parigp:"PARI/GP",php:"PHP","php-extras":"PHP Extras",powershell:"PowerShell",jsx:"React JSX",rest:"reST (reStructuredText)",sas:"SAS",sass:"Sass (Sass)",scss:"Sass (Scss)",sql:"SQL",typescript:"TypeScript",vhdl:"VHDL",vim:"vim",wiki:"Wiki markup",yaml:"YAML"};Prism.hooks.add("before-highlight",function(a){var s=a.element.parentNode;if(s&&/pre/i.test(s.nodeName)){var t=e[a.language]||a.language.substring(0,1).toUpperCase()+a.language.substring(1);s.setAttribute("data-language",t);var i,r,l=s.previousSibling;l&&/\s*\bprism-show-language\b\s*/.test(l.className)&&l.firstChild&&/\s*\bprism-show-language-label\b\s*/.test(l.firstChild.className)?(r=l.firstChild,r.getAttribute("data-language")!==t&&(r.setAttribute("data-language",t),r.innerHTML=t)):(i=document.createElement("div"),r=document.createElement("div"),r.className="prism-show-language-label",r.setAttribute("data-language",t),r.innerHTML=t,i.className="prism-show-language",i.appendChild(r),s.parentNode.insertBefore(i,s))}})}}(); \ No newline at end of file From 3f2160c7f5431204800a14466f1ae9fefa3c412b Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Fri, 20 Nov 2015 16:24:26 +0100 Subject: [PATCH 15/24] Tag view similar to index view --- index.hbs | 14 ++------------ tag.hbs | 15 ++++++--------- 2 files changed, 8 insertions(+), 21 deletions(-) diff --git a/index.hbs b/index.hbs index 31cdaadc..a8e2eeaf 100755 --- a/index.hbs +++ b/index.hbs @@ -1,6 +1,6 @@ {{!< default}} -

      Writtings.

      +

      Writtings.

        {{#foreach posts}}
      1. @@ -10,15 +10,5 @@
      2. {{/foreach}}
      -{{pagination}} - -{{!-- -

      {{{title}}}

      -

      {{excerpt}}…

      -
      -
      - - {{tags prefix="on " separator=" "}} -
      -
      --}} +{{pagination}} diff --git a/tag.hbs b/tag.hbs index 308a2418..cde112d7 100755 --- a/tag.hbs +++ b/tag.hbs @@ -1,15 +1,12 @@ {{!< default}} -

      Tag: {{tag.name}}

      -
        + +

        Tag: {{tag.name}}.

        +
          {{#foreach posts}}
        1. -

          {{{title}}}

          -

          {{excerpt}}…

          -
          - - {{tags prefix="on " separator=" "}} -
          -
          + + {{title}} + {{tags separator=" "}}
        2. {{/foreach}}
        From 8dec9ea2d473785479317d0310d347e81837a99b Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Mon, 23 Nov 2015 13:06:23 +0100 Subject: [PATCH 16/24] refactor margins and font from titles --- assets/scss/components/_post.scss | 1 + assets/scss/modules/_variables.scss | 30 ++++++++++++++--------------- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/assets/scss/components/_post.scss b/assets/scss/components/_post.scss index cdb46108..3ea3af54 100755 --- a/assets/scss/components/_post.scss +++ b/assets/scss/components/_post.scss @@ -122,6 +122,7 @@ } #post-title { + font-size: $font-title; margin: 3rem 0 2.5rem; transition: all $aside-animation-time; diff --git a/assets/scss/modules/_variables.scss b/assets/scss/modules/_variables.scss index af38f1d2..d1e41f93 100755 --- a/assets/scss/modules/_variables.scss +++ b/assets/scss/modules/_variables.scss @@ -40,21 +40,21 @@ $font-weight-thin : 100; $font-weight-normal : 300; $font-weight-bold : 700; -$margin-title : $unit * 2.5; -$margin-h1 : $margin-title * 1.1; -$margin-h2 : $margin-title * 0.8; -$margin-h3 : $margin-h2 * 0.8; -$margin-h4 : $margin-h3 * 0.8; -$margin-h5 : $margin-h4 * 0.8; -$margin-h6 : $margin-h5 * 0.8; - -$font-title : $unit * 2; -$font-h1 : $font-title * 1.1; -$font-h2 : $font-title * 0.85; -$font-h3 : $font-h2 * 0.85; -$font-h4 : $font-h3 * 0.85; -$font-h5 : $font-h4 * 0.85; -$font-h6 : $font-h5 * 0.85; +$margin-title : $unit * 2.2; +$margin-h1 : $margin-title * .8; +$margin-h2 : $margin-h1 * .8; +$margin-h3 : $margin-h2 * .8; +$margin-h4 : $margin-h3 * .8; +$margin-h5 : $margin-h4 * .8; +$margin-h6 : $margin-h5 * .8; + +$font-title : $unit * 2.2; +$font-h1 : $font-title * .8; +$font-h2 : $font-h1 * .8; +$font-h3 : $font-h2 * .8; +$font-h4 : $font-h3 * .8; +$font-h5 : $font-h4 * .8; +$font-h6 : $font-h5 * .8; /* ASIDE */ From 3362c0b56e86dbabcdf92bdc022437fcf67e5658 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Mon, 23 Nov 2015 13:24:43 +0100 Subject: [PATCH 17/24] refactor quotes style --- assets/scss/components/_media-queries.scss | 6 ------ assets/scss/modules/_global.scss | 10 ++++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/assets/scss/components/_media-queries.scss b/assets/scss/components/_media-queries.scss index 87a1ff85..15eafbd5 100755 --- a/assets/scss/components/_media-queries.scss +++ b/assets/scss/components/_media-queries.scss @@ -201,10 +201,4 @@ #post-title { margin: 2.5rem 0; } - - blockquote { - > p { - margin: 2rem -1rem; - } - } } diff --git a/assets/scss/modules/_global.scss b/assets/scss/modules/_global.scss index 1c61f3e4..0094aca7 100755 --- a/assets/scss/modules/_global.scss +++ b/assets/scss/modules/_global.scss @@ -106,18 +106,16 @@ em { font-style: italic; } blockquote { + padding: 0 0 0 1.5rem; + border-left: $gray-darkest 0.25rem solid; > p { - margin: 2.5rem -3rem; - + margin: 0.8em 0; font-family: $quote-font; - font-size: 1.2rem; - -webkit-font-smoothing: antialiased; font-style: italic; - line-height: 1.4; - text-align: center; letter-spacing: .01rem; word-wrap: break-word; + -webkit-font-smoothing: antialiased; } } // ------------------------------ From 1a0c6db848f8a307a938b43e8592a4b0bcea5cbb Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Mon, 23 Nov 2015 13:31:45 +0100 Subject: [PATCH 18/24] little improvement in inline code style --- assets/scss/modules/_prism.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/scss/modules/_prism.scss b/assets/scss/modules/_prism.scss index 12b944b6..8ff42ef8 100644 --- a/assets/scss/modules/_prism.scss +++ b/assets/scss/modules/_prism.scss @@ -43,7 +43,7 @@ pre[class*="language-"] { /* Inline code */ :not(pre) > code { - padding: .2em; + padding: .1rem .2rem; border-radius: .3em; white-space: normal; } From 7a003fb4cbc002e7d8cee9aef4e472016b549355 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Mon, 23 Nov 2015 14:50:20 +0100 Subject: [PATCH 19/24] refactor margins to be constant --- assets/scss/modules/_global.scss | 6 +++--- assets/scss/modules/_variables.scss | 14 ++++++++------ 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/assets/scss/modules/_global.scss b/assets/scss/modules/_global.scss index 0094aca7..270d7dc7 100755 --- a/assets/scss/modules/_global.scss +++ b/assets/scss/modules/_global.scss @@ -67,7 +67,7 @@ h1 { margin: $margin-h1 0; font-size: $font-h1; - line-height: 3rem; + line-height: $line-height * 1.75; } h2 { margin: $margin-h2 0; @@ -97,7 +97,7 @@ h6 { p { margin-bottom: 1.3rem; - line-height: 1.7rem; + line-height: $line-height; } strong { font-weight: bold; @@ -129,7 +129,7 @@ ul { li { margin: 0 0 .2rem 0; - line-height: 1.6rem; + line-height: $line-height * 1.2; } ol, ul { diff --git a/assets/scss/modules/_variables.scss b/assets/scss/modules/_variables.scss index d1e41f93..dc4ebe39 100755 --- a/assets/scss/modules/_variables.scss +++ b/assets/scss/modules/_variables.scss @@ -40,13 +40,15 @@ $font-weight-thin : 100; $font-weight-normal : 300; $font-weight-bold : 700; +$line-height : 1.75rem; + $margin-title : $unit * 2.2; -$margin-h1 : $margin-title * .8; -$margin-h2 : $margin-h1 * .8; -$margin-h3 : $margin-h2 * .8; -$margin-h4 : $margin-h3 * .8; -$margin-h5 : $margin-h4 * .8; -$margin-h6 : $margin-h5 * .8; +$margin-h1 : $margin-title * .9; +$margin-h2 : $margin-title * .9; +$margin-h3 : $margin-title * .9; +$margin-h4 : $margin-title * .9; +$margin-h5 : $margin-title * .9; +$margin-h6 : $margin-title * .9; $font-title : $unit * 2.2; $font-h1 : $font-title * .8; From dc65f7168164c8f18d6ca3da7803c192eb50dea3 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Mon, 23 Nov 2015 14:50:38 +0100 Subject: [PATCH 20/24] refactor prism theme to be similar to github gist --- assets/scss/modules/_prism.scss | 280 ++++++++++++++++++-------------- 1 file changed, 156 insertions(+), 124 deletions(-) diff --git a/assets/scss/modules/_prism.scss b/assets/scss/modules/_prism.scss index 8ff42ef8..a796155e 100644 --- a/assets/scss/modules/_prism.scss +++ b/assets/scss/modules/_prism.scss @@ -1,79 +1,109 @@ -/* http://prismjs.com/download.html?themes=prism-okaidia&languages=markup+css+clike+javascript+bash+c+coffeescript+css-extras+git+markdown+scss+sql&plugins=line-numbers+autolinker+show-language */ +/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript&plugins=line-highlight+show-language */ + /** - * okaidia theme for JavaScript, CSS and HTML - * Loosely based on Monokai textmate theme by http://www.monokai.nl/ - * @author ocodia + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou */ -code, +code[class*="language-"], pre[class*="language-"] { - color: #f8f8f2; - text-shadow: 0 1px rgba(0, 0, 0, 0.3); - font-family: $code-font; - direction: ltr; - text-align: left; - white-space: pre; - word-spacing: normal; - word-break: normal; - word-wrap: normal; - line-height: 1.5; - - -moz-tab-size: 4; - -o-tab-size: 4; - tab-size: 4; - - -webkit-hyphens: none; - -moz-hyphens: none; - -ms-hyphens: none; - hyphens: none; + font-family: $code-font; + font-size: 90%; + line-height: 1.5; + text-align: left; + white-space: pre; + word-spacing: normal; + word-wrap: normal; + word-break: normal; + -moz-tab-size: 2; + -o-tab-size: 2; + tab-size: 2; + -webkit-hyphens: none; + -moz-hyphens: none; + hyphens: none; + color: black; + text-shadow: 0 1px white; + direction: ltr; + -ms-hyphens: none; +} + +pre[class*="language-"]::-moz-selection, +pre[class*="language-"]::-moz-selection, +code[class*="language-"]::-moz-selection, +code[class*="language-"]::-moz-selection { + background: #b3d4fc; + text-shadow: none; +} + +pre[class*="language-"]::selection, +pre[class*="language-"]::selection, +code[class*="language-"]::selection, +code[class*="language-"]::selection { + background: #b3d4fc; + text-shadow: none; +} + +@media print { + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } + } /* Code blocks */ pre[class*="language-"] { - padding: 1em; - margin: .5em 0; - overflow: auto; - border-radius: 0.3em; + padding: 1em; + margin: .5em 0; + overflow: auto; } -:not(pre) > code, -pre[class*="language-"] { - background: $gray-darkest; +:not(pre) > code[class*="language-"],pre[class*="language-"] { + border: 1px solid rgba(0, 0, 0, .15); + background: #fbfaf8; } /* Inline code */ :not(pre) > code { - padding: .1rem .2rem; - border-radius: .3em; - white-space: normal; + // slack style + padding: .1em; + padding: 1px 3px; + font-family: $code-font; + font-size: 72%; + line-height: 72%; + white-space: normal; + white-space: normal; + color: #c25; + border: 1px solid #e1e1e8; + border-radius: .3em; + background-color: #f7f7f9; + text-shadow: 0 1px #fff; } .token.comment, .token.prolog, .token.doctype, .token.cdata { - color: slategray; + color: #969896; } .token.punctuation { - color: #f8f8f2; + color: #333; } .namespace { - opacity: .7; + opacity: .7; } .token.property, .token.tag, +.token.boolean, +.token.number, .token.constant, .token.symbol, .token.deleted { - color: #f92672; -} - -.token.boolean, -.token.number { - color: #ae81ff; + color: #0086b3; } .token.selector, @@ -82,115 +112,117 @@ pre[class*="language-"] { .token.char, .token.builtin, .token.inserted { - color: #a6e22e; + color: #183691; } .token.operator, .token.entity, .token.url, .language-css .token.string, -.style .token.string, -.token.variable { - color: #f8f8f2; +.style .token.string { + color: #a71d5d; } .token.atrule, .token.attr-value, -.token.function { - color: #e6db74; +.token.keyword { + color: #a71d5d; } -.token.keyword { - color: #66d9ef; +.token.function { + color: #0086b3; } .token.regex, -.token.important { - color: #fd971f; +.token.important, +.token.variable { + color: #e90; } .token.important, .token.bold { - font-weight: $font-weight-normal; + font-weight: bold; } + .token.italic { - font-style: italic; + font-style: italic; } .token.entity { - cursor: help; -} - -pre.line-numbers { - position: relative; - padding-left: 3.8em; - counter-reset: linenumber; + cursor: help; +} + +pre[data-line] { + position: relative; + padding: 1em 0 1em 3em; +} + +.line-highlight { + position: absolute; + right: 0; + left: 0; + padding: inherit 0; + margin-top: 1em; /* Same as .prism’s padding-top */ + line-height: inherit; + white-space: pre; + pointer-events: none; + background: hsla(24, 20%, 50%, .08); + background: -moz-linear-gradient(left, hsla(24, 20%, 50%, .1) 70%, hsla(24, 20%, 50%, 0)); + background: -webkit-linear-gradient(left, hsla(24, 20%, 50%, .1) 70%, hsla(24, 20%, 50%, 0)); + background: -o-linear-gradient(left, hsla(24, 20%, 50%, .1) 70%, hsla(24, 20%, 50%, 0)); + background: linear-gradient(left, hsla(24, 20%, 50%, .1) 70%, hsla(24, 20%, 50%, 0)); +} + +.line-highlight:before, +.line-highlight[data-end]:after { + position: absolute; + top: .4em; + left: .6em; + min-width: 1em; + padding: 0 .5em; + font: bold 65%/1.5 sans-serif; + content: attr(data-start); + text-align: center; + vertical-align: .3em; + color: hsl(24, 20%, 95%); + border-radius: 999px; + background-color: hsla(24, 20%, 50%, .4); + box-shadow: 0 1px white; + text-shadow: none; +} + +.line-highlight[data-end]:after { + top: auto; + bottom: .4em; + content: attr(data-end); } -pre.line-numbers > code { - position: relative; -} - -.line-numbers .line-numbers-rows { - position: absolute; - pointer-events: none; - top: 0; - font-size: 100%; - left: -3.8em; - width: 3em; /* works for line-numbers below 1000 lines */ - letter-spacing: -1px; - border-right: 1px solid #999; - - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - -} - - .line-numbers-rows > span { - pointer-events: none; - display: block; - counter-increment: linenumber; - } - - .line-numbers-rows > span:before { - content: counter(linenumber); - color: #999; - display: block; - padding-right: 0.8em; - text-align: right; - } -.token a { - color: inherit; -} div.prism-show-language { - position: relative; + position: relative; } div.prism-show-language > div.prism-show-language-label[data-language] { - color: black; - background-color: #CFCFCF; - display: inline-block; - position: absolute; - bottom: auto; - left: auto; - top: 0; - right: 0; - width: auto; - height: auto; - font-size: .9rem; - border-radius: 0 0 0 5px; - padding: 0 0.5em; - text-shadow: none; - z-index: 1; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - -webkit-transform: none; - -moz-transform: none; - -ms-transform: none; - -o-transform: none; - transform: none; + position: absolute; + top: 0; + right: 0; + bottom: auto; + left: auto; + z-index: 1; + display: inline-block; + width: auto; + height: auto; + padding: 0 .5em; + font-size: .9em; + -webkit-transform: none; + -moz-transform: none; + -ms-transform: none; + -o-transform: none; + transform: none; + color: black; + border-radius: 0 0 0 5px; + background-color: #cfcfcf; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + text-shadow: none; } - From 4ae9f7e60a28ccb337a0a904fb188a482ff6cee8 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Wed, 2 Dec 2015 22:25:31 +0000 Subject: [PATCH 21/24] adjust blockquotes margins --- assets/scss/modules/_global.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/scss/modules/_global.scss b/assets/scss/modules/_global.scss index 270d7dc7..3dd1402f 100755 --- a/assets/scss/modules/_global.scss +++ b/assets/scss/modules/_global.scss @@ -106,10 +106,10 @@ em { font-style: italic; } blockquote { + margin: 2rem 0; padding: 0 0 0 1.5rem; border-left: $gray-darkest 0.25rem solid; > p { - margin: 0.8em 0; font-family: $quote-font; font-style: italic; From 385193570e9e3974a36f7338fd37406b52bb3c36 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Wed, 2 Dec 2015 23:27:36 +0000 Subject: [PATCH 22/24] deleted some duplicate rules and format files --- assets/scss/components/_media-queries.scss | 45 +++++--- assets/scss/components/_page-error.scss | 12 +-- assets/scss/components/_post.scss | 29 ++--- assets/scss/components/_search.scss | 20 ++-- assets/scss/modules/_buttons.scss | 33 +++--- assets/scss/modules/_forms.scss | 14 +-- assets/scss/modules/_global.scss | 120 ++++++++++----------- assets/scss/modules/_utils.scss | 2 +- 8 files changed, 133 insertions(+), 142 deletions(-) diff --git a/assets/scss/components/_media-queries.scss b/assets/scss/components/_media-queries.scss index 15eafbd5..a7d70b52 100755 --- a/assets/scss/components/_media-queries.scss +++ b/assets/scss/components/_media-queries.scss @@ -6,91 +6,97 @@ main { padding: 2.5rem 11rem; } + .content { margin: 0 7rem; } } + // ------------------------------ // < 1024px (Tablet) // ------------------------------ @media all and (max-width:1024px) { /* disabling element, too much information*/ + .pace, span.post.tags, .post.reading-time, .post.related { display: none; } + #search-container { display: none !important; - } + }/* Enable element special for little devices */ - /* Enable element special for little devices */ #profile-resume { display: inherit; - } + }/* off canvas */ - /* off canvas */ #menu-button { position: fixed; top: .5rem; left: 13.5rem; z-index: 2; - display: block; - transition: all $aside-animation-time; + &.expanded { left: .85rem; } + > a { > i { color: $hover-color; } } } + .cover { width: 16rem; - transition: width $aside-animation-time $aside-animation, - transform $aside-animation-time $aside-animation, - border-right $aside-animation-time*1.8 $aside-animation, - box-shadow $aside-animation-time*1.8 $aside-animation; + transform $aside-animation-time $aside-animation, + border-right $aside-animation-time * 1.8 $aside-animation, + box-shadow $aside-animation-time * 1.8 $aside-animation; transform: translate3d(-16rem, 0, 0); - - border-right: none; + border-right: 0; box-shadow: none; + &.expanded { width: 16rem; - transform: translate3d(0, 0, 0); - border-right: 1px solid $gray; box-shadow: 11px -10px 1px -9px $gray-light; } + &.animated { transition: all $aside-animation-time; } } + .profile { width: 100%; height: 100%; max-width: 100%; + &.contact { > nav { padding: 0; } } + > a { > img { width: 8rem; margin-bottom: 1rem; } } + > p { display: none; } + .divider { display: none; } @@ -102,20 +108,23 @@ > a { padding: .85rem 1.25rem; - font-size: 1rem; } } } + #avatar-link { display: inline-block; margin-top: 4rem; } + .navigation { width: 100%; + &.right { margin: 0; } + &.left { .links.item { width: 100%; @@ -131,20 +140,20 @@ main { left: 0; - transition: all $aside-animation-time; transform: translate3d(0, 0, 0); + &.expanded { transform: translate3d(14rem, 0, 0); } } } + // ------------------------------ // < 480px (Mobile) // ------------------------------ @media all and (max-width:480px) { - .post .tags, .post .meta > time, .pagination > span { @@ -162,6 +171,7 @@ .mayday { width: auto; + > h2 { font-size: 20px; line-height: 25px; @@ -192,6 +202,7 @@ #posts-list > li { margin-bottom: 2.5rem; + > time { padding: 0 0 25px 25px; letter-spacing: 1px; diff --git a/assets/scss/components/_page-error.scss b/assets/scss/components/_page-error.scss index b8b35475..dc424c79 100755 --- a/assets/scss/components/_page-error.scss +++ b/assets/scss/components/_page-error.scss @@ -1,13 +1,10 @@ body[data-page="error"] { width: 100%; height: 100%; - font-size: 1rem; font-weight: normal; line-height: 25px; - text-align: center; - @include background-filter; > article { @@ -22,28 +19,25 @@ body[data-page="error"] { > h2 { font-size: 24px; line-height: 35px; - color: $gray-lightest; text-shadow: 0 1px 1px rgba(0, 0, 0, .4); } } + .astro-wrap { position: relative; - width: $astronaut-size; height: $astronaut-size * 1.6; margin: auto; } + .astronaut { position: absolute; top: 0; left: 0; - width: $astronaut-size; height: $astronaut-size * 1.6; - transform: translate(0, 50px); animation: move 10s infinite; - - background: url("/assets/img/astronaut.png") center/cover no-repeat; + background: url('/assets/img/astronaut.png') center / cover no-repeat; } diff --git a/assets/scss/components/_post.scss b/assets/scss/components/_post.scss index 3ea3af54..56ef59aa 100755 --- a/assets/scss/components/_post.scss +++ b/assets/scss/components/_post.scss @@ -1,9 +1,6 @@ #posts-list { - padding: 0; - margin: 0; margin: 5rem 0; - list-style-type: none; > li { @@ -22,7 +19,7 @@ @extend %dotted-link; } - > span > a { + > span > a { bottom: 2px; } } @@ -37,12 +34,11 @@ > img { width: 100%; margin: 1.5rem auto; - text-align: center; - border-radius: $border-radius; } } + pre { width: 95%; } @@ -50,23 +46,21 @@ > header { text-align: center; } + &.description { margin-bottom: 1rem; - font-size: .9em; - color: $gray-dark; } + &.meta { margin: .7em 0; - font-size: .85rem; - color: $gray; } + &.tags { > a { - &:first-child { margin-left: .2rem; } @@ -74,36 +68,31 @@ &:last-child { margin-right: .2rem; } - padding: .15rem .25rem; - font-size: .55rem; - transition: all $aside-animation-time; text-transform: uppercase; - color: $gray-lightest; border-radius: .25rem; background-color: rgba($primary-color, .45); - // bottom: 1.5px; &:hover { background-color: rgba($primary-color, 1); } } } + &.author { img { display: inline-block; height: 22px; margin: 0 .5rem; - vertical-align: middle; - - border: none; + border: 0; box-shadow: none; } } + &.comments { padding: 2rem 0 0 0; } @@ -111,7 +100,6 @@ &.related { display: flex; padding: 4rem 0 2rem 0; - justify-content: space-between; } } @@ -124,7 +112,6 @@ #post-title { font-size: $font-title; margin: 3rem 0 2.5rem; - transition: all $aside-animation-time; &:hover { diff --git a/assets/scss/components/_search.scss b/assets/scss/components/_search.scss index c791f03e..62fb3b2e 100755 --- a/assets/scss/components/_search.scss +++ b/assets/scss/components/_search.scss @@ -1,16 +1,16 @@ #search-container { margin-top: 1.5rem; } + #search-form { padding: .25rem 0; } + #search-field { width: 12.5rem; height: 1rem; padding: 4% 5px 4% 18px; - transition: border .3s ease-in; - border-radius: 1.68rem; &:focus, @@ -18,6 +18,7 @@ border: 1.5px solid lighten($hover-color, 5%); } } + #search-results { text-align: center; @@ -25,41 +26,42 @@ margin-top: 3rem; margin-bottom: 9rem; } + > p { margin-bottom: 3rem; - font-size: 1.2rem; } } + .result { display: block; padding: 1rem; margin-bottom: 1.3rem; - text-decoration: none; word-wrap: break-word; - border: 1px solid $primary-color; border-radius: 5px; - > h2, > h4 { + > h2, + > h4 { color: $gray-darker; } + &:hover { transition: .5s; - > h2, > h4 { + > h2, + > h4 { transition: .5s; - color: $hover-color; } } } + .icon-search { position: absolute; top: 31.5rem; left: 16.5rem; - color: $gray; text-shadow: 1px 1px 0 $gray; } diff --git a/assets/scss/modules/_buttons.scss b/assets/scss/modules/_buttons.scss index 7bbb432a..c12b8b40 100755 --- a/assets/scss/modules/_buttons.scss +++ b/assets/scss/modules/_buttons.scss @@ -10,54 +10,51 @@ img, } .btn { - padding: 10px 20px; - + border: 1px solid $primary-color; + border-radius: 20px; + color: $primary-color; font-size: .9em; -webkit-font-smoothing: antialiased; font-weight: bold; - letter-spacing: 1px; - - color: $primary-color; - border: 1px solid $primary-color; - border-radius: 20px; + padding: 10px 20px; text-shadow: none; &:hover { - color: darken($primary-color, 15%); border-color: darken($primary-color, 15%); + color: darken($primary-color, 15%); } - &.small { - padding: 8px 12px; + &.small { font-size: .7em; + padding: 8px 12px; } - &.large { - padding: 10px 24px; + &.large { font-size: 1.1em; + padding: 10px 24px; } + &.secondary { - color: $secondary-color; border-color: $secondary-color; + color: $secondary-color; &:hover { - color: darken($secondary-color, 15%); border-color: darken($secondary-color, 15%); + color: darken($secondary-color, 15%); } } } + #menu-button { display: none; > a { > i { + color: $gray-lightest; + font-size: 36px; position: relative; top: 3px; - - font-size: 36px; - - color: $gray-lightest; } } } diff --git a/assets/scss/modules/_forms.scss b/assets/scss/modules/_forms.scss index 3d220e0b..a0216677 100755 --- a/assets/scss/modules/_forms.scss +++ b/assets/scss/modules/_forms.scss @@ -1,6 +1,7 @@ *:focus { outline: none; } + input[type="text"], input[type="password"], input[type="datetime"], @@ -14,19 +15,18 @@ input[type="email"], input[type="url"], input[type="search"], input[type="tel"] { - width: 240px; - padding: 1em; - - font-size: .9em; - - color: $gray-darker; + background: $gray-lightest; border: 1px solid $gray-light; border-radius: $border-radius; - background: $gray-lightest; + color: $gray-darker; + font-size: .9em; + padding: 1em; + width: 240px; @include placeholder { color: $gray; } + &:focus { border-color: $secondary-color; } diff --git a/assets/scss/modules/_global.scss b/assets/scss/modules/_global.scss index 3dd1402f..7c4f9c8d 100755 --- a/assets/scss/modules/_global.scss +++ b/assets/scss/modules/_global.scss @@ -3,36 +3,39 @@ // ------------------------------ html { + font-size: $unit; height: 100%; max-height: 100%; - font-size: $unit; - &.expanded { overflow-y: hidden; } } + html, body { height: 100%; } -body { - font-family: $sans-font; +body { color: $gray-darker; + font-family: $sans-font; } + mark { background: saturate($secondary-color, 60%); } + ::selection { background: lighten($secondary-color, 26%); } -::scrollbar { + +:scrollbar { display: none; } hr { - border: none; + border: 0; } // ------------------------------ @@ -40,84 +43,86 @@ hr { // ------------------------------ a { + color: $link-color; position: relative; - - transition: all $aside-animation-time; text-decoration: none; - - color: $link-color; + transition: all $aside-animation-time; &:hover { color: $hover-color; } } + h1, h2, h3, h4, h5, -h5 { +h6 { + color: $gray-darkest; font-family: $serif-font; -webkit-font-smoothing: antialiased; font-weight: lighter; - - color: $gray-darkest; } -h1 { - margin: $margin-h1 0; +h1 { font-size: $font-h1; line-height: $line-height * 1.75; + margin: $margin-h1 0; } -h2 { - margin: $margin-h2 0; +h2 { font-size: $font-h2; + margin: $margin-h2 0; } -h3 { - margin: $margin-h3 0; +h3 { font-size: $font-h3; + margin: $margin-h3 0; } -h4 { - margin: $margin-h4 0; +h4 { font-size: $font-h4; + margin: $margin-h4 0; } -h5 { - margin: $margin-h5 0; +h5 { font-size: $font-h5; + margin: $margin-h5 0; } -h6 { - margin: $margin-h6 0; +h6 { font-size: $font-h6; + margin: $margin-h6 0; } -p { - margin-bottom: 1.3rem; +p { line-height: $line-height; + margin-bottom: 1.3rem; } + strong { font-weight: bold; } + em { font-style: italic; } + blockquote { + border-left: $gray-darkest .25rem solid; margin: 2rem 0; padding: 0 0 0 1.5rem; - border-left: $gray-darkest 0.25rem solid; + > p { font-family: $quote-font; + -webkit-font-smoothing: antialiased; font-style: italic; - letter-spacing: .01rem; word-wrap: break-word; - -webkit-font-smoothing: antialiased; } } + // ------------------------------ // BASIC STYLING // ------------------------------ @@ -127,35 +132,35 @@ ul { margin: 0 0 1.3rem 2.5rem; li { - margin: 0 0 .2rem 0; - line-height: $line-height * 1.2; + margin: 0 0 .2rem; } + ol, ul { margin: .1rem 0 .2rem 2rem; } } + ol { list-style-type: decimal; } + ul { list-style-type: disc; } .block-heading { - position: relative; + @include column(12); bottom: -15px; - font-size: .8rem; font-weight: bold; - - text-align: center; letter-spacing: 1px; + position: relative; + text-align: center; text-transform: uppercase; - - @include column(12); } + .label { padding: 8px 18px 9px; } @@ -165,57 +170,54 @@ ul { // ------------------------------ main { - position: absolute; - top: 0; - right: 0; bottom: 0; left: 22.5rem; - padding: 2rem 3rem; + position: absolute; + right: 0; + top: 0; > .content { - padding: 2rem 0; margin: 0 3.7rem; + padding: 2rem 0; > h1 { margin-bottom: 2.7rem; } + > footer { + border-top: 2px solid $gray-light; + color: lighten($gray-dark, 10%); display: block; - padding: 2em 0 0; - font-size: .7em; - - color: lighten($gray-dark, 10%); - border-top: 2px solid $gray-light; + padding: 2em 0 0; } } } .divider { - margin: 10px auto; - border-top: 1px solid $divider-color; + margin: 10px auto; &.long { width: 30%; } + &.short { width: 15%; } - &.post { - width: 30%; - margin: 1.7rem 0; + &.post { border-top: 1px solid $gray-light; + margin: 1.7rem 0; + width: 30%; } } .container { + margin: 0 auto; position: relative; - width: $total-width - $gutter-width; - margin: 0 auto; } .copyright { @@ -223,20 +225,18 @@ main { margin-bottom: .7em; a { - text-decoration: underline; - color: lighten($gray-dark, 5%); + text-decoration: underline; &:hover { color: $hover-color; } } } + .emoji { - width: auto !important; - width: 1em !important; height: 1em !important; margin: 0 .05em 0 .1em !important; - vertical-align: -.1em !important; + width: 1em !important; } diff --git a/assets/scss/modules/_utils.scss b/assets/scss/modules/_utils.scss index 1ef318ff..bb934b41 100755 --- a/assets/scss/modules/_utils.scss +++ b/assets/scss/modules/_utils.scss @@ -17,7 +17,7 @@ } @mixin background-filter { - background: linear-gradient(150deg, $cover-secondary 30%, $cover-primary 70%) 0 0/cover fixed; + background: linear-gradient(150deg, $cover-secondary 30%, $cover-primary 70%) 0 0 / cover fixed; } @mixin center-absolute { From 6ab6ad5f902674eb7db57ae0648167e7a5d196ec Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Wed, 2 Dec 2015 23:54:09 +0000 Subject: [PATCH 23/24] improved mobile view --- assets/scss/components/_media-queries.scss | 22 +++++++++++----------- index.hbs | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/assets/scss/components/_media-queries.scss b/assets/scss/components/_media-queries.scss index a7d70b52..de1fb00b 100755 --- a/assets/scss/components/_media-queries.scss +++ b/assets/scss/components/_media-queries.scss @@ -132,12 +132,6 @@ } } - #posts-list > li { - > time { - padding: 0 0 0 4rem; - } - } - main { left: 0; transition: all $aside-animation-time; @@ -200,12 +194,18 @@ margin: 1rem 0; } - #posts-list > li { - margin-bottom: 2.5rem; + #posts-list{ + margin: 3rem 0; + text-align: center; + > li { + margin-bottom: 2rem; - > time { - padding: 0 0 25px 25px; - letter-spacing: 1px; + > time { + display: block; + float: none; + letter-spacing: 1px; + padding: 0; + } } } diff --git a/index.hbs b/index.hbs index a8e2eeaf..8b482c9c 100755 --- a/index.hbs +++ b/index.hbs @@ -4,8 +4,8 @@
          {{#foreach posts}}
        1. - {{title}} + {{tags separator=" "}}
        2. {{/foreach}} From 5a911c60eb1ab20f7359873a6d88acd47048af55 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Thu, 3 Dec 2015 08:36:04 +0000 Subject: [PATCH 24/24] updated bumped settings --- .bumpedrc | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/.bumpedrc b/.bumpedrc index 93da4f8f..0d38f461 100644 --- a/.bumpedrc +++ b/.bumpedrc @@ -1,18 +1,32 @@ files: [ - "package.json" - "bower.json" + 'package.json' + 'bower.json' ] plugins: + + prerelease: + + 'Linting config files': + plugin: 'bumped-finepack' + postrelease: - 'Compile browser version': + 'Compiling browser version': plugin: 'bumped-terminal' command: 'gulp build' 'Generating CHANGELOG file': plugin: 'bumped-changelog' - 'Commit the new version': + 'Commiting new version': + plugin: 'bumped-terminal' + command: 'git add CHANGELOG.md bower.json package.json assets/css/uno-zen.css assets/js/uno-zen.js && git commit -m "$newVersion releases" && git push origin master' + + 'Publishing tag at Github': + plugin: 'bumped-terminal' + command: 'git tag $newVersion && git push origin $newVersion' + + 'Publishing at NPM': plugin: 'bumped-terminal' - command: 'git add . && git commit -m "$newVersion releases"' + command: 'npm publish'