├── layout ├── index.ejs ├── page.ejs ├── post.ejs ├── tag.ejs ├── archive.ejs ├── category.ejs ├── _partial │ ├── post │ │ ├── navigation.ejs │ │ ├── meta.ejs │ │ └── comments.ejs │ ├── post.ejs │ ├── after_all.ejs │ ├── footer.ejs │ ├── head.ejs │ ├── about.ejs │ ├── index.ejs │ ├── archive.ejs │ ├── header.ejs │ └── search.ejs └── layout.ejs ├── source ├── img │ ├── 1.jpg │ ├── bg_img.jpg │ ├── blog.png │ ├── close.png │ ├── logo.png │ └── favicon.ico ├── fonts │ ├── icons.eot │ ├── icons.ttf │ ├── icons.woff │ └── opensans.woff ├── fancybox │ ├── blank.gif │ ├── fancybox_loading.gif │ ├── fancybox_overlay.png │ ├── fancybox_sprite.png │ ├── fancybox_sprite@2x.png │ ├── fancybox_loading@2x.gif │ └── jquery.fancybox.css ├── highlightjs │ ├── pojoaque.jpg │ ├── brown_papersq.png │ ├── school_book.png │ ├── ascetic.css │ ├── mono-blue.css │ ├── tomorrow.css │ ├── tomorrow-night-bright.css │ ├── tomorrow-night-eighties.css │ ├── solarized_dark.css │ ├── solarized_light.css │ ├── tomorrow-night.css │ ├── tomorrow-night-blue.css │ ├── vs.css │ ├── foundation.css │ ├── ir_black.css │ ├── pojoaque.css │ ├── monokai_sublime.css │ ├── dark.css │ ├── rainbow.css │ ├── brown_paper.css │ ├── idea.css │ ├── github.css │ ├── far.css │ ├── zenburn.css │ ├── docco.css │ ├── magula.css │ ├── school_book.css │ ├── monokai.css │ ├── googlecode.css │ ├── sunburst.css │ ├── xcode.css │ ├── obsidian.css │ ├── arta.css │ ├── default.css │ └── railscasts.css ├── css │ ├── all.styl │ ├── custom.css │ ├── ie8.css │ ├── slidebars.min.css │ ├── screen.css │ ├── syntax.styl │ ├── iconList.css │ ├── flexslider.css │ └── animate.css └── js │ ├── jquery.ajaxchimp.min.js │ ├── html5shiv.min.js │ ├── respond.min.js │ ├── scripts.js │ └── jquery.flexslider-min.js ├── _config.yml ├── README.md └── LICENSE /layout/index.ejs: -------------------------------------------------------------------------------- 1 | <%- partial('_partial/index') %> 2 | -------------------------------------------------------------------------------- /layout/page.ejs: -------------------------------------------------------------------------------- 1 | <%- partial('_partial/about', {post: page}) %> 2 | -------------------------------------------------------------------------------- /layout/post.ejs: -------------------------------------------------------------------------------- 1 | <%- partial('_partial/post', {post: page}) %> 2 | -------------------------------------------------------------------------------- /layout/tag.ejs: -------------------------------------------------------------------------------- 1 | <%- partial('_partial/archive', {pagination: config.tag}) %> -------------------------------------------------------------------------------- /layout/archive.ejs: -------------------------------------------------------------------------------- 1 | <%- partial('_partial/archive', {pagination: config.archive}) %> -------------------------------------------------------------------------------- /source/img/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperKieran/TKL/HEAD/source/img/1.jpg -------------------------------------------------------------------------------- /layout/category.ejs: -------------------------------------------------------------------------------- 1 | <%- partial('_partial/archive', {pagination: config.category}) %> -------------------------------------------------------------------------------- /source/img/bg_img.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperKieran/TKL/HEAD/source/img/bg_img.jpg -------------------------------------------------------------------------------- /source/img/blog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperKieran/TKL/HEAD/source/img/blog.png -------------------------------------------------------------------------------- /source/img/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperKieran/TKL/HEAD/source/img/close.png -------------------------------------------------------------------------------- /source/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperKieran/TKL/HEAD/source/img/logo.png -------------------------------------------------------------------------------- /source/fonts/icons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperKieran/TKL/HEAD/source/fonts/icons.eot -------------------------------------------------------------------------------- /source/fonts/icons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperKieran/TKL/HEAD/source/fonts/icons.ttf -------------------------------------------------------------------------------- /source/fonts/icons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperKieran/TKL/HEAD/source/fonts/icons.woff -------------------------------------------------------------------------------- /source/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperKieran/TKL/HEAD/source/img/favicon.ico -------------------------------------------------------------------------------- /source/fancybox/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperKieran/TKL/HEAD/source/fancybox/blank.gif -------------------------------------------------------------------------------- /source/fonts/opensans.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperKieran/TKL/HEAD/source/fonts/opensans.woff -------------------------------------------------------------------------------- /source/highlightjs/pojoaque.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperKieran/TKL/HEAD/source/highlightjs/pojoaque.jpg -------------------------------------------------------------------------------- /source/fancybox/fancybox_loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperKieran/TKL/HEAD/source/fancybox/fancybox_loading.gif -------------------------------------------------------------------------------- /source/fancybox/fancybox_overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperKieran/TKL/HEAD/source/fancybox/fancybox_overlay.png -------------------------------------------------------------------------------- /source/fancybox/fancybox_sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperKieran/TKL/HEAD/source/fancybox/fancybox_sprite.png -------------------------------------------------------------------------------- /source/highlightjs/brown_papersq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperKieran/TKL/HEAD/source/highlightjs/brown_papersq.png -------------------------------------------------------------------------------- /source/highlightjs/school_book.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperKieran/TKL/HEAD/source/highlightjs/school_book.png -------------------------------------------------------------------------------- /source/fancybox/fancybox_sprite@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperKieran/TKL/HEAD/source/fancybox/fancybox_sprite@2x.png -------------------------------------------------------------------------------- /source/fancybox/fancybox_loading@2x.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperKieran/TKL/HEAD/source/fancybox/fancybox_loading@2x.gif -------------------------------------------------------------------------------- /source/css/all.styl: -------------------------------------------------------------------------------- 1 | @import 'bootstrap.min.css' 2 | @import 'animsition.min.css' 3 | @import 'slidebars.min.css' 4 | 5 | @import 'style.css' 6 | @import 'custom.css' 7 | @import 'syntax' -------------------------------------------------------------------------------- /layout/_partial/post/navigation.ejs: -------------------------------------------------------------------------------- 1 | 13 | -------------------------------------------------------------------------------- /layout/_partial/post/meta.ejs: -------------------------------------------------------------------------------- 1 | 2 | 5 | <% if (post.tags && post.tags.length){ %> 6 | <% count = post.tags.length %> 7 | | <% post.tags.forEach(function(tag, index) { %> 8 | <%= tag.name %><% if (count !== index+1) { %>,<% } %> 9 | <% }); %> 10 | <% } %> 11 | -------------------------------------------------------------------------------- /layout/_partial/post.ejs: -------------------------------------------------------------------------------- 1 | <% permalink = config.url + config.root + post.path %> 2 |
3 |
4 |
5 |
6 | <%- partial('post/meta') %> 7 |

<%- post.title %>

8 |
9 |
10 |
11 | <%- post.content %> 12 |
13 |
14 |
15 | <%- partial('post/navigation') %> 16 |
<%- partial('post/comments') %>
17 |
18 |
19 | -------------------------------------------------------------------------------- /source/highlightjs/ascetic.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Original style from softwaremaniacs.org (c) Ivan Sagalaev 4 | 5 | */ 6 | 7 | pre code { 8 | display: block; padding: 0.5em; 9 | background: white; color: black; 10 | } 11 | 12 | pre .string, 13 | pre .tag .value, 14 | pre .filter .argument, 15 | pre .addition, 16 | pre .change, 17 | pre .apache .tag, 18 | pre .apache .cbracket, 19 | pre .nginx .built_in, 20 | pre .tex .formula { 21 | color: #888; 22 | } 23 | 24 | pre .comment, 25 | pre .template_comment, 26 | pre .shebang, 27 | pre .doctype, 28 | pre .pi, 29 | pre .javadoc, 30 | pre .deletion, 31 | pre .apache .sqbracket { 32 | color: #CCC; 33 | } 34 | 35 | pre .keyword, 36 | pre .tag .title, 37 | pre .ini .title, 38 | pre .lisp .title, 39 | pre .clojure .title, 40 | pre .http .title, 41 | pre .nginx .title, 42 | pre .css .tag, 43 | pre .winutils, 44 | pre .flow, 45 | pre .apache .tag, 46 | pre .tex .command, 47 | pre .request, 48 | pre .status { 49 | font-weight: bold; 50 | } 51 | -------------------------------------------------------------------------------- /source/highlightjs/mono-blue.css: -------------------------------------------------------------------------------- 1 | /* 2 | Five-color theme from a single blue hue. 3 | */ 4 | pre code { 5 | display: block; padding: 0.5em; 6 | background: #EAEEF3; color: #00193A; 7 | } 8 | 9 | pre .keyword, 10 | pre .title, 11 | pre .important, 12 | pre .request, 13 | pre .header { 14 | font-weight: bold; 15 | } 16 | 17 | pre .comment, 18 | pre .chunk, 19 | pre .template_comment { 20 | color: #738191; 21 | } 22 | 23 | pre .string, 24 | pre .title, 25 | pre .parent, 26 | pre .built_in, 27 | pre .literal, 28 | pre .filename, 29 | pre .value, 30 | pre .addition, 31 | pre .tag, 32 | pre .argument, 33 | pre .link_label, 34 | pre .blockquote, 35 | pre .header { 36 | color: #0048AB; 37 | } 38 | 39 | pre .decorator, 40 | pre .prompt, 41 | pre .yardoctag, 42 | pre .subst, 43 | pre .symbol, 44 | pre .doctype, 45 | pre .regexp, 46 | pre .preprocessor, 47 | pre .pi, 48 | pre .attribute, 49 | pre .attr_selector, 50 | pre .javadoc, 51 | pre .xmlDocTag, 52 | pre .deletion, 53 | pre .shebang, 54 | pre .string .variable, 55 | pre .link_url, 56 | pre .bullet { 57 | color: #4C81C9; 58 | } 59 | -------------------------------------------------------------------------------- /layout/layout.ejs: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 16 | 17 | 18 | <%- partial('_partial/head') %> 19 | 24 | 25 | 26 | <%- partial('_partial/header') %> 27 | <%- body %> 28 | <%- partial('_partial/footer') %> 29 | <%- partial('_partial/after_all') %> 30 | <% if (theme.local_search.enable) { %> 31 | <%- partial('_partial/search') %> 32 | <% } %> 33 | 34 | 35 | -------------------------------------------------------------------------------- /layout/_partial/after_all.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 18 | 19 | 20 | 21 | <% if (theme.fancybox){ %> 22 | 23 | 24 | 38 | <% } %> 39 | 40 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | # config 2 | cover: /img/bg_img.jpg 3 | logo: /img/logo.png 4 | top_saying: 5 | - title: YOU'VE MADE A BRAVE DECISION, WELCOME. 6 | - content: 每一个不曾起舞的日子都是对生命的辜负。 7 | bottom_saying: 虽然还没想好写点什么,但是总觉得这里放句话比较和谐。 8 | # Content 9 | excerpt_link: Read More 10 | 11 | rss: /atom.xml 12 | 13 | highlightjs: vs 14 | 15 | #Works 16 | works: 17 | - works_name: AAA 18 | works_url: / 19 | - works_name: BBB 20 | works_url: /atom.xml 21 | 22 | #duoshuo name 23 | duoshuo: 24 | 25 | #disqus name 26 | disqus_shortname: 27 | 28 | #fancybox 29 | fancybox: true 30 | 31 | # Miscellaneous 32 | github: https://github.com/ 33 | twitter: https://twitter.com/ 34 | facebook: https://www.facebook.com/ 35 | google: https://google.com/ 36 | weibo: http://weibo.com/ 37 | 38 | #about timeline 39 | timeline: 40 | - num: 1 41 | word: 2014/06/12-Start 42 | - num: 2 43 | word: 2014/11/29-XXX 44 | - num: 3 45 | word: 2015/02/18-DDD 46 | - num: 4 47 | word: More 48 | 49 | #Links 50 | links: 51 | - name: Kieran 52 | link: http://go.kieran.top/ 53 | - name: Name 54 | link: http://domain.com/ 55 | 56 | # Local search 57 | # Dependencies: https://github.com/flashlab/hexo-generator-search 58 | local_search: 59 | enable: false 60 | # if auto, trigger search by changing input 61 | # if manual, trigger search by pressing enter key or search button 62 | trigger: auto 63 | # show top n results per article, show all results by setting to -1 64 | top_n_per_article: 2 65 | -------------------------------------------------------------------------------- /source/css/custom.css: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; 2 | /* CSS Document */ 3 | 4 | #SOHUCS #SOHU_MAIN .module-hot-topic { 5 | display: none!important; 6 | } 7 | 8 | #SOHUCS #SOHU_MAIN .module-cmt-box .post-wrap-w .post-wrap-main { 9 | background-image: none!important; 10 | } 11 | 12 | #SOHUCS #SOHU_MAIN .module-cmt-box .post-wrap-w .wrap-action-w .action-issue-w .issue-btn-w a button.btn-fw { 13 | background: none!important; 14 | border: 1px solid #000; 15 | transition: all ease .3s; 16 | position: relative; 17 | border-radius: 6px; 18 | font-size: 14px; 19 | letter-spacing: 2px; 20 | line-height: 28px; 21 | height: 28px!important; 22 | } 23 | 24 | #SOHUCS #SOHU_MAIN .module-cmt-box .post-wrap-w .wrap-action-w .action-issue-w .issue-btn-w a button.btn-fw::after { 25 | position: absolute; 26 | top: 0; 27 | bottom: 0; 28 | left: 0; 29 | right: 0; 30 | content: '评论'; 31 | color: #000; 32 | transition: all ease .3s; 33 | } 34 | 35 | #SOHUCS #SOHU_MAIN .module-cmt-box .post-wrap-w .wrap-action-w .action-issue-w .issue-btn-w a button.btn-fw:hover { 36 | background: none!important; 37 | } 38 | 39 | #SOHUCS #SOHU_MAIN .module-cmt-box .post-wrap-w .wrap-action-w .action-issue-w .issue-btn-w a button.btn-fw:hover::after { 40 | color: #fff; 41 | background: #000; 42 | } 43 | 44 | #SOHUCS #SOHU_MAIN .module-cmt-footer .section-service-w, #SOHUCS #SOHU_MAIN .module-cmt-footer .section-service-w .service-wrap-w, #SOHUCS #SOHU_MAIN .module-cmt-footer .section-service-w .service-wrap-w a { 45 | height: 0; 46 | overflow: hidden; 47 | opacity: 0; 48 | } 49 | -------------------------------------------------------------------------------- /source/highlightjs/tomorrow.css: -------------------------------------------------------------------------------- 1 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 2 | .tomorrow-comment, pre .comment, pre .title { 3 | color: #8e908c; 4 | } 5 | 6 | .tomorrow-red, pre .variable, pre .attribute, pre .tag, pre .regexp, pre .ruby .constant, pre .xml .tag .title, pre .xml .pi, pre .xml .doctype, pre .html .doctype, pre .css .id, pre .css .class, pre .css .pseudo { 7 | color: #c82829; 8 | } 9 | 10 | .tomorrow-orange, pre .number, pre .preprocessor, pre .built_in, pre .literal, pre .params, pre .constant { 11 | color: #f5871f; 12 | } 13 | 14 | .tomorrow-yellow, pre .ruby .class .title, pre .css .rules .attribute { 15 | color: #eab700; 16 | } 17 | 18 | .tomorrow-green, pre .string, pre .value, pre .inheritance, pre .header, pre .ruby .symbol, pre .xml .cdata { 19 | color: #718c00; 20 | } 21 | 22 | .tomorrow-aqua, pre .css .hexcolor { 23 | color: #3e999f; 24 | } 25 | 26 | .tomorrow-blue, pre .function, pre .python .decorator, pre .python .title, pre .ruby .function .title, pre .ruby .title .keyword, pre .perl .sub, pre .javascript .title, pre .coffeescript .title { 27 | color: #4271ae; 28 | } 29 | 30 | .tomorrow-purple, pre .keyword, pre .javascript .function { 31 | color: #8959a8; 32 | } 33 | 34 | pre code { 35 | display: block; 36 | background: white; 37 | color: #4d4d4c; 38 | padding: 0.5em; 39 | } 40 | 41 | pre .coffeescript .javascript, 42 | pre .javascript .xml, 43 | pre .tex .formula, 44 | pre .xml .javascript, 45 | pre .xml .vbscript, 46 | pre .xml .css, 47 | pre .xml .cdata { 48 | opacity: 0.5; 49 | } 50 | -------------------------------------------------------------------------------- /layout/_partial/post/comments.ejs: -------------------------------------------------------------------------------- 1 | 50 | -------------------------------------------------------------------------------- /source/highlightjs/tomorrow-night-bright.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Night Bright Theme */ 2 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 3 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 4 | .tomorrow-comment, pre .comment, pre .title { 5 | color: #969896; 6 | } 7 | 8 | .tomorrow-red, pre .variable, pre .attribute, pre .tag, pre .regexp, pre .ruby .constant, pre .xml .tag .title, pre .xml .pi, pre .xml .doctype, pre .html .doctype, pre .css .id, pre .css .class, pre .css .pseudo { 9 | color: #d54e53; 10 | } 11 | 12 | .tomorrow-orange, pre .number, pre .preprocessor, pre .built_in, pre .literal, pre .params, pre .constant { 13 | color: #e78c45; 14 | } 15 | 16 | .tomorrow-yellow, pre .ruby .class .title, pre .css .rules .attribute { 17 | color: #e7c547; 18 | } 19 | 20 | .tomorrow-green, pre .string, pre .value, pre .inheritance, pre .header, pre .ruby .symbol, pre .xml .cdata { 21 | color: #b9ca4a; 22 | } 23 | 24 | .tomorrow-aqua, pre .css .hexcolor { 25 | color: #70c0b1; 26 | } 27 | 28 | .tomorrow-blue, pre .function, pre .python .decorator, pre .python .title, pre .ruby .function .title, pre .ruby .title .keyword, pre .perl .sub, pre .javascript .title, pre .coffeescript .title { 29 | color: #7aa6da; 30 | } 31 | 32 | .tomorrow-purple, pre .keyword, pre .javascript .function { 33 | color: #c397d8; 34 | } 35 | 36 | pre code { 37 | display: block; 38 | background: black; 39 | color: #eaeaea; 40 | padding: 0.5em; 41 | } 42 | 43 | pre .coffeescript .javascript, 44 | pre .javascript .xml, 45 | pre .tex .formula, 46 | pre .xml .javascript, 47 | pre .xml .vbscript, 48 | pre .xml .css, 49 | pre .xml .cdata { 50 | opacity: 0.5; 51 | } 52 | -------------------------------------------------------------------------------- /source/highlightjs/tomorrow-night-eighties.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Night Eighties Theme */ 2 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 3 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 4 | .tomorrow-comment, pre .comment, pre .title { 5 | color: #999999; 6 | } 7 | 8 | .tomorrow-red, pre .variable, pre .attribute, pre .tag, pre .regexp, pre .ruby .constant, pre .xml .tag .title, pre .xml .pi, pre .xml .doctype, pre .html .doctype, pre .css .id, pre .css .class, pre .css .pseudo { 9 | color: #f2777a; 10 | } 11 | 12 | .tomorrow-orange, pre .number, pre .preprocessor, pre .built_in, pre .literal, pre .params, pre .constant { 13 | color: #f99157; 14 | } 15 | 16 | .tomorrow-yellow, pre .ruby .class .title, pre .css .rules .attribute { 17 | color: #ffcc66; 18 | } 19 | 20 | .tomorrow-green, pre .string, pre .value, pre .inheritance, pre .header, pre .ruby .symbol, pre .xml .cdata { 21 | color: #99cc99; 22 | } 23 | 24 | .tomorrow-aqua, pre .css .hexcolor { 25 | color: #66cccc; 26 | } 27 | 28 | .tomorrow-blue, pre .function, pre .python .decorator, pre .python .title, pre .ruby .function .title, pre .ruby .title .keyword, pre .perl .sub, pre .javascript .title, pre .coffeescript .title { 29 | color: #6699cc; 30 | } 31 | 32 | .tomorrow-purple, pre .keyword, pre .javascript .function { 33 | color: #cc99cc; 34 | } 35 | 36 | pre code { 37 | display: block; 38 | background: #2d2d2d; 39 | color: #cccccc; 40 | padding: 0.5em; 41 | } 42 | 43 | pre .coffeescript .javascript, 44 | pre .javascript .xml, 45 | pre .tex .formula, 46 | pre .xml .javascript, 47 | pre .xml .vbscript, 48 | pre .xml .css, 49 | pre .xml .cdata { 50 | opacity: 0.5; 51 | } 52 | -------------------------------------------------------------------------------- /source/css/ie8.css: -------------------------------------------------------------------------------- 1 | /* IE8 Template Styles & Fixes */ 2 | 3 | /* Polyfill for full-scale background images in IE */ 4 | #hero, 5 | #fallback, 6 | .element-img, 7 | #featured .featured-item, 8 | .overview-img, 9 | #page-header { 10 | background-size: cover; 11 | -ms-behavior: url(includes/backgroundsize.min.htc); 12 | behavior: url(includes/backgroundsize.min.htc); 13 | } 14 | .wow { 15 | visibility: visible !important; 16 | } 17 | 18 | #page-header { 19 | width: 100% 20 | } 21 | 22 | html.sb-init.sb-active.sb-active-right, 23 | html.sb-init.sb-active.sb-active-right #featured a, 24 | html.sb-init.sb-active.sb-active-right ul.filters li p, 25 | html.sb-init.sb-active.sb-active-right #projects .projects .label-text h3 a { 26 | cursor: default; 27 | } 28 | /* For further info on how to select rgba compatible values for IE8, see > http://css-tricks.com/rgba-browser-support/ */ 29 | .navbar-inner.lightnav-alt, 30 | #blog-post .navbar-inner { 31 | background:transparent; 32 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#E6FFFFFF,endColorstr=#E6FFFFFF); 33 | zoom: 1; 34 | } 35 | #featured a.meta { 36 | background:transparent; 37 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#80000000,endColorstr=#80000000); 38 | zoom: 1; 39 | position: absolute; 40 | top: 0; 41 | bottom: 0; 42 | left: 0; 43 | right: 0; 44 | } 45 | #featured a.meta:hover { 46 | background:transparent; 47 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#B3000000,endColorstr=#B3000000); 48 | zoom: 1; 49 | } 50 | .map-cover { 51 | background:transparent; 52 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#B3131313,endColorstr=#B3131313); 53 | zoom: 1; 54 | } -------------------------------------------------------------------------------- /source/highlightjs/solarized_dark.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull 4 | 5 | */ 6 | 7 | pre code { 8 | display: block; padding: 0.5em; 9 | background: #002b36; color: #839496; 10 | } 11 | 12 | pre .comment, 13 | pre .template_comment, 14 | pre .diff .header, 15 | pre .doctype, 16 | pre .pi, 17 | pre .lisp .string, 18 | pre .javadoc { 19 | color: #586e75; 20 | font-style: italic; 21 | } 22 | 23 | pre .keyword, 24 | pre .winutils, 25 | pre .method, 26 | pre .addition, 27 | pre .css .tag, 28 | pre .request, 29 | pre .status, 30 | pre .nginx .title { 31 | color: #859900; 32 | } 33 | 34 | pre .number, 35 | pre .command, 36 | pre .string, 37 | pre .tag .value, 38 | pre .rules .value, 39 | pre .phpdoc, 40 | pre .tex .formula, 41 | pre .regexp, 42 | pre .hexcolor { 43 | color: #2aa198; 44 | } 45 | 46 | pre .title, 47 | pre .localvars, 48 | pre .chunk, 49 | pre .decorator, 50 | pre .built_in, 51 | pre .identifier, 52 | pre .vhdl .literal, 53 | pre .id, 54 | pre .css .function { 55 | color: #268bd2; 56 | } 57 | 58 | pre .attribute, 59 | pre .variable, 60 | pre .lisp .body, 61 | pre .smalltalk .number, 62 | pre .constant, 63 | pre .class .title, 64 | pre .parent, 65 | pre .haskell .type { 66 | color: #b58900; 67 | } 68 | 69 | pre .preprocessor, 70 | pre .preprocessor .keyword, 71 | pre .shebang, 72 | pre .symbol, 73 | pre .symbol .string, 74 | pre .diff .change, 75 | pre .special, 76 | pre .attr_selector, 77 | pre .important, 78 | pre .subst, 79 | pre .cdata, 80 | pre .clojure .title, 81 | pre .css .pseudo { 82 | color: #cb4b16; 83 | } 84 | 85 | pre .deletion { 86 | color: #dc322f; 87 | } 88 | 89 | pre .tex .formula { 90 | background: #073642; 91 | } 92 | -------------------------------------------------------------------------------- /source/highlightjs/solarized_light.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull 4 | 5 | */ 6 | 7 | pre code { 8 | display: block; padding: 0.5em; 9 | background: #fdf6e3; color: #657b83; 10 | } 11 | 12 | pre .comment, 13 | pre .template_comment, 14 | pre .diff .header, 15 | pre .doctype, 16 | pre .pi, 17 | pre .lisp .string, 18 | pre .javadoc { 19 | color: #93a1a1; 20 | font-style: italic; 21 | } 22 | 23 | pre .keyword, 24 | pre .winutils, 25 | pre .method, 26 | pre .addition, 27 | pre .css .tag, 28 | pre .request, 29 | pre .status, 30 | pre .nginx .title { 31 | color: #859900; 32 | } 33 | 34 | pre .number, 35 | pre .command, 36 | pre .string, 37 | pre .tag .value, 38 | pre .rules .value, 39 | pre .phpdoc, 40 | pre .tex .formula, 41 | pre .regexp, 42 | pre .hexcolor { 43 | color: #2aa198; 44 | } 45 | 46 | pre .title, 47 | pre .localvars, 48 | pre .chunk, 49 | pre .decorator, 50 | pre .built_in, 51 | pre .identifier, 52 | pre .vhdl .literal, 53 | pre .id, 54 | pre .css .function { 55 | color: #268bd2; 56 | } 57 | 58 | pre .attribute, 59 | pre .variable, 60 | pre .lisp .body, 61 | pre .smalltalk .number, 62 | pre .constant, 63 | pre .class .title, 64 | pre .parent, 65 | pre .haskell .type { 66 | color: #b58900; 67 | } 68 | 69 | pre .preprocessor, 70 | pre .preprocessor .keyword, 71 | pre .shebang, 72 | pre .symbol, 73 | pre .symbol .string, 74 | pre .diff .change, 75 | pre .special, 76 | pre .attr_selector, 77 | pre .important, 78 | pre .subst, 79 | pre .cdata, 80 | pre .clojure .title, 81 | pre .css .pseudo { 82 | color: #cb4b16; 83 | } 84 | 85 | pre .deletion { 86 | color: #dc322f; 87 | } 88 | 89 | pre .tex .formula { 90 | background: #eee8d5; 91 | } 92 | -------------------------------------------------------------------------------- /source/highlightjs/tomorrow-night.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Night Theme */ 2 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 3 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 4 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 5 | .tomorrow-comment, pre .comment, pre .title { 6 | color: #969896; 7 | } 8 | 9 | .tomorrow-red, pre .variable, pre .attribute, pre .tag, pre .regexp, pre .ruby .constant, pre .xml .tag .title, pre .xml .pi, pre .xml .doctype, pre .html .doctype, pre .css .id, pre .css .class, pre .css .pseudo { 10 | color: #cc6666; 11 | } 12 | 13 | .tomorrow-orange, pre .number, pre .preprocessor, pre .built_in, pre .literal, pre .params, pre .constant { 14 | color: #de935f; 15 | } 16 | 17 | .tomorrow-yellow, pre .ruby .class .title, pre .css .rules .attribute { 18 | color: #f0c674; 19 | } 20 | 21 | .tomorrow-green, pre .string, pre .value, pre .inheritance, pre .header, pre .ruby .symbol, pre .xml .cdata { 22 | color: #b5bd68; 23 | } 24 | 25 | .tomorrow-aqua, pre .css .hexcolor { 26 | color: #8abeb7; 27 | } 28 | 29 | .tomorrow-blue, pre .function, pre .python .decorator, pre .python .title, pre .ruby .function .title, pre .ruby .title .keyword, pre .perl .sub, pre .javascript .title, pre .coffeescript .title { 30 | color: #81a2be; 31 | } 32 | 33 | .tomorrow-purple, pre .keyword, pre .javascript .function { 34 | color: #b294bb; 35 | } 36 | 37 | pre code { 38 | display: block; 39 | background: #1d1f21; 40 | color: #c5c8c6; 41 | padding: 0.5em; 42 | } 43 | 44 | pre .coffeescript .javascript, 45 | pre .javascript .xml, 46 | pre .tex .formula, 47 | pre .xml .javascript, 48 | pre .xml .vbscript, 49 | pre .xml .css, 50 | pre .xml .cdata { 51 | opacity: 0.5; 52 | } 53 | -------------------------------------------------------------------------------- /source/highlightjs/tomorrow-night-blue.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Night Blue Theme */ 2 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 3 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 4 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 5 | .tomorrow-comment, pre .comment, pre .title { 6 | color: #7285b7; 7 | } 8 | 9 | .tomorrow-red, pre .variable, pre .attribute, pre .tag, pre .regexp, pre .ruby .constant, pre .xml .tag .title, pre .xml .pi, pre .xml .doctype, pre .html .doctype, pre .css .id, pre .css .class, pre .css .pseudo { 10 | color: #ff9da4; 11 | } 12 | 13 | .tomorrow-orange, pre .number, pre .preprocessor, pre .built_in, pre .literal, pre .params, pre .constant { 14 | color: #ffc58f; 15 | } 16 | 17 | .tomorrow-yellow, pre .ruby .class .title, pre .css .rules .attribute { 18 | color: #ffeead; 19 | } 20 | 21 | .tomorrow-green, pre .string, pre .value, pre .inheritance, pre .header, pre .ruby .symbol, pre .xml .cdata { 22 | color: #d1f1a9; 23 | } 24 | 25 | .tomorrow-aqua, pre .css .hexcolor { 26 | color: #99ffff; 27 | } 28 | 29 | .tomorrow-blue, pre .function, pre .python .decorator, pre .python .title, pre .ruby .function .title, pre .ruby .title .keyword, pre .perl .sub, pre .javascript .title, pre .coffeescript .title { 30 | color: #bbdaff; 31 | } 32 | 33 | .tomorrow-purple, pre .keyword, pre .javascript .function { 34 | color: #ebbbff; 35 | } 36 | 37 | pre code { 38 | display: block; 39 | background: #002451; 40 | color: white; 41 | padding: 0.5em; 42 | } 43 | 44 | pre .coffeescript .javascript, 45 | pre .javascript .xml, 46 | pre .tex .formula, 47 | pre .xml .javascript, 48 | pre .xml .vbscript, 49 | pre .xml .css, 50 | pre .xml .cdata { 51 | opacity: 0.5; 52 | } 53 | -------------------------------------------------------------------------------- /source/css/slidebars.min.css: -------------------------------------------------------------------------------- 1 | /* Slidebars 0.10.2 (http://plugins.adchsm.me/slidebars/) written by Adam Smith (http://www.adchsm.me/) released under MIT License (http://plugins.adchsm.me/slidebars/license.txt) */ 2 | #sb-site,.sb-site-container,.sb-slidebar,body,html{margin:0;padding:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body,html{width:100%;overflow-x:hidden}html{height:100%}body{min-height:100%;height:auto;position:relative}html.sb-scroll-lock.sb-active:not(.sb-static){overflow:hidden}#sb-site,.sb-site-container{width:100%;position:relative;z-index:1}.sb-slidebar{height:100%;overflow-y:auto;position:fixed;top:0;z-index:0;display:none;background-color:#222;-webkit-transform:translate(0px)}.sb-left{left:0}.sb-right{right:0}.sb-slidebar.sb-static,html.sb-static .sb-slidebar{position:absolute}.sb-slidebar.sb-active{display:block}.sb-style-overlay{z-index:9999}.sb-momentum-scrolling{-webkit-overflow-scrolling:touch}.sb-slidebar{width:30%}.sb-width-thin{width:15%}.sb-width-wide{width:45%}@media (max-width:480px){.sb-slidebar{width:70%}.sb-width-thin{width:55%}.sb-width-wide{width:85%}}@media (min-width:481px){.sb-slidebar{width:55%}.sb-width-thin{width:40%}.sb-width-wide{width:70%}}@media (min-width:768px){.sb-slidebar{width:40%}.sb-width-thin{width:25%}.sb-width-wide{width:55%}}@media (min-width:992px){.sb-slidebar{width:30%}.sb-width-thin{width:15%}.sb-width-wide{width:45%}}@media (min-width:1200px){.sb-slidebar{width:20%}.sb-width-thin{width:5%}.sb-width-wide{width:35%}}#sb-site,.sb-site-container,.sb-slide,.sb-slidebar{-webkit-transition:-webkit-transform 400ms ease;-moz-transition:-moz-transform 400ms ease;-o-transition:-o-transform 400ms ease;transition:transform 400ms ease;-webkit-transition-property:-webkit-transform,left,right}.sb-hide{display:none} -------------------------------------------------------------------------------- /layout/_partial/footer.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 |
6 |
7 |

8 | © 2014, Content By <%- config.author %>. All Rights Reserved. 9 |

10 |

Theme By Kieran

11 |
12 | 31 |
32 |
33 |
34 | 35 | -------------------------------------------------------------------------------- /source/highlightjs/vs.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Visual Studio-like style based on original C# coloring by Jason Diamond 4 | 5 | */ 6 | pre code { 7 | display: block; padding: 0.5em; 8 | } 9 | 10 | pre .comment, 11 | pre .annotation, 12 | pre .template_comment, 13 | pre .diff .header, 14 | pre .chunk, 15 | pre .apache .cbracket { 16 | color: rgb(0, 128, 0); 17 | } 18 | 19 | pre .keyword, 20 | pre .id, 21 | pre .built_in, 22 | pre .smalltalk .class, 23 | pre .winutils, 24 | pre .bash .variable, 25 | pre .tex .command, 26 | pre .request, 27 | pre .status, 28 | pre .nginx .title, 29 | pre .xml .tag, 30 | pre .xml .tag .value { 31 | color: rgb(0, 0, 255); 32 | } 33 | 34 | pre .string, 35 | pre .title, 36 | pre .parent, 37 | pre .tag .value, 38 | pre .rules .value, 39 | pre .rules .value .number, 40 | pre .ruby .symbol, 41 | pre .ruby .symbol .string, 42 | pre .aggregate, 43 | pre .template_tag, 44 | pre .django .variable, 45 | pre .addition, 46 | pre .flow, 47 | pre .stream, 48 | pre .apache .tag, 49 | pre .date, 50 | pre .tex .formula, 51 | pre .coffeescript .attribute { 52 | color: rgb(163, 21, 21); 53 | } 54 | 55 | pre .ruby .string, 56 | pre .decorator, 57 | pre .filter .argument, 58 | pre .localvars, 59 | pre .array, 60 | pre .attr_selector, 61 | pre .pseudo, 62 | pre .pi, 63 | pre .doctype, 64 | pre .deletion, 65 | pre .envvar, 66 | pre .shebang, 67 | pre .preprocessor, 68 | pre .userType, 69 | pre .apache .sqbracket, 70 | pre .nginx .built_in, 71 | pre .tex .special, 72 | pre .prompt { 73 | color: rgb(43, 145, 175); 74 | } 75 | 76 | pre .phpdoc, 77 | pre .javadoc, 78 | pre .xmlDocTag { 79 | color: rgb(128, 128, 128); 80 | } 81 | 82 | pre .vhdl .typename { font-weight: bold; } 83 | pre .vhdl .string { color: #666666; } 84 | pre .vhdl .literal { color: rgb(163, 21, 21); } 85 | pre .vhdl .attribute { color: #00B0E8; } 86 | 87 | pre .xml .attribute { color: rgb(255, 0, 0); } 88 | -------------------------------------------------------------------------------- /source/highlightjs/foundation.css: -------------------------------------------------------------------------------- 1 | /* 2 | Description: Foundation 4 docs style for highlight.js 3 | Author: Dan Allen 4 | Website: http://foundation.zurb.com/docs/ 5 | Version: 1.0 6 | Date: 2013-04-02 7 | */ 8 | 9 | pre code { 10 | display: block; padding: 0.5em; 11 | background: #eee; 12 | } 13 | 14 | pre .decorator, 15 | pre .annotation { 16 | color: #000077; 17 | } 18 | 19 | pre .attribute { 20 | color: #070; 21 | } 22 | 23 | pre .value, 24 | pre .string, 25 | pre .scss .value .string { 26 | color: #d14; 27 | } 28 | 29 | pre .comment { 30 | color: #998; 31 | font-style: italic; 32 | } 33 | 34 | pre .function .title { 35 | color: #900; 36 | } 37 | 38 | pre .class { 39 | color: #458; 40 | } 41 | 42 | pre .id, 43 | pre .pseudo, 44 | pre .constant, 45 | pre .hexcolor { 46 | color: teal; 47 | } 48 | 49 | pre .variable { 50 | color: #336699; 51 | } 52 | 53 | pre .javadoc { 54 | color: #997700; 55 | } 56 | 57 | pre .pi, 58 | pre .doctype { 59 | color: #3344bb; 60 | } 61 | 62 | pre .number { 63 | color: #099; 64 | } 65 | 66 | pre .important { 67 | color: #f00; 68 | } 69 | 70 | pre .label { 71 | color: #970; 72 | } 73 | 74 | pre .preprocessor { 75 | color: #579; 76 | } 77 | 78 | pre .reserved, 79 | pre .keyword, 80 | pre .scss .value { 81 | color: #000; 82 | } 83 | 84 | pre .regexp { 85 | background-color: #fff0ff; 86 | color: #880088; 87 | } 88 | 89 | pre .symbol { 90 | color: #990073; 91 | } 92 | 93 | pre .symbol .string { 94 | color: #a60; 95 | } 96 | 97 | pre .tag { 98 | color: #007700; 99 | } 100 | 101 | pre .at_rule, 102 | pre .at_rule .keyword { 103 | color: #088; 104 | } 105 | 106 | pre .at_rule .preprocessor { 107 | color: #808; 108 | } 109 | 110 | pre .scss .tag, 111 | pre .scss .attribute { 112 | color: #339; 113 | } 114 | -------------------------------------------------------------------------------- /source/highlightjs/ir_black.css: -------------------------------------------------------------------------------- 1 | /* 2 | IR_Black style (c) Vasily Mikhailitchenko 3 | */ 4 | 5 | pre code { 6 | display: block; padding: 0.5em; 7 | background: #000; color: #f8f8f8; 8 | } 9 | 10 | pre .shebang, 11 | pre .comment, 12 | pre .template_comment, 13 | pre .javadoc { 14 | color: #7c7c7c; 15 | } 16 | 17 | pre .keyword, 18 | pre .tag, 19 | pre .tex .command, 20 | pre .request, 21 | pre .status, 22 | pre .clojure .attribute { 23 | color: #96CBFE; 24 | } 25 | 26 | pre .sub .keyword, 27 | pre .method, 28 | pre .list .title, 29 | pre .nginx .title { 30 | color: #FFFFB6; 31 | } 32 | 33 | pre .string, 34 | pre .tag .value, 35 | pre .cdata, 36 | pre .filter .argument, 37 | pre .attr_selector, 38 | pre .apache .cbracket, 39 | pre .date, 40 | pre .coffeescript .attribute { 41 | color: #A8FF60; 42 | } 43 | 44 | pre .subst { 45 | color: #DAEFA3; 46 | } 47 | 48 | pre .regexp { 49 | color: #E9C062; 50 | } 51 | 52 | pre .title, 53 | pre .sub .identifier, 54 | pre .pi, 55 | pre .decorator, 56 | pre .tex .special, 57 | pre .haskell .type, 58 | pre .constant, 59 | pre .smalltalk .class, 60 | pre .javadoctag, 61 | pre .yardoctag, 62 | pre .phpdoc, 63 | pre .nginx .built_in { 64 | color: #FFFFB6; 65 | } 66 | 67 | pre .symbol, 68 | pre .ruby .symbol .string, 69 | pre .number, 70 | pre .variable, 71 | pre .vbscript, 72 | pre .literal { 73 | color: #C6C5FE; 74 | } 75 | 76 | pre .css .tag { 77 | color: #96CBFE; 78 | } 79 | 80 | pre .css .rules .property, 81 | pre .css .id { 82 | color: #FFFFB6; 83 | } 84 | 85 | pre .css .class { 86 | color: #FFF; 87 | } 88 | 89 | pre .hexcolor { 90 | color: #C6C5FE; 91 | } 92 | 93 | pre .number { 94 | color:#FF73FD; 95 | } 96 | 97 | pre .coffeescript .javascript, 98 | pre .javascript .xml, 99 | pre .tex .formula, 100 | pre .xml .javascript, 101 | pre .xml .vbscript, 102 | pre .xml .css, 103 | pre .xml .cdata { 104 | opacity: 0.7; 105 | } 106 | -------------------------------------------------------------------------------- /source/highlightjs/pojoaque.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Pojoaque Style by Jason Tate 4 | http://web-cms-designs.com/ftopict-10-pojoaque-style-for-highlight-js-code-highlighter.html 5 | Based on Solarized Style from http://ethanschoonover.com/solarized 6 | 7 | */ 8 | 9 | pre code { 10 | display: block; padding: 0.5em; 11 | color: #DCCF8F; 12 | background: url(./pojoaque.jpg) repeat scroll left top #181914; 13 | } 14 | 15 | pre .comment, 16 | pre .template_comment, 17 | pre .diff .header, 18 | pre .doctype, 19 | pre .lisp .string, 20 | pre .javadoc { 21 | color: #586e75; 22 | font-style: italic; 23 | } 24 | 25 | pre .keyword, 26 | pre .css .rule .keyword, 27 | pre .winutils, 28 | pre .javascript .title, 29 | pre .method, 30 | pre .addition, 31 | pre .css .tag, 32 | pre .clojure .title, 33 | pre .nginx .title { 34 | color: #B64926; 35 | } 36 | 37 | pre .number, 38 | pre .command, 39 | pre .string, 40 | pre .tag .value, 41 | pre .phpdoc, 42 | pre .tex .formula, 43 | pre .regexp, 44 | pre .hexcolor { 45 | color: #468966; 46 | } 47 | 48 | pre .title, 49 | pre .localvars, 50 | pre .function .title, 51 | pre .chunk, 52 | pre .decorator, 53 | pre .built_in, 54 | pre .lisp .title, 55 | pre .clojure .built_in, 56 | pre .identifier, 57 | pre .id { 58 | color: #FFB03B; 59 | } 60 | 61 | pre .attribute, 62 | pre .variable, 63 | pre .lisp .body, 64 | pre .smalltalk .number, 65 | pre .constant, 66 | pre .class .title, 67 | pre .parent, 68 | pre .haskell .type { 69 | color: #b58900; 70 | } 71 | 72 | pre .css .attribute { 73 | color: #b89859; 74 | } 75 | 76 | pre .css .number,pre .css .hexcolor{ 77 | color: #DCCF8F; 78 | } 79 | 80 | pre .css .class { 81 | color: #d3a60c; 82 | } 83 | 84 | pre .preprocessor, 85 | pre .pi, 86 | pre .shebang, 87 | pre .symbol, 88 | pre .symbol .string, 89 | pre .diff .change, 90 | pre .special, 91 | pre .attr_selector, 92 | pre .important, 93 | pre .subst, 94 | pre .cdata { 95 | color: #cb4b16; 96 | } 97 | 98 | pre .deletion { 99 | color: #dc322f; 100 | } 101 | 102 | pre .tex .formula { 103 | background: #073642; 104 | } 105 | -------------------------------------------------------------------------------- /source/highlightjs/monokai_sublime.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-license.org/ 4 | 5 | */ 6 | 7 | pre code { 8 | display: block; 9 | padding: 0.5em; 10 | background: #23241f; 11 | } 12 | pre .tag, 13 | pre code { 14 | color: #f8f8f2; 15 | } 16 | pre .keyword, 17 | pre .function, 18 | pre .literal, 19 | pre .change, 20 | pre .winutils, 21 | pre .flow, 22 | pre .lisp .title, 23 | pre .clojure .built_in, 24 | pre .nginx .title, 25 | pre .tex .special { 26 | color: #66d9ef; 27 | } 28 | pre .variable, 29 | pre .params { 30 | color: #fd9720; 31 | } 32 | pre .constant { 33 | color: #66d9ef; 34 | } 35 | pre .title, 36 | pre .class .title, 37 | pre .css .class { 38 | color: #a6e22e; 39 | } 40 | pre .attribute, 41 | pre .symbol, 42 | pre .symbol .string, 43 | pre .tag .title, 44 | pre .value, 45 | pre .css .tag { 46 | color: #f92672; 47 | } 48 | pre .number, 49 | pre .preprocessor, 50 | pre .regexp { 51 | color: #ae81ff; 52 | } 53 | pre .tag .value, 54 | pre .string, 55 | pre .css .id, 56 | pre .subst, 57 | pre .haskell .type, 58 | pre .ruby .class .parent, 59 | pre .built_in, 60 | pre .sql .aggregate, 61 | pre .django .template_tag, 62 | pre .django .variable, 63 | pre .smalltalk .class, 64 | pre .django .filter .argument, 65 | pre .smalltalk .localvars, 66 | pre .smalltalk .array, 67 | pre .attr_selector, 68 | pre .pseudo, 69 | pre .addition, 70 | pre .stream, 71 | pre .envvar, 72 | pre .apache .tag, 73 | pre .apache .cbracket, 74 | pre .tex .command, 75 | pre .prompt { 76 | color: #e6db74; 77 | } 78 | pre .comment, 79 | pre .javadoc, 80 | pre .java .annotation, 81 | pre .python .decorator, 82 | pre .template_comment, 83 | pre .pi, 84 | pre .doctype, 85 | pre .deletion, 86 | pre .shebang, 87 | pre .apache .sqbracket, 88 | pre .tex .formula { 89 | color: #75715e; 90 | } 91 | pre .coffeescript .javascript, 92 | pre .javascript .xml, 93 | pre .tex .formula { 94 | opacity: 0.5; 95 | } 96 | pre .xml .javascript, 97 | pre .xml .vbscript, 98 | pre .xml .css, 99 | pre .xml .cdata { 100 | opacity: 0.5; 101 | } 102 | -------------------------------------------------------------------------------- /source/highlightjs/dark.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Dark style from softwaremaniacs.org (c) Ivan Sagalaev 4 | 5 | */ 6 | 7 | pre code { 8 | display: block; padding: 0.5em; 9 | background: #444; 10 | } 11 | 12 | pre .keyword, 13 | pre .literal, 14 | pre .change, 15 | pre .winutils, 16 | pre .flow, 17 | pre .lisp .title, 18 | pre .clojure .built_in, 19 | pre .nginx .title, 20 | pre .tex .special { 21 | color: white; 22 | } 23 | 24 | pre code, 25 | pre .subst { 26 | color: #DDD; 27 | } 28 | 29 | pre .string, 30 | pre .title, 31 | pre .haskell .type, 32 | pre .ini .title, 33 | pre .tag .value, 34 | pre .css .rules .value, 35 | pre .preprocessor, 36 | pre .ruby .symbol, 37 | pre .ruby .symbol .string, 38 | pre .ruby .class .parent, 39 | pre .built_in, 40 | pre .sql .aggregate, 41 | pre .django .template_tag, 42 | pre .django .variable, 43 | pre .smalltalk .class, 44 | pre .javadoc, 45 | pre .ruby .string, 46 | pre .django .filter .argument, 47 | pre .smalltalk .localvars, 48 | pre .smalltalk .array, 49 | pre .attr_selector, 50 | pre .pseudo, 51 | pre .addition, 52 | pre .stream, 53 | pre .envvar, 54 | pre .apache .tag, 55 | pre .apache .cbracket, 56 | pre .tex .command, 57 | pre .prompt, 58 | pre .coffeescript .attribute { 59 | color: #D88; 60 | } 61 | 62 | pre .comment, 63 | pre .java .annotation, 64 | pre .python .decorator, 65 | pre .template_comment, 66 | pre .pi, 67 | pre .doctype, 68 | pre .deletion, 69 | pre .shebang, 70 | pre .apache .sqbracket, 71 | pre .tex .formula { 72 | color: #777; 73 | } 74 | 75 | pre .keyword, 76 | pre .literal, 77 | pre .title, 78 | pre .css .id, 79 | pre .phpdoc, 80 | pre .haskell .type, 81 | pre .vbscript .built_in, 82 | pre .sql .aggregate, 83 | pre .rsl .built_in, 84 | pre .smalltalk .class, 85 | pre .diff .header, 86 | pre .chunk, 87 | pre .winutils, 88 | pre .bash .variable, 89 | pre .apache .tag, 90 | pre .tex .special, 91 | pre .request, 92 | pre .status { 93 | font-weight: bold; 94 | } 95 | 96 | pre .coffeescript .javascript, 97 | pre .javascript .xml, 98 | pre .tex .formula, 99 | pre .xml .javascript, 100 | pre .xml .vbscript, 101 | pre .xml .css, 102 | pre .xml .cdata { 103 | opacity: 0.5; 104 | } 105 | -------------------------------------------------------------------------------- /source/highlightjs/rainbow.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Style with support for rainbow parens 4 | 5 | */ 6 | 7 | pre ::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; } 8 | pre ::selection { background:#FF5E99; color:#fff; text-shadow: none; } 9 | 10 | pre code { 11 | display: block; padding: 0.5em; 12 | background: #474949; color: #D1D9E1; 13 | } 14 | 15 | 16 | pre .body, 17 | pre .collection { 18 | color: #D1D9E1; 19 | } 20 | 21 | pre .comment, 22 | pre .template_comment, 23 | pre .diff .header, 24 | pre .doctype, 25 | pre .lisp .string, 26 | pre .javadoc { 27 | color: #969896; 28 | font-style: italic; 29 | } 30 | 31 | pre .keyword, 32 | pre .clojure .attribute, 33 | pre .winutils, 34 | pre .javascript .title, 35 | pre .addition, 36 | pre .css .tag { 37 | color: #cc99cc; 38 | } 39 | 40 | pre .number { color: #f99157; } 41 | 42 | pre .command, 43 | pre .string, 44 | pre .tag .value, 45 | pre .phpdoc, 46 | pre .tex .formula, 47 | pre .regexp, 48 | pre .hexcolor { 49 | color: #8abeb7; 50 | } 51 | 52 | pre .title, 53 | pre .localvars, 54 | pre .function .title, 55 | pre .chunk, 56 | pre .decorator, 57 | pre .built_in, 58 | pre .lisp .title, 59 | pre .identifier 60 | { 61 | color: #b5bd68; 62 | } 63 | 64 | pre .class .keyword 65 | { 66 | color: #f2777a; 67 | } 68 | 69 | pre .variable, 70 | pre .lisp .body, 71 | pre .smalltalk .number, 72 | pre .constant, 73 | pre .class .title, 74 | pre .parent, 75 | pre .haskell .label, 76 | pre .id, 77 | pre .lisp .title, 78 | pre .clojure .title .built_in { 79 | color: #ffcc66; 80 | } 81 | 82 | pre .tag .title, 83 | pre .rules .property, 84 | pre .django .tag .keyword, 85 | pre .clojure .title .built_in { 86 | font-weight: bold; 87 | } 88 | 89 | pre .attribute, 90 | pre .clojure .title { 91 | color: #81a2be; 92 | } 93 | 94 | pre .preprocessor, 95 | pre .pi, 96 | pre .shebang, 97 | pre .symbol, 98 | pre .symbol .string, 99 | pre .diff .change, 100 | pre .special, 101 | pre .attr_selector, 102 | pre .important, 103 | pre .subst, 104 | pre .cdata { 105 | color: #f99157; 106 | } 107 | 108 | pre .deletion { 109 | color: #dc322f; 110 | } 111 | 112 | pre .tex .formula { 113 | background: #eee8d5; 114 | } 115 | -------------------------------------------------------------------------------- /source/highlightjs/brown_paper.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Brown Paper style from goldblog.com.ua (c) Zaripov Yura 4 | 5 | */ 6 | 7 | pre code { 8 | display: block; padding: 0.5em; 9 | background:#b7a68e url(./brown_papersq.png); 10 | } 11 | 12 | pre .keyword, 13 | pre .literal, 14 | pre .change, 15 | pre .winutils, 16 | pre .flow, 17 | pre .lisp .title, 18 | pre .clojure .built_in, 19 | pre .nginx .title, 20 | pre .tex .special, 21 | pre .request, 22 | pre .status { 23 | color:#005599; 24 | font-weight:bold; 25 | } 26 | 27 | pre code, 28 | pre .subst, 29 | pre .tag .keyword { 30 | color: #363C69; 31 | } 32 | 33 | pre .string, 34 | pre .title, 35 | pre .haskell .type, 36 | pre .tag .value, 37 | pre .css .rules .value, 38 | pre .preprocessor, 39 | pre .ruby .symbol, 40 | pre .ruby .symbol .string, 41 | pre .ruby .class .parent, 42 | pre .built_in, 43 | pre .sql .aggregate, 44 | pre .django .template_tag, 45 | pre .django .variable, 46 | pre .smalltalk .class, 47 | pre .javadoc, 48 | pre .ruby .string, 49 | pre .django .filter .argument, 50 | pre .smalltalk .localvars, 51 | pre .smalltalk .array, 52 | pre .attr_selector, 53 | pre .pseudo, 54 | pre .addition, 55 | pre .stream, 56 | pre .envvar, 57 | pre .apache .tag, 58 | pre .apache .cbracket, 59 | pre .tex .number { 60 | color: #2C009F; 61 | } 62 | 63 | pre .comment, 64 | pre .java .annotation, 65 | pre .python .decorator, 66 | pre .template_comment, 67 | pre .pi, 68 | pre .doctype, 69 | pre .deletion, 70 | pre .shebang, 71 | pre .apache .sqbracket, 72 | pre .nginx .built_in, 73 | pre .tex .formula { 74 | color: #802022; 75 | } 76 | 77 | pre .keyword, 78 | pre .literal, 79 | pre .css .id, 80 | pre .phpdoc, 81 | pre .title, 82 | pre .haskell .type, 83 | pre .vbscript .built_in, 84 | pre .sql .aggregate, 85 | pre .rsl .built_in, 86 | pre .smalltalk .class, 87 | pre .diff .header, 88 | pre .chunk, 89 | pre .winutils, 90 | pre .bash .variable, 91 | pre .apache .tag, 92 | pre .tex .command { 93 | font-weight: bold; 94 | } 95 | 96 | pre .coffeescript .javascript, 97 | pre .javascript .xml, 98 | pre .tex .formula, 99 | pre .xml .javascript, 100 | pre .xml .vbscript, 101 | pre .xml .css, 102 | pre .xml .cdata { 103 | opacity: 0.8; 104 | } 105 | -------------------------------------------------------------------------------- /source/highlightjs/idea.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Intellij Idea-like styling (c) Vasily Polovnyov 4 | 5 | */ 6 | 7 | pre code { 8 | display: block; padding: 0.5em; 9 | color: #000; 10 | background: #fff; 11 | } 12 | 13 | pre .subst, 14 | pre .title { 15 | font-weight: normal; 16 | color: #000; 17 | } 18 | 19 | pre .comment, 20 | pre .template_comment, 21 | pre .javadoc, 22 | pre .diff .header { 23 | color: #808080; 24 | font-style: italic; 25 | } 26 | 27 | pre .annotation, 28 | pre .decorator, 29 | pre .preprocessor, 30 | pre .doctype, 31 | pre .pi, 32 | pre .chunk, 33 | pre .shebang, 34 | pre .apache .cbracket, 35 | pre .prompt, 36 | pre .http .title { 37 | color: #808000; 38 | } 39 | 40 | pre .tag, 41 | pre .pi { 42 | background: #efefef; 43 | } 44 | 45 | pre .tag .title, 46 | pre .id, 47 | pre .attr_selector, 48 | pre .pseudo, 49 | pre .literal, 50 | pre .keyword, 51 | pre .hexcolor, 52 | pre .css .function, 53 | pre .ini .title, 54 | pre .css .class, 55 | pre .list .title, 56 | pre .clojure .title, 57 | pre .nginx .title, 58 | pre .tex .command, 59 | pre .request, 60 | pre .status { 61 | font-weight: bold; 62 | color: #000080; 63 | } 64 | 65 | pre .attribute, 66 | pre .rules .keyword, 67 | pre .number, 68 | pre .date, 69 | pre .regexp, 70 | pre .tex .special { 71 | font-weight: bold; 72 | color: #0000ff; 73 | } 74 | 75 | pre .number, 76 | pre .regexp { 77 | font-weight: normal; 78 | } 79 | 80 | pre .string, 81 | pre .value, 82 | pre .filter .argument, 83 | pre .css .function .params, 84 | pre .apache .tag { 85 | color: #008000; 86 | font-weight: bold; 87 | } 88 | 89 | pre .symbol, 90 | pre .ruby .symbol .string, 91 | pre .char, 92 | pre .tex .formula { 93 | color: #000; 94 | background: #d0eded; 95 | font-style: italic; 96 | } 97 | 98 | pre .phpdoc, 99 | pre .yardoctag, 100 | pre .javadoctag { 101 | text-decoration: underline; 102 | } 103 | 104 | pre .variable, 105 | pre .envvar, 106 | pre .apache .sqbracket, 107 | pre .nginx .built_in { 108 | color: #660e7a; 109 | } 110 | 111 | pre .addition { 112 | background: #baeeba; 113 | } 114 | 115 | pre .deletion { 116 | background: #ffc8bd; 117 | } 118 | 119 | pre .diff .change { 120 | background: #bccff9; 121 | } 122 | -------------------------------------------------------------------------------- /source/css/screen.css: -------------------------------------------------------------------------------- 1 | /* ========================================================================== 2 | Table of Contents 3 | ========================================================================== */ 4 | 5 | /* 6 | 7 | 0. Includes 8 | 1. Icons 9 | 2. General 10 | 3. Utilities 11 | 4. General 12 | 5. Single Post 13 | 6. Third Party Elements 14 | 7. Pagination 15 | 8. Footer 16 | 9. Media Queries (Tablet) 17 | 10. Media Queries (Mobile) 18 | 19 | */ 20 | 21 | /* ========================================================================== 22 | 0. Includes - Ground zero 23 | ========================================================================== */ 24 | @import url(normalize.css); 25 | /* ========================================================================== 26 | 1. Icons - Sets up the icon font and respective classes 27 | ========================================================================== */ 28 | 29 | /* Import the font file with the icons in it */ 30 | @font-face { font-family: 'icons'; src: url('../fonts/icons.eot'); src: url('../fonts/icons.eot?#iefix') format('embedded-opentype'), url('../fonts/icons.woff') format('woff'), url('../fonts/icons.ttf') format('truetype'), url('../fonts/icons.svg#icons') format('svg'); font-weight: normal; font-style: normal; } 31 | /* Apply these base styles to all icons */ 32 | .icon-ghost:before, .icon-feed:before, .icon-twitter:before, .icon-google-plus:before, .icon-facebook:before, .icon-sina-weibo{ font-family: 'icons'; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; text-decoration: none; } 33 | /* Each icon is created by inserting the corret character into the 34 | content of the :before pseudo element. Like a boss. */ 35 | .icon-ghost:before { content: "\e000"; } 36 | .icon-feed:before { content: "\e631"; } 37 | .icon-twitter:before { content: "\e630"; font-size: 1.1em; } 38 | .icon-google-plus:before { content: "\e62d"; } 39 | .icon-facebook:before { content: "\e62f"; } 40 | .icon-sina-weibo:before { content: "\e666";font-size: 1.1em; } 41 | /* ========================================================================== 42 | 2. General - Setting up some base styles 43 | ========================================================================== */ -------------------------------------------------------------------------------- /source/highlightjs/github.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | github.com style (c) Vasily Polovnyov 4 | 5 | */ 6 | 7 | pre code { 8 | display: block; padding: 0.5em; 9 | color: #333; 10 | background: #f8f8ff 11 | } 12 | 13 | pre .comment, 14 | pre .template_comment, 15 | pre .diff .header, 16 | pre .javadoc { 17 | color: #998; 18 | font-style: italic 19 | } 20 | 21 | pre .keyword, 22 | pre .css .rule .keyword, 23 | pre .winutils, 24 | pre .javascript .title, 25 | pre .nginx .title, 26 | pre .subst, 27 | pre .request, 28 | pre .status { 29 | color: #333; 30 | font-weight: bold 31 | } 32 | 33 | pre .number, 34 | pre .hexcolor, 35 | pre .ruby .constant { 36 | color: #099; 37 | } 38 | 39 | pre .string, 40 | pre .tag .value, 41 | pre .phpdoc, 42 | pre .tex .formula { 43 | color: #d14 44 | } 45 | 46 | pre .title, 47 | pre .id, 48 | pre .coffeescript .params, 49 | pre .scss .preprocessor { 50 | color: #900; 51 | font-weight: bold 52 | } 53 | 54 | pre .javascript .title, 55 | pre .lisp .title, 56 | pre .clojure .title, 57 | pre .subst { 58 | font-weight: normal 59 | } 60 | 61 | pre .class .title, 62 | pre .haskell .type, 63 | pre .vhdl .literal, 64 | pre .tex .command { 65 | color: #458; 66 | font-weight: bold 67 | } 68 | 69 | pre .tag, 70 | pre .tag .title, 71 | pre .rules .property, 72 | pre .django .tag .keyword { 73 | color: #000080; 74 | font-weight: normal 75 | } 76 | 77 | pre .attribute, 78 | pre .variable, 79 | pre .lisp .body { 80 | color: #008080 81 | } 82 | 83 | pre .regexp { 84 | color: #009926 85 | } 86 | 87 | pre .class { 88 | color: #458; 89 | font-weight: bold 90 | } 91 | 92 | pre .symbol, 93 | pre .ruby .symbol .string, 94 | pre .lisp .keyword, 95 | pre .tex .special, 96 | pre .prompt { 97 | color: #990073 98 | } 99 | 100 | pre .built_in, 101 | pre .lisp .title, 102 | pre .clojure .built_in { 103 | color: #0086b3 104 | } 105 | 106 | pre .preprocessor, 107 | pre .pi, 108 | pre .doctype, 109 | pre .shebang, 110 | pre .cdata { 111 | color: #999; 112 | font-weight: bold 113 | } 114 | 115 | pre .deletion { 116 | background: #fdd 117 | } 118 | 119 | pre .addition { 120 | background: #dfd 121 | } 122 | 123 | pre .diff .change { 124 | background: #0086b3 125 | } 126 | 127 | pre .chunk { 128 | color: #aaa 129 | } 130 | -------------------------------------------------------------------------------- /source/highlightjs/far.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | FAR Style (c) MajestiC 4 | 5 | */ 6 | 7 | pre code { 8 | display: block; padding: 0.5em; 9 | background: #000080; 10 | } 11 | 12 | pre code, 13 | pre .subst { 14 | color: #0FF; 15 | } 16 | 17 | pre .string, 18 | pre .ruby .string, 19 | pre .haskell .type, 20 | pre .tag .value, 21 | pre .css .rules .value, 22 | pre .css .rules .value .number, 23 | pre .preprocessor, 24 | pre .ruby .symbol, 25 | pre .ruby .symbol .string, 26 | pre .built_in, 27 | pre .sql .aggregate, 28 | pre .django .template_tag, 29 | pre .django .variable, 30 | pre .smalltalk .class, 31 | pre .addition, 32 | pre .apache .tag, 33 | pre .apache .cbracket, 34 | pre .tex .command, 35 | pre .clojure .title, 36 | pre .coffeescript .attribute { 37 | color: #FF0; 38 | } 39 | 40 | pre .keyword, 41 | pre .css .id, 42 | pre .title, 43 | pre .haskell .type, 44 | pre .vbscript .built_in, 45 | pre .sql .aggregate, 46 | pre .rsl .built_in, 47 | pre .smalltalk .class, 48 | pre .xml .tag .title, 49 | pre .winutils, 50 | pre .flow, 51 | pre .change, 52 | pre .envvar, 53 | pre .bash .variable, 54 | pre .tex .special, 55 | pre .clojure .built_in { 56 | color: #FFF; 57 | } 58 | 59 | pre .comment, 60 | pre .phpdoc, 61 | pre .javadoc, 62 | pre .java .annotation, 63 | pre .template_comment, 64 | pre .deletion, 65 | pre .apache .sqbracket, 66 | pre .tex .formula { 67 | color: #888; 68 | } 69 | 70 | pre .number, 71 | pre .date, 72 | pre .regexp, 73 | pre .literal, 74 | pre .smalltalk .symbol, 75 | pre .smalltalk .char, 76 | pre .clojure .attribute { 77 | color: #0F0; 78 | } 79 | 80 | pre .python .decorator, 81 | pre .django .filter .argument, 82 | pre .smalltalk .localvars, 83 | pre .smalltalk .array, 84 | pre .attr_selector, 85 | pre .pseudo, 86 | pre .xml .pi, 87 | pre .diff .header, 88 | pre .chunk, 89 | pre .shebang, 90 | pre .nginx .built_in, 91 | pre .prompt { 92 | color: #008080; 93 | } 94 | 95 | pre .keyword, 96 | pre .css .id, 97 | pre .title, 98 | pre .haskell .type, 99 | pre .vbscript .built_in, 100 | pre .sql .aggregate, 101 | pre .rsl .built_in, 102 | pre .smalltalk .class, 103 | pre .winutils, 104 | pre .flow, 105 | pre .apache .tag, 106 | pre .nginx .built_in, 107 | pre .tex .command, 108 | pre .tex .special, 109 | pre .request, 110 | pre .status { 111 | font-weight: bold; 112 | } 113 | -------------------------------------------------------------------------------- /source/highlightjs/zenburn.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Zenburn style from voldmar.ru (c) Vladimir Epifanov 4 | based on dark.css by Ivan Sagalaev 5 | 6 | */ 7 | 8 | pre code { 9 | display: block; padding: 0.5em; 10 | background: #3F3F3F; 11 | color: #DCDCDC; 12 | } 13 | 14 | pre .keyword, 15 | pre .tag, 16 | pre .css .class, 17 | pre .css .id, 18 | pre .lisp .title, 19 | pre .nginx .title, 20 | pre .request, 21 | pre .status, 22 | pre .clojure .attribute { 23 | color: #E3CEAB; 24 | } 25 | 26 | pre .django .template_tag, 27 | pre .django .variable, 28 | pre .django .filter .argument { 29 | color: #DCDCDC; 30 | } 31 | 32 | pre .number, 33 | pre .date { 34 | color: #8CD0D3; 35 | } 36 | 37 | pre .dos .envvar, 38 | pre .dos .stream, 39 | pre .variable, 40 | pre .apache .sqbracket { 41 | color: #EFDCBC; 42 | } 43 | 44 | pre .dos .flow, 45 | pre .diff .change, 46 | pre .python .exception, 47 | pre .python .built_in, 48 | pre .literal, 49 | pre .tex .special { 50 | color: #EFEFAF; 51 | } 52 | 53 | pre .diff .chunk, 54 | pre .subst { 55 | color: #8F8F8F; 56 | } 57 | 58 | pre .dos .keyword, 59 | pre .python .decorator, 60 | pre .title, 61 | pre .haskell .type, 62 | pre .diff .header, 63 | pre .ruby .class .parent, 64 | pre .apache .tag, 65 | pre .nginx .built_in, 66 | pre .tex .command, 67 | pre .prompt { 68 | color: #efef8f; 69 | } 70 | 71 | pre .dos .winutils, 72 | pre .ruby .symbol, 73 | pre .ruby .symbol .string, 74 | pre .ruby .string { 75 | color: #DCA3A3; 76 | } 77 | 78 | pre .diff .deletion, 79 | pre .string, 80 | pre .tag .value, 81 | pre .preprocessor, 82 | pre .built_in, 83 | pre .sql .aggregate, 84 | pre .javadoc, 85 | pre .smalltalk .class, 86 | pre .smalltalk .localvars, 87 | pre .smalltalk .array, 88 | pre .css .rules .value, 89 | pre .attr_selector, 90 | pre .pseudo, 91 | pre .apache .cbracket, 92 | pre .tex .formula, 93 | pre .coffeescript .attribute { 94 | color: #CC9393; 95 | } 96 | 97 | pre .shebang, 98 | pre .diff .addition, 99 | pre .comment, 100 | pre .java .annotation, 101 | pre .template_comment, 102 | pre .pi, 103 | pre .doctype { 104 | color: #7F9F7F; 105 | } 106 | 107 | pre .coffeescript .javascript, 108 | pre .javascript .xml, 109 | pre .tex .formula, 110 | pre .xml .javascript, 111 | pre .xml .vbscript, 112 | pre .xml .css, 113 | pre .xml .cdata { 114 | opacity: 0.5; 115 | } 116 | 117 | -------------------------------------------------------------------------------- /source/highlightjs/docco.css: -------------------------------------------------------------------------------- 1 | /* 2 | Docco style used in http://jashkenas.github.com/docco/ converted by Simon Madine (@thingsinjars) 3 | */ 4 | 5 | pre code { 6 | display: block; padding: 0.5em; 7 | color: #000; 8 | background: #f8f8ff 9 | } 10 | 11 | pre .comment, 12 | pre .template_comment, 13 | pre .diff .header, 14 | pre .javadoc { 15 | color: #408080; 16 | font-style: italic 17 | } 18 | 19 | pre .keyword, 20 | pre .assignment, 21 | pre .literal, 22 | pre .css .rule .keyword, 23 | pre .winutils, 24 | pre .javascript .title, 25 | pre .lisp .title, 26 | pre .subst { 27 | color: #954121; 28 | } 29 | 30 | pre .number, 31 | pre .hexcolor { 32 | color: #40a070 33 | } 34 | 35 | pre .string, 36 | pre .tag .value, 37 | pre .phpdoc, 38 | pre .tex .formula { 39 | color: #219161; 40 | } 41 | 42 | pre .title, 43 | pre .id { 44 | color: #19469D; 45 | } 46 | pre .params { 47 | color: #00F; 48 | } 49 | 50 | pre .javascript .title, 51 | pre .lisp .title, 52 | pre .subst { 53 | font-weight: normal 54 | } 55 | 56 | pre .class .title, 57 | pre .haskell .label, 58 | pre .tex .command { 59 | color: #458; 60 | font-weight: bold 61 | } 62 | 63 | pre .tag, 64 | pre .tag .title, 65 | pre .rules .property, 66 | pre .django .tag .keyword { 67 | color: #000080; 68 | font-weight: normal 69 | } 70 | 71 | pre .attribute, 72 | pre .variable, 73 | pre .instancevar, 74 | pre .lisp .body { 75 | color: #008080 76 | } 77 | 78 | pre .regexp { 79 | color: #B68 80 | } 81 | 82 | pre .class { 83 | color: #458; 84 | font-weight: bold 85 | } 86 | 87 | pre .symbol, 88 | pre .ruby .symbol .string, 89 | pre .ruby .symbol .keyword, 90 | pre .ruby .symbol .keymethods, 91 | pre .lisp .keyword, 92 | pre .tex .special, 93 | pre .input_number { 94 | color: #990073 95 | } 96 | 97 | pre .builtin, 98 | pre .constructor, 99 | pre .built_in, 100 | pre .lisp .title { 101 | color: #0086b3 102 | } 103 | 104 | pre .preprocessor, 105 | pre .pi, 106 | pre .doctype, 107 | pre .shebang, 108 | pre .cdata { 109 | color: #999; 110 | font-weight: bold 111 | } 112 | 113 | pre .deletion { 114 | background: #fdd 115 | } 116 | 117 | pre .addition { 118 | background: #dfd 119 | } 120 | 121 | pre .diff .change { 122 | background: #0086b3 123 | } 124 | 125 | pre .chunk { 126 | color: #aaa 127 | } 128 | 129 | pre .tex .formula { 130 | opacity: 0.5; 131 | } 132 | -------------------------------------------------------------------------------- /source/js/jquery.ajaxchimp.min.js: -------------------------------------------------------------------------------- 1 | (function($){"use strict";$.ajaxChimp={responses:{"We have sent you a confirmation email":0,"Please enter a value":1,"An email address must contain a single @":2,"The domain portion of the email address is invalid (the portion after the @: )":3,"The username portion of the email address is invalid (the portion before the @: )":4,"This email address looks fake or invalid. Please enter a real email address":5},translations:{en:null},init:function(selector,options){$(selector).ajaxChimp(options)}};$.fn.ajaxChimp=function(options){$(this).each(function(i,elem){var form=$(elem);var email=form.find("input[type=email]");var label=form.find("label[for="+email.attr("id")+"]");var settings=$.extend({url:form.attr("action"),language:"en"},options);var url=settings.url.replace("/post?","/post-json?").concat("&c=?");form.attr("novalidate","true");email.attr("name","EMAIL");form.submit(function(){var msg;function successCallback(resp){if(resp.result==="success"){msg="Sent We have sent you a confirmation email";label.removeClass("error").addClass("valid");email.removeClass("error").addClass("valid")}else{email.removeClass("valid").addClass("error");label.removeClass("valid").addClass("error");var index=-1;try{var parts=resp.msg.split(" - ",2);if(parts[1]===undefined){msg=resp.msg}else{var i=parseInt(parts[0],10);if(i.toString()===parts[0]){index=parts[0];msg=parts[1]}else{index=-1;msg=resp.msg}}}catch(e){index=-1;msg=resp.msg}}if(settings.language!=="en"&&$.ajaxChimp.responses[msg]!==undefined&&$.ajaxChimp.translations&&$.ajaxChimp.translations[settings.language]&&$.ajaxChimp.translations[settings.language][$.ajaxChimp.responses[msg]]){msg=$.ajaxChimp.translations[settings.language][$.ajaxChimp.responses[msg]]}label.html(msg);label.show(2e3);if(settings.callback){settings.callback(resp)}}var data={};var dataArray=form.serializeArray();$.each(dataArray,function(index,item){data[item.name]=item.value});$.ajax({url:url,data:data,success:successCallback,dataType:"jsonp",error:function(resp,text){console.log("mailchimp ajax submit error: "+text)}});var submitMsg="Submitting Submitting...";if(settings.language!=="en"&&$.ajaxChimp.translations&&$.ajaxChimp.translations[settings.language]&&$.ajaxChimp.translations[settings.language]["submit"]){submitMsg=$.ajaxChimp.translations[settings.language]["submit"]}label.html(submitMsg).show(2e3);return false})});return this}})(jQuery); -------------------------------------------------------------------------------- /source/highlightjs/magula.css: -------------------------------------------------------------------------------- 1 | /* 2 | Description: Magula style for highligh.js 3 | Author: Ruslan Keba 4 | Website: http://rukeba.com/ 5 | Version: 1.0 6 | Date: 2009-01-03 7 | Music: Aphex Twin / Xtal 8 | */ 9 | 10 | pre code { 11 | display: block; padding: 0.5em; 12 | background-color: #f4f4f4; 13 | } 14 | 15 | pre code, 16 | pre .subst, 17 | pre .lisp .title, 18 | pre .clojure .built_in { 19 | color: black; 20 | } 21 | 22 | pre .string, 23 | pre .title, 24 | pre .parent, 25 | pre .tag .value, 26 | pre .rules .value, 27 | pre .rules .value .number, 28 | pre .preprocessor, 29 | pre .ruby .symbol, 30 | pre .ruby .symbol .string, 31 | pre .aggregate, 32 | pre .template_tag, 33 | pre .django .variable, 34 | pre .smalltalk .class, 35 | pre .addition, 36 | pre .flow, 37 | pre .stream, 38 | pre .bash .variable, 39 | pre .apache .cbracket, 40 | pre .coffeescript .attribute { 41 | color: #050; 42 | } 43 | 44 | pre .comment, 45 | pre .annotation, 46 | pre .template_comment, 47 | pre .diff .header, 48 | pre .chunk { 49 | color: #777; 50 | } 51 | 52 | pre .number, 53 | pre .date, 54 | pre .regexp, 55 | pre .literal, 56 | pre .smalltalk .symbol, 57 | pre .smalltalk .char, 58 | pre .change, 59 | pre .tex .special { 60 | color: #800; 61 | } 62 | 63 | pre .label, 64 | pre .javadoc, 65 | pre .ruby .string, 66 | pre .decorator, 67 | pre .filter .argument, 68 | pre .localvars, 69 | pre .array, 70 | pre .attr_selector, 71 | pre .pseudo, 72 | pre .pi, 73 | pre .doctype, 74 | pre .deletion, 75 | pre .envvar, 76 | pre .shebang, 77 | pre .apache .sqbracket, 78 | pre .nginx .built_in, 79 | pre .tex .formula, 80 | pre .prompt, 81 | pre .clojure .attribute { 82 | color: #00e; 83 | } 84 | 85 | pre .keyword, 86 | pre .id, 87 | pre .phpdoc, 88 | pre .title, 89 | pre .built_in, 90 | pre .aggregate, 91 | pre .smalltalk .class, 92 | pre .winutils, 93 | pre .bash .variable, 94 | pre .apache .tag, 95 | pre .xml .tag, 96 | pre .tex .command, 97 | pre .request, 98 | pre .status { 99 | font-weight: bold; 100 | color: navy; 101 | } 102 | 103 | pre .nginx .built_in { 104 | font-weight: normal; 105 | } 106 | 107 | pre .coffeescript .javascript, 108 | pre .javascript .xml, 109 | pre .tex .formula, 110 | pre .xml .javascript, 111 | pre .xml .vbscript, 112 | pre .xml .css, 113 | pre .xml .cdata { 114 | opacity: 0.5; 115 | } 116 | 117 | /* --- */ 118 | pre .apache .tag { 119 | font-weight: bold; 120 | color: blue; 121 | } 122 | 123 | -------------------------------------------------------------------------------- /source/highlightjs/school_book.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | School Book style from goldblog.com.ua (c) Zaripov Yura 4 | 5 | */ 6 | 7 | pre code { 8 | display: block; padding: 15px 0.5em 0.5em 30px; 9 | font-size: 11px !important; 10 | line-height:16px !important; 11 | } 12 | 13 | pre{ 14 | background:#f6f6ae url(./school_book.png); 15 | border-top: solid 2px #d2e8b9; 16 | border-bottom: solid 1px #d2e8b9; 17 | } 18 | 19 | pre .keyword, 20 | pre .literal, 21 | pre .change, 22 | pre .winutils, 23 | pre .flow, 24 | pre .lisp .title, 25 | pre .clojure .built_in, 26 | pre .nginx .title, 27 | pre .tex .special { 28 | color:#005599; 29 | font-weight:bold; 30 | } 31 | 32 | pre code, 33 | pre .subst, 34 | pre .tag .keyword { 35 | color: #3E5915; 36 | } 37 | 38 | pre .string, 39 | pre .title, 40 | pre .haskell .type, 41 | pre .tag .value, 42 | pre .css .rules .value, 43 | pre .preprocessor, 44 | pre .ruby .symbol, 45 | pre .ruby .symbol .string, 46 | pre .ruby .class .parent, 47 | pre .built_in, 48 | pre .sql .aggregate, 49 | pre .django .template_tag, 50 | pre .django .variable, 51 | pre .smalltalk .class, 52 | pre .javadoc, 53 | pre .ruby .string, 54 | pre .django .filter .argument, 55 | pre .smalltalk .localvars, 56 | pre .smalltalk .array, 57 | pre .attr_selector, 58 | pre .pseudo, 59 | pre .addition, 60 | pre .stream, 61 | pre .envvar, 62 | pre .apache .tag, 63 | pre .apache .cbracket, 64 | pre .nginx .built_in, 65 | pre .tex .command, 66 | pre .coffeescript .attribute { 67 | color: #2C009F; 68 | } 69 | 70 | pre .comment, 71 | pre .java .annotation, 72 | pre .python .decorator, 73 | pre .template_comment, 74 | pre .pi, 75 | pre .doctype, 76 | pre .deletion, 77 | pre .shebang, 78 | pre .apache .sqbracket { 79 | color: #E60415; 80 | } 81 | 82 | pre .keyword, 83 | pre .literal, 84 | pre .css .id, 85 | pre .phpdoc, 86 | pre .title, 87 | pre .haskell .type, 88 | pre .vbscript .built_in, 89 | pre .sql .aggregate, 90 | pre .rsl .built_in, 91 | pre .smalltalk .class, 92 | pre .xml .tag .title, 93 | pre .diff .header, 94 | pre .chunk, 95 | pre .winutils, 96 | pre .bash .variable, 97 | pre .apache .tag, 98 | pre .tex .command, 99 | pre .request, 100 | pre .status { 101 | font-weight: bold; 102 | } 103 | 104 | pre .coffeescript .javascript, 105 | pre .javascript .xml, 106 | pre .tex .formula, 107 | pre .xml .javascript, 108 | pre .xml .vbscript, 109 | pre .xml .css, 110 | pre .xml .cdata { 111 | opacity: 0.5; 112 | } 113 | -------------------------------------------------------------------------------- /source/highlightjs/monokai.css: -------------------------------------------------------------------------------- 1 | /* 2 | Monokai style - ported by Luigi Maselli - http://grigio.org 3 | */ 4 | 5 | pre code { 6 | display: block; padding: 0.5em; 7 | background: #272822; 8 | } 9 | 10 | pre .tag, 11 | pre .tag .title, 12 | pre .keyword, 13 | pre .literal, 14 | pre .strong, 15 | pre .change, 16 | pre .winutils, 17 | pre .flow, 18 | pre .lisp .title, 19 | pre .clojure .built_in, 20 | pre .nginx .title, 21 | pre .tex .special { 22 | color: #F92672; 23 | } 24 | 25 | pre code { 26 | color: #DDD; 27 | } 28 | 29 | pre code .constant { 30 | color: #66D9EF; 31 | } 32 | 33 | pre .code, 34 | pre .class .title, 35 | pre .header { 36 | color: white; 37 | } 38 | 39 | pre .link_label, 40 | pre .attribute, 41 | pre .symbol, 42 | pre .symbol .string, 43 | pre .value, 44 | pre .regexp { 45 | color: #BF79DB; 46 | } 47 | 48 | pre .link_url, 49 | pre .tag .value, 50 | pre .string, 51 | pre .bullet, 52 | pre .subst, 53 | pre .title, 54 | pre .emphasis, 55 | pre .haskell .type, 56 | pre .preprocessor, 57 | pre .ruby .class .parent, 58 | pre .built_in, 59 | pre .sql .aggregate, 60 | pre .django .template_tag, 61 | pre .django .variable, 62 | pre .smalltalk .class, 63 | pre .javadoc, 64 | pre .django .filter .argument, 65 | pre .smalltalk .localvars, 66 | pre .smalltalk .array, 67 | pre .attr_selector, 68 | pre .pseudo, 69 | pre .addition, 70 | pre .stream, 71 | pre .envvar, 72 | pre .apache .tag, 73 | pre .apache .cbracket, 74 | pre .tex .command, 75 | pre .prompt { 76 | color: #A6E22E; 77 | } 78 | 79 | pre .comment, 80 | pre .java .annotation, 81 | pre .blockquote, 82 | pre .horizontal_rule, 83 | pre .python .decorator, 84 | pre .template_comment, 85 | pre .pi, 86 | pre .doctype, 87 | pre .deletion, 88 | pre .shebang, 89 | pre .apache .sqbracket, 90 | pre .tex .formula { 91 | color: #75715E; 92 | } 93 | 94 | pre .keyword, 95 | pre .literal, 96 | pre .css .id, 97 | pre .phpdoc, 98 | pre .title, 99 | pre .header, 100 | pre .haskell .type, 101 | pre .vbscript .built_in, 102 | pre .sql .aggregate, 103 | pre .rsl .built_in, 104 | pre .smalltalk .class, 105 | pre .diff .header, 106 | pre .chunk, 107 | pre .winutils, 108 | pre .bash .variable, 109 | pre .apache .tag, 110 | pre .tex .special, 111 | pre .request, 112 | pre .status { 113 | font-weight: bold; 114 | } 115 | 116 | pre .coffeescript .javascript, 117 | pre .javascript .xml, 118 | pre .tex .formula, 119 | pre .xml .javascript, 120 | pre .xml .vbscript, 121 | pre .xml .css, 122 | pre .xml .cdata { 123 | opacity: 0.5; 124 | } 125 | -------------------------------------------------------------------------------- /source/js/html5shiv.min.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @preserve HTML5 Shiv 3.7.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed 3 | */ 4 | !function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=t.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=t.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}function f(a){var b=s[a[q]];return b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){if(c||(c=b),l)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),l)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return t.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(t,b.frag)}function j(a){a||(a=b);var d=f(a);return!t.shivCSS||k||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||i(a,d),a}var k,l,m="3.7.2",n=a.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,q="_html5shiv",r=0,s={};!function(){try{var a=b.createElement("a");a.innerHTML="",k="hidden"in a,l=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){k=!0,l=!0}}();var t={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:m,shivCSS:n.shivCSS!==!1,supportsUnknownElements:l,shivMethods:n.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=t,j(b)}(this,document); -------------------------------------------------------------------------------- /source/highlightjs/googlecode.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Google Code style (c) Aahan Krish 4 | 5 | */ 6 | 7 | pre code { 8 | display: block; padding: 0.5em; 9 | background: white; color: black; 10 | } 11 | 12 | pre .comment, 13 | pre .template_comment, 14 | pre .javadoc, 15 | pre .comment * { 16 | color: #800; 17 | } 18 | 19 | pre .keyword, 20 | pre .method, 21 | pre .list .title, 22 | pre .clojure .built_in, 23 | pre .nginx .title, 24 | pre .tag .title, 25 | pre .setting .value, 26 | pre .winutils, 27 | pre .tex .command, 28 | pre .http .title, 29 | pre .request, 30 | pre .status { 31 | color: #008; 32 | } 33 | 34 | pre .envvar, 35 | pre .tex .special { 36 | color: #660; 37 | } 38 | 39 | pre .string, 40 | pre .tag .value, 41 | pre .cdata, 42 | pre .filter .argument, 43 | pre .attr_selector, 44 | pre .apache .cbracket, 45 | pre .date, 46 | pre .regexp, 47 | pre .coffeescript .attribute { 48 | color: #080; 49 | } 50 | 51 | pre .sub .identifier, 52 | pre .pi, 53 | pre .tag, 54 | pre .tag .keyword, 55 | pre .decorator, 56 | pre .ini .title, 57 | pre .shebang, 58 | pre .prompt, 59 | pre .hexcolor, 60 | pre .rules .value, 61 | pre .css .value .number, 62 | pre .literal, 63 | pre .symbol, 64 | pre .ruby .symbol .string, 65 | pre .number, 66 | pre .css .function, 67 | pre .clojure .attribute { 68 | color: #066; 69 | } 70 | 71 | pre .class .title, 72 | pre .haskell .type, 73 | pre .smalltalk .class, 74 | pre .javadoctag, 75 | pre .yardoctag, 76 | pre .phpdoc, 77 | pre .typename, 78 | pre .tag .attribute, 79 | pre .doctype, 80 | pre .class .id, 81 | pre .built_in, 82 | pre .setting, 83 | pre .params, 84 | pre .variable, 85 | pre .clojure .title { 86 | color: #606; 87 | } 88 | 89 | pre .css .tag, 90 | pre .rules .property, 91 | pre .pseudo, 92 | pre .subst { 93 | color: #000; 94 | } 95 | 96 | pre .css .class, pre .css .id { 97 | color: #9B703F; 98 | } 99 | 100 | pre .value .important { 101 | color: #ff7700; 102 | font-weight: bold; 103 | } 104 | 105 | pre .rules .keyword { 106 | color: #C5AF75; 107 | } 108 | 109 | pre .annotation, 110 | pre .apache .sqbracket, 111 | pre .nginx .built_in { 112 | color: #9B859D; 113 | } 114 | 115 | pre .preprocessor, 116 | pre .preprocessor * { 117 | color: #444; 118 | } 119 | 120 | pre .tex .formula { 121 | background-color: #EEE; 122 | font-style: italic; 123 | } 124 | 125 | pre .diff .header, 126 | pre .chunk { 127 | color: #808080; 128 | font-weight: bold; 129 | } 130 | 131 | pre .diff .change { 132 | background-color: #BCCFF9; 133 | } 134 | 135 | pre .addition { 136 | background-color: #BAEEBA; 137 | } 138 | 139 | pre .deletion { 140 | background-color: #FFC8BD; 141 | } 142 | 143 | pre .comment .yardoctag { 144 | font-weight: bold; 145 | } 146 | -------------------------------------------------------------------------------- /layout/_partial/head.ejs: -------------------------------------------------------------------------------- 1 | <% 2 | var title = page.title; 3 | 4 | if (is_archive()){ 5 | title = 'Archives'; 6 | 7 | if (is_month()){ 8 | title += ': ' + page.year + '/' + page.month; 9 | } else if (is_year()){ 10 | title += ': ' + page.year; 11 | } 12 | } else if (is_category()){ 13 | title = 'Category: ' + page.category; 14 | } else if (is_tag()){ 15 | title = 'Tag: ' + page.tag; 16 | } 17 | %> 18 | 19 | <% if (title){ %><%= title %> | <% } %><%= config.title %> 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | <% if (theme.highlightjs) { %> 35 | 36 | <% } %> 37 | 38 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 52 | 53 | <% if (config.rss) { %> 54 | 55 | <% } %> 56 | <% if (config.feed && config.feed.type == 'atom') { %> 57 | 58 | <% } %> 59 | <% if (config.feed && config.feed.type == 'rss') { %> 60 | 61 | <% } %> 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /source/highlightjs/sunburst.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Sunburst-like style (c) Vasily Polovnyov 4 | 5 | */ 6 | 7 | pre code { 8 | display: block; padding: 0.5em; 9 | background: #000; color: #f8f8f8; 10 | } 11 | 12 | pre .comment, 13 | pre .template_comment, 14 | pre .javadoc { 15 | color: #aeaeae; 16 | font-style: italic; 17 | } 18 | 19 | pre .keyword, 20 | pre .ruby .function .keyword, 21 | pre .request, 22 | pre .status, 23 | pre .nginx .title { 24 | color: #E28964; 25 | } 26 | 27 | pre .function .keyword, 28 | pre .sub .keyword, 29 | pre .method, 30 | pre .list .title { 31 | color: #99CF50; 32 | } 33 | 34 | pre .string, 35 | pre .tag .value, 36 | pre .cdata, 37 | pre .filter .argument, 38 | pre .attr_selector, 39 | pre .apache .cbracket, 40 | pre .date, 41 | pre .tex .command, 42 | pre .coffeescript .attribute { 43 | color: #65B042; 44 | } 45 | 46 | pre .subst { 47 | color: #DAEFA3; 48 | } 49 | 50 | pre .regexp { 51 | color: #E9C062; 52 | } 53 | 54 | pre .title, 55 | pre .sub .identifier, 56 | pre .pi, 57 | pre .tag, 58 | pre .tag .keyword, 59 | pre .decorator, 60 | pre .shebang, 61 | pre .prompt { 62 | color: #89BDFF; 63 | } 64 | 65 | pre .class .title, 66 | pre .haskell .type, 67 | pre .smalltalk .class, 68 | pre .javadoctag, 69 | pre .yardoctag, 70 | pre .phpdoc { 71 | text-decoration: underline; 72 | } 73 | 74 | pre .symbol, 75 | pre .ruby .symbol .string, 76 | pre .number { 77 | color: #3387CC; 78 | } 79 | 80 | pre .params, 81 | pre .variable, 82 | pre .clojure .attribute { 83 | color: #3E87E3; 84 | } 85 | 86 | pre .css .tag, 87 | pre .rules .property, 88 | pre .pseudo, 89 | pre .tex .special { 90 | color: #CDA869; 91 | } 92 | 93 | pre .css .class { 94 | color: #9B703F; 95 | } 96 | 97 | pre .rules .keyword { 98 | color: #C5AF75; 99 | } 100 | 101 | pre .rules .value { 102 | color: #CF6A4C; 103 | } 104 | 105 | pre .css .id { 106 | color: #8B98AB; 107 | } 108 | 109 | pre .annotation, 110 | pre .apache .sqbracket, 111 | pre .nginx .built_in { 112 | color: #9B859D; 113 | } 114 | 115 | pre .preprocessor { 116 | color: #8996A8; 117 | } 118 | 119 | pre .hexcolor, 120 | pre .css .value .number { 121 | color: #DD7B3B; 122 | } 123 | 124 | pre .css .function { 125 | color: #DAD085; 126 | } 127 | 128 | pre .diff .header, 129 | pre .chunk, 130 | pre .tex .formula { 131 | background-color: #0E2231; 132 | color: #F8F8F8; 133 | font-style: italic; 134 | } 135 | 136 | pre .diff .change { 137 | background-color: #4A410D; 138 | color: #F8F8F8; 139 | } 140 | 141 | pre .addition { 142 | background-color: #253B22; 143 | color: #F8F8F8; 144 | } 145 | 146 | pre .deletion { 147 | background-color: #420E09; 148 | color: #F8F8F8; 149 | } 150 | 151 | pre .coffeescript .javascript, 152 | pre .javascript .xml, 153 | pre .tex .formula, 154 | pre .xml .javascript, 155 | pre .xml .vbscript, 156 | pre .xml .css, 157 | pre .xml .cdata { 158 | opacity: 0.5; 159 | } 160 | -------------------------------------------------------------------------------- /source/highlightjs/xcode.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | XCode style (c) Angel Garcia 4 | 5 | */ 6 | 7 | pre code { 8 | display: block; padding: 0.5em; 9 | background: #fff; color: black; 10 | } 11 | 12 | pre .comment, 13 | pre .template_comment, 14 | pre .javadoc, 15 | pre .comment * { 16 | color: rgb(0,106,0); 17 | } 18 | 19 | pre .keyword, 20 | pre .literal, 21 | pre .nginx .title { 22 | color: rgb(170,13,145); 23 | } 24 | pre .method, 25 | pre .list .title, 26 | pre .tag .title, 27 | pre .setting .value, 28 | pre .winutils, 29 | pre .tex .command, 30 | pre .http .title, 31 | pre .request, 32 | pre .status { 33 | color: #008; 34 | } 35 | 36 | pre .envvar, 37 | pre .tex .special { 38 | color: #660; 39 | } 40 | 41 | pre .string { 42 | color: rgb(196,26,22); 43 | } 44 | pre .tag .value, 45 | pre .cdata, 46 | pre .filter .argument, 47 | pre .attr_selector, 48 | pre .apache .cbracket, 49 | pre .date, 50 | pre .regexp { 51 | color: #080; 52 | } 53 | 54 | pre .sub .identifier, 55 | pre .pi, 56 | pre .tag, 57 | pre .tag .keyword, 58 | pre .decorator, 59 | pre .ini .title, 60 | pre .shebang, 61 | pre .prompt, 62 | pre .hexcolor, 63 | pre .rules .value, 64 | pre .css .value .number, 65 | pre .symbol, 66 | pre .symbol .string, 67 | pre .number, 68 | pre .css .function, 69 | pre .clojure .title, 70 | pre .clojure .built_in, 71 | pre .function .title, 72 | pre .coffeescript .attribute { 73 | color: rgb(28,0,207); 74 | } 75 | 76 | pre .class .title, 77 | pre .haskell .type, 78 | pre .smalltalk .class, 79 | pre .javadoctag, 80 | pre .yardoctag, 81 | pre .phpdoc, 82 | pre .typename, 83 | pre .tag .attribute, 84 | pre .doctype, 85 | pre .class .id, 86 | pre .built_in, 87 | pre .setting, 88 | pre .params, 89 | pre .clojure .attribute { 90 | color: rgb(92,38,153); 91 | } 92 | 93 | pre .variable { 94 | color: rgb(63,110,116); 95 | } 96 | pre .css .tag, 97 | pre .rules .property, 98 | pre .pseudo, 99 | pre .subst { 100 | color: #000; 101 | } 102 | 103 | pre .css .class, pre .css .id { 104 | color: #9B703F; 105 | } 106 | 107 | pre .value .important { 108 | color: #ff7700; 109 | font-weight: bold; 110 | } 111 | 112 | pre .rules .keyword { 113 | color: #C5AF75; 114 | } 115 | 116 | pre .annotation, 117 | pre .apache .sqbracket, 118 | pre .nginx .built_in { 119 | color: #9B859D; 120 | } 121 | 122 | pre .preprocessor, 123 | pre .preprocessor * { 124 | color: rgb(100,56,32); 125 | } 126 | 127 | pre .tex .formula { 128 | background-color: #EEE; 129 | font-style: italic; 130 | } 131 | 132 | pre .diff .header, 133 | pre .chunk { 134 | color: #808080; 135 | font-weight: bold; 136 | } 137 | 138 | pre .diff .change { 139 | background-color: #BCCFF9; 140 | } 141 | 142 | pre .addition { 143 | background-color: #BAEEBA; 144 | } 145 | 146 | pre .deletion { 147 | background-color: #FFC8BD; 148 | } 149 | 150 | pre .comment .yardoctag { 151 | font-weight: bold; 152 | } 153 | 154 | pre .method .id { 155 | color: #000; 156 | } 157 | -------------------------------------------------------------------------------- /source/highlightjs/obsidian.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Obsidian style 3 | * ported by Alexander Marenin (http://github.com/ioncreature) 4 | */ 5 | 6 | pre code { 7 | display: block; padding: 0.5em; 8 | background: #282B2E; 9 | } 10 | 11 | pre .keyword, 12 | pre .literal, 13 | pre .change, 14 | pre .winutils, 15 | pre .flow, 16 | pre .lisp .title, 17 | pre .clojure .built_in, 18 | pre .nginx .title, 19 | pre .css .id, 20 | pre .tex .special { 21 | color: #93C763; 22 | } 23 | 24 | pre .number { 25 | color: #FFCD22; 26 | } 27 | 28 | pre code { 29 | color: #E0E2E4; 30 | } 31 | 32 | pre .css .tag, 33 | pre .css .pseudo { 34 | color: #D0D2B5; 35 | } 36 | 37 | pre .attribute, 38 | pre code .constant { 39 | color: #668BB0; 40 | } 41 | 42 | pre .xml .attribute { 43 | color: #B3B689; 44 | } 45 | 46 | pre .xml .tag .value { 47 | color: #E8E2B7; 48 | } 49 | 50 | pre .code, 51 | pre .class .title, 52 | pre .header { 53 | color: white; 54 | } 55 | 56 | pre .class, 57 | pre .hexcolor { 58 | color: #93C763; 59 | } 60 | 61 | pre .regexp { 62 | color: #D39745; 63 | } 64 | 65 | pre .at_rule, 66 | pre .at_rule .keyword { 67 | color: #A082BD; 68 | } 69 | 70 | pre .doctype { 71 | color: #557182; 72 | } 73 | 74 | pre .link_url, 75 | pre .tag, 76 | pre .tag .title, 77 | pre .bullet, 78 | pre .subst, 79 | pre .emphasis, 80 | pre .haskell .type, 81 | pre .preprocessor, 82 | pre .ruby .class .parent, 83 | pre .built_in, 84 | pre .sql .aggregate, 85 | pre .django .template_tag, 86 | pre .django .variable, 87 | pre .smalltalk .class, 88 | pre .javadoc, 89 | pre .django .filter .argument, 90 | pre .smalltalk .localvars, 91 | pre .smalltalk .array, 92 | pre .attr_selector, 93 | pre .pseudo, 94 | pre .addition, 95 | pre .stream, 96 | pre .envvar, 97 | pre .apache .tag, 98 | pre .apache .cbracket, 99 | pre .tex .command, 100 | pre .prompt { 101 | color: #8CBBAD; 102 | } 103 | 104 | pre .string { 105 | color: #EC7600; 106 | } 107 | 108 | pre .comment, 109 | pre .java .annotation, 110 | pre .blockquote, 111 | pre .horizontal_rule, 112 | pre .python .decorator, 113 | pre .template_comment, 114 | pre .pi, 115 | pre .deletion, 116 | pre .shebang, 117 | pre .apache .sqbracket, 118 | pre .tex .formula { 119 | color: #818E96; 120 | } 121 | 122 | pre .keyword, 123 | pre .literal, 124 | pre .css .id, 125 | pre .phpdoc, 126 | pre .title, 127 | pre .header, 128 | pre .haskell .type, 129 | pre .vbscript .built_in, 130 | pre .sql .aggregate, 131 | pre .rsl .built_in, 132 | pre .smalltalk .class, 133 | pre .diff .header, 134 | pre .chunk, 135 | pre .winutils, 136 | pre .bash .variable, 137 | pre .apache .tag, 138 | pre .tex .special, 139 | pre .request, 140 | pre .at_rule .keyword, 141 | pre .status { 142 | font-weight: bold; 143 | } 144 | 145 | pre .coffeescript .javascript, 146 | pre .javascript .xml, 147 | pre .tex .formula, 148 | pre .xml .javascript, 149 | pre .xml .vbscript, 150 | pre .xml .css, 151 | pre .xml .cdata { 152 | opacity: 0.5; 153 | } 154 | -------------------------------------------------------------------------------- /layout/_partial/about.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
5 |
6 |
7 |
8 |
9 | <% theme.top_saying.forEach(function(item){ %> 10 |

<%- item.title %>

11 |

<%- item.content %>

12 | <% }); %> 13 | 14 |
15 |
16 |
17 | 18 |
19 |
20 |
21 |
22 | 23 | 24 |
25 | 26 | 27 | 28 |
29 |
30 |
31 |
32 |

<%- post.title %>

33 |
34 |
35 |
36 | <%- post.content %> 37 |
38 |
39 | 40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
Past
49 |
50 |
Now
51 |
52 | <% theme.timeline.forEach(function(item){ %> 53 |
54 |
55 |
56 | <%- item.num %> 57 |
58 |
59 |

<%- item.word %>

60 |
61 |
62 |
63 | <% }) %> 64 |
65 | 66 |
67 |
68 |
69 |
-------------------------------------------------------------------------------- /source/highlightjs/arta.css: -------------------------------------------------------------------------------- 1 | /* 2 | Date: 17.V.2011 3 | Author: pumbur 4 | */ 5 | 6 | pre code 7 | { 8 | display: block; padding: 0.5em; 9 | background: #222; 10 | } 11 | 12 | pre .profile .header *, 13 | pre .ini .title, 14 | pre .nginx .title 15 | { 16 | color: #fff; 17 | } 18 | 19 | pre .comment, 20 | pre .javadoc, 21 | pre .preprocessor, 22 | pre .preprocessor .title, 23 | pre .shebang, 24 | pre .profile .summary, 25 | pre .diff, 26 | pre .pi, 27 | pre .doctype, 28 | pre .tag, 29 | pre .template_comment, 30 | pre .css .rules, 31 | pre .tex .special 32 | { 33 | color: #444; 34 | } 35 | 36 | pre .string, 37 | pre .symbol, 38 | pre .diff .change, 39 | pre .regexp, 40 | pre .xml .attribute, 41 | pre .smalltalk .char, 42 | pre .xml .value, 43 | pre .ini .value, 44 | pre .clojure .attribute, 45 | pre .coffeescript .attribute 46 | { 47 | color: #ffcc33; 48 | } 49 | 50 | pre .number, 51 | pre .addition 52 | { 53 | color: #00cc66; 54 | } 55 | 56 | pre .built_in, 57 | pre .literal, 58 | pre .vhdl .typename, 59 | pre .go .constant, 60 | pre .go .typename, 61 | pre .ini .keyword, 62 | pre .lua .title, 63 | pre .perl .variable, 64 | pre .php .variable, 65 | pre .mel .variable, 66 | pre .django .variable, 67 | pre .css .funtion, 68 | pre .smalltalk .method, 69 | pre .hexcolor, 70 | pre .important, 71 | pre .flow, 72 | pre .inheritance, 73 | pre .parser3 .variable 74 | { 75 | color: #32AAEE; 76 | } 77 | 78 | pre .keyword, 79 | pre .tag .title, 80 | pre .css .tag, 81 | pre .css .class, 82 | pre .css .id, 83 | pre .css .pseudo, 84 | pre .css .attr_selector, 85 | pre .lisp .title, 86 | pre .clojure .built_in, 87 | pre .winutils, 88 | pre .tex .command, 89 | pre .request, 90 | pre .status 91 | { 92 | color: #6644aa; 93 | } 94 | 95 | pre .title, 96 | pre .ruby .constant, 97 | pre .vala .constant, 98 | pre .parent, 99 | pre .deletion, 100 | pre .template_tag, 101 | pre .css .keyword, 102 | pre .objectivec .class .id, 103 | pre .smalltalk .class, 104 | pre .lisp .keyword, 105 | pre .apache .tag, 106 | pre .nginx .variable, 107 | pre .envvar, 108 | pre .bash .variable, 109 | pre .go .built_in, 110 | pre .vbscript .built_in, 111 | pre .lua .built_in, 112 | pre .rsl .built_in, 113 | pre .tail, 114 | pre .avrasm .label, 115 | pre .tex .formula, 116 | pre .tex .formula * 117 | { 118 | color: #bb1166; 119 | } 120 | 121 | pre .yardoctag, 122 | pre .phpdoc, 123 | pre .profile .header, 124 | pre .ini .title, 125 | pre .apache .tag, 126 | pre .parser3 .title 127 | { 128 | font-weight: bold; 129 | } 130 | 131 | pre .coffeescript .javascript, 132 | pre .javascript .xml, 133 | pre .tex .formula, 134 | pre .xml .javascript, 135 | pre .xml .vbscript, 136 | pre .xml .css, 137 | pre .xml .cdata 138 | { 139 | opacity: 0.6; 140 | } 141 | 142 | pre code, 143 | pre .javascript, 144 | pre .css, 145 | pre .xml, 146 | pre .subst, 147 | pre .diff .chunk, 148 | pre .css .value, 149 | pre .css .attribute, 150 | pre .lisp .string, 151 | pre .lisp .number, 152 | pre .tail .params, 153 | pre .container, 154 | pre .haskell *, 155 | pre .erlang *, 156 | pre .erlang_repl * 157 | { 158 | color: #aaa; 159 | } 160 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # TKL 2 | TKL is a responsive design theme for Hexo. 3 | [Demo| Kieran's Blog](http://go.kieran.top/post/14/) 4 | ### Install 5 | Execute the following command and modify theme in _config.yml to TKL. 6 | ``` 7 | git clone https://github.com/SuperKieran/TKL.git 8 | ``` 9 | 10 | ### Update 11 | Execute the following command to update TKL. 12 | ``` 13 | cd themes/TKL 14 | git pull 15 | ``` 16 | ### Config 17 | #### Theme_config.yml 18 | ``` 19 | cover: /img/bg_img.jpg 20 | logo: /img/logo.png 21 | top_saying: 22 | - title: YOU'VE MADE A BRAVE DECISION, WELCOME. 23 | - content: 每一个不曾起舞的日子都是对生命的辜负。 24 | bottom_saying: 虽然还没想好写点什么,但是总觉得这里放句话比较和谐。 25 | 26 | excerpt_link: Read More 27 | 28 | rss: /atom.xml 29 | 30 | highlightjs: vs 31 | 32 | works: 33 | - works_name: XXX1 34 | works_url: / 35 | - works_name: XXX2 36 | works_url: / 37 | 38 | duoshuo: duoshuo_name 39 | 40 | github: https://github.com/ 41 | twitter: https://twitter.com/ 42 | facebook: https://www.facebook.com/ 43 | google: https://google.com/ 44 | weibo: http://weibo.com/ 45 | 46 | timeline: 47 | - num: 1 48 | word: 2014/06/12-Start xxx 49 | - num: 2 50 | word: 2014/11/29-Start bbb 51 | - num: 3 52 | word: 2015/02/18-Start ddd 53 | - num: 4 54 | word: ... 55 | 56 | links: 57 | - name: Kieran 58 | link: http://go.kieran.top/ 59 | - name: Name 60 | link: http://domain.com/ 61 | 62 | # Local search 63 | # Dependencies: https://github.com/flashlab/hexo-generator-search 64 | local_search: 65 | enable: true 66 | # if auto, trigger search by changing input 67 | # if manual, trigger search by pressing enter key or search button 68 | trigger: auto 69 | # show top n results per article, show all results by setting to -1 70 | top_n_per_article: 2 71 | ``` 72 | #### Hexo_config.yml 73 | change some code to enable archives page 74 | ``` 75 | # Archives 76 | ## 2: Enable pagination 77 | ## 1: Disable pagination 78 | ## 0: Fully Disable 79 | archive: 1 80 | category: 1 81 | tag: 1 82 | ``` 83 | Enable Seach 84 | Install hexo plugin at first: [hexo-generator-search-zip](https://github.com/SuperKieran/hexo-generator-search-zip) 85 | ``` 86 | search: 87 | path: search.json 88 | zipPath: search.zip 89 | versionPath: searchVersion.txt 90 | field: post 91 | ``` 92 | ### Icon 93 | Seclet icon which you like in\TKL\source\css\iconList.css 94 | ![](http://cdn.kieran.top/hexo_14_1.png) 95 | ![](http://cdn.kieran.top/hexo_14_2.png) 96 | ### Screen 97 | Show 98 | ![](http://cdn.kieran.top/hexo_14_3.png) 99 | 100 | Content 101 | ![](http://cdn.kieran.top/hexo_14_4.png) 102 | ### Others 103 | If you like this theme, [Fork](https://github.com/SuperKieran/TKL/fork) && Star. 104 | Come on. 105 | 106 | ### Share Your Blog 107 | Write your blog here -> https://github.com/SuperKieran/TKL/issues/54 108 | 109 | ### Wechat Group 110 | 111 | 如何加入 TKL 微信交流群? 先加上面机器人为好友,然后发送 “TKL” 关键字,自动邀请进群 112 | 113 | ### Bug 114 | 2018年12月13日: 最新版 hexo 会自动补上闭合标签,如果出现顶部导航栏没有显示的情况,可以安装旧版本解决,安装命令 `npm i hexo@3.7.1 --save` 115 | -------------------------------------------------------------------------------- /source/css/syntax.styl: -------------------------------------------------------------------------------- 1 | .entry 2 | .gist 3 | background #eee 4 | border 1px solid color-border 5 | margin-top 15px 6 | padding 7px 15px 7 | border-radius 2px 8 | text-shadow 0 0 1px #fff 9 | line-height 1.6 10 | overflow auto 11 | color #666 12 | .gist-file 13 | border none 14 | font-family inherit 15 | margin 0 16 | font-size 0.9em 17 | .gist-data 18 | background none 19 | border-bottom none 20 | pre 21 | padding 0 !important 22 | font-family font-mono 23 | 24 | .gist-meta 25 | background none 26 | color color-meta 27 | margin-top 5px 28 | padding 0 29 | text-shadow 0 0 1px #fff 30 | font-size 100% 31 | a 32 | color color-link 33 | &:visited 34 | color color-link 35 | 36 | figure.highlight 37 | background #f5f5f5 38 | border 1px solid color-border 39 | margin-top 15px 40 | //padding 7px 15px 41 | padding 7px 15px 7px 10px 42 | border-radius 2px 43 | text-shadow 0 0 1px #fff 44 | line-height 1.6 45 | overflow auto 46 | position relative 47 | //font-size 0.9em 48 | font-size 1.0em 49 | font-family font-mono 50 | figcaption 51 | color color-meta 52 | margin-bottom 5px 53 | text-shadow 0 0 1px #fff 54 | a 55 | position absolute 56 | right 15px 57 | 58 | pre 59 | border none 60 | padding 0 61 | margin 0 62 | 63 | table 64 | margin-top 0 65 | border-spacing 0 66 | 67 | .gutter 68 | color color-meta 69 | //padding-right 15px 70 | padding-right 8px 71 | border-right 1px solid color-border 72 | text-align right 73 | 74 | .code 75 | //padding-left 15px 76 | padding-left 8px 77 | border-left 1px solid #fff 78 | color #666 79 | 80 | pre 81 | // Theme: Solarized - Light 82 | // More theme here: http://softwaremaniacs.org/media/soft/highlight/test.html 83 | .comment 84 | .template_comment 85 | .diff .header 86 | .doctype 87 | .pi 88 | .lisp .string 89 | .javadoc 90 | color #93a1a1 91 | font-style italic 92 | 93 | .keyword 94 | .winutils 95 | .method 96 | .addition 97 | .css .tag 98 | .request 99 | .status 100 | .nginx .title 101 | color #859900 102 | 103 | .number 104 | .command 105 | .string 106 | .tag .value 107 | .phpdoc 108 | .tex .formula 109 | .regexp 110 | .hexcolor 111 | color #2aa198 112 | 113 | .title 114 | .localvars 115 | .chunk 116 | .decorator 117 | .built_in 118 | .identifier 119 | .vhdl 120 | .literal 121 | .id 122 | color #268bd2 123 | 124 | .attribute 125 | .variable 126 | .lisp .body 127 | .smalltalk .number 128 | .constant 129 | .class .title 130 | .parent 131 | .haskell .type 132 | color #b58900 133 | 134 | .preprocessor 135 | .preprocessor .keyword 136 | .shebang 137 | .symbol 138 | .symbol .string 139 | .diff .change 140 | .special 141 | .attr_selector 142 | .important 143 | .subst 144 | .cdata 145 | .clojure .title 146 | color #cb4b16 147 | 148 | .deletion 149 | color #dc322f -------------------------------------------------------------------------------- /source/highlightjs/default.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Original style from softwaremaniacs.org (c) Ivan Sagalaev 4 | 5 | */ 6 | 7 | pre code { 8 | display: block; padding: 0.5em; 9 | background: #F0F0F0; 10 | } 11 | 12 | pre code, 13 | pre .subst, 14 | pre .tag .title, 15 | pre .lisp .title, 16 | pre .clojure .built_in, 17 | pre .nginx .title { 18 | color: black; 19 | } 20 | 21 | pre .string, 22 | pre .title, 23 | pre .constant, 24 | pre .parent, 25 | pre .tag .value, 26 | pre .rules .value, 27 | pre .rules .value .number, 28 | pre .preprocessor, 29 | pre .haml .symbol, 30 | pre .ruby .symbol, 31 | pre .ruby .symbol .string, 32 | pre .aggregate, 33 | pre .template_tag, 34 | pre .django .variable, 35 | pre .smalltalk .class, 36 | pre .addition, 37 | pre .flow, 38 | pre .stream, 39 | pre .bash .variable, 40 | pre .apache .tag, 41 | pre .apache .cbracket, 42 | pre .tex .command, 43 | pre .tex .special, 44 | pre .erlang_repl .function_or_atom, 45 | pre .asciidoc .header, 46 | pre .markdown .header, 47 | pre .coffeescript .attribute { 48 | color: #800; 49 | } 50 | 51 | pre .comment, 52 | pre .annotation, 53 | pre .template_comment, 54 | pre .diff .header, 55 | pre .chunk, 56 | pre .asciidoc .blockquote, 57 | pre .markdown .blockquote { 58 | color: #888; 59 | } 60 | 61 | pre .number, 62 | pre .date, 63 | pre .regexp, 64 | pre .literal, 65 | pre .hexcolor, 66 | pre .smalltalk .symbol, 67 | pre .smalltalk .char, 68 | pre .go .constant, 69 | pre .change, 70 | pre .lasso .variable, 71 | pre .asciidoc .bullet, 72 | pre .markdown .bullet, 73 | pre .asciidoc .link_url, 74 | pre .markdown .link_url { 75 | color: #080; 76 | } 77 | 78 | pre .label, 79 | pre .javadoc, 80 | pre .ruby .string, 81 | pre .decorator, 82 | pre .filter .argument, 83 | pre .localvars, 84 | pre .array, 85 | pre .attr_selector, 86 | pre .important, 87 | pre .pseudo, 88 | pre .pi, 89 | pre .haml .bullet, 90 | pre .doctype, 91 | pre .deletion, 92 | pre .envvar, 93 | pre .shebang, 94 | pre .apache .sqbracket, 95 | pre .nginx .built_in, 96 | pre .tex .formula, 97 | pre .erlang_repl .reserved, 98 | pre .prompt, 99 | pre .asciidoc .link_label, 100 | pre .markdown .link_label, 101 | pre .vhdl .attribute, 102 | pre .clojure .attribute, 103 | pre .asciidoc .attribute, 104 | pre .lasso .attribute, 105 | pre .coffeescript .property { 106 | color: #88F 107 | } 108 | 109 | pre .keyword, 110 | pre .id, 111 | pre .title, 112 | pre .built_in, 113 | pre .aggregate, 114 | pre .css .tag, 115 | pre .javadoctag, 116 | pre .phpdoc, 117 | pre .yardoctag, 118 | pre .smalltalk .class, 119 | pre .winutils, 120 | pre .bash .variable, 121 | pre .apache .tag, 122 | pre .go .typename, 123 | pre .tex .command, 124 | pre .asciidoc .strong, 125 | pre .markdown .strong, 126 | pre .request, 127 | pre .status { 128 | font-weight: bold; 129 | } 130 | 131 | pre .asciidoc .emphasis, 132 | pre .markdown .emphasis { 133 | font-style: italic; 134 | } 135 | 136 | pre .nginx .built_in { 137 | font-weight: normal; 138 | } 139 | 140 | pre .coffeescript .javascript, 141 | pre .javascript .xml, 142 | pre .lasso .markup, 143 | pre .tex .formula, 144 | pre .xml .javascript, 145 | pre .xml .vbscript, 146 | pre .xml .css, 147 | pre .xml .cdata { 148 | opacity: 0.5; 149 | } 150 | -------------------------------------------------------------------------------- /layout/_partial/index.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
5 |
6 |
7 |
8 |
9 | <% theme.top_saying.forEach(function(item){ %> 10 |

<%- item.title %>

11 |

<%- item.content %>

12 | <% }); %> 13 | 14 |
15 |
16 |
17 | 18 |
19 |
20 |
21 |
22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 |
31 |
32 | <% page.posts.each(function(post) { %> 33 |
34 |
35 |
36 |

<%- post.title %>

37 | 38 | <%- partial('post/meta', {post: post}) %> 39 | 40 |
41 |
42 |

43 | <% if (post.excerpt){ %> 44 | <%- post.excerpt %> 45 | <% } else { %> 46 | <%- post.content.replace(/<(?:.|\n)*?>/gm, '').substr(0, 220) %> 47 | <% } %> 48 |

49 | <% if (theme.excerpt_link) { %> 50 |

51 | <%= theme.excerpt_link %>... 52 |

53 | <% } %> 54 |
55 |
56 |
57 |
58 |
59 | <% }); %> 60 | 64 |
65 |
66 |
67 |
68 |
69 |

<%- theme.bottom_saying %>

70 |
71 |
72 |
73 | -------------------------------------------------------------------------------- /source/highlightjs/railscasts.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Railscasts-like style (c) Visoft, Inc. (Damien White) 4 | 5 | */ 6 | 7 | pre code { 8 | display: block; 9 | padding: 0.5em; 10 | background: #232323; 11 | color: #E6E1DC; 12 | } 13 | 14 | pre .comment, 15 | pre .template_comment, 16 | pre .javadoc, 17 | pre .shebang { 18 | color: #BC9458; 19 | font-style: italic; 20 | } 21 | 22 | pre .keyword, 23 | pre .ruby .function .keyword, 24 | pre .request, 25 | pre .status, 26 | pre .nginx .title, 27 | pre .method, 28 | pre .list .title { 29 | color: #C26230; 30 | } 31 | 32 | pre .string, 33 | pre .number, 34 | pre .regexp, 35 | pre .tag .value, 36 | pre .cdata, 37 | pre .filter .argument, 38 | pre .attr_selector, 39 | pre .apache .cbracket, 40 | pre .date, 41 | pre .tex .command, 42 | pre .markdown .link_label { 43 | color: #A5C261; 44 | } 45 | 46 | pre .subst { 47 | color: #519F50; 48 | } 49 | 50 | pre .tag, 51 | pre .tag .keyword, 52 | pre .tag .title, 53 | pre .doctype, 54 | pre .sub .identifier, 55 | pre .pi, 56 | pre .input_number { 57 | color: #E8BF6A; 58 | } 59 | 60 | pre .identifier { 61 | color: #D0D0FF; 62 | } 63 | 64 | pre .class .title, 65 | pre .haskell .type, 66 | pre .smalltalk .class, 67 | pre .javadoctag, 68 | pre .yardoctag, 69 | pre .phpdoc { 70 | text-decoration: none; 71 | } 72 | 73 | pre .constant { 74 | color: #DA4939; 75 | } 76 | 77 | 78 | pre .symbol, 79 | pre .built_in, 80 | pre .ruby .symbol .string, 81 | pre .ruby .symbol .identifier, 82 | pre .markdown .link_url, 83 | pre .attribute { 84 | color: #6D9CBE; 85 | } 86 | 87 | pre .markdown .link_url { 88 | text-decoration: underline; 89 | } 90 | 91 | 92 | 93 | pre .params, 94 | pre .variable, 95 | pre .clojure .attribute { 96 | color: #D0D0FF; 97 | } 98 | 99 | pre .css .tag, 100 | pre .rules .property, 101 | pre .pseudo, 102 | pre .tex .special { 103 | color: #CDA869; 104 | } 105 | 106 | pre .css .class { 107 | color: #9B703F; 108 | } 109 | 110 | pre .rules .keyword { 111 | color: #C5AF75; 112 | } 113 | 114 | pre .rules .value { 115 | color: #CF6A4C; 116 | } 117 | 118 | pre .css .id { 119 | color: #8B98AB; 120 | } 121 | 122 | pre .annotation, 123 | pre .apache .sqbracket, 124 | pre .nginx .built_in { 125 | color: #9B859D; 126 | } 127 | 128 | pre .preprocessor, 129 | pre .preprocessor *{ 130 | color: #8996A8 !important; 131 | } 132 | 133 | pre .hexcolor, 134 | pre .css .value .number { 135 | color: #A5C261; 136 | } 137 | 138 | pre .title, 139 | pre .decorator, 140 | pre .css .function { 141 | color: #FFC66D; 142 | } 143 | 144 | pre .diff .header, 145 | pre .chunk { 146 | background-color: #2F33AB; 147 | color: #E6E1DC; 148 | display: inline-block; 149 | width: 100%; 150 | } 151 | 152 | pre .diff .change { 153 | background-color: #4A410D; 154 | color: #F8F8F8; 155 | display: inline-block; 156 | width: 100%; 157 | } 158 | 159 | pre .addition { 160 | background-color: #144212; 161 | color: #E6E1DC; 162 | display: inline-block; 163 | width: 100%; 164 | } 165 | 166 | pre .deletion { 167 | background-color: #600; 168 | color: #E6E1DC; 169 | display: inline-block; 170 | width: 100%; 171 | } 172 | 173 | pre .coffeescript .javascript, 174 | pre .javascript .xml, 175 | pre .tex .formula, 176 | pre .xml .javascript, 177 | pre .xml .vbscript, 178 | pre .xml .css, 179 | pre .xml .cdata { 180 | opacity: 0.7; 181 | } 182 | -------------------------------------------------------------------------------- /source/js/respond.min.js: -------------------------------------------------------------------------------- 1 | /*! Respond.js v1.4.2: min/max-width media query polyfill * Copyright 2013 Scott Jehl 2 | * Licensed under https://github.com/scottjehl/Respond/blob/master/LICENSE-MIT 3 | * */ 4 | 5 | !function(a){"use strict";a.matchMedia=a.matchMedia||function(a){var b,c=a.documentElement,d=c.firstElementChild||c.firstChild,e=a.createElement("body"),f=a.createElement("div");return f.id="mq-test-1",f.style.cssText="position:absolute;top:-100em",e.style.background="none",e.appendChild(f),function(a){return f.innerHTML='­',c.insertBefore(e,d),b=42===f.offsetWidth,c.removeChild(e),{matches:b,media:a}}}(a.document)}(this),function(a){"use strict";function b(){u(!0)}var c={};a.respond=c,c.update=function(){};var d=[],e=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}(),f=function(a,b){var c=e();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))};if(c.ajax=f,c.queue=d,c.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\([\s]*min\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/,maxw:/\([\s]*max\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/},c.mediaQueriesSupported=a.matchMedia&&null!==a.matchMedia("only all")&&a.matchMedia("only all").matches,!c.mediaQueriesSupported){var g,h,i,j=a.document,k=j.documentElement,l=[],m=[],n=[],o={},p=30,q=j.getElementsByTagName("head")[0]||k,r=j.getElementsByTagName("base")[0],s=q.getElementsByTagName("link"),t=function(){var a,b=j.createElement("div"),c=j.body,d=k.style.fontSize,e=c&&c.style.fontSize,f=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",c||(c=f=j.createElement("body"),c.style.background="none"),k.style.fontSize="100%",c.style.fontSize="100%",c.appendChild(b),f&&k.insertBefore(c,k.firstChild),a=b.offsetWidth,f?k.removeChild(c):c.removeChild(b),k.style.fontSize=d,e&&(c.style.fontSize=e),a=i=parseFloat(a)},u=function(b){var c="clientWidth",d=k[c],e="CSS1Compat"===j.compatMode&&d||j.body[c]||d,f={},o=s[s.length-1],r=(new Date).getTime();if(b&&g&&p>r-g)return a.clearTimeout(h),h=a.setTimeout(u,p),void 0;g=r;for(var v in l)if(l.hasOwnProperty(v)){var w=l[v],x=w.minw,y=w.maxw,z=null===x,A=null===y,B="em";x&&(x=parseFloat(x)*(x.indexOf(B)>-1?i||t():1)),y&&(y=parseFloat(y)*(y.indexOf(B)>-1?i||t():1)),w.hasquery&&(z&&A||!(z||e>=x)||!(A||y>=e))||(f[w.media]||(f[w.media]=[]),f[w.media].push(m[w.rules]))}for(var C in n)n.hasOwnProperty(C)&&n[C]&&n[C].parentNode===q&&q.removeChild(n[C]);n.length=0;for(var D in f)if(f.hasOwnProperty(D)){var E=j.createElement("style"),F=f[D].join("\n");E.type="text/css",E.media=D,q.insertBefore(E,o.nextSibling),E.styleSheet?E.styleSheet.cssText=F:E.appendChild(j.createTextNode(F)),n.push(E)}},v=function(a,b,d){var e=a.replace(c.regex.keyframes,"").match(c.regex.media),f=e&&e.length||0;b=b.substring(0,b.lastIndexOf("/"));var g=function(a){return a.replace(c.regex.urls,"$1"+b+"$2$3")},h=!f&&d;b.length&&(b+="/"),h&&(f=1);for(var i=0;f>i;i++){var j,k,n,o;h?(j=d,m.push(g(a))):(j=e[i].match(c.regex.findStyles)&&RegExp.$1,m.push(RegExp.$2&&g(RegExp.$2))),n=j.split(","),o=n.length;for(var p=0;o>p;p++)k=n[p],l.push({media:k.split("(")[0].match(c.regex.only)&&RegExp.$2||"all",rules:m.length-1,hasquery:k.indexOf("(")>-1,minw:k.match(c.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:k.match(c.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}u()},w=function(){if(d.length){var b=d.shift();f(b.href,function(c){v(c,b.href,b.media),o[b.href]=!0,a.setTimeout(function(){w()},0)})}},x=function(){for(var b=0;b 2 | 3 |
4 |
5 |
6 |
7 |
8 |
9 | <% theme.top_saying.forEach(function(item){ %> 10 |

<%- item.title %>

11 |

<%- item.content %>

12 | <% }); %> 13 | 14 |
15 |
16 |
17 | 18 |
19 |
20 |
21 |
22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | <% 30 | var title = ''; 31 | if (page.category) title = page.category; 32 | if (page.tag) title = page.tag; 33 | if (page.archive){ 34 | if (page.year) title = page.year + (page.month ? '/' + page.month : ''); 35 | else title = __('archive_a'); 36 | } 37 | %> 38 | 39 | <% if (pagination == 2){ %> 40 |
41 |
42 |
43 |
44 |
45 | <% var i=0 %> 46 | <% page.posts.each(function(item){ %> 47 | <% if(i==4){ %> 48 |
49 | <% i=0 %> 50 | <% } %> 51 | <% i++ %> 52 |
53 | <% if (item.link){ %> 54 | <% if (item.title){ %> 55 | 56 | <% } else { %> 57 | 58 | <% } %> 59 | <% } else { %> 60 |

<%= item.title %>

61 | <% } %> 62 |

63 |
64 | <% }); %> 65 |
66 |
67 |
68 | 72 |
73 |
74 | <% } else { %> 75 |
76 |
77 |
78 |
79 |
80 | <% var i=0 %> 81 | <% page.posts.each(function(item){ %> 82 | <% if(i==4){ %> 83 |
84 | <% i=0 %> 85 | <% } %> 86 | <% i++ %> 87 |
88 | <% if (item.link){ %> 89 | <% if (item.title){ %> 90 | 91 | <% } else { %> 92 | 93 | <% } %> 94 | <% } else { %> 95 |

<%= item.title %>

96 | <% } %> 97 |

98 |
99 | <% }); %> 100 |
101 |
102 |
103 |
104 |
105 | <% } %> 106 |
107 |
108 |
109 |

<%- theme.bottom_saying %>

110 |
111 |
112 |
-------------------------------------------------------------------------------- /source/css/flexslider.css: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery FlexSlider v2.2.0 3 | * http://www.woothemes.com/flexslider/ 4 | * 5 | * Copyright 2012 WooThemes 6 | * Free to use under the GPLv2 license. 7 | * http://www.gnu.org/licenses/gpl-2.0.html 8 | * 9 | * Contributing author: Tyler Smith (@mbmufffin) 10 | */ 11 | 12 | 13 | /* Browser Resets 14 | *********************************/ 15 | .flex-container a:active, 16 | .flexslider a:active, 17 | .flex-container a:focus, 18 | .flexslider a:focus {outline: none;} 19 | .slides, 20 | .flex-control-nav, 21 | .flex-direction-nav {margin: 0; padding: 0; list-style: none;} 22 | 23 | /* Icon Fonts 24 | *********************************/ 25 | /* Font-face Icons */ 26 | @font-face { 27 | font-family: 'flexslider-icon'; 28 | src:url('../fonts/flexslider-icon.eot'); 29 | src:url('../fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'), 30 | url('../fonts/flexslider-icon.woff') format('woff'), 31 | url('../fonts/flexslider-icon.ttf') format('truetype'), 32 | url('../fonts/flexslider-icon.svg#flexslider-icon') format('svg'); 33 | font-weight: normal; 34 | font-style: normal; 35 | } 36 | 37 | /* FlexSlider Necessary Styles 38 | *********************************/ 39 | .flexslider {margin: 0; padding: 0;} 40 | .flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */ 41 | .flexslider .slides img {width: 100%; display: block;} 42 | .flex-pauseplay span {text-transform: capitalize;} 43 | 44 | /* Clearfix for the .slides element */ 45 | .slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 46 | html[xmlns] .slides {display: block;} 47 | * html .slides {height: 1%;} 48 | 49 | /* No JavaScript Fallback */ 50 | /* If you are not using another script, such as Modernizr, make sure you 51 | * include js that eliminates this class on page load */ 52 | .no-js .slides > li:first-child {display: block;} 53 | 54 | /* FlexSlider Default Theme 55 | *********************************/ 56 | .flexslider { margin: 0 0 60px; background: #fff; border: 4px solid #fff; position: relative; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); -o-box-shadow: 0 1px 4px rgba(0,0,0,.2); box-shadow: 0 1px 4px rgba(0,0,0,.2); zoom: 1; } 57 | .flex-viewport { max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; } 58 | .loading .flex-viewport { max-height: 300px; } 59 | .flexslider .slides { zoom: 1; } 60 | .carousel li { margin-right: 5px; } 61 | 62 | /* Direction Nav */ 63 | .flex-direction-nav {*height: 0;} 64 | .flex-direction-nav a { text-decoration:none; display: block; width: 40px; height: 40px; margin: -20px 0 0; position: absolute; top: 50%; z-index: 10; overflow: hidden; opacity: 0; cursor: pointer; color: rgba(0,0,0,0.8); text-shadow: 1px 1px 0 rgba(255,255,255,0.3); -webkit-transition: all .3s ease; -moz-transition: all .3s ease; transition: all .3s ease; } 65 | .flex-direction-nav .flex-prev { left: -50px; } 66 | .flex-direction-nav .flex-next { right: -50px; text-align: right; } 67 | .flexslider:hover .flex-prev { opacity: 0.7; left: 10px; } 68 | .flexslider:hover .flex-next { opacity: 0.7; right: 10px; } 69 | .flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover { opacity: 1; } 70 | .flex-direction-nav .flex-disabled { opacity: 0!important; filter:alpha(opacity=0); cursor: default; } 71 | .flex-direction-nav a:before { font-family: "flexslider-icon"; font-size: 40px; line-height:1; display: inline-block; content: '\f001'; } 72 | .flex-direction-nav a.flex-next:before { content: '\f002'; } 73 | 74 | /* Pause/Play */ 75 | .flex-pauseplay a { display: block; width: 20px; height: 20px; position: absolute; bottom: 5px; left: 10px; opacity: 0.8; z-index: 10; overflow: hidden; cursor: pointer; color: #000; } 76 | .flex-pauseplay a:before { font-family: "flexslider-icon"; font-size: 20px; display: inline-block; content: '\f004'; } 77 | .flex-pauseplay a:hover { opacity: 1; } 78 | .flex-pauseplay a.flex-play:before { content: '\f003'; } 79 | 80 | /* Control Nav */ 81 | .flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center;} 82 | .flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;} 83 | .flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); -moz-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); -o-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); box-shadow: inset 0 0 3px rgba(0,0,0,0.3); } 84 | .flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); } 85 | .flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; } 86 | 87 | .flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;} 88 | .flex-control-thumbs li {width: 25%; float: left; margin: 0;} 89 | .flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;} 90 | .flex-control-thumbs img:hover {opacity: 1;} 91 | .flex-control-thumbs .flex-active {opacity: 1; cursor: default;} 92 | 93 | @media screen and (max-width: 860px) { 94 | .flex-direction-nav .flex-prev { opacity: 1; left: 10px;} 95 | .flex-direction-nav .flex-next { opacity: 1; right: 10px;} 96 | } 97 | -------------------------------------------------------------------------------- /layout/_partial/header.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 7 | 8 |
    9 |
  • Home
  • 10 |
  • archives
  • 11 | 12 | <% if (theme.works && theme.works.length){ %> 13 |
  • 14 | Works 15 | 20 |
  • 21 | <% } %> 22 | <% if (site.categories.length){ %> 23 |
  • 24 | Categories 25 | 30 |
  • 31 | <% } %> 32 | <% if (theme.links && theme.links.length){ %> 33 |
  • 34 | Links 35 |
      36 | <% theme.links.forEach(function(item){ %> 37 |
    • <%= item.name %>
    • 38 | <% }); %> 39 |
    40 |
  • 41 | <% } %> 42 |
43 | 44 |
    45 | <% if (theme.local_search.enable) { %> 46 |
  • Search
  • 47 | <% } %> 48 |
  • About
  • 49 |
  • RSS
  • 50 |
51 |
52 | 53 | 54 | 55 | 56 | 57 |
58 | 59 | 60 | 61 | 62 | 108 | 109 | 110 | 111 | -------------------------------------------------------------------------------- /source/fancybox/jquery.fancybox.css: -------------------------------------------------------------------------------- 1 | /*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */ 2 | .fancybox-wrap, 3 | .fancybox-skin, 4 | .fancybox-outer, 5 | .fancybox-inner, 6 | .fancybox-image, 7 | .fancybox-wrap iframe, 8 | .fancybox-wrap object, 9 | .fancybox-nav, 10 | .fancybox-nav span, 11 | .fancybox-tmp 12 | { 13 | padding: 0; 14 | margin: 0; 15 | border: 0; 16 | outline: none; 17 | vertical-align: top; 18 | } 19 | 20 | .fancybox-wrap { 21 | position: absolute; 22 | top: 0; 23 | left: 0; 24 | z-index: 8020; 25 | } 26 | 27 | .fancybox-skin { 28 | position: relative; 29 | background: #f9f9f9; 30 | color: #444; 31 | text-shadow: none; 32 | -webkit-border-radius: 4px; 33 | -moz-border-radius: 4px; 34 | border-radius: 4px; 35 | } 36 | 37 | .fancybox-opened { 38 | z-index: 8030; 39 | } 40 | 41 | .fancybox-opened .fancybox-skin { 42 | -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); 43 | -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); 44 | box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); 45 | } 46 | 47 | .fancybox-outer, .fancybox-inner { 48 | position: relative; 49 | } 50 | 51 | .fancybox-inner { 52 | overflow: hidden; 53 | } 54 | 55 | .fancybox-type-iframe .fancybox-inner { 56 | -webkit-overflow-scrolling: touch; 57 | } 58 | 59 | .fancybox-error { 60 | color: #444; 61 | font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; 62 | margin: 0; 63 | padding: 15px; 64 | white-space: nowrap; 65 | } 66 | 67 | .fancybox-image, .fancybox-iframe { 68 | display: block; 69 | width: 100%; 70 | height: 100%; 71 | } 72 | 73 | .fancybox-image { 74 | max-width: 100%; 75 | max-height: 100%; 76 | } 77 | 78 | #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span { 79 | background-image: url('fancybox_sprite.png'); 80 | } 81 | 82 | #fancybox-loading { 83 | position: fixed; 84 | top: 50%; 85 | left: 50%; 86 | margin-top: -22px; 87 | margin-left: -22px; 88 | background-position: 0 -108px; 89 | opacity: 0.8; 90 | cursor: pointer; 91 | z-index: 8060; 92 | } 93 | 94 | #fancybox-loading div { 95 | width: 44px; 96 | height: 44px; 97 | background: url('fancybox_loading.gif') center center no-repeat; 98 | } 99 | 100 | .fancybox-close { 101 | position: absolute; 102 | top: -18px; 103 | right: -18px; 104 | width: 36px; 105 | height: 36px; 106 | cursor: pointer; 107 | z-index: 8040; 108 | } 109 | 110 | .fancybox-nav { 111 | position: absolute; 112 | top: 0; 113 | width: 40%; 114 | height: 100%; 115 | cursor: pointer; 116 | text-decoration: none; 117 | background: transparent url('blank.gif'); /* helps IE */ 118 | -webkit-tap-highlight-color: rgba(0,0,0,0); 119 | z-index: 8040; 120 | } 121 | 122 | .fancybox-prev { 123 | left: 0; 124 | } 125 | 126 | .fancybox-next { 127 | right: 0; 128 | } 129 | 130 | .fancybox-nav span { 131 | position: absolute; 132 | top: 50%; 133 | width: 36px; 134 | height: 34px; 135 | margin-top: -18px; 136 | cursor: pointer; 137 | z-index: 8040; 138 | visibility: hidden; 139 | } 140 | 141 | .fancybox-prev span { 142 | left: 10px; 143 | background-position: 0 -36px; 144 | } 145 | 146 | .fancybox-next span { 147 | right: 10px; 148 | background-position: 0 -72px; 149 | } 150 | 151 | .fancybox-nav:hover span { 152 | visibility: visible; 153 | } 154 | 155 | .fancybox-tmp { 156 | position: absolute; 157 | top: -99999px; 158 | left: -99999px; 159 | visibility: hidden; 160 | max-width: 99999px; 161 | max-height: 99999px; 162 | overflow: visible !important; 163 | } 164 | 165 | /* Overlay helper */ 166 | 167 | .fancybox-lock { 168 | overflow: hidden !important; 169 | width: auto; 170 | } 171 | 172 | .fancybox-lock body { 173 | overflow: hidden !important; 174 | } 175 | 176 | .fancybox-lock-test { 177 | overflow-y: hidden !important; 178 | } 179 | 180 | .fancybox-overlay { 181 | position: absolute; 182 | top: 0; 183 | left: 0; 184 | overflow: hidden; 185 | display: none; 186 | z-index: 8010; 187 | background: url('fancybox_overlay.png'); 188 | } 189 | 190 | .fancybox-overlay-fixed { 191 | position: fixed; 192 | bottom: 0; 193 | right: 0; 194 | } 195 | 196 | .fancybox-lock .fancybox-overlay { 197 | overflow: auto; 198 | overflow-y: scroll; 199 | } 200 | 201 | /* Title helper */ 202 | 203 | .fancybox-title { 204 | visibility: hidden; 205 | font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; 206 | position: relative; 207 | text-shadow: none; 208 | z-index: 8050; 209 | } 210 | 211 | .fancybox-opened .fancybox-title { 212 | visibility: visible; 213 | } 214 | 215 | .fancybox-title-float-wrap { 216 | position: absolute; 217 | bottom: 0; 218 | right: 50%; 219 | margin-bottom: -35px; 220 | z-index: 8050; 221 | text-align: center; 222 | } 223 | 224 | .fancybox-title-float-wrap .child { 225 | display: inline-block; 226 | margin-right: -100%; 227 | padding: 2px 20px; 228 | background: transparent; /* Fallback for web browsers that doesn't support RGBa */ 229 | background: rgba(0, 0, 0, 0.8); 230 | -webkit-border-radius: 15px; 231 | -moz-border-radius: 15px; 232 | border-radius: 15px; 233 | text-shadow: 0 1px 2px #222; 234 | color: #FFF; 235 | font-weight: bold; 236 | line-height: 24px; 237 | white-space: nowrap; 238 | } 239 | 240 | .fancybox-title-outside-wrap { 241 | position: relative; 242 | margin-top: 10px; 243 | color: #fff; 244 | } 245 | 246 | .fancybox-title-inside-wrap { 247 | padding-top: 10px; 248 | } 249 | 250 | .fancybox-title-over-wrap { 251 | position: absolute; 252 | bottom: 0; 253 | left: 0; 254 | color: #fff; 255 | padding: 10px; 256 | background: #000; 257 | background: rgba(0, 0, 0, .8); 258 | } 259 | 260 | /*Retina graphics!*/ 261 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5), 262 | only screen and (min--moz-device-pixel-ratio: 1.5), 263 | only screen and (min-device-pixel-ratio: 1.5){ 264 | 265 | #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span { 266 | background-image: url('fancybox_sprite@2x.png'); 267 | background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/ 268 | } 269 | 270 | #fancybox-loading div { 271 | background-image: url('fancybox_loading@2x.gif'); 272 | background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/ 273 | } 274 | } -------------------------------------------------------------------------------- /source/js/scripts.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function($) { 2 | "use strict"; 3 | 4 | $(window).scroll(function () { 5 | if ($(document).scrollTop() > 10) { 6 | $(".lightnav .navbar-inner").addClass("lightnav-alt"); 7 | $(".darknav .navbar-inner").addClass("darknav-alt"); 8 | } else { 9 | $(".lightnav .navbar-inner").removeClass("lightnav-alt"); 10 | $(".darknav .navbar-inner").removeClass("darknav-alt"); 11 | } 12 | }); 13 | 14 | $(document).ready(function($) { 15 | 16 | // Slidebars off-canvas menu 17 | $.slidebars(); 18 | 19 | // Popovers [Hover] 20 | // $("[data-toggle=popover]") 21 | // .popover({ 22 | // html:true 23 | // } 24 | // ); 25 | 26 | // Page transitions 27 | $(".animsition").animsition({ 28 | 29 | inClass : 'fade-in', 30 | outClass : 'fade-out-down-sm', 31 | inDuration : 900, 32 | outDuration : 800, 33 | linkElement : '.animsition-link', 34 | //e.g. linkElement : 'a:not([target="_blank"]):not([href^=#])' 35 | loading : true, 36 | loadingParentElement : 'body', //animsition wrapper element 37 | loadingClass : 'animsition-loading', 38 | unSupportCss : [ 'animation-duration', 39 | '-webkit-animation-duration', 40 | '-o-animation-duration' 41 | ], 42 | //"unSupportCss" option allows you to disable the "animsition" in case the css property in the array is not supported by your browser. 43 | //The default setting is to disable the "animsition" in a browser that does not support "animation-duration". 44 | 45 | overlay : false, 46 | 47 | overlayClass : 'animsition-overlay-slide', 48 | overlayParentElement : 'body' 49 | }); 50 | 51 | // WOW plugin settings 52 | var wow = new WOW( 53 | { animateClass: 'animated', // set our global css classT (default is animated) 54 | offset: 250, // set distance to content until it triggers (default is 0) 55 | mobile: false, // remove animations for mobiles/tablets (default is true) 56 | live: true }); // act on asynchronously loaded content (default is true) 57 | new WOW().init(); 58 | 59 | // Functionailty constraints for mobile 60 | if (!Modernizr.touch) { 61 | jQuery(function ($) { 62 | // Hero & page-header fade-in effect 63 | var divs = $('.herofade'); 64 | $(window).on('scroll', function () { 65 | var st = $(this).scrollTop(); 66 | divs.css({ 67 | 'margin-top': -(st / 0) + "px", 68 | 'opacity': 0 69 | // 'opacity': 0.9 - st / 1600 70 | }); 71 | }); 72 | }); 73 | 74 | jQuery(function ($) { 75 | // Hero & page-header fade-in effect 76 | var divs = $('.videofade'); 77 | $(window).on('scroll', function () { 78 | var st = $(this).scrollTop(); 79 | divs.css({ 80 | 'margin-top': -(st / 0) + "px", 81 | 'opacity': 0.8 - st / 1600 82 | }); 83 | }); 84 | }); 85 | 86 | jQuery(function ($) { 87 | // Hero & page-header fade-in effect 88 | var divs = $('.headerfade'); 89 | $(window).on('scroll', function () { 90 | var st = $(this).scrollTop(); 91 | divs.css({ 92 | 'margin-top': -(st / 0) + "px", 93 | 'opacity': 0.9 - st / 300 94 | }); 95 | }); 96 | }); 97 | } 98 | 99 | // autohide navbar on scroll 100 | $("div.navbar-fixed-top").autoHidingNavbar({ 101 | animationDuration: 400, 102 | hideOffset: 0, 103 | }); 104 | 105 | // faq's floating sidebar (left) 106 | $('#sidebar').affix({ 107 | offset: { 108 | top: 500 109 | } 110 | }); 111 | 112 | // Scrollspy for scrollto links in floating faq sidebar 113 | var $body = $(document.body); 114 | var navHeight = $('.navbar').outerHeight(true) + 80; 115 | 116 | $body.scrollspy({ 117 | target: '#leftcol', 118 | offset: navHeight 119 | }); 120 | 121 | // fade out map cover (contact.html) 122 | $(".map-cover").click(function () { 123 | $(".map-cover").fadeOut("slow"); 124 | }); 125 | 126 | // Collapsible panels for faq's and careers 127 | $('.collapse').on('show.bs.collapse', function() { 128 | var id = $(this).attr('id'); 129 | $('a[href="#' + id + '"]').closest('.panel-heading').addClass('active-panel'); 130 | $('a[href="#' + id + '"] .panel-title span').html(''); 131 | }); 132 | $('.collapse').on('hide.bs.collapse', function() { 133 | var id = $(this).attr('id'); 134 | $('a[href="#' + id + '"]').closest('.panel-heading').removeClass('active-panel'); 135 | $('a[href="#' + id + '"] .panel-title span').html(''); 136 | }); 137 | 138 | /*! 139 | * IE10 viewport hack for Surface/desktop Windows 8 bug 140 | * Copyright 2014 Twitter, Inc. 141 | * Licensed under the Creative Commons Attribution 3.0 Unported License. For 142 | * details, see http://creativecommons.org/licenses/by/3.0/. 143 | */ 144 | // See the Getting Started docs for more information: 145 | // http://getbootstrap.com/getting-started/#support-ie10-width 146 | if (navigator.userAgent.match(/IEMobile\/10\.0/)) { 147 | var msViewportStyle = document.createElement('style'); 148 | msViewportStyle.appendChild( 149 | document.createTextNode( 150 | '@-ms-viewport{width:auto!important}' 151 | ) 152 | ); 153 | document.querySelector('head').appendChild(msViewportStyle); 154 | } 155 | 156 | }); // Document Ready 157 | 158 | }(jQuery)); // End "use strict" 159 | 160 | // Enable dropdown sub-menus in off-canvas navigation 161 | $(document).ready(function($) { 162 | $('.sb-toggle-submenu').off('click') // Stop submenu toggle from closing Slidebars. 163 | .on('click', function() { 164 | $submenu = $(this).parent().children('.sb-submenu'); 165 | $(this).add($submenu).toggleClass('sb-submenu-active'); // Toggle active class. 166 | 167 | if ($submenu.hasClass('sb-submenu-active')) { 168 | $submenu.slideDown(200); 169 | } else { 170 | $submenu.slideUp(200); 171 | } 172 | }); 173 | }); 174 | -------------------------------------------------------------------------------- /source/css/animate.css: -------------------------------------------------------------------------------- 1 | /* 2 | Animate.css - http://daneden.me/animate 3 | LICENSED UNDER THE MIT LICENSE (MIT) 4 | 5 | Copyright (c) 2011 Dan Eden 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 8 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10 | */ 11 | 12 | /* NOTES from ThemesCollective 13 | * 14 | * Custom build of the necessary animations needed for franco html template. 15 | * The full range of animations can be found in the 'animations' folder in your template package. 16 | * 17 | */ 18 | 19 | /* ThemesCollective Note: CURRENT ANIMATIONS 20 | * We have only included the four animations we have used here, (fadeInUp, fadeInRight, fadeInLeft & fadeInLeftBig), instead of the whole library for better page-load times. Add more to this file if you need require other animation types. The full library is included in your template package, in the 'libs' folder. You can also visit the plugin authors' site, http://daneden.me/animate for more options. 21 | */ 22 | 23 | .animated { 24 | -webkit-animation-duration: 1s; 25 | -moz-animation-duration: 1s; 26 | -ms-animation-duration: 1s; 27 | -o-animation-duration: 1s; 28 | animation-duration: 1s; 29 | -webkit-animation-fill-mode: both; 30 | -moz-animation-fill-mode: both; 31 | -ms-animation-fill-mode: both; 32 | -o-animation-fill-mode: both; 33 | animation-fill-mode: both; 34 | } 35 | 36 | /* fadeInUp */ 37 | 38 | @-webkit-keyframes fadeInUp { 39 | 0% { 40 | opacity: 0; 41 | -webkit-transform: translateY(20px); 42 | } 43 | 44 | 100% { 45 | opacity: 1; 46 | -webkit-transform: translateY(0); 47 | } 48 | } 49 | 50 | @-moz-keyframes fadeInUp { 51 | 0% { 52 | opacity: 0; 53 | -moz-transform: translateY(20px); 54 | } 55 | 56 | 100% { 57 | opacity: 1; 58 | -moz-transform: translateY(0); 59 | } 60 | } 61 | 62 | @-ms-keyframes fadeInUp { 63 | 0% { 64 | opacity: 0; 65 | -ms-transform: translateY(20px); 66 | } 67 | 68 | 100% { 69 | opacity: 1; 70 | -ms-transform: translateY(0); 71 | } 72 | } 73 | 74 | @-o-keyframes fadeInUp { 75 | 0% { 76 | opacity: 0; 77 | -o-transform: translateY(20px); 78 | } 79 | 80 | 100% { 81 | opacity: 1; 82 | -o-transform: translateY(0); 83 | } 84 | } 85 | 86 | @keyframes fadeInUp { 87 | 0% { 88 | opacity: 0; 89 | transform: translateY(20px); 90 | } 91 | 92 | 100% { 93 | opacity: 1; 94 | transform: translateY(0); 95 | } 96 | } 97 | 98 | .fadeInUp { 99 | -webkit-animation-name: fadeInUp; 100 | -moz-animation-name: fadeInUp; 101 | -ms-animation-name: fadeInUp; 102 | -o-animation-name: fadeInUp; 103 | animation-name: fadeInUp; 104 | } 105 | 106 | /* fadeInRight */ 107 | 108 | @-webkit-keyframes fadeInRight { 109 | 0% { 110 | opacity: 0; 111 | -webkit-transform: translateX(20px); 112 | } 113 | 114 | 100% { 115 | opacity: 1; 116 | -webkit-transform: translateX(0); 117 | } 118 | } 119 | 120 | @-moz-keyframes fadeInRight { 121 | 0% { 122 | opacity: 0; 123 | -moz-transform: translateX(20px); 124 | } 125 | 126 | 100% { 127 | opacity: 1; 128 | -moz-transform: translateX(0); 129 | } 130 | } 131 | 132 | @-ms-keyframes fadeInRight { 133 | 0% { 134 | opacity: 0; 135 | -ms-transform: translateX(20px); 136 | } 137 | 138 | 100% { 139 | opacity: 1; 140 | -ms-transform: translateX(0); 141 | } 142 | } 143 | 144 | @-o-keyframes fadeInRight { 145 | 0% { 146 | opacity: 0; 147 | -o-transform: translateX(20px); 148 | } 149 | 150 | 100% { 151 | opacity: 1; 152 | -o-transform: translateX(0); 153 | } 154 | } 155 | 156 | @keyframes fadeInRight { 157 | 0% { 158 | opacity: 0; 159 | transform: translateX(20px); 160 | } 161 | 162 | 100% { 163 | opacity: 1; 164 | transform: translateX(0); 165 | } 166 | } 167 | 168 | .fadeInRight { 169 | -webkit-animation-name: fadeInRight; 170 | -moz-animation-name: fadeInRight; 171 | -ms-animation-name: fadeInRight; 172 | -o-animation-name: fadeInRight; 173 | animation-name: fadeInRight; 174 | } 175 | 176 | /* fadeInLeft */ 177 | 178 | @-webkit-keyframes fadeInLeft { 179 | 0% { 180 | opacity: 0; 181 | -webkit-transform: translateX(-20px); 182 | transform: translateX(-20px); 183 | } 184 | 185 | 100% { 186 | opacity: 1; 187 | -webkit-transform: translateX(0); 188 | transform: translateX(0); 189 | } 190 | } 191 | 192 | @keyframes fadeInLeft { 193 | 0% { 194 | opacity: 0; 195 | -webkit-transform: translateX(-20px); 196 | -ms-transform: translateX(-20px); 197 | transform: translateX(-20px); 198 | } 199 | 200 | 100% { 201 | opacity: 1; 202 | -webkit-transform: translateX(0); 203 | -ms-transform: translateX(0); 204 | transform: translateX(0); 205 | } 206 | } 207 | 208 | .fadeInLeft { 209 | -webkit-animation-name: fadeInLeft; 210 | animation-name: fadeInLeft; 211 | } 212 | 213 | /* fadeInLeftBig */ 214 | 215 | @-webkit-keyframes fadeInLeftBig { 216 | 0% { 217 | opacity: 0; 218 | -webkit-transform: translate3d(-2000px, 0, 0); 219 | transform: translate3d(-2000px, 0, 0); 220 | } 221 | 222 | 100% { 223 | opacity: 1; 224 | -webkit-transform: none; 225 | transform: none; 226 | } 227 | } 228 | 229 | @keyframes fadeInLeftBig { 230 | 0% { 231 | opacity: 0; 232 | -webkit-transform: translate3d(-2000px, 0, 0); 233 | -ms-transform: translate3d(-2000px, 0, 0); 234 | transform: translate3d(-2000px, 0, 0); 235 | } 236 | 237 | 100% { 238 | opacity: 1; 239 | -webkit-transform: none; 240 | -ms-transform: none; 241 | transform: none; 242 | } 243 | } 244 | 245 | .fadeInLeftBig { 246 | -webkit-animation-name: fadeInLeftBig; 247 | animation-name: fadeInLeftBig; 248 | } 249 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "{}" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright {yyyy} {name of copyright owner} 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | 203 | -------------------------------------------------------------------------------- /layout/_partial/search.ejs: -------------------------------------------------------------------------------- 1 | 90 | 91 | 109 | 110 | 111 | 112 | <% if (theme.local_search.enable) { %> 113 | 425 | <% } %> 426 | -------------------------------------------------------------------------------- /source/js/jquery.flexslider-min.js: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery FlexSlider v2.2.2 3 | * Copyright 2012 WooThemes 4 | * Contributing Author: Tyler Smith 5 | */ 6 | !function(a){a.flexslider=function(b,c){var d=a(b);d.vars=a.extend({},a.flexslider.defaults,c);var j,e=d.vars.namespace,f=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,g=("ontouchstart"in window||f||window.DocumentTouch&&document instanceof DocumentTouch)&&d.vars.touch,h="click touchend MSPointerUp",i="",k="vertical"===d.vars.direction,l=d.vars.reverse,m=d.vars.itemWidth>0,n="fade"===d.vars.animation,o=""!==d.vars.asNavFor,p={},q=!0;a.data(b,"flexslider",d),p={init:function(){d.animating=!1,d.currentSlide=parseInt(d.vars.startAt?d.vars.startAt:0,10),isNaN(d.currentSlide)&&(d.currentSlide=0),d.animatingTo=d.currentSlide,d.atEnd=0===d.currentSlide||d.currentSlide===d.last,d.containerSelector=d.vars.selector.substr(0,d.vars.selector.search(" ")),d.slides=a(d.vars.selector,d),d.container=a(d.containerSelector,d),d.count=d.slides.length,d.syncExists=a(d.vars.sync).length>0,"slide"===d.vars.animation&&(d.vars.animation="swing"),d.prop=k?"top":"marginLeft",d.args={},d.manualPause=!1,d.stopped=!1,d.started=!1,d.startTimeout=null,d.transitions=!d.vars.video&&!n&&d.vars.useCSS&&function(){var a=document.createElement("div"),b=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var c in b)if(void 0!==a.style[b[c]])return d.pfx=b[c].replace("Perspective","").toLowerCase(),d.prop="-"+d.pfx+"-transform",!0;return!1}(),d.ensureAnimationEnd="",""!==d.vars.controlsContainer&&(d.controlsContainer=a(d.vars.controlsContainer).length>0&&a(d.vars.controlsContainer)),""!==d.vars.manualControls&&(d.manualControls=a(d.vars.manualControls).length>0&&a(d.vars.manualControls)),d.vars.randomize&&(d.slides.sort(function(){return Math.round(Math.random())-.5}),d.container.empty().append(d.slides)),d.doMath(),d.setup("init"),d.vars.controlNav&&p.controlNav.setup(),d.vars.directionNav&&p.directionNav.setup(),d.vars.keyboard&&(1===a(d.containerSelector).length||d.vars.multipleKeyboard)&&a(document).bind("keyup",function(a){var b=a.keyCode;if(!d.animating&&(39===b||37===b)){var c=39===b?d.getTarget("next"):37===b?d.getTarget("prev"):!1;d.flexAnimate(c,d.vars.pauseOnAction)}}),d.vars.mousewheel&&d.bind("mousewheel",function(a,b){a.preventDefault();var f=0>b?d.getTarget("next"):d.getTarget("prev");d.flexAnimate(f,d.vars.pauseOnAction)}),d.vars.pausePlay&&p.pausePlay.setup(),d.vars.slideshow&&d.vars.pauseInvisible&&p.pauseInvisible.init(),d.vars.slideshow&&(d.vars.pauseOnHover&&d.hover(function(){d.manualPlay||d.manualPause||d.pause()},function(){d.manualPause||d.manualPlay||d.stopped||d.play()}),d.vars.pauseInvisible&&p.pauseInvisible.isHidden()||(d.vars.initDelay>0?d.startTimeout=setTimeout(d.play,d.vars.initDelay):d.play())),o&&p.asNav.setup(),g&&d.vars.touch&&p.touch(),(!n||n&&d.vars.smoothHeight)&&a(window).bind("resize orientationchange focus",p.resize),d.find("img").attr("draggable","false"),setTimeout(function(){d.vars.start(d)},200)},asNav:{setup:function(){d.asNav=!0,d.animatingTo=Math.floor(d.currentSlide/d.move),d.currentItem=d.currentSlide,d.slides.removeClass(e+"active-slide").eq(d.currentItem).addClass(e+"active-slide"),f?(b._slider=d,d.slides.each(function(){var b=this;b._gesture=new MSGesture,b._gesture.target=b,b.addEventListener("MSPointerDown",function(a){a.preventDefault(),a.currentTarget._gesture&&a.currentTarget._gesture.addPointer(a.pointerId)},!1),b.addEventListener("MSGestureTap",function(b){b.preventDefault();var c=a(this),e=c.index();a(d.vars.asNavFor).data("flexslider").animating||c.hasClass("active")||(d.direction=d.currentItem=g&&c.hasClass(e+"active-slide")?d.flexAnimate(d.getTarget("prev"),!0):a(d.vars.asNavFor).data("flexslider").animating||c.hasClass(e+"active-slide")||(d.direction=d.currentItem'),d.pagingCount>1)for(var j=0;j':""+c+"","thumbnails"===d.vars.controlNav&&!0===d.vars.thumbCaptions){var k=g.attr("data-thumbcaption");""!=k&&void 0!=k&&(f+=''+k+"")}d.controlNavScaffold.append("
  • "+f+"
  • "),c++}d.controlsContainer?a(d.controlsContainer).append(d.controlNavScaffold):d.append(d.controlNavScaffold),p.controlNav.set(),p.controlNav.active(),d.controlNavScaffold.delegate("a, img",h,function(b){if(b.preventDefault(),""===i||i===b.type){var c=a(this),f=d.controlNav.index(c);c.hasClass(e+"active")||(d.direction=f>d.currentSlide?"next":"prev",d.flexAnimate(f,d.vars.pauseOnAction))}""===i&&(i=b.type),p.setToClearWatchedEvent()})},setupManual:function(){d.controlNav=d.manualControls,p.controlNav.active(),d.controlNav.bind(h,function(b){if(b.preventDefault(),""===i||i===b.type){var c=a(this),f=d.controlNav.index(c);c.hasClass(e+"active")||(d.direction=f>d.currentSlide?"next":"prev",d.flexAnimate(f,d.vars.pauseOnAction))}""===i&&(i=b.type),p.setToClearWatchedEvent()})},set:function(){var b="thumbnails"===d.vars.controlNav?"img":"a";d.controlNav=a("."+e+"control-nav li "+b,d.controlsContainer?d.controlsContainer:d)},active:function(){d.controlNav.removeClass(e+"active").eq(d.animatingTo).addClass(e+"active")},update:function(b,c){d.pagingCount>1&&"add"===b?d.controlNavScaffold.append(a("
  • "+d.count+"
  • ")):1===d.pagingCount?d.controlNavScaffold.find("li").remove():d.controlNav.eq(c).closest("li").remove(),p.controlNav.set(),d.pagingCount>1&&d.pagingCount!==d.controlNav.length?d.update(c,b):p.controlNav.active()}},directionNav:{setup:function(){var b=a('");d.controlsContainer?(a(d.controlsContainer).append(b),d.directionNav=a("."+e+"direction-nav li a",d.controlsContainer)):(d.append(b),d.directionNav=a("."+e+"direction-nav li a",d)),p.directionNav.update(),d.directionNav.bind(h,function(b){b.preventDefault();var c;(""===i||i===b.type)&&(c=a(this).hasClass(e+"next")?d.getTarget("next"):d.getTarget("prev"),d.flexAnimate(c,d.vars.pauseOnAction)),""===i&&(i=b.type),p.setToClearWatchedEvent()})},update:function(){var a=e+"disabled";1===d.pagingCount?d.directionNav.addClass(a).attr("tabindex","-1"):d.vars.animationLoop?d.directionNav.removeClass(a).removeAttr("tabindex"):0===d.animatingTo?d.directionNav.removeClass(a).filter("."+e+"prev").addClass(a).attr("tabindex","-1"):d.animatingTo===d.last?d.directionNav.removeClass(a).filter("."+e+"next").addClass(a).attr("tabindex","-1"):d.directionNav.removeClass(a).removeAttr("tabindex")}},pausePlay:{setup:function(){var b=a('
    ');d.controlsContainer?(d.controlsContainer.append(b),d.pausePlay=a("."+e+"pauseplay a",d.controlsContainer)):(d.append(b),d.pausePlay=a("."+e+"pauseplay a",d)),p.pausePlay.update(d.vars.slideshow?e+"pause":e+"play"),d.pausePlay.bind(h,function(b){b.preventDefault(),(""===i||i===b.type)&&(a(this).hasClass(e+"pause")?(d.manualPause=!0,d.manualPlay=!1,d.pause()):(d.manualPause=!1,d.manualPlay=!0,d.play())),""===i&&(i=b.type),p.setToClearWatchedEvent()})},update:function(a){"play"===a?d.pausePlay.removeClass(e+"pause").addClass(e+"play").html(d.vars.playText):d.pausePlay.removeClass(e+"play").addClass(e+"pause").html(d.vars.pauseText)}},touch:function(){function r(f){d.animating?f.preventDefault():(window.navigator.msPointerEnabled||1===f.touches.length)&&(d.pause(),g=k?d.h:d.w,i=Number(new Date),o=f.touches[0].pageX,p=f.touches[0].pageY,e=m&&l&&d.animatingTo===d.last?0:m&&l?d.limit-(d.itemW+d.vars.itemMargin)*d.move*d.animatingTo:m&&d.currentSlide===d.last?d.limit:m?(d.itemW+d.vars.itemMargin)*d.move*d.currentSlide:l?(d.last-d.currentSlide+d.cloneOffset)*g:(d.currentSlide+d.cloneOffset)*g,a=k?p:o,c=k?o:p,b.addEventListener("touchmove",s,!1),b.addEventListener("touchend",t,!1))}function s(b){o=b.touches[0].pageX,p=b.touches[0].pageY,h=k?a-p:a-o,j=k?Math.abs(h)f)&&(b.preventDefault(),!n&&d.transitions&&(d.vars.animationLoop||(h/=0===d.currentSlide&&0>h||d.currentSlide===d.last&&h>0?Math.abs(h)/g+2:1),d.setProps(e+h,"setTouch")))}function t(){if(b.removeEventListener("touchmove",s,!1),d.animatingTo===d.currentSlide&&!j&&null!==h){var k=l?-h:h,m=k>0?d.getTarget("next"):d.getTarget("prev");d.canAdvance(m)&&(Number(new Date)-i<550&&Math.abs(k)>50||Math.abs(k)>g/2)?d.flexAnimate(m,d.vars.pauseOnAction):n||d.flexAnimate(d.currentSlide,d.vars.pauseOnAction,!0)}b.removeEventListener("touchend",t,!1),a=null,c=null,h=null,e=null}function u(a){a.stopPropagation(),d.animating?a.preventDefault():(d.pause(),b._gesture.addPointer(a.pointerId),q=0,g=k?d.h:d.w,i=Number(new Date),e=m&&l&&d.animatingTo===d.last?0:m&&l?d.limit-(d.itemW+d.vars.itemMargin)*d.move*d.animatingTo:m&&d.currentSlide===d.last?d.limit:m?(d.itemW+d.vars.itemMargin)*d.move*d.currentSlide:l?(d.last-d.currentSlide+d.cloneOffset)*g:(d.currentSlide+d.cloneOffset)*g)}function v(a){a.stopPropagation();var c=a.target._slider;if(c){var d=-a.translationX,f=-a.translationY;return q+=k?f:d,h=q,j=k?Math.abs(q)500)&&(a.preventDefault(),!n&&c.transitions&&(c.vars.animationLoop||(h=q/(0===c.currentSlide&&0>q||c.currentSlide===c.last&&q>0?Math.abs(q)/g+2:1)),c.setProps(e+h,"setTouch"))),void 0)}}function w(b){b.stopPropagation();var d=b.target._slider;if(d){if(d.animatingTo===d.currentSlide&&!j&&null!==h){var f=l?-h:h,k=f>0?d.getTarget("next"):d.getTarget("prev");d.canAdvance(k)&&(Number(new Date)-i<550&&Math.abs(f)>50||Math.abs(f)>g/2)?d.flexAnimate(k,d.vars.pauseOnAction):n||d.flexAnimate(d.currentSlide,d.vars.pauseOnAction,!0)}a=null,c=null,h=null,e=null,q=0}}var a,c,e,g,h,i,j=!1,o=0,p=0,q=0;f?(b.style.msTouchAction="none",b._gesture=new MSGesture,b._gesture.target=b,b.addEventListener("MSPointerDown",u,!1),b._slider=d,b.addEventListener("MSGestureChange",v,!1),b.addEventListener("MSGestureEnd",w,!1)):b.addEventListener("touchstart",r,!1)},resize:function(){!d.animating&&d.is(":visible")&&(m||d.doMath(),n?p.smoothHeight():m?(d.slides.width(d.computedW),d.update(d.pagingCount),d.setProps()):k?(d.viewport.height(d.h),d.setProps(d.h,"setTotal")):(d.vars.smoothHeight&&p.smoothHeight(),d.newSlides.width(d.computedW),d.setProps(d.computedW,"setTotal")))},smoothHeight:function(a){if(!k||n){var b=n?d:d.viewport;a?b.animate({height:d.slides.eq(d.animatingTo).height()},a):b.height(d.slides.eq(d.animatingTo).height())}},sync:function(b){var c=a(d.vars.sync).data("flexslider"),e=d.animatingTo;switch(b){case"animate":c.flexAnimate(e,d.vars.pauseOnAction,!1,!0);break;case"play":c.playing||c.asNav||c.play();break;case"pause":c.pause()}},uniqueID:function(b){return b.find("[id]").each(function(){var b=a(this);b.attr("id",b.attr("id")+"_clone")}),b},pauseInvisible:{visProp:null,init:function(){var a=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var b=0;b0?setTimeout(d.play,d.vars.initDelay):d.play()})}},isHidden:function(){return document[p.pauseInvisible.visProp]||!1}},setToClearWatchedEvent:function(){clearTimeout(j),j=setTimeout(function(){i=""},3e3)}},d.flexAnimate=function(b,c,f,h,i){if(d.vars.animationLoop||b===d.currentSlide||(d.direction=b>d.currentSlide?"next":"prev"),o&&1===d.pagingCount&&(d.direction=d.currentItemd.limit&&1!==d.visible?d.limit:t):s=0===d.currentSlide&&b===d.count-1&&d.vars.animationLoop&&"next"!==d.direction?l?(d.count+d.cloneOffset)*q:0:d.currentSlide===d.last&&0===b&&d.vars.animationLoop&&"prev"!==d.direction?l?0:(d.count+1)*q:l?(d.count-1-b+d.cloneOffset)*q:(b+d.cloneOffset)*q,d.setProps(s,"",d.vars.animationSpeed),d.transitions?(d.vars.animationLoop&&d.atEnd||(d.animating=!1,d.currentSlide=d.animatingTo),d.container.unbind("webkitTransitionEnd transitionend"),d.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(d.ensureAnimationEnd),d.wrapup(q)}),clearTimeout(d.ensureAnimationEnd),d.ensureAnimationEnd=setTimeout(function(){d.wrapup(q)},d.vars.animationSpeed+100)):d.container.animate(d.args,d.vars.animationSpeed,d.vars.easing,function(){d.wrapup(q)})}d.vars.smoothHeight&&p.smoothHeight(d.vars.animationSpeed)}},d.wrapup=function(a){n||m||(0===d.currentSlide&&d.animatingTo===d.last&&d.vars.animationLoop?d.setProps(a,"jumpEnd"):d.currentSlide===d.last&&0===d.animatingTo&&d.vars.animationLoop&&d.setProps(a,"jumpStart")),d.animating=!1,d.currentSlide=d.animatingTo,d.vars.after(d)},d.animateSlides=function(){!d.animating&&q&&d.flexAnimate(d.getTarget("next"))},d.pause=function(){clearInterval(d.animatedSlides),d.animatedSlides=null,d.playing=!1,d.vars.pausePlay&&p.pausePlay.update("play"),d.syncExists&&p.sync("pause")},d.play=function(){d.playing&&clearInterval(d.animatedSlides),d.animatedSlides=d.animatedSlides||setInterval(d.animateSlides,d.vars.slideshowSpeed),d.started=d.playing=!0,d.vars.pausePlay&&p.pausePlay.update("pause"),d.syncExists&&p.sync("play")},d.stop=function(){d.pause(),d.stopped=!0},d.canAdvance=function(a,b){var c=o?d.pagingCount-1:d.last;return b?!0:o&&d.currentItem===d.count-1&&0===a&&"prev"===d.direction?!0:o&&0===d.currentItem&&a===d.pagingCount-1&&"next"!==d.direction?!1:a!==d.currentSlide||o?d.vars.animationLoop?!0:d.atEnd&&0===d.currentSlide&&a===c&&"next"!==d.direction?!1:d.atEnd&&d.currentSlide===c&&0===a&&"next"===d.direction?!1:!0:!1},d.getTarget=function(a){return d.direction=a,"next"===a?d.currentSlide===d.last?0:d.currentSlide+1:0===d.currentSlide?d.last:d.currentSlide-1},d.setProps=function(a,b,c){var e=function(){var c=a?a:(d.itemW+d.vars.itemMargin)*d.move*d.animatingTo,e=function(){if(m)return"setTouch"===b?a:l&&d.animatingTo===d.last?0:l?d.limit-(d.itemW+d.vars.itemMargin)*d.move*d.animatingTo:d.animatingTo===d.last?d.limit:c;switch(b){case"setTotal":return l?(d.count-1-d.currentSlide+d.cloneOffset)*a:(d.currentSlide+d.cloneOffset)*a;case"setTouch":return l?a:a;case"jumpEnd":return l?a:d.count*a;case"jumpStart":return l?d.count*a:a;default:return a}}();return-1*e+"px"}();d.transitions&&(e=k?"translate3d(0,"+e+",0)":"translate3d("+e+",0,0)",c=void 0!==c?c/1e3+"s":"0s",d.container.css("-"+d.pfx+"-transition-duration",c),d.container.css("transition-duration",c)),d.args[d.prop]=e,(d.transitions||void 0===c)&&d.container.css(d.args),d.container.css("transform",e)},d.setup=function(b){if(n)d.slides.css({width:"100%","float":"left",marginRight:"-100%",position:"relative"}),"init"===b&&(g?d.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+d.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(d.currentSlide).css({opacity:1,zIndex:2}):d.slides.css({opacity:0,display:"block",zIndex:1}).eq(d.currentSlide).css({zIndex:2}).animate({opacity:1},d.vars.animationSpeed,d.vars.easing)),d.vars.smoothHeight&&p.smoothHeight();else{var c,f;"init"===b&&(d.viewport=a('
    ').css({overflow:"hidden",position:"relative"}).appendTo(d).append(d.container),d.cloneCount=0,d.cloneOffset=0,l&&(f=a.makeArray(d.slides).reverse(),d.slides=a(f),d.container.empty().append(d.slides))),d.vars.animationLoop&&!m&&(d.cloneCount=2,d.cloneOffset=1,"init"!==b&&d.container.find(".clone").remove(),p.uniqueID(d.slides.first().clone().addClass("clone").attr("aria-hidden","true")).appendTo(d.container),p.uniqueID(d.slides.last().clone().addClass("clone").attr("aria-hidden","true")).prependTo(d.container)),d.newSlides=a(d.vars.selector,d),c=l?d.count-1-d.currentSlide+d.cloneOffset:d.currentSlide+d.cloneOffset,k&&!m?(d.container.height(200*(d.count+d.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){d.newSlides.css({display:"block"}),d.doMath(),d.viewport.height(d.h),d.setProps(c*d.h,"init")},"init"===b?100:0)):(d.container.width(200*(d.count+d.cloneCount)+"%"),d.setProps(c*d.computedW,"init"),setTimeout(function(){d.doMath(),d.newSlides.css({width:d.computedW,"float":"left",display:"block"}),d.vars.smoothHeight&&p.smoothHeight()},"init"===b?100:0))}m||d.slides.removeClass(e+"active-slide").eq(d.currentSlide).addClass(e+"active-slide"),d.vars.init(d)},d.doMath=function(){var a=d.slides.first(),b=d.vars.itemMargin,c=d.vars.minItems,e=d.vars.maxItems;d.w=void 0===d.viewport?d.width():d.viewport.width(),d.h=a.height(),d.boxPadding=a.outerWidth()-a.width(),m?(d.itemT=d.vars.itemWidth+b,d.minW=c?c*d.itemT:d.w,d.maxW=e?e*d.itemT-b:d.w,d.itemW=d.minW>d.w?(d.w-b*(c-1))/c:d.maxWd.w?d.w:d.vars.itemWidth,d.visible=Math.floor(d.w/d.itemW),d.move=d.vars.move>0&&d.vars.moved.w?d.itemW*(d.count-1)+b*(d.count-1):(d.itemW+b)*d.count-d.w-b):(d.itemW=d.w,d.pagingCount=d.count,d.last=d.count-1),d.computedW=d.itemW-d.boxPadding},d.update=function(a,b){d.doMath(),m||(ad.controlNav.length?p.controlNav.update("add"):("remove"===b&&!m||d.pagingCountd.last&&(d.currentSlide-=1,d.animatingTo-=1),p.controlNav.update("remove",d.last))),d.vars.directionNav&&p.directionNav.update()},d.addSlide=function(b,c){var e=a(b);d.count+=1,d.last=d.count-1,k&&l?void 0!==c?d.slides.eq(d.count-c).after(e):d.container.prepend(e):void 0!==c?d.slides.eq(c).before(e):d.container.append(e),d.update(c,"add"),d.slides=a(d.vars.selector+":not(.clone)",d),d.setup(),d.vars.added(d)},d.removeSlide=function(b){var c=isNaN(b)?d.slides.index(a(b)):b;d.count-=1,d.last=d.count-1,isNaN(b)?a(b,d.slides).remove():k&&l?d.slides.eq(d.last).remove():d.slides.eq(b).remove(),d.doMath(),d.update(c,"remove"),d.slides=a(d.vars.selector+":not(.clone)",d),d.setup(),d.vars.removed(d)},p.init()},a(window).blur(function(){focused=!1}).focus(function(){focused=!0}),a.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){}},a.fn.flexslider=function(b){if(void 0===b&&(b={}),"object"==typeof b)return this.each(function(){var c=a(this),d=b.selector?b.selector:".slides > li",e=c.find(d);1===e.length&&b.allowOneSlide===!0||0===e.length?(e.fadeIn(400),b.start&&b.start(c)):void 0===c.data("flexslider")&&new a.flexslider(this,b)});var c=a(this).data("flexslider");switch(b){case"play":c.play();break;case"pause":c.pause();break;case"stop":c.stop();break;case"next":c.flexAnimate(c.getTarget("next"),!0);break;case"prev":case"previous":c.flexAnimate(c.getTarget("prev"),!0);break;default:"number"==typeof b&&c.flexAnimate(b,!0)}}}(jQuery); --------------------------------------------------------------------------------