From 1852827dcfe1242f63ce0ce1dfdda6e0dcad6148 Mon Sep 17 00:00:00 2001 From: Gustav Lindqvist Date: Wed, 23 Aug 2017 18:37:06 +0200 Subject: [PATCH] Added compatability with Ghost 1.0 --- assets/css/style.css | 2 +- author.hbs | 2 +- default.hbs | 1 - package.json | 13 ++++++++++--- page.hbs | 2 +- partials/loop.hbs | 4 ++-- post.hbs | 2 +- sass/layout.scss | 4 ++-- tag.hbs | 2 +- 9 files changed, 19 insertions(+), 13 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index a2f29f3..58de9fe 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -1 +1 @@ -html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}html{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}html{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}html{height:100%;max-height:100%;font-size:62.5%}body{height:100%;min-height:100%;background:#f2f2f2;font-family:"Noto Sans",Helvetica,"Helvetica Neue",Arial,sans-serif;font-size:14px;font-size:1.4rem;line-height:1.8;color:rgba(0,0,0,0.8);overflow-y:scroll}#header{max-height:100vh;overflow:hidden;background-color:#333;background-size:cover;background-position:center}#header .header-background{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;background:rgba(0,0,0,0.7);width:100%;height:100%}#header .header-content{width:600px;margin:auto;padding:60px 20px 20px 20px;color:#FFF}#header .header-content h1{-webkit-animation-delay:.5s;animation-delay:.5s;margin-bottom:20px;margin-left:0;margin-right:0;font-weight:400;cursor:default}#header .header-content a{text-decoration:none;color:#FFF}#header .header-content .post-data,#header .header-content .tag-data{color:gray;font-size:14px;font-size:1.4rem;cursor:default}#header .header-content .post-data a,#header .header-content .tag-data a{color:#8d8d8d;border:0}#header .header-content .post-data a:hover,#header .header-content .tag-data a:hover{color:#FFF}#header .header-content .post-data>span,#header .header-content .tag-data>span{display:block}#header .header-content .post-data .date,#header .header-content .tag-data .date{-webkit-animation-delay:.75s;animation-delay:.75s}#header .header-content .post-data .tags,#header .header-content .tag-data .tags{-webkit-animation-delay:1s;animation-delay:1s}#header .header-content .post-data .tags i,#header .header-content .tag-data .tags i{font-size:85%}#header .header-content .post-data .author,#header .header-content .tag-data .author{-webkit-animation-delay:1.25s;animation-delay:1.25s}#header .blog-content .blog-title{font-weight:700;line-height:60px;float:left;color:#FFF;border:0}#header .blog-content .blog-description{display:none;font-size:14px;font-size:1.4rem;cursor:default;color:#ccc;line-height:60px;float:left;margin-left:10px}#header .blog-content nav.links{float:right;line-height:60px;cursor:default}#header .blog-content nav.links ul{margin:0;list-style:none;cursor:default}#header .blog-content nav.links ul li{cursor:default;display:inline-block}#header .blog-content nav.links ul li a{color:#FFF;border:0}.home-template #header,.archive-template #header{height:60px;position:relative;background:#FFF}.home-template #header .header-background,.archive-template #header .header-background{background:none}.home-template #header .blog-content,.archive-template #header .blog-content{position:absolute;width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 20px;color:#999}.home-template #header .blog-content a,.archive-template #header .blog-content a{color:#999}.home-template #header .blog-content a:hover,.archive-template #header .blog-content a:hover{color:black}.home-template #header .blog-content .blog-title,.archive-template #header .blog-content .blog-title{font-size:14px;font-size:1.4rem;letter-spacing:0;margin:0}.home-template #header .blog-content nav.links ul li a,.archive-template #header .blog-content nav.links ul li a{color:#999}.home-template #header .blog-content nav.links ul li a:hover,.archive-template #header .blog-content nav.links ul li a:hover{color:black}.tag-template #main article,.author-template #main article{position:relative}.post-template #header,.tag-template #header,.author-template #header{position:relative}.post-template #header .blog-content,.tag-template #header .blog-content,.author-template #header .blog-content{position:absolute;width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 20px}.post-template #header .blog-content .blog-title,.tag-template #header .blog-content .blog-title,.author-template #header .blog-content .blog-title{font-size:14px;font-size:1.4rem;letter-spacing:0;margin:0}.post-template #header .blog-content .blog-description,.tag-template #header .blog-content .blog-description,.author-template #header .blog-content .blog-description{display:none}.post-template #main,.page-template #main{padding:40px 20px;background:#FFF}#main{position:relative;z-index:1;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;padding:20px}#main article{-webkit-animation-delay:1.25s;animation-delay:1.25s;max-width:600px;margin:0px auto}#main article .post-meta h2{margin-top:10px}#main article .post-content>*:first-child{margin-top:0}#main article .post-content>*:last-child{margin-bottom:0}#main #feed{position:relative;padding-bottom:40px}#main #feed #loadmore{position:absolute;bottom:5px;left:50%;transform:translateX(-50%);text-transform:uppercase;-webkit-animation-delay:1s;animation-delay:1s}#main #feed #loadmore a{cursor:pointer;padding:10px 20px;background:white;font-size:14px;font-size:1.4rem;text-decoration:none;border:0}#main #feed #loadmore a:hover{text-decoration:none;border:0;background:#D5D5D5}#main.archive{overflow:hidden;background:#f2f2f2}#main.archive .post{float:left;max-width:100%;width:100%;margin:inherit;margin-bottom:20px;background:#FFF;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;-moz-transition:opacity 1s;-o-transition:opacity 1s;-webkit-transition:opacity 1s;transition:opacity 1s}#main.archive .post a{border-color:transparent}#main.archive .post a:hover{border-color:#000}#main.archive .post .post-image{display:block;position:relative;background:black;color:#FFF;border:0;overflow:hidden}#main.archive .post .post-image img{max-width:100%;width:100%;margin:0;opacity:0.5;-moz-transition:all 0.5s ease;-o-transition:all 0.5s ease;-webkit-transition:all 0.5s ease;transition:all 0.5s ease}#main.archive .post .post-image .post-title{position:absolute;bottom:0px;left:0px;font-weight:400;-moz-transition:-moz-transform 0.5s ease;-o-transition:-o-transform 0.5s ease;-webkit-transition:-webkit-transform 0.5s ease;transition:transform 0.5s ease}#main.archive .post .post-image:hover img{opacity:1;-moz-transform:scale(1.1);-ms-transform:scale(1.1);-webkit-transform:scale(1.1);transform:scale(1.1)}#main.archive .post .post-image:hover .post-title{-moz-transform:translateY(110%);-ms-transform:translateY(110%);-webkit-transform:translateY(110%);transform:translateY(110%)}#main.archive .post .post-title{margin:0 20px 20px 20px;padding-top:20px;font-size:25px;font-size:2.5rem}#main.archive .post .post-content{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;margin:15px 20px;font-size:14px;font-size:1.4rem;cursor:default;color:#999}#main.archive .post .post-meta{font-size:14px;font-size:1.4rem;cursor:default;color:#ccc;width:100%;background:#FFFFFF;border-top:1px solid #f7f7f7;padding:15px 20px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#main.archive .post .post-meta a{color:inherit}#main.archive .post .post-meta a:hover{color:black}#main.archive .post .post-meta .date{margin-right:10px}#main.archive .post .post-meta .author{margin-right:10px}#main .pagination{display:none;font-size:13px;font-size:1.3rem;text-align:center;margin:20px auto;max-width:600px;position:relative}#main .pagination .newer-posts{position:absolute;left:0}#main .pagination .older-posts{position:absolute;right:0}#footer{background:#252525;color:#999;font-size:12px;font-size:1.2rem;text-transform:uppercase;-webkit-animation-delay:1s;animation-delay:1s}#footer .colophon{padding:50px 20px;max-width:600px;margin:0 auto}#footer .colophon section{margin:10px 0}#footer .colophon section:first-child{margin-top:0}#footer .colophon section:last-child{margin-bottom:0}#footer .bottom{padding:20px 20px;background:#1a1919}#footer .bottom .attribution{max-width:600px;margin:0 auto}#footer .bottom .attribution a{color:#999}#footer .bottom .attribution a:hover{color:#FFF}#footer .bottom .attribution a i.fa.fa-heart{color:#d85151}#footer a{color:#FFF;border-color:rgba(255,255,255,0)}#footer a:hover{border-color:#FFF}@media screen and (min-width: 400px){body{font-size:18px;font-size:1.8rem}#header{height:500px}.single #header .blog-content .blog-title{font-size:18px;font-size:1.8rem;letter-spacing:0}}@media screen and (min-width: 550px){.home #header,.author #header{height:100%;max-height:100%;background-size:cover;background-position:center}.home-template #header .blog-content .blog-description,.archive-template #header .blog-content .blog-description{display:block}#header{height:600px}#header .header-content h1{font-size:55px;font-size:5.5rem}#main{padding:20px 20px}#main.archive .post{width:calc( 50% - ( 20px / 2) )}#main.archive .post.featured{width:100%}}@media screen and (min-width: 1000px){#main{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#main.archive .post{width:calc( ( 100% - (20px* 2) ) / 3 )}#main.archive .post.featured{width:calc( ( 100% - (20px * 2) ) * ( 2 / 3 ) + 20px)}}@media screen and (min-width: 1400px){.home #header,.author #header{height:100%;max-height:100%;background-size:cover;background-position:center}#header{height:700px}#header .header-content h1{font-size:55px;font-size:5.5rem}#main.archive .post{width:calc( ( 100% - (20px * 3) ) / 4 )}#main.archive .post.featured{width:calc( ( 100% - (20px * 3) ) / 2 + 20px)}}h1,h2,h3,h4{margin-top:30px;margin-bottom:10px;font-family:"Noto Sans",Helvetica,"Helvetica Neue",Arial,sans-serif;font-weight:bold;line-height:1.2}h1 a,h2 a,h3 a,h4 a{border:0}h1,.blog-title{font-size:35px;font-size:3.5rem;letter-spacing:-2px}h2{font-size:35px;font-size:3.5rem}h3{font-size:25px;font-size:2.5rem}h4{font-size:15px;font-size:1.5rem;font-weight:700}a{border-bottom:1px solid rgba(0,0,0,0.3);-moz-transition:all 0.2s;-o-transition:all 0.2s;-webkit-transition:all 0.2s;transition:all 0.2s;color:#000;text-decoration:none}a:hover{color:#000;border-color:#000}p,blockquote,figure,canvas,iframe,form{margin-bottom:20px}.note{padding:10px;background:#e6e6e6}mark{background-color:#fdffb6;padding:2px;-moz-box-shadow:#fdffb6 0 0 5px;-webkit-box-shadow:#fdffb6 0 0 5px;box-shadow:#fdffb6 0 0 5px}sup{vertical-align:super;@nclude font-size(13)}blockquote{font-family:"Noto Serif", serif;border-left:4px solid #e6e6e6;padding-left:20px}blockquote img{margin:20px 0 !important;width:100% !important}q{display:block;font-family:"Noto Serif", serif;text-align:center;font-size:125%;font-style:italic}cite{display:block;color:#e6e6e6;font-family:"Noto Sans",Helvetica,"Helvetica Neue",Arial,sans-serif;font-style:normal;font-size:14px;font-size:1.4rem;text-transform:capitalize}cite:before{content:"\2014 \2009"}ul,ol{margin-top:10px;margin-bottom:20px;margin-left:20px}ul li,ol li{margin:0}ul{list-style:square}ul ul,ul ol{margin-top:0px;margin-left:20px;margin-bottom:0px}ol{list-style:decimal;margin-left:25px}ol ul,ol ol{margin-top:0px;margin-left:20px;margin-bottom:0px}em{font-style:italic}strong{font-weight:bold}.gallery{width:100%;margin-left:-5px;padding:5px}.gallery a{border:0}.gallery a:hover{border-color:none}.gallery img{width:auto;height:auto;margin:auto}img{display:block;width:100%;width:calc(100% + 40px);height:auto;max-width:100%;max-width:calc(100% + 40px);margin-left:auto;margin-left:calc(0% - 20px)}img[src$="#small"]{max-width:100%;width:auto;margin-left:auto;margin-right:auto}img[src$="#large"]{max-width:calc(100% + 40px);margin-left:calc(0% - 20px)}img:not(.full-loaded){-moz-transition:all 0.2s;-o-transition:all 0.2s;-webkit-transition:all 0.2s;transition:all 0.2s}img.full-loaded{width:100% !important;max-width:100% !important;margin:0 !important;position:absolute !important;left:0 !important}code{font-family:"Inconsolata",Consolas,"Droid Sans Mono","Courier New";background:#F1F1F1;padding:3px 6px;font-size:15px;font-size:1.5rem;color:#000}pre{margin-top:30px;margin-bottom:10px;margin-left:20px;margin-right:20px;word-wrap:break-word}pre code{padding:0;background:none;font-family:"Inconsolata",Consolas,"Droid Sans Mono","Courier New";font-size:15px;font-size:1.5rem}hr{height:4px;border:0;background:#e6e6e6}.hidden{display:none}.fluid-width-video-wrapper{margin-top:30px;margin-bottom:10px}select,input,button{width:100%;border:0;padding:10px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;background:#F1F1F1;outline:0;-moz-transition:background 0.2s ease;-o-transition:background 0.2s ease;-webkit-transition:background 0.2s ease;transition:background 0.2s ease}button:hover{background:#ccc}@media screen and (min-width: 400px){h1,.blog-title{font-size:40px;font-size:4rem}h1,h2,h3,h4{margin-top:40px;margin-bottom:10px}}@media screen and (min-width: 550px){h1,.blog-title{font-size:50px;font-size:5rem}q{width:100%;width:calc(100% + 40px)}img,q{max-width:100%;max-width:calc(100% + 40px);margin-left:auto;margin-left:calc(0% - 20px);margin-top:40px;margin-bottom:40px}}@media screen and (min-width: 1000px){.alignleft,.alignright{width:300px;padding-bottom:0px;margin-bottom:1em}.alignleft img,.alignright img{margin:0px}.alignleft{margin-left:-160px;margin-right:2em;float:left}.alignleft q,.alignleftq{text-align:right;margin:0px;width:initial}.alignleftblockquote{text-align:right;border-left:0px;border-left:4px solid #e6e6e6;padding-right:20px;padding-left:0px}.alignright{margin-right:-160px;margin-left:2em;float:right}.alignright q,.alignrightq{text-align:left;margin:0px;width:initial}}@media screen and (min-width: 800px){h1,.blog-title{font-size:60px;font-size:6rem}img,q{max-width:110%;width:110%;margin-left:-5%;margin-top:40px;margin-bottom:40px}img[src$="#large"],img [src$="#full"],q[src$="#large"],q [src$="#full"]{max-width:120%;width:120%;margin-left:-10%;margin-top:40px;margin-bottom:40px}.full-image-container{margin:40px 0}.wide{max-width:120%;width:120%;margin-left:-10%;margin-top:40px;margin-bottom:40px}.gallery{max-width:120%;width:120%;margin-left:calc(-10% - 5px);margin-top:40px;margin-bottom:40px}}@media screen and (min-width: 1400px){img,q{max-width:150%;width:150%;margin-left:-25%;margin-top:40px;margin-bottom:40px}img[src$="#large"],img [src$="#full"],q[src$="#large"],q [src$="#full"]{max-width:200%;width:200%;margin-left:-50%}.wide{max-width:200%;width:200%;margin-left:-50%}.gallery{max-width:200%;width:200%;margin-left:calc(-50% - 5px)}}.hljs{display:block;color:#333;background:none}.hljs-comment,.hljs-template_comment,.diff .hljs-header,.hljs-javadoc{color:#998;font-style:italic}.hljs-keyword,.css .rule .hljs-keyword,.hljs-winutils,.javascript .hljs-title,.nginx .hljs-title,.hljs-subst,.hljs-request,.hljs-status{color:#333;font-weight:bold}.hljs-number,.hljs-hexcolor,.ruby .hljs-constant{color:#099}.hljs-string,.hljs-tag .hljs-value,.hljs-phpdoc,.tex .hljs-formula{color:#dd1144}.hljs-title,.hljs-id,.coffeescript .hljs-params,.scss .hljs-preprocessor{color:#900;font-weight:bold}.javascript .hljs-title,.lisp .hljs-title,.clojure .hljs-title,.hljs-subst{font-weight:normal}.hljs-class .hljs-title,.haskell .hljs-type,.vhdl .hljs-literal,.tex .hljs-command{color:#458;font-weight:bold}.hljs-tag{color:#000080;font-weight:normal}.hljs-tag .hljs-title{color:#000080;font-weight:normal}.hljs-rules .hljs-property,.django .hljs-tag .hljs-keyword{color:#000080;font-weight:normal}.hljs-attribute,.hljs-variable,.lisp .hljs-body{color:teal}.hljs-regexp{color:#009926}.hljs-symbol,.ruby .hljs-symbol .hljs-string,.lisp .hljs-keyword,.tex .hljs-special,.hljs-prompt{color:#990073}.hljs-built_in,.lisp .hljs-title,.clojure .hljs-built_in{color:#0086b3}.hljs-preprocessor,.hljs-pragma,.hljs-pi,.hljs-doctype,.hljs-shebang,.hljs-cdata{color:#999;font-weight:bold}.hljs-deletion{background:#ffdddd}.hljs-addition{background:#ddffdd}.diff .hljs-change{background:#0086b3}.hljs-chunk{color:#aaaaaa}.fluidbox{outline:none}.hidden{display:none}.fluidbox-overlay{background-color:rgba(255,255,255,0.9);cursor:pointer;cursor:-webkit-zoom-out;cursor:-moz-zoom-out;opacity:0;position:fixed;top:0;left:0;bottom:0;right:0;transition:all .25s ease-in-out}.fluidbox-wrap{background-position:center center;background-size:cover;margin:0 auto;position:relative;transition:all .25s ease-in-out}.fluidbox-ghost{background-size:100% 100%;background-position:center center;position:absolute;transition:all .25s ease-in-out;cursor:-webkit-zoom-in;cursor:-moz-zoom-in}.fluidbox-closed .fluidbox-ghost{-webkit-transition-property:top, left, opacity, -webkit-transform;-moz-transition-property:top, left, opacity, -moz-transform;-o-transition-property:top, left, opacity, -o-transform;transition-property:top, left, opacity, transform;transition-delay:0, 0, .25s, 0}.fluidbox-closed .fluidbox-wrap img{transition-property:opacity;transition-delay:.25s;transition-duration:0s}.fluidbox-opened .fluidbox-ghost{cursor:-webkit-zoom-out;cursor:-moz-zoom-out}@font-face{font-family:"casper-icons";src:url("../fonts/casper-icons.eot?v=1");src:url("../fonts/casper-icons.eot?v=1#iefix") format("embedded-opentype"),url("../fonts/casper-icons.woff?v=1") format("woff"),url("../fonts/casper-icons.ttf?v=1") format("truetype"),url("../fonts/casper-icons.svg?v=1#icons") format("svg");font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:"casper-icons", "Open Sans", sans-serif;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;text-decoration:none !important;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-ghost:before{content:"\f600"}.icon-feed:before{content:"\f601"}.icon-twitter:before{content:"\f602";font-size:1.1em}.icon-google-plus:before{content:"\f603"}.icon-facebook:before{content:"\f604"}.icon-arrow-left:before{content:"\f605"}.icon-stats:before{content:"\f606"}.icon-location:before{content:"\f607";margin-left:-3px}.icon-link:before{content:"\f608"}.icon-menu:before{content:"\f609"} +html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}html{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}html{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}html{height:100%;max-height:100%;font-size:62.5%}body{height:100%;min-height:100%;background:#f2f2f2;font-family:"Noto Sans",Helvetica,"Helvetica Neue",Arial,sans-serif;font-size:14px;font-size:1.4rem;line-height:1.8;color:rgba(0,0,0,0.8);overflow-y:scroll}#header{max-height:100vh;overflow:hidden;background-color:#333;background-size:cover;background-position:center}#header .header-background{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;background:rgba(0,0,0,0.7);width:100%;height:100%}#header .header-content{width:600px;margin:auto;padding:60px 20px 20px 20px;color:#FFF}#header .header-content h1{-webkit-animation-delay:.5s;animation-delay:.5s;margin-bottom:20px;margin-left:0;margin-right:0;font-weight:400;cursor:default}#header .header-content a{text-decoration:none;color:#FFF}#header .header-content .post-data,#header .header-content .tag-data{color:gray;font-size:14px;font-size:1.4rem;cursor:default}#header .header-content .post-data a,#header .header-content .tag-data a{color:#8d8d8d;border:0}#header .header-content .post-data a:hover,#header .header-content .tag-data a:hover{color:#FFF}#header .header-content .post-data>span,#header .header-content .tag-data>span{display:block}#header .header-content .post-data .date,#header .header-content .tag-data .date{-webkit-animation-delay:.75s;animation-delay:.75s}#header .header-content .post-data .tags,#header .header-content .tag-data .tags{-webkit-animation-delay:1s;animation-delay:1s}#header .header-content .post-data .tags i,#header .header-content .tag-data .tags i{font-size:85%}#header .header-content .post-data .author,#header .header-content .tag-data .author{-webkit-animation-delay:1.25s;animation-delay:1.25s}#header .blog-content .blog-title{font-weight:700;line-height:60px;float:left;color:#FFF;border:0}#header .blog-content .blog-description{display:none;font-size:14px;font-size:1.4rem;cursor:default;color:#ccc;line-height:60px;float:left;margin-left:10px}#header .blog-content nav.links{float:right;line-height:60px;cursor:default}#header .blog-content nav.links ul{margin:0;list-style:none;cursor:default}#header .blog-content nav.links ul li{cursor:default;display:inline-block}#header .blog-content nav.links ul li a{color:#FFF;border:0}.home-template #header,.paged #header{height:60px;position:relative;background:#FFF}.home-template #header .header-background,.paged #header .header-background{background:none}.home-template #header .blog-content,.paged #header .blog-content{position:absolute;width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 20px;color:#999}.home-template #header .blog-content a,.paged #header .blog-content a{color:#999}.home-template #header .blog-content a:hover,.paged #header .blog-content a:hover{color:black}.home-template #header .blog-content .blog-title,.paged #header .blog-content .blog-title{font-size:14px;font-size:1.4rem;letter-spacing:0;margin:0}.home-template #header .blog-content nav.links ul li a,.paged #header .blog-content nav.links ul li a{color:#999}.home-template #header .blog-content nav.links ul li a:hover,.paged #header .blog-content nav.links ul li a:hover{color:black}.tag-template #main article,.author-template #main article{position:relative}.post-template #header,.tag-template #header,.author-template #header{position:relative}.post-template #header .blog-content,.tag-template #header .blog-content,.author-template #header .blog-content{position:absolute;width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 20px}.post-template #header .blog-content .blog-title,.tag-template #header .blog-content .blog-title,.author-template #header .blog-content .blog-title{font-size:14px;font-size:1.4rem;letter-spacing:0;margin:0}.post-template #header .blog-content .blog-description,.tag-template #header .blog-content .blog-description,.author-template #header .blog-content .blog-description{display:none}.post-template #main,.page-template #main{padding:40px 20px;background:#FFF}#main{position:relative;z-index:1;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;padding:20px}#main article{-webkit-animation-delay:1.25s;animation-delay:1.25s;max-width:600px;margin:0px auto}#main article .post-meta h2{margin-top:10px}#main article .post-content>*:first-child{margin-top:0}#main article .post-content>*:last-child{margin-bottom:0}#main #feed{position:relative;padding-bottom:40px}#main #feed #loadmore{position:absolute;bottom:5px;left:50%;transform:translateX(-50%);text-transform:uppercase;-webkit-animation-delay:1s;animation-delay:1s}#main #feed #loadmore a{cursor:pointer;padding:10px 20px;background:white;font-size:14px;font-size:1.4rem;text-decoration:none;border:0}#main #feed #loadmore a:hover{text-decoration:none;border:0;background:#D5D5D5}#main.archive{overflow:hidden;background:#f2f2f2}#main.archive .post{float:left;max-width:100%;width:100%;margin:inherit;margin-bottom:20px;background:#FFF;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;-moz-transition:opacity 1s;-o-transition:opacity 1s;-webkit-transition:opacity 1s;transition:opacity 1s}#main.archive .post a{border-color:transparent}#main.archive .post a:hover{border-color:#000}#main.archive .post .post-image{display:block;position:relative;background:black;color:#FFF;border:0;overflow:hidden}#main.archive .post .post-image img{max-width:100%;width:100%;margin:0;opacity:0.5;-moz-transition:all 0.5s ease;-o-transition:all 0.5s ease;-webkit-transition:all 0.5s ease;transition:all 0.5s ease}#main.archive .post .post-image .post-title{position:absolute;bottom:0px;left:0px;font-weight:400;-moz-transition:-moz-transform 0.5s ease;-o-transition:-o-transform 0.5s ease;-webkit-transition:-webkit-transform 0.5s ease;transition:transform 0.5s ease}#main.archive .post .post-image:hover img{opacity:1;-moz-transform:scale(1.1);-ms-transform:scale(1.1);-webkit-transform:scale(1.1);transform:scale(1.1)}#main.archive .post .post-image:hover .post-title{-moz-transform:translateY(110%);-ms-transform:translateY(110%);-webkit-transform:translateY(110%);transform:translateY(110%)}#main.archive .post .post-title{margin:0 20px 20px 20px;padding-top:20px;font-size:25px;font-size:2.5rem}#main.archive .post .post-content{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;margin:15px 20px;font-size:14px;font-size:1.4rem;cursor:default;color:#999}#main.archive .post .post-meta{font-size:14px;font-size:1.4rem;cursor:default;color:#ccc;width:100%;background:#FFFFFF;border-top:1px solid #f7f7f7;padding:15px 20px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#main.archive .post .post-meta a{color:inherit}#main.archive .post .post-meta a:hover{color:black}#main.archive .post .post-meta .date{margin-right:10px}#main.archive .post .post-meta .author{margin-right:10px}#main .pagination{display:none;font-size:13px;font-size:1.3rem;text-align:center;margin:20px auto;max-width:600px;position:relative}#main .pagination .newer-posts{position:absolute;left:0}#main .pagination .older-posts{position:absolute;right:0}#footer{background:#252525;color:#999;font-size:12px;font-size:1.2rem;text-transform:uppercase;-webkit-animation-delay:1s;animation-delay:1s}#footer .colophon{padding:50px 20px;max-width:600px;margin:0 auto}#footer .colophon section{margin:10px 0}#footer .colophon section:first-child{margin-top:0}#footer .colophon section:last-child{margin-bottom:0}#footer .bottom{padding:20px 20px;background:#1a1919}#footer .bottom .attribution{max-width:600px;margin:0 auto}#footer .bottom .attribution a{color:#999}#footer .bottom .attribution a:hover{color:#FFF}#footer .bottom .attribution a i.fa.fa-heart{color:#d85151}#footer a{color:#FFF;border-color:rgba(255,255,255,0)}#footer a:hover{border-color:#FFF}@media screen and (min-width: 400px){body{font-size:18px;font-size:1.8rem}#header{height:500px}.single #header .blog-content .blog-title{font-size:18px;font-size:1.8rem;letter-spacing:0}}@media screen and (min-width: 550px){.home #header,.author #header{height:100%;max-height:100%;background-size:cover;background-position:center}.home-template #header .blog-content .blog-description,.paged #header .blog-content .blog-description{display:block}#header{height:600px}#header .header-content h1{font-size:55px;font-size:5.5rem}#main{padding:20px 20px}#main.archive .post{width:calc( 50% - ( 20px / 2) )}#main.archive .post.featured{width:100%}}@media screen and (min-width: 1000px){#main{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#main.archive .post{width:calc( ( 100% - (20px* 2) ) / 3 )}#main.archive .post.featured{width:calc( ( 100% - (20px * 2) ) * ( 2 / 3 ) + 20px)}}@media screen and (min-width: 1400px){.home #header,.author #header{height:100%;max-height:100%;background-size:cover;background-position:center}#header{height:700px}#header .header-content h1{font-size:55px;font-size:5.5rem}#main.archive .post{width:calc( ( 100% - (20px * 3) ) / 4 )}#main.archive .post.featured{width:calc( ( 100% - (20px * 3) ) / 2 + 20px)}}h1,h2,h3,h4{margin-top:30px;margin-bottom:10px;font-family:"Noto Sans",Helvetica,"Helvetica Neue",Arial,sans-serif;font-weight:bold;line-height:1.2}h1 a,h2 a,h3 a,h4 a{border:0}h1,.blog-title{font-size:35px;font-size:3.5rem;letter-spacing:-2px}h2{font-size:35px;font-size:3.5rem}h3{font-size:25px;font-size:2.5rem}h4{font-size:15px;font-size:1.5rem;font-weight:700}a{border-bottom:1px solid rgba(0,0,0,0.3);-moz-transition:all 0.2s;-o-transition:all 0.2s;-webkit-transition:all 0.2s;transition:all 0.2s;color:#000;text-decoration:none}a:hover{color:#000;border-color:#000}p,blockquote,figure,canvas,iframe,form{margin-bottom:20px}.note{padding:10px;background:#e6e6e6}mark{background-color:#fdffb6;padding:2px;-moz-box-shadow:#fdffb6 0 0 5px;-webkit-box-shadow:#fdffb6 0 0 5px;box-shadow:#fdffb6 0 0 5px}sup{vertical-align:super;@nclude font-size(13)}blockquote{font-family:"Noto Serif", serif;border-left:4px solid #e6e6e6;padding-left:20px}blockquote img{margin:20px 0 !important;width:100% !important}q{display:block;font-family:"Noto Serif", serif;text-align:center;font-size:125%;font-style:italic}cite{display:block;color:#e6e6e6;font-family:"Noto Sans",Helvetica,"Helvetica Neue",Arial,sans-serif;font-style:normal;font-size:14px;font-size:1.4rem;text-transform:capitalize}cite:before{content:"\2014 \2009"}ul,ol{margin-top:10px;margin-bottom:20px;margin-left:20px}ul li,ol li{margin:0}ul{list-style:square}ul ul,ul ol{margin-top:0px;margin-left:20px;margin-bottom:0px}ol{list-style:decimal;margin-left:25px}ol ul,ol ol{margin-top:0px;margin-left:20px;margin-bottom:0px}em{font-style:italic}strong{font-weight:bold}.gallery{width:100%;margin-left:-5px;padding:5px}.gallery a{border:0}.gallery a:hover{border-color:none}.gallery img{width:auto;height:auto;margin:auto}img{display:block;width:100%;width:calc(100% + 40px);height:auto;max-width:100%;max-width:calc(100% + 40px);margin-left:auto;margin-left:calc(0% - 20px)}img[src$="#small"]{max-width:100%;width:auto;margin-left:auto;margin-right:auto}img[src$="#large"]{max-width:calc(100% + 40px);margin-left:calc(0% - 20px)}img:not(.full-loaded){-moz-transition:all 0.2s;-o-transition:all 0.2s;-webkit-transition:all 0.2s;transition:all 0.2s}img.full-loaded{width:100% !important;max-width:100% !important;margin:0 !important;position:absolute !important;left:0 !important}code{font-family:"Inconsolata",Consolas,"Droid Sans Mono","Courier New";background:#F1F1F1;padding:3px 6px;font-size:15px;font-size:1.5rem;color:#000}pre{margin-top:30px;margin-bottom:10px;margin-left:20px;margin-right:20px;word-wrap:break-word}pre code{padding:0;background:none;font-family:"Inconsolata",Consolas,"Droid Sans Mono","Courier New";font-size:15px;font-size:1.5rem}hr{height:4px;border:0;background:#e6e6e6}.hidden{display:none}.fluid-width-video-wrapper{margin-top:30px;margin-bottom:10px}select,input,button{width:100%;border:0;padding:10px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;background:#F1F1F1;outline:0;-moz-transition:background 0.2s ease;-o-transition:background 0.2s ease;-webkit-transition:background 0.2s ease;transition:background 0.2s ease}button:hover{background:#ccc}@media screen and (min-width: 400px){h1,.blog-title{font-size:40px;font-size:4rem}h1,h2,h3,h4{margin-top:40px;margin-bottom:10px}}@media screen and (min-width: 550px){h1,.blog-title{font-size:50px;font-size:5rem}q{width:100%;width:calc(100% + 40px)}img,q{max-width:100%;max-width:calc(100% + 40px);margin-left:auto;margin-left:calc(0% - 20px);margin-top:40px;margin-bottom:40px}}@media screen and (min-width: 1000px){.alignleft,.alignright{width:300px;padding-bottom:0px;margin-bottom:1em}.alignleft img,.alignright img{margin:0px}.alignleft{margin-left:-160px;margin-right:2em;float:left}.alignleft q,.alignleftq{text-align:right;margin:0px;width:initial}.alignleftblockquote{text-align:right;border-left:0px;border-left:4px solid #e6e6e6;padding-right:20px;padding-left:0px}.alignright{margin-right:-160px;margin-left:2em;float:right}.alignright q,.alignrightq{text-align:left;margin:0px;width:initial}}@media screen and (min-width: 800px){h1,.blog-title{font-size:60px;font-size:6rem}img,q{max-width:110%;width:110%;margin-left:-5%;margin-top:40px;margin-bottom:40px}img[src$="#large"],img [src$="#full"],q[src$="#large"],q [src$="#full"]{max-width:120%;width:120%;margin-left:-10%;margin-top:40px;margin-bottom:40px}.full-image-container{margin:40px 0}.wide{max-width:120%;width:120%;margin-left:-10%;margin-top:40px;margin-bottom:40px}.gallery{max-width:120%;width:120%;margin-left:calc(-10% - 5px);margin-top:40px;margin-bottom:40px}}@media screen and (min-width: 1400px){img,q{max-width:150%;width:150%;margin-left:-25%;margin-top:40px;margin-bottom:40px}img[src$="#large"],img [src$="#full"],q[src$="#large"],q [src$="#full"]{max-width:200%;width:200%;margin-left:-50%}.wide{max-width:200%;width:200%;margin-left:-50%}.gallery{max-width:200%;width:200%;margin-left:calc(-50% - 5px)}}.hljs{display:block;color:#333;background:none}.hljs-comment,.hljs-template_comment,.diff .hljs-header,.hljs-javadoc{color:#998;font-style:italic}.hljs-keyword,.css .rule .hljs-keyword,.hljs-winutils,.javascript .hljs-title,.nginx .hljs-title,.hljs-subst,.hljs-request,.hljs-status{color:#333;font-weight:bold}.hljs-number,.hljs-hexcolor,.ruby .hljs-constant{color:#099}.hljs-string,.hljs-tag .hljs-value,.hljs-phpdoc,.tex .hljs-formula{color:#dd1144}.hljs-title,.hljs-id,.coffeescript .hljs-params,.scss .hljs-preprocessor{color:#900;font-weight:bold}.javascript .hljs-title,.lisp .hljs-title,.clojure .hljs-title,.hljs-subst{font-weight:normal}.hljs-class .hljs-title,.haskell .hljs-type,.vhdl .hljs-literal,.tex .hljs-command{color:#458;font-weight:bold}.hljs-tag{color:#000080;font-weight:normal}.hljs-tag .hljs-title{color:#000080;font-weight:normal}.hljs-rules .hljs-property,.django .hljs-tag .hljs-keyword{color:#000080;font-weight:normal}.hljs-attribute,.hljs-variable,.lisp .hljs-body{color:teal}.hljs-regexp{color:#009926}.hljs-symbol,.ruby .hljs-symbol .hljs-string,.lisp .hljs-keyword,.tex .hljs-special,.hljs-prompt{color:#990073}.hljs-built_in,.lisp .hljs-title,.clojure .hljs-built_in{color:#0086b3}.hljs-preprocessor,.hljs-pragma,.hljs-pi,.hljs-doctype,.hljs-shebang,.hljs-cdata{color:#999;font-weight:bold}.hljs-deletion{background:#ffdddd}.hljs-addition{background:#ddffdd}.diff .hljs-change{background:#0086b3}.hljs-chunk{color:#aaaaaa}.fluidbox{outline:none}.hidden{display:none}.fluidbox-overlay{background-color:rgba(255,255,255,0.9);cursor:pointer;cursor:-webkit-zoom-out;cursor:-moz-zoom-out;opacity:0;position:fixed;top:0;left:0;bottom:0;right:0;transition:all .25s ease-in-out}.fluidbox-wrap{background-position:center center;background-size:cover;margin:0 auto;position:relative;transition:all .25s ease-in-out}.fluidbox-ghost{background-size:100% 100%;background-position:center center;position:absolute;transition:all .25s ease-in-out;cursor:-webkit-zoom-in;cursor:-moz-zoom-in}.fluidbox-closed .fluidbox-ghost{-webkit-transition-property:top, left, opacity, -webkit-transform;-moz-transition-property:top, left, opacity, -moz-transform;-o-transition-property:top, left, opacity, -o-transform;transition-property:top, left, opacity, transform;transition-delay:0, 0, .25s, 0}.fluidbox-closed .fluidbox-wrap img{transition-property:opacity;transition-delay:.25s;transition-duration:0s}.fluidbox-opened .fluidbox-ghost{cursor:-webkit-zoom-out;cursor:-moz-zoom-out}@font-face{font-family:"casper-icons";src:url("../fonts/casper-icons.eot?v=1");src:url("../fonts/casper-icons.eot?v=1#iefix") format("embedded-opentype"),url("../fonts/casper-icons.woff?v=1") format("woff"),url("../fonts/casper-icons.ttf?v=1") format("truetype"),url("../fonts/casper-icons.svg?v=1#icons") format("svg");font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:"casper-icons", "Open Sans", sans-serif;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;text-decoration:none !important;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-ghost:before{content:"\f600"}.icon-feed:before{content:"\f601"}.icon-twitter:before{content:"\f602";font-size:1.1em}.icon-google-plus:before{content:"\f603"}.icon-facebook:before{content:"\f604"}.icon-arrow-left:before{content:"\f605"}.icon-stats:before{content:"\f606"}.icon-location:before{content:"\f607";margin-left:-3px}.icon-link:before{content:"\f608"}.icon-menu:before{content:"\f609"} diff --git a/author.hbs b/author.hbs index 408d658..1c2b9b9 100644 --- a/author.hbs +++ b/author.hbs @@ -1,5 +1,5 @@ {{!< default}} -