From d30c6d5fbecbe4e3a0c7d672b4ea54928e6efd29 Mon Sep 17 00:00:00 2001 From: ppoffice Date: Wed, 3 Feb 2016 00:19:44 +0800 Subject: [PATCH] refactor: please refer to Hueman theme --- _config.yml.example | 99 +-- _config.yml.site.example | 87 --- languages/en.yml | 49 +- languages/es.yml | 50 +- languages/fr.yml | 48 +- languages/id.yml | 46 +- languages/ja.yml | 48 +- languages/ru.yml | 48 +- languages/zh-CN.yml | 49 +- languages/zh-TW.yml | 48 +- layout/_partial/after-footer.ejs | 45 -- layout/_partial/archive-post.ejs | 17 - layout/_partial/archive.ejs | 82 --- layout/_partial/article.ejs | 61 -- layout/_partial/cdn_after_footer.ejs | 7 - layout/_partial/cdn_head.ejs | 10 - layout/_partial/footer.ejs | 11 - layout/_partial/google_site_verification.ejs | 3 - layout/_partial/head.ejs | 39 -- layout/_partial/header.ejs | 47 -- layout/_partial/post/banner.ejs | 10 - layout/_partial/post/category.ejs | 11 - layout/_partial/post/date.ejs | 8 - layout/_partial/post/gallery.ejs | 11 - layout/_partial/post/nav.ejs | 22 - layout/_partial/post/tag.ejs | 6 - layout/_partial/post/thumbnail.ejs | 38 -- layout/_partial/post/title.ejs | 15 - layout/_partial/profile.ejs | 38 -- layout/_partial/sidebar.ejs | 6 - layout/_widget/archive.ejs | 8 - layout/_widget/category.ejs | 8 - layout/_widget/links.ejs | 14 - layout/_widget/recent_posts.ejs | 23 - layout/_widget/tag.ejs | 8 - layout/_widget/tagcloud.ejs | 8 - layout/archive.ejs | 2 +- layout/categories.ejs | 16 +- layout/category.ejs | 2 +- layout/comment/disqus.ejs | 19 + layout/comment/duoshuo.ejs | 49 ++ layout/comment/index.ejs | 11 + layout/comment/youyan.ejs | 2 + layout/common/archive-post.ejs | 17 + layout/common/archive.ejs | 82 +++ layout/common/article.ejs | 49 ++ layout/common/footer.ejs | 8 + layout/common/head.ejs | 46 ++ layout/common/header.ejs | 38 ++ layout/common/post/banner.ejs | 14 + layout/common/post/category.ejs | 11 + layout/common/post/date.ejs | 8 + layout/common/post/gallery.ejs | 11 + layout/common/post/nav.ejs | 22 + layout/common/post/tag.ejs | 6 + layout/common/post/title.ejs | 15 + layout/common/profile.ejs | 33 + layout/common/scripts.ejs | 4 + layout/common/sidebar.ejs | 6 + layout/common/thumbnail.ejs | 8 + layout/index.ejs | 2 +- layout/layout.ejs | 28 +- layout/page.ejs | 2 +- layout/plugin/baidu-analytics.ejs | 9 + .../{_partial => plugin}/google-analytics.ejs | 10 +- layout/plugin/scripts.ejs | 18 + layout/post.ejs | 2 +- layout/search/baidu.ejs | 13 + layout/search/index-mobile.ejs | 9 + layout/search/index.ejs | 13 + layout/search/swiftype.ejs | 26 + layout/share/addtoany.ejs | 52 ++ layout/share/bdshare.ejs | 34 + layout/share/default.ejs | 65 ++ layout/share/index.ejs | 14 + layout/share/jiathis.ejs | 50 ++ layout/tag.ejs | 2 +- layout/tags.ejs | 16 +- layout/widget/archive.ejs | 8 + layout/widget/category.ejs | 8 + layout/widget/links.ejs | 14 + layout/widget/recent_posts.ejs | 23 + layout/widget/tag.ejs | 8 + layout/widget/tagcloud.ejs | 8 + scripts/excerpt.js | 15 + scripts/fancybox.js | 20 +- scripts/thumbnail.js | 30 + source/css/_extend.styl | 114 ++-- source/css/_highlight/agate.styl | 89 +++ source/css/_highlight/androidstudio.styl | 52 ++ source/css/_highlight/arduino-light.styl | 71 ++ source/css/_highlight/arta.styl | 59 ++ source/css/_highlight/ascetic.styl | 37 ++ source/css/_highlight/atelier-cave-dark.styl | 68 ++ source/css/_highlight/atelier-cave-light.styl | 70 ++ source/css/_highlight/atelier-dune-dark.styl | 57 ++ source/css/_highlight/atelier-dune-light.styl | 64 ++ .../css/_highlight/atelier-estuary-dark.styl | 69 ++ .../css/_highlight/atelier-estuary-light.styl | 69 ++ .../css/_highlight/atelier-forest-dark.styl | 57 ++ .../css/_highlight/atelier-forest-light.styl | 57 ++ source/css/_highlight/atelier-heath-dark.styl | 57 ++ .../css/_highlight/atelier-heath-light.styl | 57 ++ .../css/_highlight/atelier-lakeside-dark.styl | 57 ++ .../_highlight/atelier-lakeside-light.styl | 57 ++ .../css/_highlight/atelier-plateau-dark.styl | 69 ++ .../css/_highlight/atelier-plateau-light.styl | 69 ++ .../css/_highlight/atelier-savanna-dark.styl | 69 ++ .../css/_highlight/atelier-savanna-light.styl | 69 ++ .../css/_highlight/atelier-seaside-dark.styl | 57 ++ .../css/_highlight/atelier-seaside-light.styl | 57 ++ .../_highlight/atelier-sulphurpool-dark.styl | 57 ++ .../_highlight/atelier-sulphurpool-light.styl | 57 ++ source/css/_highlight/brown-paper.styl | 55 ++ source/css/_highlight/brown-papersq.png | Bin 0 -> 18198 bytes source/css/_highlight/codepen-embed.styl | 50 ++ source/css/_highlight/color-brewer.styl | 59 ++ source/css/_highlight/dark.styl | 53 ++ source/css/_highlight/darkula.styl | 59 ++ source/css/_highlight/docco.styl | 76 +++ source/css/_highlight/far.styl | 59 ++ source/css/_highlight/foundation.styl | 71 ++ source/css/_highlight/github-gist.styl | 57 ++ source/css/_highlight/github.styl | 79 +++ source/css/_highlight/googlecode.styl | 72 ++ source/css/_highlight/grayscale.styl | 81 +++ source/css/_highlight/highlightjs.styl | 63 ++ source/css/_highlight/hopscotch.styl | 70 ++ source/css/_highlight/hybrid.styl | 82 +++ source/css/_highlight/idea.styl | 78 +++ source/css/_highlight/index.styl | 26 + source/css/_highlight/ir-black.styl | 58 ++ source/css/_highlight/kimbie.dark.styl | 62 ++ source/css/_highlight/kimbie.light.styl | 62 ++ source/css/_highlight/magula.styl | 58 ++ source/css/_highlight/mono-blue.styl | 47 ++ source/css/_highlight/monokai-sublime.styl | 69 ++ source/css/_highlight/monokai.styl | 60 ++ source/css/_highlight/obsidian.styl | 70 ++ source/css/_highlight/paraiso-dark.styl | 60 ++ source/css/_highlight/paraiso-light.styl | 60 ++ source/css/_highlight/pojoaque.jpg | Bin 0 -> 1186 bytes source/css/_highlight/pojoaque.styl | 67 ++ source/css/_highlight/railscasts.styl | 84 +++ source/css/_highlight/rainbow.styl | 68 ++ source/css/_highlight/school-book.png | Bin 0 -> 486 bytes source/css/_highlight/school-book.styl | 57 ++ source/css/_highlight/solarized-dark.styl | 70 ++ source/css/_highlight/solarized-light.styl | 70 ++ source/css/_highlight/sunburst.styl | 80 +++ .../css/_highlight/tomorrow-night-blue.styl | 62 ++ .../css/_highlight/tomorrow-night-bright.styl | 61 ++ .../_highlight/tomorrow-night-eighties.styl | 61 ++ source/css/_highlight/tomorrow-night.styl | 60 ++ source/css/_highlight/tomorrow.styl | 56 ++ source/css/_highlight/vs.styl | 58 ++ source/css/_highlight/xcode.styl | 74 +++ source/css/_highlight/zenburn.styl | 64 ++ source/css/_partial/archive.styl | 228 +++---- source/css/_partial/article.styl | 623 +++++++++--------- source/css/_partial/comment.styl | 10 +- source/css/_partial/footer.styl | 28 +- source/css/_partial/header.styl | 316 +++++---- source/css/_partial/highlight.styl | 191 ------ source/css/_partial/profile.styl | 247 ++++--- source/css/_partial/sidebar.styl | 282 ++++---- source/css/_util/grid.styl | 26 +- source/css/_util/mixin.styl | 48 +- source/css/_variables.styl | 43 +- source/css/style.styl | 78 +-- source/js/main.js | 52 ++ source/js/script.js | 106 --- source/{ => vendor}/fancybox/blank.gif | Bin .../fancybox/fancybox_loading.gif | Bin .../fancybox/fancybox_loading@2x.gif | Bin .../fancybox/fancybox_overlay.png | Bin .../{ => vendor}/fancybox/fancybox_sprite.png | Bin .../fancybox/fancybox_sprite@2x.png | Bin .../fancybox/helpers/fancybox_buttons.png | Bin .../helpers/jquery.fancybox-buttons.css | 0 .../helpers/jquery.fancybox-buttons.js | 0 .../fancybox/helpers/jquery.fancybox-media.js | 0 .../helpers/jquery.fancybox-thumbs.css | 0 .../helpers/jquery.fancybox-thumbs.js | 0 .../{ => vendor}/fancybox/jquery.fancybox.css | 0 .../{ => vendor}/fancybox/jquery.fancybox.js | 0 .../fancybox/jquery.fancybox.pack.js | 0 .../font-awesome/css/font-awesome.min.css | 0 .../font-awesome/fonts/FontAwesome.otf | Bin .../fonts/fontawesome-webfont.eot | Bin .../fonts/fontawesome-webfont.svg | 0 .../fonts/fontawesome-webfont.ttf | Bin .../fonts/fontawesome-webfont.woff | Bin .../fonts/fontawesome-webfont.woff2 | Bin source/vendor/jquery/2.1.3/jquery.min.js | 4 + ...O5bWGqF5A9baEERJtnKITppOI_IvcXXDNrsc.woff2 | Bin 0 -> 5740 bytes ...oAWT7BTt32Z01mxJtnKITppOI_IvcXXDNrsc.woff2 | Bin 0 -> 16868 bytes ...B6EMdfHrEVqA1KRJtnKITppOI_IvcXXDNrsc.woff2 | Bin 0 -> 2332 bytes ...JH_bn48VBG8sNShWV49_lSm1NYrwo-zkhivY.woff2 | Bin 0 -> 2332 bytes ...JH_bn48VBG8sNSj0LW-43aMEzIO6XUTLjad8.woff2 | Bin 0 -> 12692 bytes ...JH_bn48VBG8sNSpX5f-9o1vgP2EXwfjgl7AY.woff2 | Bin 0 -> 9896 bytes ...JH_bn48VBG8sNSq-j2U0lmluP9RWlSytm3ho.woff2 | Bin 0 -> 17608 bytes ...JH_bn48VBG8sNSqaRobkAwv3vxw3jMhVENGA.woff2 | Bin 0 -> 8380 bytes ...JH_bn48VBG8sNSugdm0LZdjqr5-oayXSOefg.woff2 | Bin 0 -> 16164 bytes ...JH_bn48VBG8sNSv8zf_FOSsgRmwsS7Aa9k2w.woff2 | Bin 0 -> 5916 bytes ...TmqiVp7vzi-Q5URJtnKITppOI_IvcXXDNrsc.woff2 | Bin 0 -> 9676 bytes ...Brn4kERxqtaUH3VtXRa8TVwTICgirnJhmVJw.woff2 | Bin 0 -> 15572 bytes ...ET9fUeobQW7jkRRJtnKITppOI_IvcXXDNrsc.woff2 | Bin 0 -> 12288 bytes ...8I15wypJXxuGMBiYE0-AqJ3nfInTTiDXDjU4.woff2 | Bin 0 -> 11908 bytes ...8I15wypJXxuGMBjTOQ_MqJVwkKsUn0wKzc2I.woff2 | Bin 0 -> 16164 bytes ...8I15wypJXxuGMBjUj_cnvWIuuBMVgbX098Mw.woff2 | Bin 0 -> 9700 bytes ...8I15wypJXxuGMBkbcKLIaa1LC45dFaAfauRA.woff2 | Bin 0 -> 2296 bytes ...8I15wypJXxuGMBmo_sUJ8uO4YLWRInS22T3Y.woff2 | Bin 0 -> 7792 bytes ...8I15wypJXxuGMBo4P5ICox8Kq3LLUNMylGO4.woff2 | Bin 0 -> 14968 bytes ...8I15wypJXxuGMBr6up8jxqWt8HVA3mDhkV_0.woff2 | Bin 0 -> 5504 bytes ...2726on7jbcb_pAhJtnKITppOI_IvcXXDNrsc.woff2 | Bin 0 -> 8160 bytes source/vendor/open-sans/styles.css | 168 +++++ ...18OlOQN8JLgasD9V_2ngZ8dMf8fLgjYEouxg.woff2 | Bin 0 -> 12364 bytes ...18OlOQN8JLgasDy2Q8seG17bfDXYR_jUsrzg.woff2 | Bin 0 -> 11144 bytes source/vendor/source-code-pro/styles.css | 16 + 220 files changed, 6682 insertions(+), 2243 deletions(-) delete mode 100644 _config.yml.site.example delete mode 100644 layout/_partial/after-footer.ejs delete mode 100644 layout/_partial/archive-post.ejs delete mode 100644 layout/_partial/archive.ejs delete mode 100644 layout/_partial/article.ejs delete mode 100644 layout/_partial/cdn_after_footer.ejs delete mode 100644 layout/_partial/cdn_head.ejs delete mode 100644 layout/_partial/footer.ejs delete mode 100644 layout/_partial/google_site_verification.ejs delete mode 100644 layout/_partial/head.ejs delete mode 100644 layout/_partial/header.ejs delete mode 100644 layout/_partial/post/banner.ejs delete mode 100644 layout/_partial/post/category.ejs delete mode 100644 layout/_partial/post/date.ejs delete mode 100644 layout/_partial/post/gallery.ejs delete mode 100644 layout/_partial/post/nav.ejs delete mode 100644 layout/_partial/post/tag.ejs delete mode 100644 layout/_partial/post/thumbnail.ejs delete mode 100644 layout/_partial/post/title.ejs delete mode 100644 layout/_partial/profile.ejs delete mode 100644 layout/_partial/sidebar.ejs delete mode 100644 layout/_widget/archive.ejs delete mode 100644 layout/_widget/category.ejs delete mode 100644 layout/_widget/links.ejs delete mode 100644 layout/_widget/recent_posts.ejs delete mode 100644 layout/_widget/tag.ejs delete mode 100644 layout/_widget/tagcloud.ejs create mode 100644 layout/comment/disqus.ejs create mode 100644 layout/comment/duoshuo.ejs create mode 100644 layout/comment/index.ejs create mode 100644 layout/comment/youyan.ejs create mode 100644 layout/common/archive-post.ejs create mode 100644 layout/common/archive.ejs create mode 100644 layout/common/article.ejs create mode 100644 layout/common/footer.ejs create mode 100644 layout/common/head.ejs create mode 100644 layout/common/header.ejs create mode 100644 layout/common/post/banner.ejs create mode 100644 layout/common/post/category.ejs create mode 100644 layout/common/post/date.ejs create mode 100644 layout/common/post/gallery.ejs create mode 100644 layout/common/post/nav.ejs create mode 100644 layout/common/post/tag.ejs create mode 100644 layout/common/post/title.ejs create mode 100644 layout/common/profile.ejs create mode 100644 layout/common/scripts.ejs create mode 100644 layout/common/sidebar.ejs create mode 100644 layout/common/thumbnail.ejs create mode 100644 layout/plugin/baidu-analytics.ejs rename layout/{_partial => plugin}/google-analytics.ejs (54%) create mode 100644 layout/plugin/scripts.ejs create mode 100644 layout/search/baidu.ejs create mode 100644 layout/search/index-mobile.ejs create mode 100644 layout/search/index.ejs create mode 100644 layout/search/swiftype.ejs create mode 100644 layout/share/addtoany.ejs create mode 100644 layout/share/bdshare.ejs create mode 100644 layout/share/default.ejs create mode 100644 layout/share/index.ejs create mode 100644 layout/share/jiathis.ejs create mode 100644 layout/widget/archive.ejs create mode 100644 layout/widget/category.ejs create mode 100644 layout/widget/links.ejs create mode 100644 layout/widget/recent_posts.ejs create mode 100644 layout/widget/tag.ejs create mode 100644 layout/widget/tagcloud.ejs create mode 100644 scripts/excerpt.js create mode 100644 scripts/thumbnail.js create mode 100644 source/css/_highlight/agate.styl create mode 100644 source/css/_highlight/androidstudio.styl create mode 100644 source/css/_highlight/arduino-light.styl create mode 100644 source/css/_highlight/arta.styl create mode 100644 source/css/_highlight/ascetic.styl create mode 100644 source/css/_highlight/atelier-cave-dark.styl create mode 100644 source/css/_highlight/atelier-cave-light.styl create mode 100644 source/css/_highlight/atelier-dune-dark.styl create mode 100644 source/css/_highlight/atelier-dune-light.styl create mode 100644 source/css/_highlight/atelier-estuary-dark.styl create mode 100644 source/css/_highlight/atelier-estuary-light.styl create mode 100644 source/css/_highlight/atelier-forest-dark.styl create mode 100644 source/css/_highlight/atelier-forest-light.styl create mode 100644 source/css/_highlight/atelier-heath-dark.styl create mode 100644 source/css/_highlight/atelier-heath-light.styl create mode 100644 source/css/_highlight/atelier-lakeside-dark.styl create mode 100644 source/css/_highlight/atelier-lakeside-light.styl create mode 100644 source/css/_highlight/atelier-plateau-dark.styl create mode 100644 source/css/_highlight/atelier-plateau-light.styl create mode 100644 source/css/_highlight/atelier-savanna-dark.styl create mode 100644 source/css/_highlight/atelier-savanna-light.styl create mode 100644 source/css/_highlight/atelier-seaside-dark.styl create mode 100644 source/css/_highlight/atelier-seaside-light.styl create mode 100644 source/css/_highlight/atelier-sulphurpool-dark.styl create mode 100644 source/css/_highlight/atelier-sulphurpool-light.styl create mode 100644 source/css/_highlight/brown-paper.styl create mode 100644 source/css/_highlight/brown-papersq.png create mode 100644 source/css/_highlight/codepen-embed.styl create mode 100644 source/css/_highlight/color-brewer.styl create mode 100644 source/css/_highlight/dark.styl create mode 100644 source/css/_highlight/darkula.styl create mode 100644 source/css/_highlight/docco.styl create mode 100644 source/css/_highlight/far.styl create mode 100644 source/css/_highlight/foundation.styl create mode 100644 source/css/_highlight/github-gist.styl create mode 100644 source/css/_highlight/github.styl create mode 100644 source/css/_highlight/googlecode.styl create mode 100644 source/css/_highlight/grayscale.styl create mode 100644 source/css/_highlight/highlightjs.styl create mode 100644 source/css/_highlight/hopscotch.styl create mode 100644 source/css/_highlight/hybrid.styl create mode 100644 source/css/_highlight/idea.styl create mode 100644 source/css/_highlight/index.styl create mode 100644 source/css/_highlight/ir-black.styl create mode 100644 source/css/_highlight/kimbie.dark.styl create mode 100644 source/css/_highlight/kimbie.light.styl create mode 100644 source/css/_highlight/magula.styl create mode 100644 source/css/_highlight/mono-blue.styl create mode 100644 source/css/_highlight/monokai-sublime.styl create mode 100644 source/css/_highlight/monokai.styl create mode 100644 source/css/_highlight/obsidian.styl create mode 100644 source/css/_highlight/paraiso-dark.styl create mode 100644 source/css/_highlight/paraiso-light.styl create mode 100644 source/css/_highlight/pojoaque.jpg create mode 100644 source/css/_highlight/pojoaque.styl create mode 100644 source/css/_highlight/railscasts.styl create mode 100644 source/css/_highlight/rainbow.styl create mode 100644 source/css/_highlight/school-book.png create mode 100644 source/css/_highlight/school-book.styl create mode 100644 source/css/_highlight/solarized-dark.styl create mode 100644 source/css/_highlight/solarized-light.styl create mode 100644 source/css/_highlight/sunburst.styl create mode 100644 source/css/_highlight/tomorrow-night-blue.styl create mode 100644 source/css/_highlight/tomorrow-night-bright.styl create mode 100644 source/css/_highlight/tomorrow-night-eighties.styl create mode 100644 source/css/_highlight/tomorrow-night.styl create mode 100644 source/css/_highlight/tomorrow.styl create mode 100644 source/css/_highlight/vs.styl create mode 100644 source/css/_highlight/xcode.styl create mode 100644 source/css/_highlight/zenburn.styl delete mode 100644 source/css/_partial/highlight.styl create mode 100644 source/js/main.js delete mode 100644 source/js/script.js rename source/{ => vendor}/fancybox/blank.gif (100%) rename source/{ => vendor}/fancybox/fancybox_loading.gif (100%) rename source/{ => vendor}/fancybox/fancybox_loading@2x.gif (100%) rename source/{ => vendor}/fancybox/fancybox_overlay.png (100%) rename source/{ => vendor}/fancybox/fancybox_sprite.png (100%) rename source/{ => vendor}/fancybox/fancybox_sprite@2x.png (100%) rename source/{ => vendor}/fancybox/helpers/fancybox_buttons.png (100%) rename source/{ => vendor}/fancybox/helpers/jquery.fancybox-buttons.css (100%) rename source/{ => vendor}/fancybox/helpers/jquery.fancybox-buttons.js (100%) rename source/{ => vendor}/fancybox/helpers/jquery.fancybox-media.js (100%) rename source/{ => vendor}/fancybox/helpers/jquery.fancybox-thumbs.css (100%) rename source/{ => vendor}/fancybox/helpers/jquery.fancybox-thumbs.js (100%) rename source/{ => vendor}/fancybox/jquery.fancybox.css (100%) rename source/{ => vendor}/fancybox/jquery.fancybox.js (100%) rename source/{ => vendor}/fancybox/jquery.fancybox.pack.js (100%) rename source/{ => vendor}/font-awesome/css/font-awesome.min.css (100%) rename source/{ => vendor}/font-awesome/fonts/FontAwesome.otf (100%) rename source/{ => vendor}/font-awesome/fonts/fontawesome-webfont.eot (100%) rename source/{ => vendor}/font-awesome/fonts/fontawesome-webfont.svg (100%) rename source/{ => vendor}/font-awesome/fonts/fontawesome-webfont.ttf (100%) rename source/{ => vendor}/font-awesome/fonts/fontawesome-webfont.woff (100%) rename source/{ => vendor}/font-awesome/fonts/fontawesome-webfont.woff2 (100%) create mode 100644 source/vendor/jquery/2.1.3/jquery.min.js create mode 100644 source/vendor/open-sans/fonts/59ZRklaO5bWGqF5A9baEERJtnKITppOI_IvcXXDNrsc.woff2 create mode 100644 source/vendor/open-sans/fonts/K88pR3goAWT7BTt32Z01mxJtnKITppOI_IvcXXDNrsc.woff2 create mode 100644 source/vendor/open-sans/fonts/LWCjsQkB6EMdfHrEVqA1KRJtnKITppOI_IvcXXDNrsc.woff2 create mode 100644 source/vendor/open-sans/fonts/MTP_ySUJH_bn48VBG8sNShWV49_lSm1NYrwo-zkhivY.woff2 create mode 100644 source/vendor/open-sans/fonts/MTP_ySUJH_bn48VBG8sNSj0LW-43aMEzIO6XUTLjad8.woff2 create mode 100644 source/vendor/open-sans/fonts/MTP_ySUJH_bn48VBG8sNSpX5f-9o1vgP2EXwfjgl7AY.woff2 create mode 100644 source/vendor/open-sans/fonts/MTP_ySUJH_bn48VBG8sNSq-j2U0lmluP9RWlSytm3ho.woff2 create mode 100644 source/vendor/open-sans/fonts/MTP_ySUJH_bn48VBG8sNSqaRobkAwv3vxw3jMhVENGA.woff2 create mode 100644 source/vendor/open-sans/fonts/MTP_ySUJH_bn48VBG8sNSugdm0LZdjqr5-oayXSOefg.woff2 create mode 100644 source/vendor/open-sans/fonts/MTP_ySUJH_bn48VBG8sNSv8zf_FOSsgRmwsS7Aa9k2w.woff2 create mode 100644 source/vendor/open-sans/fonts/RjgO7rYTmqiVp7vzi-Q5URJtnKITppOI_IvcXXDNrsc.woff2 create mode 100644 source/vendor/open-sans/fonts/cJZKeOuBrn4kERxqtaUH3VtXRa8TVwTICgirnJhmVJw.woff2 create mode 100644 source/vendor/open-sans/fonts/u-WUoqrET9fUeobQW7jkRRJtnKITppOI_IvcXXDNrsc.woff2 create mode 100644 source/vendor/open-sans/fonts/xjAJXh38I15wypJXxuGMBiYE0-AqJ3nfInTTiDXDjU4.woff2 create mode 100644 source/vendor/open-sans/fonts/xjAJXh38I15wypJXxuGMBjTOQ_MqJVwkKsUn0wKzc2I.woff2 create mode 100644 source/vendor/open-sans/fonts/xjAJXh38I15wypJXxuGMBjUj_cnvWIuuBMVgbX098Mw.woff2 create mode 100644 source/vendor/open-sans/fonts/xjAJXh38I15wypJXxuGMBkbcKLIaa1LC45dFaAfauRA.woff2 create mode 100644 source/vendor/open-sans/fonts/xjAJXh38I15wypJXxuGMBmo_sUJ8uO4YLWRInS22T3Y.woff2 create mode 100644 source/vendor/open-sans/fonts/xjAJXh38I15wypJXxuGMBo4P5ICox8Kq3LLUNMylGO4.woff2 create mode 100644 source/vendor/open-sans/fonts/xjAJXh38I15wypJXxuGMBr6up8jxqWt8HVA3mDhkV_0.woff2 create mode 100644 source/vendor/open-sans/fonts/xozscpT2726on7jbcb_pAhJtnKITppOI_IvcXXDNrsc.woff2 create mode 100644 source/vendor/open-sans/styles.css create mode 100644 source/vendor/source-code-pro/fonts/mrl8jkM18OlOQN8JLgasD9V_2ngZ8dMf8fLgjYEouxg.woff2 create mode 100644 source/vendor/source-code-pro/fonts/mrl8jkM18OlOQN8JLgasDy2Q8seG17bfDXYR_jUsrzg.woff2 create mode 100644 source/vendor/source-code-pro/styles.css diff --git a/_config.yml.example b/_config.yml.example index 7bc8e32..8469eb0 100644 --- a/_config.yml.example +++ b/_config.yml.example @@ -1,7 +1,4 @@ -# Logo -logo: css/images/logo.png # Empty this to unset logo and show site title in the same place - -# Header +# Menus menu: Home: . Archives: archives @@ -9,47 +6,67 @@ menu: Tags: tags About: about -# Content -excerpt_link: Read More -fancybox: true +# Customize +customize: + logo: + width: 40 + height: 40 + url: images/logo.png + profile: + enabled: true # Whether to show profile bar + avatar: css/images/avatar.png + gravatar: # Gravatar email address, if you enable Gravatar, your avatar config will be overriden + author: PPOffice + author_title: 'Web Developer & Designer' + location: 'Harbin, China' + follow: https://github.com/ppoffice/ + highlight: androidstudio + sidebar: right # sidebar position, options: left, right + thumbnail: true # enable posts thumbnail, options: true, false + favicon: # path to favicon + social_links: + github: http://github.com/ppoffice/hexo-theme-icarus + twitter: / + facebook: / + dribbble: / + rss: / -# Profile -profile: true # Whether to show profile bar -gravatar: false # Whether to use gravatar with the email. If you do, put your email address in your site's `_config.yml`. - -# Sidebar -sidebar: right # set to false if you don't want a sidebar +# Widgets widgets: -- recent_posts -- category -- tag -- tagcloud -- archive -thumbnail: true + - recent_posts + - category + - archive + - tag + - tagcloud + - links -# Contacts -contacts: - github: http://github.com/ppoffice/hexo-theme-icarus - twitter: '#' - facebook: '#' - dribbble: '#' - rss: atom.xml +# Search +search: + swiftype: # enter swiftype install key here + baidu: false # you need to disable other search engines to use Baidu search, options: true, false -# Links -links: - Hexo: http://hexo.io +# Comment +comment: + disqus: hexo-theme-icarus # enter disqus shortname here + duoshuo: # enter duoshuo shortname here + youyan: # enter youyan uid here -# CDN -cdn: # You can choose "useso" instead of "google apis"(default). -# cdn: useso -# OR -# cdn: +# Share +share: default # options: jiathis, bdshare, addtoany, default + +# Plugins +plugins: + fancybox: true # options: true, false + google_analytics: # enter the tracking ID for your Google Analytics + google_site_verification: # enter Google site verification code + baidu_analytics: # enter Baidu Analytics hash key # Miscellaneous -google_site_verification: -google_analytics: -favicon: favicon.png -twitter: -google_plus: -fb_admins: -fb_app_id: +miscellaneous: + open_graph: # see http://ogp.me + fb_app_id: + fb_admins: + twitter_id: + google_plus: + links: + Hexo: http://hexo.io diff --git a/_config.yml.site.example b/_config.yml.site.example deleted file mode 100644 index 887211d..0000000 --- a/_config.yml.site.example +++ /dev/null @@ -1,87 +0,0 @@ -# Hexo Configuration -## Docs: http://hexo.io/docs/configuration.html -## Source: https://github.com/hexojs/hexo/ - -# Site -title: Icarus -subtitle: -description: Hexo theme - Icarus -author: PPOffice -author_title: 'Web Developer & Designer' -avatar: css/images/avatar.png -location: 'Harbin, China' -follow: https://github.com/ppoffice/ -email: # Your email (Used to show Gravatar). -language: en -timezone: -since: 2000 # The start year showing in your copyright section. - -# URL -## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/' -url: http://ppoffice.github.io/hexo-theme-icarus -root: /hexo-theme-icarus/ -permalink: :year/:month/:day/:title/ -permalink_defaults: - -# Directory -source_dir: source -public_dir: public -tag_dir: tags -archive_dir: archives -category_dir: categories -code_dir: downloads/code -i18n_dir: :lang -skip_render: - -# Writing -new_post_name: :title.md # File name of new posts -default_layout: post -titlecase: false # Transform title into titlecase -external_link: true # Open external links in new tab -filename_case: 0 -render_drafts: false -post_asset_folder: false -relative_link: false -future: true -highlight: - enable: true - line_number: true - tab_replace: - -# Category & Tag -default_category: uncategorized -category_map: -tag_map: - -# Date / Time format -## Hexo uses Moment.js to parse and display date -## You can customize the date format as defined in -## http://momentjs.com/docs/#/displaying/format/ -date_format: YYYY-MM-DD -time_format: HH:mm:ss - -# Pagination -## Set per_page to 0 to disable pagination -per_page: 6 -pagination_dir: page - -# Extensions -## Plugins: https://github.com/hexojs/hexo/wiki/Plugins -## Themes: https://github.com/hexojs/hexo/wiki/Themes -theme: icarus - -# Disqus -# disqus_shortname: hexo-theme-icarus - -# DuoShuo -# duoshuo_shortname: hexo-theme-icarus - -# Swiftype -# swiftype_install_key: XXX_XXXXXXXXXXXXXXXX - -# Deployment -## Docs: http://hexo.io/docs/deployment.html -deploy: - type: git - repository: https://github.com/ppoffice/hexo-theme-icarus.git - branch: gh-pages \ No newline at end of file diff --git a/languages/en.yml b/languages/en.yml index e907716..7144ed0 100644 --- a/languages/en.yml +++ b/languages/en.yml @@ -1,29 +1,30 @@ index: - home: 'home' - search: 'Search' - archive: 'archive' - category: 'category' - uncategorized: 'uncategorized' - tag: 'tag' + home: 'home' + search: 'Search' + archive: 'archive' + category: 'category' + uncategorized: 'uncategorized' + tag: 'tag' nav: - next: 'Next' - prev: 'Prev' - older: 'Older' - newer: 'Newer' + next: 'Next' + prev: 'Prev' + older: 'Older' + newer: 'Newer' widget: - recents: 'recents' - archives: 'archives' - categories: 'categories' - links: 'links' - tags: 'tags' - tag_cloud: 'tag cloud' + recents: 'recents' + archives: 'archives' + categories: 'categories' + links: 'links' + tags: 'tags' + tag_cloud: 'tag cloud' article: - comments: 'Comments' - share: 'Share' - catalogue: 'Catalogue' + more: 'Read More' + comments: 'Comments' + share: 'Share' + catalogue: 'Catalogue' profile: - follow: 'FOLLOW' - post: 'post' - tag: 'tag' - posts: 'posts' - tags: 'tags' + follow: 'FOLLOW' + post: 'post' + tag: 'tag' + posts: 'posts' + tags: 'tags' diff --git a/languages/es.yml b/languages/es.yml index 964f169..dfa7ccf 100644 --- a/languages/es.yml +++ b/languages/es.yml @@ -1,30 +1,30 @@ -#By SrWoOoW +#By SrWoOoW index: - home: 'Inicio' - search: 'Buscar' - archive: 'Archivo' - category: 'Categoria' - uncategorized: 'Sin categoría' - tag: 'Etiqueta' + home: 'Inicio' + search: 'Buscar' + archive: 'Archivo' + category: 'Categoria' + uncategorized: 'Sin categoría' + tag: 'Etiqueta' nav: - next: 'Siguiente ' - prev: 'Anterior' - older: 'Más viejo' - newer: 'Más nuevo' + next: 'Siguiente ' + prev: 'Anterior' + older: 'Más viejo' + newer: 'Más nuevo' widget: - recents: 'Recientes' - archives: 'Archivos' - categories: 'Categorias' - links: 'Links' - tags: 'Etiquetas' - tag_cloud: 'Nube de etiquetas' + recents: 'Recientes' + archives: 'Archivos' + categories: 'Categorias' + links: 'Links' + tags: 'Etiquetas' + tag_cloud: 'Nube de etiquetas' article: - comments: 'Comentarios' - share: 'Compartir' - catalogue: 'Catálogo' + comments: 'Comentarios' + share: 'Compartir' + catalogue: 'Catálogo' profile: - follow: 'SEGUIR' - post: 'Entrada' - tag: 'Etiqueta' - posts: 'Entradas' - tags: 'Etiquetas' + follow: 'SEGUIR' + post: 'Entrada' + tag: 'Etiqueta' + posts: 'Entradas' + tags: 'Etiquetas' diff --git a/languages/fr.yml b/languages/fr.yml index 7f5d194..7aa0c09 100644 --- a/languages/fr.yml +++ b/languages/fr.yml @@ -1,29 +1,29 @@ index: - home: 'Racine' - search: 'Rechercher' - archive: 'Archive' - category: 'Catégorie' - uncategorized: 'Sans catégorie' - tag: 'Tag' + home: 'Racine' + search: 'Rechercher' + archive: 'Archive' + category: 'Catégorie' + uncategorized: 'Sans catégorie' + tag: 'Tag' nav: - next: 'Suiv' - prev: 'Préc' - older: 'Plus ancien' - newer: 'Plus récent' + next: 'Suiv' + prev: 'Préc' + older: 'Plus ancien' + newer: 'Plus récent' widget: - recents: 'Récents' - archives: 'Archives' - categories: 'Catégories' - links: 'Liens' - tags: 'Tags' - tag_cloud: 'Nuage de tags' + recents: 'Récents' + archives: 'Archives' + categories: 'Catégories' + links: 'Liens' + tags: 'Tags' + tag_cloud: 'Nuage de tags' article: - comments: 'Commentaires' - share: 'Partager' - catalogue: 'Catalogue' + comments: 'Commentaires' + share: 'Partager' + catalogue: 'Catalogue' profile: - follow: 'SUIVRE' - post: 'Article' - tag: 'Tag' - posts: 'Articles' - tags: 'Tags' + follow: 'SUIVRE' + post: 'Article' + tag: 'Tag' + posts: 'Articles' + tags: 'Tags' diff --git a/languages/id.yml b/languages/id.yml index ef521b4..abda549 100644 --- a/languages/id.yml +++ b/languages/id.yml @@ -1,28 +1,28 @@ index: - home: 'home' - search: 'Cari' - archive: 'arsip' - category: 'kategori' - uncategorized: 'tanpa kategori' - tag: 'tag' + home: 'home' + search: 'Cari' + archive: 'arsip' + category: 'kategori' + uncategorized: 'tanpa kategori' + tag: 'tag' nav: - next: 'Berikutnya' - prev: 'Sebelumnya' - older: 'Lebih Tua' - newer: 'Lebih baru' + next: 'Berikutnya' + prev: 'Sebelumnya' + older: 'Lebih Tua' + newer: 'Lebih baru' widget: - recents: 'terbaru' - archives: 'arsip' - categories: 'kategori' - links: 'tautan' - tags: 'tag' - tag_cloud: 'awan tag' + recents: 'terbaru' + archives: 'arsip' + categories: 'kategori' + links: 'tautan' + tags: 'tag' + tag_cloud: 'awan tag' article: - comments: 'Komentar' - share: 'Bagikan' + comments: 'Komentar' + share: 'Bagikan' profile: - follow: 'IKUTI' - post: 'pos' - tag: 'tag' - posts: 'pos' - tags: 'tag' + follow: 'IKUTI' + post: 'pos' + tag: 'tag' + posts: 'pos' + tags: 'tag' diff --git a/languages/ja.yml b/languages/ja.yml index 2bc191b..b92bd98 100644 --- a/languages/ja.yml +++ b/languages/ja.yml @@ -1,29 +1,29 @@ index: - home: 'ホーム' - search: '検索' - archive: 'アーカイブ' - category: 'カテゴリ' - uncategorized: '未分類' - tag: 'タグ' + home: 'ホーム' + search: '検索' + archive: 'アーカイブ' + category: 'カテゴリ' + uncategorized: '未分類' + tag: 'タグ' nav: - next: '次' - prev: '前' - older: '古い記事' - newer: '新しい記事' + next: '次' + prev: '前' + older: '古い記事' + newer: '新しい記事' widget: - recents: '最近の記事' - archives: 'アーカイブ' - categories: 'カテゴリ' - links: 'リンク' - tags: 'タグ' - tag_cloud: 'タグクラウド' + recents: '最近の記事' + archives: 'アーカイブ' + categories: 'カテゴリ' + links: 'リンク' + tags: 'タグ' + tag_cloud: 'タグクラウド' article: - comments: 'コメント' - share: '共有' - catalogue: 'カタログ' + comments: 'コメント' + share: '共有' + catalogue: 'カタログ' profile: - follow: 'フォローする' - post: '投稿' - tag: 'タグ' - posts: '投稿' - tags: 'タグ' + follow: 'フォローする' + post: '投稿' + tag: 'タグ' + posts: '投稿' + tags: 'タグ' diff --git a/languages/ru.yml b/languages/ru.yml index 4193484..8b32591 100644 --- a/languages/ru.yml +++ b/languages/ru.yml @@ -1,29 +1,29 @@ index: - home: 'Главная' - search: 'Поиск' - archive: 'архив' - category: 'категории' - uncategorized: 'без категории' - tag: 'тэг' + home: 'Главная' + search: 'Поиск' + archive: 'архив' + category: 'категории' + uncategorized: 'без категории' + tag: 'тэг' nav: - next: 'Далее' - prev: 'Назад' - older: 'Старые' - newer: 'Новые' + next: 'Далее' + prev: 'Назад' + older: 'Старые' + newer: 'Новые' widget: - recents: 'недавние' - archives: 'архивы' - categories: 'категории' - links: 'ссылки' - tags: 'тэги' - tag_cloud: 'облако тэгов' + recents: 'недавние' + archives: 'архивы' + categories: 'категории' + links: 'ссылки' + tags: 'тэги' + tag_cloud: 'облако тэгов' article: - comments: 'Комментарии' - share: 'Поделиться' - catalogue: 'Каталог' + comments: 'Комментарии' + share: 'Поделиться' + catalogue: 'Каталог' profile: - follow: 'Подписаться' - post: 'пост' - tag: 'тэг' - posts: 'посты' - tags: 'тэги' + follow: 'Подписаться' + post: 'пост' + tag: 'тэг' + posts: 'посты' + tags: 'тэги' diff --git a/languages/zh-CN.yml b/languages/zh-CN.yml index 2229c4e..eabc7da 100644 --- a/languages/zh-CN.yml +++ b/languages/zh-CN.yml @@ -1,29 +1,30 @@ index: - home: '主页' - search: '搜索' - archive: '归档' - category: '分类' - uncategorized: '未分类' - tag: '标签' + home: '主页' + search: '搜索' + archive: '归档' + category: '分类' + uncategorized: '未分类' + tag: '标签' nav: - next: '下一页' - prev: '上一页' - older: '下一篇' - newer: '上一篇' + next: '下一页' + prev: '上一页' + older: '下一篇' + newer: '上一篇' widget: - recents: '最新文章' - archives: '归档' - categories: '分类' - links: '链接' - tags: '标签' - tag_cloud: '标签云' + recents: '最新文章' + archives: '归档' + categories: '分类' + links: '链接' + tags: '标签' + tag_cloud: '标签云' article: - comments: '评论' - share: '分享到' - catalogue: '文章目录' + more: '查看更多' + comments: '评论' + share: '分享到' + catalogue: '文章目录' profile: - follow: '关注我' - post: '文章' - tag: '标签' - posts: '文章' - tags: '标签' + follow: '关注我' + post: '文章' + tag: '标签' + posts: '文章' + tags: '标签' diff --git a/languages/zh-TW.yml b/languages/zh-TW.yml index 4055617..9f357c6 100644 --- a/languages/zh-TW.yml +++ b/languages/zh-TW.yml @@ -1,29 +1,29 @@ index: - home: '主頁' - search: '搜尋' - archive: '歸檔' - category: '分類' - uncategorized: '未分類' - tag: '標籤' + home: '主頁' + search: '搜尋' + archive: '歸檔' + category: '分類' + uncategorized: '未分類' + tag: '標籤' nav: - next: '下一頁' - prev: '上一頁' - older: '下一篇' - newer: '上一篇' + next: '下一頁' + prev: '上一頁' + older: '下一篇' + newer: '上一篇' widget: - recents: '最新文章' - archives: '歸檔' - categories: '分類' - links: '連結' - tags: '標籤' - tag_cloud: '標籤雲' + recents: '最新文章' + archives: '歸檔' + categories: '分類' + links: '連結' + tags: '標籤' + tag_cloud: '標籤雲' article: - comments: '評論' - share: '分享到' - catalogue: '文章目錄' + comments: '評論' + share: '分享到' + catalogue: '文章目錄' profile: - follow: '關注我' - post: '文章' - tag: '標籤' - posts: '文章' - tags: '標籤' + follow: '關注我' + post: '文章' + tag: '標籤' + posts: '文章' + tags: '標籤' diff --git a/layout/_partial/after-footer.ejs b/layout/_partial/after-footer.ejs deleted file mode 100644 index f0ad30d..0000000 --- a/layout/_partial/after-footer.ejs +++ /dev/null @@ -1,45 +0,0 @@ - -<% if (config.disqus_shortname){ %> - -<% } else if (config.duoshuo_shortname){ %> - -<% } %> - -<% if (config.swiftype_install_key) { %> - -<% } %> - -<%- partial('cdn_after_footer') %> - -<% if (theme.fancybox){ %> - <%- css('fancybox/jquery.fancybox') %> - <%- js('fancybox/jquery.fancybox.pack') %> -<% } %> - -<%- js('js/script') %> diff --git a/layout/_partial/archive-post.ejs b/layout/_partial/archive-post.ejs deleted file mode 100644 index 420411d..0000000 --- a/layout/_partial/archive-post.ejs +++ /dev/null @@ -1,17 +0,0 @@ -
-
- <% if(theme.thumbnail == true) { %> -
- <%- partial('post/thumbnail.ejs', {post: post}) %> -
- <% } %> -
- <%- partial('post/title', {class_name: 'archive-article-title'}) %> - <% if(archive) { %> - <%- partial('post/date', {class_name: 'archive-article-date', date_format: 'MMM D'}) %> - <% } else { %> - <%- partial('post/date', {class_name: 'archive-article-date', date_format: 'YYYY MMM D'}) %> - <% } %> -
-
-
\ No newline at end of file diff --git a/layout/_partial/archive.ejs b/layout/_partial/archive.ejs deleted file mode 100644 index bdad1cf..0000000 --- a/layout/_partial/archive.ejs +++ /dev/null @@ -1,82 +0,0 @@ -<% switch (type) { - case 'archive': - var last; - page.posts.each(function(post, i){ - var year = post.date.year(); - if (last != year){ - if (last != null){ %> - - <% } - last = year; %> -
- <%= year %> -
-
-
- <% } %> - <%- partial('archive-post', {post: post, archive: true}) %> - <% }); - if (page.posts.length){ %> -
- <% } - if (page.total > 1){ %> - - <% } - break; - case 'category': %> -
-
- <%= page.category %> -
-
- <% page.posts.each(function (post, i) { %> - <%- partial('archive-post', {post: post, archive: false}) %> - <% }); %> -
- <% if (page.total > 1){ %> - - <% } - break; - case 'tag': %> -
-
- #<%= page.tag %> -
-
- <% page.posts.each(function (post, i) { %> - <%- partial('archive-post', {post: post, archive: false}) %> - <% }); %> -
- <% if (page.total > 1){ %> - - <% } - break; - default: - page.posts.each(function(post){ %> - <%- partial('article', {post: post, index: true}) %> - <% }) - if (page.total > 1){ %> - - <% } - break; -} %> \ No newline at end of file diff --git a/layout/_partial/article.ejs b/layout/_partial/article.ejs deleted file mode 100644 index 86873bb..0000000 --- a/layout/_partial/article.ejs +++ /dev/null @@ -1,61 +0,0 @@ -
-
- <% if (post.banner){ %> - <%- partial('post/banner') %> - <% } %> - <%- partial('post/gallery') %> - <% if (post.link || post.title){ %> -
- <%- partial('post/title', {class_name: 'article-title'}) %> - -
- <% } %> -
- <% if (post.excerpt && index){ %> - <%- post.excerpt %> - <% if (theme.excerpt_link){ %> -

- <%= theme.excerpt_link %> -

- <% } %> - <% } else { %> - <% if (!index && post.toc){ %> -
- <%= __('article.catalogue') %> - <%- toc(post.content) %> -
-<% } %> - <%- post.content %> - <% } %> -
- -
- <% if (!index){ %> - <%- partial('post/nav') %> - <% } %> -
- -<% if (!index && post.comments && config.disqus_shortname){ %> -
-
- -
-
-<% } else if (!index && post.comments && config.duoshuo_shortname){ %> -
-
- -
-
-<% } %> diff --git a/layout/_partial/cdn_after_footer.ejs b/layout/_partial/cdn_after_footer.ejs deleted file mode 100644 index 8c6bac2..0000000 --- a/layout/_partial/cdn_after_footer.ejs +++ /dev/null @@ -1,7 +0,0 @@ -<% if (theme.cdn == "useso"){ %> - -<% } else if (theme.cdn == "ustc") { %> - -<% } else { %> - -<% } %> diff --git a/layout/_partial/cdn_head.ejs b/layout/_partial/cdn_head.ejs deleted file mode 100644 index 3d7d191..0000000 --- a/layout/_partial/cdn_head.ejs +++ /dev/null @@ -1,10 +0,0 @@ -<% if (theme.cdn == "useso"){ %> - - -<% } else if (theme.cdn == "ustc") { %> - - -<% } else { %> - - -<% } %> diff --git a/layout/_partial/footer.ejs b/layout/_partial/footer.ejs deleted file mode 100644 index 5b2668e..0000000 --- a/layout/_partial/footer.ejs +++ /dev/null @@ -1,11 +0,0 @@ - \ No newline at end of file diff --git a/layout/_partial/google_site_verification.ejs b/layout/_partial/google_site_verification.ejs deleted file mode 100644 index cd0b1bf..0000000 --- a/layout/_partial/google_site_verification.ejs +++ /dev/null @@ -1,3 +0,0 @@ -<% if (theme.google_site_verification){ %> - -<% } %> diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs deleted file mode 100644 index 3772eea..0000000 --- a/layout/_partial/head.ejs +++ /dev/null @@ -1,39 +0,0 @@ - - - - - <% - var title = page.title; - - if (is_archive()){ - title = 'Archives'; - - if (is_month()){ - title += ': ' + page.year + '/' + page.month; - } else if (is_year()){ - title += ': ' + page.year; - } - } else if (is_category()){ - title = 'Category: ' + page.category; - } else if (is_tag()){ - title = 'Tag: ' + page.tag; - } - %> - <% if (title){ %><%= title %> | <% } %><%= config.title %> - - <%- open_graph({twitter_id: theme.twitter, google_plus: theme.google_plus, fb_admins: theme.fb_admins, fb_app_id: theme.fb_app_id}) %> - <% if (theme.rss){ %> - - <% } %> - <% if (theme.favicon){ %> - - <% } %> - <%- partial('cdn_head') %> - <%- css('css/style') %> - <%- css('font-awesome/css/font-awesome.min') %> - <%- partial('google-analytics') %> - <%- partial('google_site_verification') %> - <% if( theme.customstylesheet ){ %> - <%- css('css/'+theme.customstylesheet) %> - <% } %> - \ No newline at end of file diff --git a/layout/_partial/header.ejs b/layout/_partial/header.ejs deleted file mode 100644 index dc012a0..0000000 --- a/layout/_partial/header.ejs +++ /dev/null @@ -1,47 +0,0 @@ - diff --git a/layout/_partial/post/banner.ejs b/layout/_partial/post/banner.ejs deleted file mode 100644 index eb83476..0000000 --- a/layout/_partial/post/banner.ejs +++ /dev/null @@ -1,10 +0,0 @@ -<% if (post.link){ %> - -<% } else if (post.title){ %> - <% if (index){ %> - - <% } else { %> - - <% } %> -<% } %> - diff --git a/layout/_partial/post/category.ejs b/layout/_partial/post/category.ejs deleted file mode 100644 index 49e31f8..0000000 --- a/layout/_partial/post/category.ejs +++ /dev/null @@ -1,11 +0,0 @@ -<% if (post.categories && post.categories.length){ %> -
- - <%- list_categories(post.categories, { - show_count: false, - class: 'article-category', - style: 'none', - separator: '' - }) %> -
-<% } %> \ No newline at end of file diff --git a/layout/_partial/post/date.ejs b/layout/_partial/post/date.ejs deleted file mode 100644 index f0ead26..0000000 --- a/layout/_partial/post/date.ejs +++ /dev/null @@ -1,8 +0,0 @@ -<% if (post.date && !post.hidedate){ %> -
- - - - -
-<% } %> diff --git a/layout/_partial/post/gallery.ejs b/layout/_partial/post/gallery.ejs deleted file mode 100644 index 886c8ec..0000000 --- a/layout/_partial/post/gallery.ejs +++ /dev/null @@ -1,11 +0,0 @@ -<% if (post.photos && post.photos.length){ %> -
-
- <% post.photos.forEach(function(photo, i){ %> - - - - <% }) %> -
-
-<% } %> \ No newline at end of file diff --git a/layout/_partial/post/nav.ejs b/layout/_partial/post/nav.ejs deleted file mode 100644 index acd8a0b..0000000 --- a/layout/_partial/post/nav.ejs +++ /dev/null @@ -1,22 +0,0 @@ -<% if (post.prev || post.next){ %> - -<% } %> diff --git a/layout/_partial/post/tag.ejs b/layout/_partial/post/tag.ejs deleted file mode 100644 index e0f327f..0000000 --- a/layout/_partial/post/tag.ejs +++ /dev/null @@ -1,6 +0,0 @@ -<% if (post.tags && post.tags.length){ %> - <%- list_tags(post.tags, { - show_count: false, - class: 'article-tag' - }) %> -<% } %> \ No newline at end of file diff --git a/layout/_partial/post/thumbnail.ejs b/layout/_partial/post/thumbnail.ejs deleted file mode 100644 index b53b0e4..0000000 --- a/layout/_partial/post/thumbnail.ejs +++ /dev/null @@ -1,38 +0,0 @@ - - <% - var s = ""; - - if (post.thumbnail){ - s = post.thumbnail; - }else if (post.banner){ - s = post.banner; - }else if (post.photos && post.photos.length){ - s = post.photos[0]; - }else{ - var img=/\/ig; - var result = post.content.match(img); - result = img.exec(post.content); - if(result != null) { - for(var i = result.length -1; i; --i){ - s += result[i]+"\n"; - } - } - } - if(s.length > 0){ - if(config.post_asset_folder){ - var pattern = /^[\\{0,1}\/{0,1}]([^\/^\\]+)/, - pattern_ = /([^\/^\\]+)/; - if((ret = pattern.exec(s)) != null) { - if(ret[0].length == s.length) - s = config.root + post.path + ret[1]; - } else if ((ret = pattern_.exec(s)) != null) { - if(ret[0].length == s.length) - s = config.root + post.path + ret[1]; - } - } - %> - - <% } else { %> - - <% } %> - \ No newline at end of file diff --git a/layout/_partial/post/title.ejs b/layout/_partial/post/title.ejs deleted file mode 100644 index 69d646f..0000000 --- a/layout/_partial/post/title.ejs +++ /dev/null @@ -1,15 +0,0 @@ -<% if (post.link){ %> -

- -

-<% } else if (post.title){ %> - <% if (index){ %> -

- <%= post.title %> -

- <% } else { %> -

- <%= post.title %> -

- <% } %> -<% } %> \ No newline at end of file diff --git a/layout/_partial/profile.ejs b/layout/_partial/profile.ejs deleted file mode 100644 index 8c3a176..0000000 --- a/layout/_partial/profile.ejs +++ /dev/null @@ -1,38 +0,0 @@ - diff --git a/layout/_partial/sidebar.ejs b/layout/_partial/sidebar.ejs deleted file mode 100644 index 6d7fd2e..0000000 --- a/layout/_partial/sidebar.ejs +++ /dev/null @@ -1,6 +0,0 @@ - \ No newline at end of file diff --git a/layout/_widget/archive.ejs b/layout/_widget/archive.ejs deleted file mode 100644 index c76c354..0000000 --- a/layout/_widget/archive.ejs +++ /dev/null @@ -1,8 +0,0 @@ -<% if (site.posts.length){ %> -
-

<%= __('widget.archives') %>

-
- <%- list_archives() %> -
-
-<% } %> \ No newline at end of file diff --git a/layout/_widget/category.ejs b/layout/_widget/category.ejs deleted file mode 100644 index 2f5a1a2..0000000 --- a/layout/_widget/category.ejs +++ /dev/null @@ -1,8 +0,0 @@ -<% if (site.categories.length){ %> -
-

<%= __('widget.categories') %>

-
- <%- list_categories() %> -
-
-<% } %> \ No newline at end of file diff --git a/layout/_widget/links.ejs b/layout/_widget/links.ejs deleted file mode 100644 index 832ac4f..0000000 --- a/layout/_widget/links.ejs +++ /dev/null @@ -1,14 +0,0 @@ -<% if (site.posts.length){ %> -
-

<%= __('widget.links') %>

-
-
    - <% for (var i in theme.links){ %> -
  • - <%= i %> -
  • - <% } %> -
-
-
-<% } %> diff --git a/layout/_widget/recent_posts.ejs b/layout/_widget/recent_posts.ejs deleted file mode 100644 index 8373c43..0000000 --- a/layout/_widget/recent_posts.ejs +++ /dev/null @@ -1,23 +0,0 @@ -<% if (site.posts.length){ %> -
-

<%= __('widget.recents') %>

-
-
    - <% site.posts.sort('date', -1).limit(5).each(function(post){ %> -
  • - <% if(theme.thumbnail == true) { %> -
    - <%- partial('../_partial/post/thumbnail.ejs', {post: post}) %> -
    - <% } %> -
    -

    <%- list_categories(post.categories, {show_count: false, depth:2, class: 'article-category', style: 'none', separator: ''}) %>

    -

    <%= post.title %>

    -

    -
    -
  • - <% }) %> -
-
-
-<% } %> \ No newline at end of file diff --git a/layout/_widget/tag.ejs b/layout/_widget/tag.ejs deleted file mode 100644 index 48eface..0000000 --- a/layout/_widget/tag.ejs +++ /dev/null @@ -1,8 +0,0 @@ -<% if (site.tags.length){ %> -
-

<%= __('widget.tags') %>

-
- <%- list_tags() %> -
-
-<% } %> \ No newline at end of file diff --git a/layout/_widget/tagcloud.ejs b/layout/_widget/tagcloud.ejs deleted file mode 100644 index 4b01a63..0000000 --- a/layout/_widget/tagcloud.ejs +++ /dev/null @@ -1,8 +0,0 @@ -<% if (site.tags.length){ %> -
-

<%= __('widget.tag_cloud') %>

-
- <%- tagcloud() %> -
-
-<% } %> \ No newline at end of file diff --git a/layout/archive.ejs b/layout/archive.ejs index 2094fb9..7cac829 100644 --- a/layout/archive.ejs +++ b/layout/archive.ejs @@ -1 +1 @@ -<%- partial('_partial/archive', {type: 'archive', index: true}) %> \ No newline at end of file +<%- partial('common/archive', {type: 'archive', index: true}) %> \ No newline at end of file diff --git a/layout/categories.ejs b/layout/categories.ejs index b9b3bb1..bcca277 100644 --- a/layout/categories.ejs +++ b/layout/categories.ejs @@ -1,10 +1,10 @@
-
- <%= page.title %> -
-
- <% if(site.categories.length) { %> - <%- list_categories(site.categories) %> - <% } %> -
+
+ <%= page.title %> +
+
+ <% if(site.categories.length) { %> + <%- list_categories(site.categories) %> + <% } %> +
\ No newline at end of file diff --git a/layout/category.ejs b/layout/category.ejs index 8806cc2..26aa213 100644 --- a/layout/category.ejs +++ b/layout/category.ejs @@ -1 +1 @@ -<%- partial('_partial/archive', {type: 'category', index: true}) %> \ No newline at end of file +<%- partial('common/archive', {type: 'category', index: true}) %> \ No newline at end of file diff --git a/layout/comment/disqus.ejs b/layout/comment/disqus.ejs new file mode 100644 index 0000000..aa2ca40 --- /dev/null +++ b/layout/comment/disqus.ejs @@ -0,0 +1,19 @@ +
+ +
+ \ No newline at end of file diff --git a/layout/comment/duoshuo.ejs b/layout/comment/duoshuo.ejs new file mode 100644 index 0000000..e879df2 --- /dev/null +++ b/layout/comment/duoshuo.ejs @@ -0,0 +1,49 @@ +
+ + \ No newline at end of file diff --git a/layout/comment/index.ejs b/layout/comment/index.ejs new file mode 100644 index 0000000..52ede1f --- /dev/null +++ b/layout/comment/index.ejs @@ -0,0 +1,11 @@ +<% if (post.comments) { %> +
+<% if (theme.comment.disqus) { %> + <%- partial('comment/disqus') %> +<% } else if (theme.comment.duoshuo) { %> + <%- partial('comment/duoshuo') %> +<% } else if (theme.comment.youyan) { %> + <%- partial('comment/youyan') %> +<% } %> +
+<% } %> \ No newline at end of file diff --git a/layout/comment/youyan.ejs b/layout/comment/youyan.ejs new file mode 100644 index 0000000..3cc6e2c --- /dev/null +++ b/layout/comment/youyan.ejs @@ -0,0 +1,2 @@ +
+ \ No newline at end of file diff --git a/layout/common/archive-post.ejs b/layout/common/archive-post.ejs new file mode 100644 index 0000000..0be9d10 --- /dev/null +++ b/layout/common/archive-post.ejs @@ -0,0 +1,17 @@ +
+
+ <% if(theme.customize.thumbnail == true) { %> +
+ <%- partial('thumbnail.ejs', {post: post}) %> +
+ <% } %> +
+ <%- partial('post/title', {class_name: 'archive-article-title'}) %> + <% if(archive) { %> + <%- partial('post/date', {class_name: 'archive-article-date', date_format: 'MMM D'}) %> + <% } else { %> + <%- partial('post/date', {class_name: 'archive-article-date', date_format: 'YYYY MMM D'}) %> + <% } %> +
+
+
\ No newline at end of file diff --git a/layout/common/archive.ejs b/layout/common/archive.ejs new file mode 100644 index 0000000..4506c8f --- /dev/null +++ b/layout/common/archive.ejs @@ -0,0 +1,82 @@ +<% switch (type) { + case 'archive': + var last; + page.posts.each(function(post, i) { + var year = post.date.year(); + if (last != year) { + if (last != null) { %> + + <% } + last = year; %> +
+ <%= year %> +
+
+
+ <% } %> + <%- partial('archive-post', {post: post, archive: true}) %> + <% }); + if (page.posts.length) { %> +
+ <% } + if (page.total > 1) { %> + + <% } + break; + case 'category': %> +
+
+ <%= page.category %> +
+
+ <% page.posts.each(function (post, i) { %> + <%- partial('archive-post', {post: post, archive: false}) %> + <% }); %> +
+ <% if (page.total > 1) { %> + + <% } + break; + case 'tag': %> +
+
+ #<%= page.tag %> +
+
+ <% page.posts.each(function (post, i) { %> + <%- partial('archive-post', {post: post, archive: false}) %> + <% }); %> +
+ <% if (page.total > 1) { %> + + <% } + break; + default: + page.posts.each(function(post) { %> + <%- partial('article', {post: post, index: true}) %> + <% }) + if (page.total > 1) { %> + + <% } + break; +} %> \ No newline at end of file diff --git a/layout/common/article.ejs b/layout/common/article.ejs new file mode 100644 index 0000000..245b538 --- /dev/null +++ b/layout/common/article.ejs @@ -0,0 +1,49 @@ +
+
+ <% if (post.banner) { %> + <%- partial('post/banner') %> + <% } %> + <%- partial('post/gallery') %> + <% if (post.link || post.title) { %> +
+ <%- partial('post/title', {class_name: 'article-title'}) %> + +
+ <% } %> +
+ <% if (index) { %> + <%- excerpt(post) %> +

+ <%= __('article.more') %> +

+ <% } else { %> + <% if (!index && post.toc) { %> +
+ <%= __('article.catalogue') %> + <%- toc(post.content) %> +
+ <% } %> + <%- post.content %> + <% } %> +
+ +
+ <% if (!index) { %> + <%- partial('post/nav') %> + <% } %> +
+ +<% if (!index) { %> + <%- partial('comment/index') %> +<% } %> \ No newline at end of file diff --git a/layout/common/footer.ejs b/layout/common/footer.ejs new file mode 100644 index 0000000..e9c9067 --- /dev/null +++ b/layout/common/footer.ejs @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/layout/common/head.ejs b/layout/common/head.ejs new file mode 100644 index 0000000..3a5a005 --- /dev/null +++ b/layout/common/head.ejs @@ -0,0 +1,46 @@ + + + + + <% + var title = page.title; + if (is_archive()) { + title = __('index.archive'); + if (is_month()) { + title += ': ' + page.year + '/' + page.month; + } else if (is_year()) { + title += ': ' + page.year; + } + } else if (is_category()) { + title = __('index.category') + ': ' + page.category; + } else if (is_tag()) { + title = __('index.tag') + ': ' + page.tag; + } + %> + <% if (title) { %><%= title %> | <% } %><%= config.title %> + + <%- open_graph({ + image: thumbnail(page), + fb_app_id: theme.miscellaneous.open_graph.fb_app_id, + fb_admins: theme.miscellaneous.open_graph.fb_admins, + twitter_id: theme.miscellaneous.open_graph.twitter_id, + google_plus: theme.miscellaneous.open_graph.google_plus, + }) %> + + <% if (theme.rss) { %> + + <% } %> + + <% if (theme.customize.favicon) { %> + + <% } %> + + <%- css('vendor/font-awesome/css/font-awesome.min') %> + <%- css('vendor/open-sans/styles') %> + <%- css('vendor/source-code-pro/styles') %> + + <%- css('css/style') %> + + <%- js('vendor/jquery/2.1.3/jquery.min') %> + <%- partial('plugin/scripts', { isHead: true }) %> + \ No newline at end of file diff --git a/layout/common/header.ejs b/layout/common/header.ejs new file mode 100644 index 0000000..06d5bdf --- /dev/null +++ b/layout/common/header.ejs @@ -0,0 +1,38 @@ + diff --git a/layout/common/post/banner.ejs b/layout/common/post/banner.ejs new file mode 100644 index 0000000..5e9b552 --- /dev/null +++ b/layout/common/post/banner.ejs @@ -0,0 +1,14 @@ +<% if (post.link) { %> + +<% } else if (post.title) { %> + <% if (index) { %> + + <% } else { %> + + <% } %> +<% } %> + diff --git a/layout/common/post/category.ejs b/layout/common/post/category.ejs new file mode 100644 index 0000000..bb83964 --- /dev/null +++ b/layout/common/post/category.ejs @@ -0,0 +1,11 @@ +<% if (post.categories && post.categories.length) { %> +
+ + <%- list_categories(post.categories, { + show_count: false, + class: 'article-category', + style: 'none', + separator: '' + }) %> +
+<% } %> \ No newline at end of file diff --git a/layout/common/post/date.ejs b/layout/common/post/date.ejs new file mode 100644 index 0000000..cf9a46b --- /dev/null +++ b/layout/common/post/date.ejs @@ -0,0 +1,8 @@ +<% if (post.date && !post.hidedate) { %> +
+ + + + +
+<% } %> diff --git a/layout/common/post/gallery.ejs b/layout/common/post/gallery.ejs new file mode 100644 index 0000000..19836b0 --- /dev/null +++ b/layout/common/post/gallery.ejs @@ -0,0 +1,11 @@ +<% if (post.photos && post.photos.length) { %> +
+
+ <% post.photos.forEach(function(photo, i) { %> + + + + <% }) %> +
+
+<% } %> \ No newline at end of file diff --git a/layout/common/post/nav.ejs b/layout/common/post/nav.ejs new file mode 100644 index 0000000..8b4a6bf --- /dev/null +++ b/layout/common/post/nav.ejs @@ -0,0 +1,22 @@ +<% if (post.prev || post.next) { %> + +<% } %> diff --git a/layout/common/post/tag.ejs b/layout/common/post/tag.ejs new file mode 100644 index 0000000..40aa70a --- /dev/null +++ b/layout/common/post/tag.ejs @@ -0,0 +1,6 @@ +<% if (post.tags && post.tags.length) { %> + <%- list_tags(post.tags, { + show_count: false, + class: 'article-tag' + }) %> +<% } %> \ No newline at end of file diff --git a/layout/common/post/title.ejs b/layout/common/post/title.ejs new file mode 100644 index 0000000..e9b77ee --- /dev/null +++ b/layout/common/post/title.ejs @@ -0,0 +1,15 @@ +<% if (post.link) { %> +

+ +

+<% } else if (post.title) { %> + <% if (index) { %> +

+ <%= post.title %> +

+ <% } else { %> +

+ <%= post.title %> +

+ <% } %> +<% } %> \ No newline at end of file diff --git a/layout/common/profile.ejs b/layout/common/profile.ejs new file mode 100644 index 0000000..6ed8904 --- /dev/null +++ b/layout/common/profile.ejs @@ -0,0 +1,33 @@ +<% var profile = theme.customize.profile; %> + diff --git a/layout/common/scripts.ejs b/layout/common/scripts.ejs new file mode 100644 index 0000000..e182f66 --- /dev/null +++ b/layout/common/scripts.ejs @@ -0,0 +1,4 @@ +<%- partial('plugin/scripts') %> + + +<%- js('js/main') %> diff --git a/layout/common/sidebar.ejs b/layout/common/sidebar.ejs new file mode 100644 index 0000000..eaf232e --- /dev/null +++ b/layout/common/sidebar.ejs @@ -0,0 +1,6 @@ + \ No newline at end of file diff --git a/layout/common/thumbnail.ejs b/layout/common/thumbnail.ejs new file mode 100644 index 0000000..7b8905b --- /dev/null +++ b/layout/common/thumbnail.ejs @@ -0,0 +1,8 @@ + + <% var thumbnailUrl = thumbnail(post) %> + <% if (thumbnailUrl) { %> + + <% } else { %> + + <% } %> + \ No newline at end of file diff --git a/layout/index.ejs b/layout/index.ejs index 5c86290..b054932 100644 --- a/layout/index.ejs +++ b/layout/index.ejs @@ -1 +1 @@ -<%- partial('_partial/archive', {type: '', index: true}) %> \ No newline at end of file +<%- partial('common/archive', {type: '', index: true}) %> \ No newline at end of file diff --git a/layout/layout.ejs b/layout/layout.ejs index d4b1d30..3e6d030 100644 --- a/layout/layout.ejs +++ b/layout/layout.ejs @@ -1,18 +1,18 @@ -<%- partial('_partial/head') %> +<%- partial('common/head') %> -
- <%- partial('_partial/header') %> -
- <% if (theme.profile){ %> - <%- partial('_partial/profile', null, {cache: !config.relative_link}) %> - <% } %> -
<%- body %>
- <% if (theme.sidebar){ %> - <%- partial('_partial/sidebar', null, {cache: !config.relative_link}) %> - <% } %> +
+ <%- partial('common/header') %> +
+ <% if (theme.customize.profile.enabled) { %> + <%- partial('common/profile', null, {cache: !config.relative_link}) %> + <% } %> +
<%- body %>
+ <% if (theme.customize.sidebar) { %> + <%- partial('common/sidebar', null, {cache: !config.relative_link}) %> + <% } %> +
+ <%- partial('common/footer', null, {cache: !config.relative_link}) %> + <%- partial('common/scripts') %>
- <%- partial('_partial/footer', null, {cache: !config.relative_link}) %> - <%- partial('_partial/after-footer') %> -
\ No newline at end of file diff --git a/layout/page.ejs b/layout/page.ejs index bea6318..56fa8fb 100644 --- a/layout/page.ejs +++ b/layout/page.ejs @@ -1 +1 @@ -<%- partial('_partial/article', {post: page, index: false}) %> \ No newline at end of file +<%- partial('common/article', {post: page, index: false}) %> \ No newline at end of file diff --git a/layout/plugin/baidu-analytics.ejs b/layout/plugin/baidu-analytics.ejs new file mode 100644 index 0000000..dd30d9b --- /dev/null +++ b/layout/plugin/baidu-analytics.ejs @@ -0,0 +1,9 @@ + diff --git a/layout/_partial/google-analytics.ejs b/layout/plugin/google-analytics.ejs similarity index 54% rename from layout/_partial/google-analytics.ejs rename to layout/plugin/google-analytics.ejs index 84e75f0..16636e4 100644 --- a/layout/_partial/google-analytics.ejs +++ b/layout/plugin/google-analytics.ejs @@ -1,14 +1,10 @@ -<% if (theme.google_analytics){ %> - - -<% } %> + \ No newline at end of file diff --git a/layout/plugin/scripts.ejs b/layout/plugin/scripts.ejs new file mode 100644 index 0000000..72b437d --- /dev/null +++ b/layout/plugin/scripts.ejs @@ -0,0 +1,18 @@ +<% if (typeof(isHead) !== 'undefined' && isHead) { %> + <% if (theme.plugins.fancybox) { %> + <%- css('vendor/fancybox/jquery.fancybox') %> + <% } %> + <% if (theme.plugins.google_analytics) { %> + <%- partial('plugin/google-analytics') %> + <% } %> + <% if (theme.plugins.google_site_verification) { %> + + <% } %> + <% if (theme.plugins.baidu_analytics) { %> + <%- partial('plugin/baidu-analytics') %> + <% } %> +<% } else { %> + <% if (theme.plugins.fancybox) { %> + <%- js('vendor/fancybox/jquery.fancybox.pack') %> + <% } %> +<% } %> \ No newline at end of file diff --git a/layout/post.ejs b/layout/post.ejs index bea6318..56fa8fb 100644 --- a/layout/post.ejs +++ b/layout/post.ejs @@ -1 +1 @@ -<%- partial('_partial/article', {post: page, index: false}) %> \ No newline at end of file +<%- partial('common/article', {post: page, index: false}) %> \ No newline at end of file diff --git a/layout/search/baidu.ejs b/layout/search/baidu.ejs new file mode 100644 index 0000000..b45ab6e --- /dev/null +++ b/layout/search/baidu.ejs @@ -0,0 +1,13 @@ +
+ + +
+ \ No newline at end of file diff --git a/layout/search/index-mobile.ejs b/layout/search/index-mobile.ejs new file mode 100644 index 0000000..df29642 --- /dev/null +++ b/layout/search/index-mobile.ejs @@ -0,0 +1,9 @@ +<% if (theme.search.swiftype) { %> +
+ +
+<% } else if (theme.search.baidu) { %> + <%- partial('search/baidu') %> +<% } else { %> + <%- search_form({text: __('index.search')}) %> +<% } %> \ No newline at end of file diff --git a/layout/search/index.ejs b/layout/search/index.ejs new file mode 100644 index 0000000..5a17f9b --- /dev/null +++ b/layout/search/index.ejs @@ -0,0 +1,13 @@ +
+<% if (theme.search.swiftype) { %> +
+ + +
+ <%- partial('search/swiftype') %> +<% } else if (theme.search.baidu) { %> + <%- partial('search/baidu') %> +<% } else { %> + <%- search_form({ button: ' ', text: __('index.search') }) %> +<% } %> +
\ No newline at end of file diff --git a/layout/search/swiftype.ejs b/layout/search/swiftype.ejs new file mode 100644 index 0000000..896117f --- /dev/null +++ b/layout/search/swiftype.ejs @@ -0,0 +1,26 @@ + + \ No newline at end of file diff --git a/layout/share/addtoany.ejs b/layout/share/addtoany.ejs new file mode 100644 index 0000000..4d00ca2 --- /dev/null +++ b/layout/share/addtoany.ejs @@ -0,0 +1,52 @@ +
+ Share + + + + + + +
+ + \ No newline at end of file diff --git a/layout/share/bdshare.ejs b/layout/share/bdshare.ejs new file mode 100644 index 0000000..99a89f9 --- /dev/null +++ b/layout/share/bdshare.ejs @@ -0,0 +1,34 @@ + + + \ No newline at end of file diff --git a/layout/share/default.ejs b/layout/share/default.ejs new file mode 100644 index 0000000..27b30b9 --- /dev/null +++ b/layout/share/default.ejs @@ -0,0 +1,65 @@ +<%=__('article.share')%> + \ No newline at end of file diff --git a/layout/share/index.ejs b/layout/share/index.ejs new file mode 100644 index 0000000..2623fdb --- /dev/null +++ b/layout/share/index.ejs @@ -0,0 +1,14 @@ + +<% if (!theme.share || theme.share === 'default') { %> + <%- partial('default', { post: post }) %> +<% } %> \ No newline at end of file diff --git a/layout/share/jiathis.ejs b/layout/share/jiathis.ejs new file mode 100644 index 0000000..9413d8a --- /dev/null +++ b/layout/share/jiathis.ejs @@ -0,0 +1,50 @@ +
+ 分享到: + QQ空间 + 新浪微博 + 腾讯微博 + 微信 + 更多 + +
+ + \ No newline at end of file diff --git a/layout/tag.ejs b/layout/tag.ejs index 54a50c7..35cb35a 100644 --- a/layout/tag.ejs +++ b/layout/tag.ejs @@ -1 +1 @@ -<%- partial('_partial/archive', {type: 'tag', index: true}) %> \ No newline at end of file +<%- partial('common/archive', {type: 'tag', index: true}) %> \ No newline at end of file diff --git a/layout/tags.ejs b/layout/tags.ejs index 5dcbde6..3c17ec7 100644 --- a/layout/tags.ejs +++ b/layout/tags.ejs @@ -1,10 +1,10 @@
-
- <%= page.title %> -
-
- <% if(site.tags.length) { %> - <%- tagcloud({min_font: 14, max_font: 28}) %> - <% } %> -
+
+ <%= page.title %> +
+
+ <% if(site.tags.length) { %> + <%- tagcloud({min_font: 14, max_font: 28}) %> + <% } %> +
\ No newline at end of file diff --git a/layout/widget/archive.ejs b/layout/widget/archive.ejs new file mode 100644 index 0000000..3a3dd3c --- /dev/null +++ b/layout/widget/archive.ejs @@ -0,0 +1,8 @@ +<% if (site.posts.length) { %> +
+

<%= __('widget.archives') %>

+
+ <%- list_archives() %> +
+
+<% } %> \ No newline at end of file diff --git a/layout/widget/category.ejs b/layout/widget/category.ejs new file mode 100644 index 0000000..5a7713c --- /dev/null +++ b/layout/widget/category.ejs @@ -0,0 +1,8 @@ +<% if (site.categories.length) { %> +
+

<%= __('widget.categories') %>

+
+ <%- list_categories() %> +
+
+<% } %> \ No newline at end of file diff --git a/layout/widget/links.ejs b/layout/widget/links.ejs new file mode 100644 index 0000000..70b187f --- /dev/null +++ b/layout/widget/links.ejs @@ -0,0 +1,14 @@ +<% if (site.posts.length) { %> +
+

<%= __('widget.links') %>

+
+
    + <% for (var i in theme.miscellaneous.links) { %> +
  • + <%= i %> +
  • + <% } %> +
+
+
+<% } %> diff --git a/layout/widget/recent_posts.ejs b/layout/widget/recent_posts.ejs new file mode 100644 index 0000000..86e8e47 --- /dev/null +++ b/layout/widget/recent_posts.ejs @@ -0,0 +1,23 @@ +<% if (site.posts.length) { %> +
+

<%= __('widget.recents') %>

+
+
    + <% site.posts.sort('date', -1).limit(5).each(function(post) { %> +
  • + <% if(theme.customize.thumbnail == true) { %> +
    + <%- partial('common/thumbnail.ejs', {post: post}) %> +
    + <% } %> +
    +

    <%- list_categories(post.categories, {show_count: false, depth:2, class: 'article-category', style: 'none', separator: ''}) %>

    +

    <%= post.title %>

    +

    +
    +
  • + <% }) %> +
+
+
+<% } %> \ No newline at end of file diff --git a/layout/widget/tag.ejs b/layout/widget/tag.ejs new file mode 100644 index 0000000..a96abfc --- /dev/null +++ b/layout/widget/tag.ejs @@ -0,0 +1,8 @@ +<% if (site.tags.length) { %> +
+

<%= __('widget.tags') %>

+
+ <%- list_tags() %> +
+
+<% } %> \ No newline at end of file diff --git a/layout/widget/tagcloud.ejs b/layout/widget/tagcloud.ejs new file mode 100644 index 0000000..0b24ef6 --- /dev/null +++ b/layout/widget/tagcloud.ejs @@ -0,0 +1,8 @@ +<% if (site.tags.length) { %> +
+

<%= __('widget.tag_cloud') %>

+
+ <%- tagcloud() %> +
+
+<% } %> \ No newline at end of file diff --git a/scripts/excerpt.js b/scripts/excerpt.js new file mode 100644 index 0000000..8a22037 --- /dev/null +++ b/scripts/excerpt.js @@ -0,0 +1,15 @@ +/** +* Excerpt Helper +* @description Get the excerpt from a post +* @example +* <%- excerpt(post) %> +*/ +hexo.extend.helper.register('excerpt', function (post) { + var excerpt; + if (post.excerpt) { + excerpt = post.excerpt.replace(/\<[^\>]+\>/g, ''); + } else { + excerpt = post.content.replace(/\<[^\>]+\>/g, '').substring(0, 200); + } + return excerpt; +}); \ No newline at end of file diff --git a/scripts/fancybox.js b/scripts/fancybox.js index 83f1fdc..19e48cd 100644 --- a/scripts/fancybox.js +++ b/scripts/fancybox.js @@ -8,17 +8,17 @@ var rUrl = /((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:ww */ hexo.extend.tag.register('fancybox', function(args){ - var original = args.shift(), - thumbnail = ''; + var original = args.shift(), + thumbnail = ''; - if (args.length && rUrl.test(args[0])){ - thumbnail = args.shift(); - } + if (args.length && rUrl.test(args[0])){ + thumbnail = args.shift(); + } - var title = args.join(' '); + var title = args.join(' '); - return '' + - '' + title + '' - '' + - (title ? '' + title + '' : ''); + return '' + + '' + title + '' + '' + + (title ? '' + title + '' : ''); }); \ No newline at end of file diff --git a/scripts/thumbnail.js b/scripts/thumbnail.js new file mode 100644 index 0000000..e71ae99 --- /dev/null +++ b/scripts/thumbnail.js @@ -0,0 +1,30 @@ +/** +* Thumbnail Helper +* @description Get the thumbnail url from a post +* @example +* <%- thumbnail(post) %> +*/ +hexo.extend.helper.register('thumbnail', function (post) { + var url = post.thumbnail || post.banner || ''; + if (!url) { + var imgPattern = /\/ig; + var result = imgPattern.exec(post.content); + if (result && result.length > 1) { + url = result[1]; + } + if(url.length > 0) { + var pattern = /^[\\{0,1}\/{0,1}]([^\/^\\]+)/, + pattern_ = /([^\/^\\]+)/; + if ((ret = pattern.exec(url)) != null) { + if(ret[0].length == url.length) { + url = post.path + ret[1]; + } + } else if ((ret = pattern_.exec(url)) != null) { + if(ret[0].length == url.length) { + url = post.path + ret[1]; + } + } + } + } + return url; +}); \ No newline at end of file diff --git a/source/css/_extend.styl b/source/css/_extend.styl index 16538fb..1e41665 100644 --- a/source/css/_extend.styl +++ b/source/css/_extend.styl @@ -1,65 +1,65 @@ $link-dark - &, - &:visited - color: color-default - transition: 0.2s ease - &:hover, - &:visited:hover - color: color-link + &, + &:visited + color: color-default + transition: 0.2s ease + &:hover, + &:visited:hover + color: color-link $block-caption - text-decoration: none - text-transform: uppercase - color: color-grey - line-height: 1em + text-decoration: none + text-transform: uppercase + color: color-grey + line-height: 1em $block - background: #fff - box-shadow: 0 1px 2px rgba(0,0,0,0.05) + background: #fff + box-shadow: 0 1px 2px rgba(0,0,0,0.05) $base-style - h1 - font-size: 2em - h2 - font-size: 1.5em - h3 - font-size: 1.3em - h4 - font-size: 1.2em - h5 - font-size: 1em - h6 - font-size: 1em - color: color-grey - hr - border: 1px dashed color-border - strong - font-weight: bold - em, cite - font-style: italic - sup, sub - font-size: 0.75em - line-height: 0 - position: relative - vertical-align: baseline - sup - top: -0.5em - sub - bottom: -0.2em - small - font-size: 0.85em - acronym, abbr - border-bottom: 1px dotted - ul, ol, dl - margin: 0 20px - line-height: line-height - ul, ol + h1 + font-size: 2em + h2 + font-size: 1.5em + h3 + font-size: 1.3em + h4 + font-size: 1.2em + h5 + font-size: 1em + h6 + font-size: 1em + color: color-grey + hr + border: 1px dashed color-border + strong + font-weight: bold + em, cite + font-style: italic + sup, sub + font-size: 0.75em + line-height: 0 + position: relative + vertical-align: baseline + sup + top: -0.5em + sub + bottom: -0.2em + small + font-size: 0.85em + acronym, abbr + border-bottom: 1px dotted + ul, ol, dl + margin: 0 20px + line-height: line-height ul, ol - margin-top: 0 - margin-bottom: 0 - ul - list-style: disc - ol - list-style: decimal - dt - font-weight: bold \ No newline at end of file + ul, ol + margin-top: 0 + margin-bottom: 0 + ul + list-style: disc + ol + list-style: decimal + dt + font-weight: bold \ No newline at end of file diff --git a/source/css/_highlight/agate.styl b/source/css/_highlight/agate.styl new file mode 100644 index 0000000..d583869 --- /dev/null +++ b/source/css/_highlight/agate.styl @@ -0,0 +1,89 @@ +/*! + * Agate by Taufik Nurrohman + * ---------------------------------------------------- + * + * #ade5fc + * #a2fca2 + * #c6b4f0 + * #d36363 + * #fcc28c + * #fc9b9b + * #ffa + * #fff + * #333 + * #62c8f3 + * #888 + * + */ + +.highlight + color: white + background: #333 + .code + .name, + .strong + font-weight: bold + + .code, + .emphasis + font-style: italic + + .tag + color: #62c8f3 + + .variable, + .template-variable, + .selector-id, + .selector-class + color: #ade5fc + + .string, + .bullet + color: #a2fca2 + + .type, + .title, + .section, + .attribute, + .quote, + .built_in, + .builtin-name + color: #ffa + + .number, + .symbol, + .bullet + color: #d36363 + + .keyword, + .selector-tag, + .literal + color: #fcc28c + + .comment, + .deletion, + .code + color: #888 + + .regexp, + .link + color: #c6b4f0 + + .meta + color: #fc9b9b + + .deletion + background-color: #fc9b9b + color: #333 + + .addition + background-color: #a2fca2 + color: #333 + + .highlight a + color: inherit + + .highlight a:focus, + .highlight a:hover + color: inherit + text-decoration: underline diff --git a/source/css/_highlight/androidstudio.styl b/source/css/_highlight/androidstudio.styl new file mode 100644 index 0000000..75a4082 --- /dev/null +++ b/source/css/_highlight/androidstudio.styl @@ -0,0 +1,52 @@ +/* +Date: 24 Fev 2015 +Author: Pedro Oliveira +*/ + +.highlight + color: #a9b7c6 + background: #282b2e + .code + .number, + .literal, + .symbol, + .bullet + color: #6897BB + + .keyword, + .selector-tag, + .deletion + color: #cc7832 + + .variable, + .template-variable, + .link + color: #629755 + + .comment, + .quote + color: #808080 + + .meta + color: #bbb529 + + .string, + .attribute, + .addition + color: #6A8759 + + .section, + .title, + .type + color: #ffc66d + + .name, + .selector-id, + .selector-class + color: #e8bf6a + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/arduino-light.styl b/source/css/_highlight/arduino-light.styl new file mode 100644 index 0000000..ee1a42c --- /dev/null +++ b/source/css/_highlight/arduino-light.styl @@ -0,0 +1,71 @@ +/* + +Arduino® Light Theme - Stefania Mellai + +*/ + +.highlight + color: #434f54 + background: #FFFFFF + .code + .subst + color: #434f54 + + .keyword, + .attribute, + .selector-tag, + .doctag, + .name + color: #00979D + + .built_in, + .literal, + .bullet, + .code, + .addition + color: #D35400 + + .regexp, + .symbol, + .variable, + .template-variable, + .link, + .selector-attr, + .selector-pseudo + color: #00979D + + .type, + .string, + .selector-id, + .selector-class, + .quote, + .template-tag, + .deletion + color: #005C5F + + .title, + .section + color: #880000 + font-weight: bold + + .comment + color: rgba(149,165,166,.8) + + .meta-keyword + color: #728E00 + + .meta + color: #728E00 + color: #434f54 + + .emphasis + font-style: italic + + .strong + font-weight: bold + + .function + color: #728E00 + + .number + color: #8A7B52 diff --git a/source/css/_highlight/arta.styl b/source/css/_highlight/arta.styl new file mode 100644 index 0000000..361d6d3 --- /dev/null +++ b/source/css/_highlight/arta.styl @@ -0,0 +1,59 @@ +/* +Date: 17.V.2011 +Author: pumbur +*/ + +.highlight + color: #aaa + background: #222 + .code + .subst + color: #aaa + + .section + color: #fff + + .comment, + .quote, + .meta + color: #444 + + .string, + .symbol, + .bullet, + .regexp + color: #ffcc33 + + .number, + .addition + color: #00cc66 + + .built_in, + .builtin-name, + .literal, + .type, + .template-variable, + .attribute, + .link + color: #32aaee + + .keyword, + .selector-tag, + .name, + .selector-id, + .selector-class + color: #6644aa + + .title, + .variable, + .deletion, + .template-tag + color: #bb1166 + + .section, + .doctag, + .strong + font-weight: bold + + .emphasis + font-style: italic diff --git a/source/css/_highlight/ascetic.styl b/source/css/_highlight/ascetic.styl new file mode 100644 index 0000000..be4c667 --- /dev/null +++ b/source/css/_highlight/ascetic.styl @@ -0,0 +1,37 @@ +/* + +Original style from softwaremaniacs.org (c) Ivan Sagalaev + +*/ + +.highlight + color: black + background: white + .code + .string, + .variable, + .template-variable, + .symbol, + .bullet, + .section, + .addition, + .attribute, + .link + color: #888 + + .comment, + .quote, + .meta, + .deletion + color: #ccc + + .keyword, + .selector-tag, + .section, + .name, + .type, + .strong + font-weight: bold + + .emphasis + font-style: italic diff --git a/source/css/_highlight/atelier-cave-dark.styl b/source/css/_highlight/atelier-cave-dark.styl new file mode 100644 index 0000000..6fc4b15 --- /dev/null +++ b/source/css/_highlight/atelier-cave-dark.styl @@ -0,0 +1,68 @@ +/* Base16 Atelier Cave Dark - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +.highlight + color: #8b8792 + background: #19171c + .code + /* Atelier-Cave Comment */ + .comment, + .quote + color: #7e7887 + + /* Atelier-Cave Red */ + .variable, + .template-variable, + .attribute, + .regexp, + .link, + .tag, + .name, + .selector-id, + .selector-class + color: #be4678 + + /* Atelier-Cave Orange */ + .number, + .meta, + .built_in, + .builtin-name, + .literal, + .type, + .params + color: #aa573c + + /* Atelier-Cave Green */ + .string, + .symbol, + .bullet + color: #2a9292 + + /* Atelier-Cave Blue */ + .title, + .section + color: #576ddb + + /* Atelier-Cave Purple */ + .keyword, + .selector-tag + color: #955ae7 + + .deletion, + .addition + color: #19171c + display: inline-block + width: 100% + + .deletion + background-color: #be4678 + + .addition + background-color: #2a9292 + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/atelier-cave-light.styl b/source/css/_highlight/atelier-cave-light.styl new file mode 100644 index 0000000..55fc770 --- /dev/null +++ b/source/css/_highlight/atelier-cave-light.styl @@ -0,0 +1,70 @@ +/* Base16 Atelier Cave Light - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +.highlight + color: #585260 + background: #efecf4 + .code + /* Atelier-Cave Comment */ + .comment, + .quote + color: #655f6d + + /* Atelier-Cave Red */ + .variable, + .template-variable, + .attribute, + .tag, + .name, + .regexp, + .link, + .name, + .name, + .selector-id, + .selector-class + color: #be4678 + + /* Atelier-Cave Orange */ + .number, + .meta, + .built_in, + .builtin-name, + .literal, + .type, + .params + color: #aa573c + + /* Atelier-Cave Green */ + .string, + .symbol, + .bullet + color: #2a9292 + + /* Atelier-Cave Blue */ + .title, + .section + color: #576ddb + + /* Atelier-Cave Purple */ + .keyword, + .selector-tag + color: #955ae7 + + .deletion, + .addition + color: #19171c + display: inline-block + width: 100% + + .deletion + background-color: #be4678 + + .addition + background-color: #2a9292 + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/atelier-dune-dark.styl b/source/css/_highlight/atelier-dune-dark.styl new file mode 100644 index 0000000..b624a90 --- /dev/null +++ b/source/css/_highlight/atelier-dune-dark.styl @@ -0,0 +1,57 @@ +/* Base16 Atelier Dune Dark - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +.highlight + color: #a6a28c + background: #20201d + .code + /* Atelier-Dune Comment */ + .comment, + .quote + color: #999580 + + /* Atelier-Dune Red */ + .variable, + .template-variable, + .attribute, + .tag, + .name, + .regexp, + .link, + .name, + .selector-id, + .selector-class + color: #d73737 + + /* Atelier-Dune Orange */ + .number, + .meta, + .built_in, + .builtin-name, + .literal, + .type, + .params + color: #b65611 + + /* Atelier-Dune Green */ + .string, + .symbol, + .bullet + color: #60ac39 + + /* Atelier-Dune Blue */ + .title, + .section + color: #6684e1 + + /* Atelier-Dune Purple */ + .keyword, + .selector-tag + color: #b854d4 + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/atelier-dune-light.styl b/source/css/_highlight/atelier-dune-light.styl new file mode 100644 index 0000000..872660f --- /dev/null +++ b/source/css/_highlight/atelier-dune-light.styl @@ -0,0 +1,64 @@ +/* Base16 Atelier Dune Light - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +.highlight + color: #6e6b5e + background: #fefbec + .code + /* Atelier-Dune Comment */ + .comment, + .quote + color: #7d7a68 + + /* Atelier-Dune Red */ + .variable, + .template-variable, + .attribute, + .tag, + .name, + .regexp, + .link, + .name, + .selector-id, + .selector-class + color: #d73737 + + /* Atelier-Dune Orange */ + .number, + .meta, + .built_in, + .builtin-name, + .literal, + .type, + .params + color: #b65611 + + /* Atelier-Dune Green */ + .string, + .symbol, + .bullet + color: #60ac39 + + /* Atelier-Dune Blue */ + .title, + .section + color: #6684e1 + + /* Atelier-Dune Purple */ + .keyword, + .selector-tag + color: #b854d4 + + .highlight + display: block + overflow-x: auto + background: #fefbec + color: #6e6b5e + padding: 0.5em + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/atelier-estuary-dark.styl b/source/css/_highlight/atelier-estuary-dark.styl new file mode 100644 index 0000000..5d83113 --- /dev/null +++ b/source/css/_highlight/atelier-estuary-dark.styl @@ -0,0 +1,69 @@ +/* Base16 Atelier Estuary Dark - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/estuary) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +.highlight + color: #929181 + background: #22221b + .code + /* Atelier-Estuary Comment */ + .comment, + .quote + color: #878573 + + /* Atelier-Estuary Red */ + .variable, + .template-variable, + .attribute, + .tag, + .name, + .regexp, + .link, + .name, + .selector-id, + .selector-class + color: #ba6236 + + /* Atelier-Estuary Orange */ + .number, + .meta, + .built_in, + .builtin-name, + .literal, + .type, + .params + color: #ae7313 + + /* Atelier-Estuary Green */ + .string, + .symbol, + .bullet + color: #7d9726 + + /* Atelier-Estuary Blue */ + .title, + .section + color: #36a166 + + /* Atelier-Estuary Purple */ + .keyword, + .selector-tag + color: #5f9182 + + .deletion, + .addition + color: #22221b + display: inline-block + width: 100% + + .deletion + background-color: #ba6236 + + .addition + background-color: #7d9726 + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/atelier-estuary-light.styl b/source/css/_highlight/atelier-estuary-light.styl new file mode 100644 index 0000000..722bd73 --- /dev/null +++ b/source/css/_highlight/atelier-estuary-light.styl @@ -0,0 +1,69 @@ +/* Base16 Atelier Estuary Light - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/estuary) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +.highlight + color: #5f5e4e + background: #f4f3ec + .code + /* Atelier-Estuary Comment */ + .comment, + .quote + color: #6c6b5a + + /* Atelier-Estuary Red */ + .variable, + .template-variable, + .attribute, + .tag, + .name, + .regexp, + .link, + .name, + .selector-id, + .selector-class + color: #ba6236 + + /* Atelier-Estuary Orange */ + .number, + .meta, + .built_in, + .builtin-name, + .literal, + .type, + .params + color: #ae7313 + + /* Atelier-Estuary Green */ + .string, + .symbol, + .bullet + color: #7d9726 + + /* Atelier-Estuary Blue */ + .title, + .section + color: #36a166 + + /* Atelier-Estuary Purple */ + .keyword, + .selector-tag + color: #5f9182 + + .deletion, + .addition + color: #22221b + display: inline-block + width: 100% + + .deletion + background-color: #ba6236 + + .addition + background-color: #7d9726 + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/atelier-forest-dark.styl b/source/css/_highlight/atelier-forest-dark.styl new file mode 100644 index 0000000..d921690 --- /dev/null +++ b/source/css/_highlight/atelier-forest-dark.styl @@ -0,0 +1,57 @@ +/* Base16 Atelier Forest Dark - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +.highlight + color: #a8a19f + background: #1b1918 + .code + /* Atelier-Forest Comment */ + .comment, + .quote + color: #9c9491 + + /* Atelier-Forest Red */ + .variable, + .template-variable, + .attribute, + .tag, + .name, + .regexp, + .link, + .name, + .selector-id, + .selector-class + color: #f22c40 + + /* Atelier-Forest Orange */ + .number, + .meta, + .built_in, + .builtin-name, + .literal, + .type, + .params + color: #df5320 + + /* Atelier-Forest Green */ + .string, + .symbol, + .bullet + color: #7b9726 + + /* Atelier-Forest Blue */ + .title, + .section + color: #407ee7 + + /* Atelier-Forest Purple */ + .keyword, + .selector-tag + color: #6666ea + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/atelier-forest-light.styl b/source/css/_highlight/atelier-forest-light.styl new file mode 100644 index 0000000..d0bd5c4 --- /dev/null +++ b/source/css/_highlight/atelier-forest-light.styl @@ -0,0 +1,57 @@ +/* Base16 Atelier Forest Light - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +.highlight + color: #68615e + background: #f1efee + .code + /* Atelier-Forest Comment */ + .comment, + .quote + color: #766e6b + + /* Atelier-Forest Red */ + .variable, + .template-variable, + .attribute, + .tag, + .name, + .regexp, + .link, + .name, + .selector-id, + .selector-class + color: #f22c40 + + /* Atelier-Forest Orange */ + .number, + .meta, + .built_in, + .builtin-name, + .literal, + .type, + .params + color: #df5320 + + /* Atelier-Forest Green */ + .string, + .symbol, + .bullet + color: #7b9726 + + /* Atelier-Forest Blue */ + .title, + .section + color: #407ee7 + + /* Atelier-Forest Purple */ + .keyword, + .selector-tag + color: #6666ea + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/atelier-heath-dark.styl b/source/css/_highlight/atelier-heath-dark.styl new file mode 100644 index 0000000..a6a1fec --- /dev/null +++ b/source/css/_highlight/atelier-heath-dark.styl @@ -0,0 +1,57 @@ +/* Base16 Atelier Heath Dark - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +.highlight + color: #ab9bab + background: #1b181b + .code + /* Atelier-Heath Comment */ + .comment, + .quote + color: #9e8f9e + + /* Atelier-Heath Red */ + .variable, + .template-variable, + .attribute, + .tag, + .name, + .regexp, + .link, + .name, + .selector-id, + .selector-class + color: #ca402b + + /* Atelier-Heath Orange */ + .number, + .meta, + .built_in, + .builtin-name, + .literal, + .type, + .params + color: #a65926 + + /* Atelier-Heath Green */ + .string, + .symbol, + .bullet + color: #918b3b + + /* Atelier-Heath Blue */ + .title, + .section + color: #516aec + + /* Atelier-Heath Purple */ + .keyword, + .selector-tag + color: #7b59c0 + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/atelier-heath-light.styl b/source/css/_highlight/atelier-heath-light.styl new file mode 100644 index 0000000..0d3373b --- /dev/null +++ b/source/css/_highlight/atelier-heath-light.styl @@ -0,0 +1,57 @@ +/* Base16 Atelier Heath Light - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +.highlight + color: #695d69 + background: #f7f3f7 + .code + /* Atelier-Heath Comment */ + .comment, + .quote + color: #776977 + + /* Atelier-Heath Red */ + .variable, + .template-variable, + .attribute, + .tag, + .name, + .regexp, + .link, + .name, + .selector-id, + .selector-class + color: #ca402b + + /* Atelier-Heath Orange */ + .number, + .meta, + .built_in, + .builtin-name, + .literal, + .type, + .params + color: #a65926 + + /* Atelier-Heath Green */ + .string, + .symbol, + .bullet + color: #918b3b + + /* Atelier-Heath Blue */ + .title, + .section + color: #516aec + + /* Atelier-Heath Purple */ + .keyword, + .selector-tag + color: #7b59c0 + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/atelier-lakeside-dark.styl b/source/css/_highlight/atelier-lakeside-dark.styl new file mode 100644 index 0000000..7a847bc --- /dev/null +++ b/source/css/_highlight/atelier-lakeside-dark.styl @@ -0,0 +1,57 @@ +/* Base16 Atelier Lakeside Dark - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +.highlight + color: #7ea2b4 + background: #161b1d + .code + /* Atelier-Lakeside Comment */ + .comment, + .quote + color: #7195a8 + + /* Atelier-Lakeside Red */ + .variable, + .template-variable, + .attribute, + .tag, + .name, + .regexp, + .link, + .name, + .selector-id, + .selector-class + color: #d22d72 + + /* Atelier-Lakeside Orange */ + .number, + .meta, + .built_in, + .builtin-name, + .literal, + .type, + .params + color: #935c25 + + /* Atelier-Lakeside Green */ + .string, + .symbol, + .bullet + color: #568c3b + + /* Atelier-Lakeside Blue */ + .title, + .section + color: #257fad + + /* Atelier-Lakeside Purple */ + .keyword, + .selector-tag + color: #6b6bb8 + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/atelier-lakeside-light.styl b/source/css/_highlight/atelier-lakeside-light.styl new file mode 100644 index 0000000..5895b54 --- /dev/null +++ b/source/css/_highlight/atelier-lakeside-light.styl @@ -0,0 +1,57 @@ +/* Base16 Atelier Lakeside Light - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +.highlight + color: #516d7b + background: #ebf8ff + .code + /* Atelier-Lakeside Comment */ + .comment, + .quote + color: #5a7b8c + + /* Atelier-Lakeside Red */ + .variable, + .template-variable, + .attribute, + .tag, + .name, + .regexp, + .link, + .name, + .selector-id, + .selector-class + color: #d22d72 + + /* Atelier-Lakeside Orange */ + .number, + .meta, + .built_in, + .builtin-name, + .literal, + .type, + .params + color: #935c25 + + /* Atelier-Lakeside Green */ + .string, + .symbol, + .bullet + color: #568c3b + + /* Atelier-Lakeside Blue */ + .title, + .section + color: #257fad + + /* Atelier-Lakeside Purple */ + .keyword, + .selector-tag + color: #6b6bb8 + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/atelier-plateau-dark.styl b/source/css/_highlight/atelier-plateau-dark.styl new file mode 100644 index 0000000..55cab16 --- /dev/null +++ b/source/css/_highlight/atelier-plateau-dark.styl @@ -0,0 +1,69 @@ +/* Base16 Atelier Plateau Dark - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/plateau) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +.highlight + color: #8a8585 + background: #1b1818 + .code + /* Atelier-Plateau Comment */ + .comment, + .quote + color: #7e7777 + + /* Atelier-Plateau Red */ + .variable, + .template-variable, + .attribute, + .tag, + .name, + .regexp, + .link, + .name, + .selector-id, + .selector-class + color: #ca4949 + + /* Atelier-Plateau Orange */ + .number, + .meta, + .built_in, + .builtin-name, + .literal, + .type, + .params + color: #b45a3c + + /* Atelier-Plateau Green */ + .string, + .symbol, + .bullet + color: #4b8b8b + + /* Atelier-Plateau Blue */ + .title, + .section + color: #7272ca + + /* Atelier-Plateau Purple */ + .keyword, + .selector-tag + color: #8464c4 + + .deletion, + .addition + color: #1b1818 + display: inline-block + width: 100% + + .deletion + background-color: #ca4949 + + .addition + background-color: #4b8b8b + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/atelier-plateau-light.styl b/source/css/_highlight/atelier-plateau-light.styl new file mode 100644 index 0000000..afa214a --- /dev/null +++ b/source/css/_highlight/atelier-plateau-light.styl @@ -0,0 +1,69 @@ +/* Base16 Atelier Plateau Light - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/plateau) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +.highlight + color: #585050 + background: #f4ecec + .code + /* Atelier-Plateau Comment */ + .comment, + .quote + color: #655d5d + + /* Atelier-Plateau Red */ + .variable, + .template-variable, + .attribute, + .tag, + .name, + .regexp, + .link, + .name, + .selector-id, + .selector-class + color: #ca4949 + + /* Atelier-Plateau Orange */ + .number, + .meta, + .built_in, + .builtin-name, + .literal, + .type, + .params + color: #b45a3c + + /* Atelier-Plateau Green */ + .string, + .symbol, + .bullet + color: #4b8b8b + + /* Atelier-Plateau Blue */ + .title, + .section + color: #7272ca + + /* Atelier-Plateau Purple */ + .keyword, + .selector-tag + color: #8464c4 + + .deletion, + .addition + color: #1b1818 + display: inline-block + width: 100% + + .deletion + background-color: #ca4949 + + .addition + background-color: #4b8b8b + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/atelier-savanna-dark.styl b/source/css/_highlight/atelier-savanna-dark.styl new file mode 100644 index 0000000..fd15ab6 --- /dev/null +++ b/source/css/_highlight/atelier-savanna-dark.styl @@ -0,0 +1,69 @@ +/* Base16 Atelier Savanna Dark - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/savanna) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +.highlight + color: #87928a + background: #171c19 + .code + /* Atelier-Savanna Comment */ + .comment, + .quote + color: #78877d + + /* Atelier-Savanna Red */ + .variable, + .template-variable, + .attribute, + .tag, + .name, + .regexp, + .link, + .name, + .selector-id, + .selector-class + color: #b16139 + + /* Atelier-Savanna Orange */ + .number, + .meta, + .built_in, + .builtin-name, + .literal, + .type, + .params + color: #9f713c + + /* Atelier-Savanna Green */ + .string, + .symbol, + .bullet + color: #489963 + + /* Atelier-Savanna Blue */ + .title, + .section + color: #478c90 + + /* Atelier-Savanna Purple */ + .keyword, + .selector-tag + color: #55859b + + .deletion, + .addition + color: #171c19 + display: inline-block + width: 100% + + .deletion + background-color: #b16139 + + .addition + background-color: #489963 + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/atelier-savanna-light.styl b/source/css/_highlight/atelier-savanna-light.styl new file mode 100644 index 0000000..47e6c62 --- /dev/null +++ b/source/css/_highlight/atelier-savanna-light.styl @@ -0,0 +1,69 @@ +/* Base16 Atelier Savanna Light - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/savanna) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +.highlight + color: #526057 + background: #ecf4ee + .code + /* Atelier-Savanna Comment */ + .comment, + .quote + color: #5f6d64 + + /* Atelier-Savanna Red */ + .variable, + .template-variable, + .attribute, + .tag, + .name, + .regexp, + .link, + .name, + .selector-id, + .selector-class + color: #b16139 + + /* Atelier-Savanna Orange */ + .number, + .meta, + .built_in, + .builtin-name, + .literal, + .type, + .params + color: #9f713c + + /* Atelier-Savanna Green */ + .string, + .symbol, + .bullet + color: #489963 + + /* Atelier-Savanna Blue */ + .title, + .section + color: #478c90 + + /* Atelier-Savanna Purple */ + .keyword, + .selector-tag + color: #55859b + + .deletion, + .addition + color: #171c19 + display: inline-block + width: 100% + + .deletion + background-color: #b16139 + + .addition + background-color: #489963 + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/atelier-seaside-dark.styl b/source/css/_highlight/atelier-seaside-dark.styl new file mode 100644 index 0000000..70b7dd4 --- /dev/null +++ b/source/css/_highlight/atelier-seaside-dark.styl @@ -0,0 +1,57 @@ +/* Base16 Atelier Seaside Dark - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +.highlight + color: #8ca68c + background: #131513 + .code + /* Atelier-Seaside Comment */ + .comment, + .quote + color: #809980 + + /* Atelier-Seaside Red */ + .variable, + .template-variable, + .attribute, + .tag, + .name, + .regexp, + .link, + .name, + .selector-id, + .selector-class + color: #e6193c + + /* Atelier-Seaside Orange */ + .number, + .meta, + .built_in, + .builtin-name, + .literal, + .type, + .params + color: #87711d + + /* Atelier-Seaside Green */ + .string, + .symbol, + .bullet + color: #29a329 + + /* Atelier-Seaside Blue */ + .title, + .section + color: #3d62f5 + + /* Atelier-Seaside Purple */ + .keyword, + .selector-tag + color: #ad2bee + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/atelier-seaside-light.styl b/source/css/_highlight/atelier-seaside-light.styl new file mode 100644 index 0000000..c2287eb --- /dev/null +++ b/source/css/_highlight/atelier-seaside-light.styl @@ -0,0 +1,57 @@ +/* Base16 Atelier Seaside Light - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +.highlight + color: #5e6e5e + background: #f4fbf4 + .code + /* Atelier-Seaside Comment */ + .comment, + .quote + color: #687d68 + + /* Atelier-Seaside Red */ + .variable, + .template-variable, + .attribute, + .tag, + .name, + .regexp, + .link, + .name, + .selector-id, + .selector-class + color: #e6193c + + /* Atelier-Seaside Orange */ + .number, + .meta, + .built_in, + .builtin-name, + .literal, + .type, + .params + color: #87711d + + /* Atelier-Seaside Green */ + .string, + .symbol, + .bullet + color: #29a329 + + /* Atelier-Seaside Blue */ + .title, + .section + color: #3d62f5 + + /* Atelier-Seaside Purple */ + .keyword, + .selector-tag + color: #ad2bee + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/atelier-sulphurpool-dark.styl b/source/css/_highlight/atelier-sulphurpool-dark.styl new file mode 100644 index 0000000..00c9936 --- /dev/null +++ b/source/css/_highlight/atelier-sulphurpool-dark.styl @@ -0,0 +1,57 @@ +/* Base16 Atelier Sulphurpool Dark - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/sulphurpool) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +.highlight + color: #979db4 + background: #202746 + .code + /* Atelier-Sulphurpool Comment */ + .comment, + .quote + color: #898ea4 + + /* Atelier-Sulphurpool Red */ + .variable, + .template-variable, + .attribute, + .tag, + .name, + .regexp, + .link, + .name, + .selector-id, + .selector-class + color: #c94922 + + /* Atelier-Sulphurpool Orange */ + .number, + .meta, + .built_in, + .builtin-name, + .literal, + .type, + .params + color: #c76b29 + + /* Atelier-Sulphurpool Green */ + .string, + .symbol, + .bullet + color: #ac9739 + + /* Atelier-Sulphurpool Blue */ + .title, + .section + color: #3d8fd1 + + /* Atelier-Sulphurpool Purple */ + .keyword, + .selector-tag + color: #6679cc + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/atelier-sulphurpool-light.styl b/source/css/_highlight/atelier-sulphurpool-light.styl new file mode 100644 index 0000000..a363458 --- /dev/null +++ b/source/css/_highlight/atelier-sulphurpool-light.styl @@ -0,0 +1,57 @@ +/* Base16 Atelier Sulphurpool Light - Theme */ +/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/sulphurpool) */ +/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ + +.highlight + color: #5e6687 + background: #f5f7ff + .code + /* Atelier-Sulphurpool Comment */ + .comment, + .quote + color: #6b7394 + + /* Atelier-Sulphurpool Red */ + .variable, + .template-variable, + .attribute, + .tag, + .name, + .regexp, + .link, + .name, + .selector-id, + .selector-class + color: #c94922 + + /* Atelier-Sulphurpool Orange */ + .number, + .meta, + .built_in, + .builtin-name, + .literal, + .type, + .params + color: #c76b29 + + /* Atelier-Sulphurpool Green */ + .string, + .symbol, + .bullet + color: #ac9739 + + /* Atelier-Sulphurpool Blue */ + .title, + .section + color: #3d8fd1 + + /* Atelier-Sulphurpool Purple */ + .keyword, + .selector-tag + color: #6679cc + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/brown-paper.styl b/source/css/_highlight/brown-paper.styl new file mode 100644 index 0000000..844447b --- /dev/null +++ b/source/css/_highlight/brown-paper.styl @@ -0,0 +1,55 @@ +/* + +Brown Paper style from goldblog.com.ua (c) Zaripov Yura + +*/ + +.highlight + color: #363c69 + background:#b7a68e url(./brown-papersq.png) + .code + .keyword, + .selector-tag, + .literal + color:#005599 + font-weight:bold + + .highlight, + .subst + color: #363c69 + + .string, + .title, + .section, + .type, + .attribute, + .symbol, + .bullet, + .built_in, + .addition, + .variable, + .template-tag, + .template-variable, + .link, + .name + color: #2c009f + + .comment, + .quote, + .meta, + .deletion + color: #802022 + + .keyword, + .selector-tag, + .literal, + .doctag, + .title, + .section, + .type, + .name, + .strong + font-weight: bold + + .emphasis + font-style: italic diff --git a/source/css/_highlight/brown-papersq.png b/source/css/_highlight/brown-papersq.png new file mode 100644 index 0000000000000000000000000000000000000000..3813903dbf9fa7b1fb5bd11d9534c06667d9056f GIT binary patch literal 18198 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
G3S-EN>9CM!{YB*|;6wg-K3V?)eR((z#1 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 literal 0 HcmV?d00001 diff --git a/source/css/_highlight/codepen-embed.styl b/source/css/_highlight/codepen-embed.styl new file mode 100644 index 0000000..b7d64a9 --- /dev/null +++ b/source/css/_highlight/codepen-embed.styl @@ -0,0 +1,50 @@ +/* + codepen.io Embed Theme + Author: Justin Perry + Original theme - https://github.com/chriskempson/tomorrow-theme +*/ + +.highlight + color: #fff + background: #222 + .code + .comment, + .quote + color: #777 + + .variable, + .template-variable, + .tag, + .regexp, + .meta, + .number, + .built_in, + .builtin-name, + .literal, + .params, + .symbol, + .bullet, + .link, + .deletion + color: #ab875d + + .section, + .title, + .name, + .selector-id, + .selector-class, + .type, + .attribute + color: #9b869b + + .string, + .keyword, + .selector-tag, + .addition + color: #8f9c6c + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/color-brewer.styl b/source/css/_highlight/color-brewer.styl new file mode 100644 index 0000000..2dfa2f2 --- /dev/null +++ b/source/css/_highlight/color-brewer.styl @@ -0,0 +1,59 @@ +/* + +Colorbrewer theme +Original: https://github.com/mbostock/colorbrewer-theme (c) Mike Bostock +Ported by Fabrício Tavares de Oliveira + +*/ + +.highlight + color: #000 + background: #fff + .code + .subst + color: #000 + + .string, + .meta, + .symbol, + .template-tag, + .template-variable, + .addition + color: #756bb1 + + .comment, + .quote + color: #636363 + + .number, + .regexp, + .literal, + .bullet, + .link + color: #31a354 + + .deletion, + .variable + color: #88f + + + + .keyword, + .selector-tag, + .title, + .section, + .built_in, + .doctag, + .type, + .tag, + .name, + .selector-id, + .selector-class, + .strong + color: #3182bd + + .emphasis + font-style: italic + + .attribute + color: #e6550d diff --git a/source/css/_highlight/dark.styl b/source/css/_highlight/dark.styl new file mode 100644 index 0000000..5116ee6 --- /dev/null +++ b/source/css/_highlight/dark.styl @@ -0,0 +1,53 @@ +/* + +Dark style from softwaremaniacs.org (c) Ivan Sagalaev + +*/ + +.highlight + color: #ddd + background: #444 + .code + .keyword, + .selector-tag, + .literal, + .section, + .link + color: white + + .subst + color: #ddd + + .string, + .title, + .name, + .type, + .attribute, + .symbol, + .bullet, + .built_in, + .addition, + .variable, + .template-tag, + .template-variable + color: #d88 + + .comment, + .quote, + .deletion, + .meta + color: #777 + + .keyword, + .selector-tag, + .literal, + .title, + .section, + .doctag, + .type, + .name, + .strong + font-weight: bold + + .emphasis + font-style: italic diff --git a/source/css/_highlight/darkula.styl b/source/css/_highlight/darkula.styl new file mode 100644 index 0000000..3b96601 --- /dev/null +++ b/source/css/_highlight/darkula.styl @@ -0,0 +1,59 @@ +/* + +Darkula color scheme from the JetBrains family of IDEs + +*/ + + +.highlight + color: #bababa + background: #2b2b2b + .code + .strong, + .emphasis + color: #a8a8a2 + + .bullet, + .quote, + .link, + .number, + .regexp, + .literal + color: #6896ba + + .code, + .selector-class + color: #a6e22e + + .emphasis + font-style: italic + + .keyword, + .selector-tag, + .section, + .attribute, + .name, + .variable + color: #cb7832 + + .params + color: #b9b9b9 + + .string, + .subst, + .type, + .built_in, + .builtin-name, + .symbol, + .selector-id, + .selector-attr, + .selector-pseudo, + .template-tag, + .template-variable, + .addition + color: #e0c46c + + .comment, + .deletion, + .meta + color: #7f7f7f diff --git a/source/css/_highlight/docco.styl b/source/css/_highlight/docco.styl new file mode 100644 index 0000000..32e6455 --- /dev/null +++ b/source/css/_highlight/docco.styl @@ -0,0 +1,76 @@ +/* +Docco style used in http://jashkenas.github.com/docco/ converted by Simon Madine (@thingsinjars) +*/ + +.highlight + color: #000 + background: #f8f8ff + .code + .comment, + .quote + color: #408080 + font-style: italic + + .keyword, + .selector-tag, + .literal, + .subst + color: #954121 + + .number + color: #40a070 + + .string, + .doctag + color: #219161 + + .selector-id, + .selector-class, + .section, + .type + color: #19469d + + .params + color: #00f + + .title + color: #458 + font-weight: bold + + .tag, + .name, + .attribute + color: #000080 + font-weight: normal + + .variable, + .template-variable + color: #008080 + + .regexp, + .link + color: #b68 + + .symbol, + .bullet + color: #990073 + + .built_in, + .builtin-name + color: #0086b3 + + .meta + color: #999 + font-weight: bold + + .deletion + background: #fdd + + .addition + background: #dfd + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/far.styl b/source/css/_highlight/far.styl new file mode 100644 index 0000000..ed6706f --- /dev/null +++ b/source/css/_highlight/far.styl @@ -0,0 +1,59 @@ +/* + +FAR Style (c) MajestiC + +*/ + +.highlight + color: #0ff + background: #000080 + .code + .subst + color: #0ff + + .string, + .attribute, + .symbol, + .bullet, + .built_in, + .builtin-name, + .template-tag, + .template-variable, + .addition + color: #ff0 + + .keyword, + .selector-tag, + .section, + .type, + .name, + .selector-id, + .selector-class, + .variable + color: #fff + + .comment, + .quote, + .doctag, + .deletion + color: #888 + + .number, + .regexp, + .literal, + .link + color: #0f0 + + .meta + color: #008080 + + .keyword, + .selector-tag, + .title, + .section, + .name, + .strong + font-weight: bold + + .emphasis + font-style: italic diff --git a/source/css/_highlight/foundation.styl b/source/css/_highlight/foundation.styl new file mode 100644 index 0000000..ad4e4ea --- /dev/null +++ b/source/css/_highlight/foundation.styl @@ -0,0 +1,71 @@ +/* +Description: Foundation 4 docs style for highlight.js +Author: Dan Allen +Website: http://foundation.zurb.com/docs/ +Version: 1.0 +Date: 2013-04-02 +*/ + +.highlight + color: black + background: #eee + .code + .link, + .emphasis, + .attribute, + .addition + color: #070 + + .emphasis + font-style: italic + + .strong, + .string, + .deletion + color: #d14 + + .strong + font-weight: bold + + .quote, + .comment + color: #998 + font-style: italic + + .section, + .title + color: #900 + + .class .title, + .type + color: #458 + + .variable, + .template-variable + color: #336699 + + .bullet + color: #997700 + + .meta + color: #3344bb + + .code, + .number, + .literal, + .keyword, + .selector-tag + color: #099 + + .regexp + background-color: #fff0ff + color: #880088 + + .symbol + color: #990073 + + .tag, + .name, + .selector-id, + .selector-class + color: #007700 diff --git a/source/css/_highlight/github-gist.styl b/source/css/_highlight/github-gist.styl new file mode 100644 index 0000000..e3a81ce --- /dev/null +++ b/source/css/_highlight/github-gist.styl @@ -0,0 +1,57 @@ +/** + * GitHub Gist Theme + * Author : Louis Barranqueiro - https://github.com/LouisBarranqueiro + */ + +.highlight + padding: 0.5em + color: #333333 + .code + .comment, + .meta + color: #969896 + + .string, + .variable, + .template-variable, + .strong, + .emphasis, + .quote + color: #df5000 + + .keyword, + .selector-tag, + .type + color: #a71d5d + + .literal, + .symbol, + .bullet, + .attribute + color: #0086b3 + + .section, + .name + color: #63a35c + + .tag + color: #333333 + + .title, + .attr, + .selector-id, + .selector-class, + .selector-attr, + .selector-pseudo + color: #795da3 + + .addition + color: #55a532 + background-color: #eaffea + + .deletion + color: #bd2c00 + background-color: #ffecec + + .link + text-decoration: underline diff --git a/source/css/_highlight/github.styl b/source/css/_highlight/github.styl new file mode 100644 index 0000000..34ef869 --- /dev/null +++ b/source/css/_highlight/github.styl @@ -0,0 +1,79 @@ +/* + +github.com style (c) Vasily Polovnyov + +*/ + +.highlight + color: #333 + background: #f8f8f8 + .code + .comment, + .quote + color: #998 + font-style: italic + + .keyword, + .selector-tag, + .subst + color: #333 + font-weight: bold + + .number, + .literal, + .variable, + .template-variable, + .tag .attr + color: #008080 + + .string, + .doctag + color: #d14 + + .title, + .section, + .selector-id + color: #900 + font-weight: bold + + .subst + font-weight: normal + + .type, + .class .title + color: #458 + font-weight: bold + + .tag, + .name, + .attribute + color: #000080 + font-weight: normal + + .regexp, + .link + color: #009926 + + .symbol, + .bullet + color: #990073 + + .built_in, + .builtin-name + color: #0086b3 + + .meta + color: #999 + font-weight: bold + + .deletion + background: #fdd + + .addition + background: #dfd + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/googlecode.styl b/source/css/_highlight/googlecode.styl new file mode 100644 index 0000000..f2e38b8 --- /dev/null +++ b/source/css/_highlight/googlecode.styl @@ -0,0 +1,72 @@ +/* + +Google Code style (c) Aahan Krish + +*/ + +.highlight + color: black + background: white + .code + .comment, + .quote + color: #800 + + .keyword, + .selector-tag, + .section, + .title, + .name + color: #008 + + .variable, + .template-variable + color: #660 + + .string, + .selector-attr, + .selector-pseudo, + .regexp + color: #080 + + .literal, + .symbol, + .bullet, + .meta, + .number, + .link + color: #066 + + .title, + .doctag, + .type, + .attr, + .built_in, + .builtin-name, + .params + color: #606 + + .attribute, + .subst + color: #000 + + .formula + background-color: #eee + font-style: italic + + .selector-id, + .selector-class + color: #9B703F + + .addition + background-color: #baeeba + + .deletion + background-color: #ffc8bd + + .doctag, + .strong + font-weight: bold + + .emphasis + font-style: italic diff --git a/source/css/_highlight/grayscale.styl b/source/css/_highlight/grayscale.styl new file mode 100644 index 0000000..64bae5c --- /dev/null +++ b/source/css/_highlight/grayscale.styl @@ -0,0 +1,81 @@ +/* + +grayscale style (c) MY Sun + +*/ + +.highlight + color: #333 + background: #fff + .code + .comment, + .quote + color: #777 + font-style: italic + + .keyword, + .selector-tag, + .subst + color: #333 + font-weight: bold + + .number, + .literal + color: #777 + + .string, + .doctag, + .formula + color: #333 + background: url('data:image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAJ0lEQVQIW2O8e/fufwYGBgZBQUEQxcCIIfDu3Tuwivfv30NUoAsAALHpFMMLqZlPAAAAAElFTkSuQmCC') repeat + + .title, + .section, + .selector-id + color: #000 + font-weight: bold + + .subst + font-weight: normal + + .class .title, + .type, + .name + color: #333 + font-weight: bold + + .tag + color: #333 + + .regexp + color: #333 + background: url('data:image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAICAYAAADA+m62AAAAPUlEQVQYV2NkQAN37979r6yszIgujiIAU4RNMVwhuiQ6H6wQl3XI4oy4FMHcCJPHcDS6J2A2EqUQpJhohQDexSef15DBCwAAAABJRU5ErkJggg==') repeat + + .symbol, + .bullet, + .link + color: #000 + background: url('data:image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAKElEQVQIW2NkQAO7d+/+z4gsBhJwdXVlhAvCBECKwIIwAbhKZBUwBQA6hBpm5efZsgAAAABJRU5ErkJggg==') repeat + + .built_in, + .builtin-name + color: #000 + text-decoration: underline + + .meta + color: #999 + font-weight: bold + + .deletion + color: #fff + background:url('data:image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAADCAYAAABS3WWCAAAAE0lEQVQIW2MMDQ39zzhz5kwIAQAyxweWgUHd1AAAAABJRU5ErkJggg==') repeat + + .addition + color: #000 + background: url('data:image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAALUlEQVQYV2N89+7dfwYk8P79ewZBQUFkIQZGOiu6e/cuiptQHAPl0NtNxAQBAM97Oejj3Dg7AAAAAElFTkSuQmCC') repeat + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/highlightjs.styl b/source/css/_highlight/highlightjs.styl new file mode 100644 index 0000000..fd9e0c7 --- /dev/null +++ b/source/css/_highlight/highlightjs.styl @@ -0,0 +1,63 @@ +/* + +Original highlight.js style (c) Ivan Sagalaev + +*/ + +.highlight + color: #444 + background: #F0F0F0 + .code + .subst + color: #444 + + .keyword, + .attribute, + .selector-tag, + .meta-keyword, + .doctag, + .name + font-weight: bold + + .built_in, + .literal, + .bullet, + .code, + .addition + color: #1F811F + + .regexp, + .symbol, + .variable, + .template-variable, + .link, + .selector-attr, + .selector-pseudo + color: #BC6060 + + .type, + .string, + .number, + .selector-id, + .selector-class, + .quote, + .template-tag, + .deletion + color: #880000 + + .title, + .section + color: #880000 + font-weight: bold + + .comment + color: #888888 + + .meta + color: #2B6EA1 + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/hopscotch.styl b/source/css/_highlight/hopscotch.styl new file mode 100644 index 0000000..59c930f --- /dev/null +++ b/source/css/_highlight/hopscotch.styl @@ -0,0 +1,70 @@ +/* + * Hopscotch + * by Jan T. Sott + * https://github.com/idleberg/Hopscotch + * + * This work is licensed under the Creative Commons CC0 1.0 Universal License + */ + +.highlight + color: #b9b5b8 + background: #322931 + .code + /* Comment */ + .comment, + .quote + color: #989498 + + /* Red */ + .variable, + .template-variable, + .attribute, + .tag, + .name, + .selector-id, + .selector-class, + .regexp, + .link, + .deletion + color: #dd464c + + /* Orange */ + .number, + .built_in, + .builtin-name, + .literal, + .type, + .params + color: #fd8b19 + + /* Yellow */ + .class .title + color: #fdcc59 + + /* Green */ + .string, + .symbol, + .bullet, + .addition + color: #8fc13e + + /* Aqua */ + .meta + color: #149b93 + + /* Blue */ + .function, + .section, + .title + color: #1290bf + + /* Purple */ + .keyword, + .selector-tag + color: #c85e7c + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/hybrid.styl b/source/css/_highlight/hybrid.styl new file mode 100644 index 0000000..eb8069a --- /dev/null +++ b/source/css/_highlight/hybrid.styl @@ -0,0 +1,82 @@ +/* + +vim-hybrid theme by w0ng (https://github.com/w0ng/vim-hybrid) + +*/ + +/*background color*/ +.highlight + color: #c5c8c6 + background: #1d1f21 + /*selection color*/ + &::selection, + span::selection + background: #373b41 + + &::-moz-selection, + span::-moz-selection + background: #373b41 + .code + + /*color: fg_yellow*/ + .title, + .name + color: #f0c674 + + /*color: fg_comment*/ + .comment, + .meta, + .meta .keyword + color: #707880 + + /*color: fg_red*/ + .number, + .symbol, + .literal, + .deletion, + .link + color: #cc6666 + + /*color: fg_green*/ + .string, + .doctag, + .addition, + .regexp, + .selector-attr, + .selector-pseudo + color: #b5bd68 + + /*color: fg_purple*/ + .attribute, + .code, + .selector-id + color: #b294bb + + /*color: fg_blue*/ + .keyword, + .selector-tag, + .bullet, + .tag + color: #81a2be + + /*color: fg_aqua*/ + .subst, + .variable, + .template-tag, + .template-variable + color: #8abeb7 + + /*color: fg_orange*/ + .type, + .built_in, + .builtin-name, + .quote, + .section, + .selector-class + color: #de935f + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/idea.styl b/source/css/_highlight/idea.styl new file mode 100644 index 0000000..8b46881 --- /dev/null +++ b/source/css/_highlight/idea.styl @@ -0,0 +1,78 @@ +/* + +Intellij Idea-like styling (c) Vasily Polovnyov + +*/ + +.highlight + color: #000 + background: #fff + .code + .subst, + .title + font-weight: normal + color: #000 + + .comment, + .quote + color: #808080 + font-style: italic + + .meta + color: #808000 + + .tag + background: #efefef + + .section, + .name, + .literal, + .keyword, + .selector-tag, + .type, + .selector-id, + .selector-class + font-weight: bold + color: #000080 + + .attribute, + .number, + .regexp, + .link + font-weight: bold + color: #0000ff + + .number, + .regexp, + .link + font-weight: normal + + .string + color: #008000 + font-weight: bold + + .symbol, + .bullet, + .formula + color: #000 + background: #d0eded + font-style: italic + + .doctag + text-decoration: underline + + .variable, + .template-variable + color: #660e7a + + .addition + background: #baeeba + + .deletion + background: #ffc8bd + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/index.styl b/source/css/_highlight/index.styl new file mode 100644 index 0000000..92eae3e --- /dev/null +++ b/source/css/_highlight/index.styl @@ -0,0 +1,26 @@ +.highlight + margin: 0px + display: block + overflow-x: auto + padding: 15px 20px + font-size: font-size + font-family: font-mono + line-height: font-size * line-height + table + margin: 0 + width: auto + td + border: none + td.code + padding-right: 20px + .gutter + pre + color: #666 + text-align: right + padding-right: 20px + +.article-entry + .highlight + margin: 1.6em 0 + +@import "_highlight/" + highlight \ No newline at end of file diff --git a/source/css/_highlight/ir-black.styl b/source/css/_highlight/ir-black.styl new file mode 100644 index 0000000..4caf5a9 --- /dev/null +++ b/source/css/_highlight/ir-black.styl @@ -0,0 +1,58 @@ +/* + IR_Black style (c) Vasily Mikhailitchenko +*/ + +.highlight + color: #f8f8f8 + background: #000 + .code + .comment, + .quote, + .meta + color: #7c7c7c + + .keyword, + .selector-tag, + .tag, + .name + color: #96cbfe + + .attribute, + .selector-id + color: #ffffb6 + + .string, + .selector-attr, + .selector-pseudo, + .addition + color: #a8ff60 + + .subst + color: #daefa3 + + .regexp, + .link + color: #e9c062 + + .title, + .section, + .type, + .doctag + color: #ffffb6 + + .symbol, + .bullet, + .variable, + .template-variable, + .literal + color: #c6c5fe + + .number, + .deletion + color:#ff73fd + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/kimbie.dark.styl b/source/css/_highlight/kimbie.dark.styl new file mode 100644 index 0000000..b6f0faf --- /dev/null +++ b/source/css/_highlight/kimbie.dark.styl @@ -0,0 +1,62 @@ +/* + Name: Kimbie (dark) + Author: Jan T. Sott + License: Creative Commons Attribution-ShareAlike 4.0 Unported License + URL: https://github.com/idleberg/Kimbie-highlight.js +*/ + +.highlight + color: #d3af86 + background: #221a0f + .code + /* Kimbie Comment */ + .comment, + .quote + color: #d6baad + + /* Kimbie Red */ + .variable, + .template-variable, + .tag, + .name, + .selector-id, + .selector-class, + .regexp, + .meta + color: #dc3958 + + /* Kimbie Orange */ + .number, + .built_in, + .builtin-name, + .literal, + .type, + .params, + .deletion, + .link + color: #f79a32 + + /* Kimbie Yellow */ + .title, + .section, + .attribute + color: #f06431 + + /* Kimbie Green */ + .string, + .symbol, + .bullet, + .addition + color: #889b4a + + /* Kimbie Purple */ + .keyword, + .selector-tag, + .function + color: #98676a + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/kimbie.light.styl b/source/css/_highlight/kimbie.light.styl new file mode 100644 index 0000000..55b5350 --- /dev/null +++ b/source/css/_highlight/kimbie.light.styl @@ -0,0 +1,62 @@ +/* + Name: Kimbie (light) + Author: Jan T. Sott + License: Creative Commons Attribution-ShareAlike 4.0 Unported License + URL: https://github.com/idleberg/Kimbie-highlight.js +*/ + +.highlight + color: #84613d + background: #fbebd4 + .code + /* Kimbie Comment */ + .comment, + .quote + color: #a57a4c + + /* Kimbie Red */ + .variable, + .template-variable, + .tag, + .name, + .selector-id, + .selector-class, + .regexp, + .meta + color: #dc3958 + + /* Kimbie Orange */ + .number, + .built_in, + .builtin-name, + .literal, + .type, + .params, + .deletion, + .link + color: #f79a32 + + /* Kimbie Yellow */ + .title, + .section, + .attribute + color: #f06431 + + /* Kimbie Green */ + .string, + .symbol, + .bullet, + .addition + color: #889b4a + + /* Kimbie Purple */ + .keyword, + .selector-tag, + .function + color: #98676a + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/magula.styl b/source/css/_highlight/magula.styl new file mode 100644 index 0000000..5877f98 --- /dev/null +++ b/source/css/_highlight/magula.styl @@ -0,0 +1,58 @@ +/* +Description: Magula style for highligh.js +Author: Ruslan Keba +Website: http://rukeba.com/ +Version: 1.0 +Date: 2009-01-03 +Music: Aphex Twin / Xtal +*/ + +.highlight + background-color: #f4f4f4 + .code + .highlight, + .subst + color: black + + .string, + .title, + .symbol, + .bullet, + .attribute, + .addition, + .variable, + .template-tag, + .template-variable + color: #050 + + .comment, + .quote + color: #777 + + .number, + .regexp, + .literal, + .type, + .link + color: #800 + + .deletion, + .meta + color: #00e + + .keyword, + .selector-tag, + .doctag, + .title, + .section, + .built_in, + .tag, + .name + font-weight: bold + color: navy + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/mono-blue.styl b/source/css/_highlight/mono-blue.styl new file mode 100644 index 0000000..f4c2310 --- /dev/null +++ b/source/css/_highlight/mono-blue.styl @@ -0,0 +1,47 @@ +/* + Five-color theme from a single blue hue. +*/ +.highlight + color: #00193a + background: #eaeef3 + .code + .keyword, + .selector-tag, + .title, + .section, + .doctag, + .name, + .strong + font-weight: bold + + .comment + color: #738191 + + .string, + .title, + .section, + .built_in, + .literal, + .type, + .addition, + .tag, + .quote, + .name, + .selector-id, + .selector-class + color: #0048ab + + .meta, + .subst, + .symbol, + .regexp, + .attribute, + .deletion, + .variable, + .template-variable, + .link, + .bullet + color: #4c81c9 + + .emphasis + font-style: italic diff --git a/source/css/_highlight/monokai-sublime.styl b/source/css/_highlight/monokai-sublime.styl new file mode 100644 index 0000000..bf53ca3 --- /dev/null +++ b/source/css/_highlight/monokai-sublime.styl @@ -0,0 +1,69 @@ +/* + +Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-license.org/ + +*/ + +.highlight + color: #f8f8f2 + background: #23241f + .code + .highlight, + .tag, + .subst + color: #f8f8f2 + + .strong, + .emphasis + color: #a8a8a2 + + .bullet, + .quote, + .number, + .regexp, + .literal, + .link + color: #ae81ff + + .code, + .title, + .section, + .selector-class + color: #a6e22e + + .strong + font-weight: bold + + .emphasis + font-style: italic + + .keyword, + .selector-tag, + .name, + .attr + color: #f92672 + + .symbol, + .attribute + color: #66d9ef + + .params, + .class .title + color: #f8f8f2 + + .string, + .type, + .built_in, + .builtin-name, + .selector-id, + .selector-attr, + .selector-pseudo, + .addition, + .variable, + .template-variable + color: #e6db74 + + .comment, + .deletion, + .meta + color: #75715e diff --git a/source/css/_highlight/monokai.styl b/source/css/_highlight/monokai.styl new file mode 100644 index 0000000..3fa874a --- /dev/null +++ b/source/css/_highlight/monokai.styl @@ -0,0 +1,60 @@ +/* +Monokai style - ported by Luigi Maselli - http://grigio.org +*/ + +.highlight + color: #ddd + background: #272822 + .code + .tag, + .keyword, + .selector-tag, + .literal, + .strong, + .name + color: #f92672 + + .code + color: #66d9ef + + .class .title + color: white + + .attribute, + .symbol, + .regexp, + .link + color: #bf79db + + .string, + .bullet, + .subst, + .title, + .section, + .emphasis, + .type, + .built_in, + .builtin-name, + .selector-attr, + .selector-pseudo, + .addition, + .variable, + .template-tag, + .template-variable + color: #a6e22e + + .comment, + .quote, + .deletion, + .meta + color: #75715e + + .keyword, + .selector-tag, + .literal, + .doctag, + .title, + .section, + .type, + .selector-id + font-weight: bold \ No newline at end of file diff --git a/source/css/_highlight/obsidian.styl b/source/css/_highlight/obsidian.styl new file mode 100644 index 0000000..6353cb8 --- /dev/null +++ b/source/css/_highlight/obsidian.styl @@ -0,0 +1,70 @@ +/** + * Obsidian style + * ported by Alexander Marenin (http://github.com/ioncreature) + */ + +.highlight + color: #e0e2e4 + background: #282b2e + .code + .keyword, + .selector-tag, + .literal, + .selector-id + color: #93c763 + + .number + color: #ffcd22 + + .attribute + color: #668bb0 + + .code, + .class .title, + .section + color: white + + .regexp, + .link + color: #d39745 + + .meta + color: #557182 + + .tag, + .name, + .bullet, + .subst, + .emphasis, + .type, + .built_in, + .selector-attr, + .selector-pseudo, + .addition, + .variable, + .template-tag, + .template-variable + color: #8cbbad + + .string, + .symbol + color: #ec7600 + + .comment, + .quote, + .deletion + color: #818e96 + + .selector-class + color: #A082BD + + .keyword, + .selector-tag, + .literal, + .doctag, + .title, + .section, + .type, + .name, + .strong + font-weight: bold diff --git a/source/css/_highlight/paraiso-dark.styl b/source/css/_highlight/paraiso-dark.styl new file mode 100644 index 0000000..8831f5c --- /dev/null +++ b/source/css/_highlight/paraiso-dark.styl @@ -0,0 +1,60 @@ +/* + Paraíso (dark) + Created by Jan T. Sott (http://github.com/idleberg) + Inspired by the art of Rubens LP (http://www.rubenslp.com.br) +*/ + +.highlight + color: #a39e9b + background: #2f1e2e + .code + /* Paraíso Comment */ + .comment, + .quote + color: #8d8687 + + /* Paraíso Red */ + .variable, + .template-variable, + .tag, + .name, + .selector-id, + .selector-class, + .regexp, + .link, + .meta + color: #ef6155 + + /* Paraíso Orange */ + .number, + .built_in, + .builtin-name, + .literal, + .type, + .params, + .deletion + color: #f99b15 + + /* Paraíso Yellow */ + .title, + .section, + .attribute + color: #fec418 + + /* Paraíso Green */ + .string, + .symbol, + .bullet, + .addition + color: #48b685 + + /* Paraíso Purple */ + .keyword, + .selector-tag + color: #815ba4 + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/paraiso-light.styl b/source/css/_highlight/paraiso-light.styl new file mode 100644 index 0000000..4f88913 --- /dev/null +++ b/source/css/_highlight/paraiso-light.styl @@ -0,0 +1,60 @@ +/* + Paraíso (light) + Created by Jan T. Sott (http://github.com/idleberg) + Inspired by the art of Rubens LP (http://www.rubenslp.com.br) +*/ + +.highlight + color: #4f424c + background: #e7e9db + .code + /* Paraíso Comment */ + .comment, + .quote + color: #776e71 + + /* Paraíso Red */ + .variable, + .template-variable, + .tag, + .name, + .selector-id, + .selector-class, + .regexp, + .link, + .meta + color: #ef6155 + + /* Paraíso Orange */ + .number, + .built_in, + .builtin-name, + .literal, + .type, + .params, + .deletion + color: #f99b15 + + /* Paraíso Yellow */ + .title, + .section, + .attribute + color: #fec418 + + /* Paraíso Green */ + .string, + .symbol, + .bullet, + .addition + color: #48b685 + + /* Paraíso Purple */ + .keyword, + .selector-tag + color: #815ba4 + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/pojoaque.jpg b/source/css/_highlight/pojoaque.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9c07d4ab40b6d77e90ff69f0012bcd33b21d31c3 GIT binary patch literal 1186 zcmZXSe^8Tk9LK-kXFs3)f@f?)Cddzw3v4wdZyXQ;4x3=;Ja*N#%n9ik!UGmt9H3k0 zJST|5jOc(ID$FQt3C?jQZBws#kXolO1lg9Pba9BB=Q+UEBX!nY@6Uhl&+ofe$Q$y5 z@ci`~)&qzDP(lOiQ5p?p z(`j^e7!yUAVHk%K#^GQXn?s0=VLYCI$HRoe=xCuZ>A6A3@sxEP#XqNFpIb=0)KQ#Nss_tD17;m4@$JKL;LR|K|QF3f%!L5+s(9Ft8SQ zG|~pGpEGFW5Z|OA)-O@mNHy-g@7m8JTf?kl@vUKBGmw)Y*9sDRNr3PN!IKefWaydTe1D zjzpyzPnD3}hBNaS4aFX7=0&~I*Hu7#4au@qVBglH#-m;QFOx_`=j z{EqRY#Eh*yoWP^pa4H>8GH{rO?!_+xwL0(k4yL^D%^nBkJ*UI;Lx;ped8d|f*S_s@ z3~ilcRC(&NT#9Gn#UD;o^EYSMXDMf%XcUi3>;WXXD-QX3P9wMyP7eA&RS{)h5{??W3^Rq=goFJ>?lA~J- zdYe>!xvYLW*fPT0RK7wsJRg^?x#W1*GP9_f`6t>QD_X>0d!owyN>nO2?U5}|3?hX_UZYT@^>S!9eB~bZ9U`q;`U)@L670o1g z`Hd}h<_WRvUc|n*%v4Hbb-4tJD40iyF^q%g*&!6>hkYDvi-{Uc4yTM zzcthN4Z{ka!+F_KzYV#yWi;c^X^q6g`pD8cp?$Kl?hCz0s^a|mH%P!CF%*<6k^~i` zT5Mi-t5-frUcHkk^Qh}+N)Kz1&Bi95`oNc|quI>tUi~BY>xcF9(%tv2i{G6kE9*q~ qCoAGl20`)w0rdgp9H%Q=M5|p`hOhFz6$I%Y&ncY8>c?7PXyh+SL&XXJ literal 0 HcmV?d00001 diff --git a/source/css/_highlight/pojoaque.styl b/source/css/_highlight/pojoaque.styl new file mode 100644 index 0000000..1e96c0b --- /dev/null +++ b/source/css/_highlight/pojoaque.styl @@ -0,0 +1,67 @@ +/* + +Pojoaque Style by Jason Tate +http://web-cms-designs.com/ftopict-10-pojoaque-style-for-highlight-js-code-highlighter.html +Based on Solarized Style from http://ethanschoonover.com/solarized + +*/ + +.highlight + color: #dccf8f + background: url(./pojoaque.jpg) repeat scroll left top #181914 + .code + .comment, + .quote + color: #586e75 + font-style: italic + + .keyword, + .selector-tag, + .literal, + .addition + color: #b64926 + + .number, + .string, + .doctag, + .regexp + color: #468966 + + .title, + .section, + .built_in, + .name + color: #ffb03b + + .variable, + .template-variable, + .class .title, + .type, + .tag + color: #b58900 + + .attribute + color: #b89859 + + .symbol, + .bullet, + .link, + .subst, + .meta + color: #cb4b16 + + .deletion + color: #dc322f + + .selector-id, + .selector-class + color: #d3a60c + + .formula + background: #073642 + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/railscasts.styl b/source/css/_highlight/railscasts.styl new file mode 100644 index 0000000..de717bb --- /dev/null +++ b/source/css/_highlight/railscasts.styl @@ -0,0 +1,84 @@ +/* + +Railscasts-like style (c) Visoft, Inc. (Damien White) + +*/ + +.highlight + color: #e6e1dc + background: #232323 + .code + .comment, + .quote + color: #bc9458 + font-style: italic + + .keyword, + .selector-tag + color: #c26230 + + .string, + .number, + .regexp, + .variable, + .template-variable + color: #a5c261 + + .subst + color: #519f50 + + .tag, + .name + color: #e8bf6a + + .type + color: #da4939 + + + .symbol, + .bullet, + .built_in, + .builtin-name, + .attr, + .link + color: #6d9cbe + + .params + color: #d0d0ff + + .attribute + color: #cda869 + + .meta + color: #9b859d + + .title, + .section + color: #ffc66d + + .addition + background-color: #144212 + color: #e6e1dc + display: inline-block + width: 100% + + .deletion + background-color: #600 + color: #e6e1dc + display: inline-block + width: 100% + + .selector-class + color: #9b703f + + .selector-id + color: #8b98ab + + .emphasis + font-style: italic + + .strong + font-weight: bold + + .link + text-decoration: underline diff --git a/source/css/_highlight/rainbow.styl b/source/css/_highlight/rainbow.styl new file mode 100644 index 0000000..1d718e0 --- /dev/null +++ b/source/css/_highlight/rainbow.styl @@ -0,0 +1,68 @@ +/* + +Style with support for rainbow parens + +*/ + +.highlight + color: #d1d9e1 + background: #474949 + .code + .comment, + .quote + color: #969896 + font-style: italic + + .keyword, + .selector-tag, + .literal, + .type, + .addition + color: #cc99cc + + .number, + .selector-attr, + .selector-pseudo + color: #f99157 + + .string, + .doctag, + .regexp + color: #8abeb7 + + .title, + .name, + .section, + .built_in + color: #b5bd68 + + .variable, + .template-variable, + .selector-id, + .class .title + color: #ffcc66 + + .section, + .name, + .strong + font-weight: bold + + .symbol, + .bullet, + .subst, + .meta, + .link + color: #f99157 + + .deletion + color: #dc322f + + .formula + background: #eee8d5 + + .attr, + .attribute + color: #81a2be + + .emphasis + font-style: italic diff --git a/source/css/_highlight/school-book.png b/source/css/_highlight/school-book.png new file mode 100644 index 0000000000000000000000000000000000000000..956e9790a0e2c079b3d568348ff3accd1d9cac30 GIT binary patch literal 486 zcmeAS@N?(olHy`uVBq!ia0y~yV7?7x3vjRjNjAS6Ga$v1?&#~tz_9*=IcwKTAYZb? zHKHUqKdq!Zu_%?nF(p4KRlzeiF+DXXH8G{K@MNkD0|R4)r;B4q#jQ7Ycl#YS5MfK$ z?b^fh#qmaEhFDxvyThwfhdfkOPApt1lr{NA;Vr%uzxJuVIyzm(ed_8_-0$LLU})H&o5Re&aDemE>EG#(|F^t9_pa-H z_Mf?rMVrs}-M?S|?ZdY@c6s41zy8~}@a{v&#Ea7V)wJ$+#K|u$5UvWCdFLwGac}6w{_s*=8A6L7Rfc|9gboFyt I=akR{0OLZ+qyPW_ literal 0 HcmV?d00001 diff --git a/source/css/_highlight/school-book.styl b/source/css/_highlight/school-book.styl new file mode 100644 index 0000000..9b76b5f --- /dev/null +++ b/source/css/_highlight/school-book.styl @@ -0,0 +1,57 @@ +/* + +School Book style from goldblog.com.ua (c) Zaripov Yura + +*/ + +.highlight + background:#f6f6ae url(./school-book.png) + border-top: solid 2px #d2e8b9 + border-bottom: solid 1px #d2e8b9 + .code + .keyword, + .selector-tag, + .literal + color:#005599 + font-weight:bold + + .highlight, + .subst + color: #3e5915 + + .string, + .title, + .section, + .type, + .symbol, + .bullet, + .attribute, + .built_in, + .builtin-name, + .addition, + .variable, + .template-tag, + .template-variable, + .link + color: #2c009f + + .comment, + .quote, + .deletion, + .meta + color: #e60415 + + .keyword, + .selector-tag, + .literal, + .doctag, + .title, + .section, + .type, + .name, + .selector-id, + .strong + font-weight: bold + + .emphasis + font-style: italic diff --git a/source/css/_highlight/solarized-dark.styl b/source/css/_highlight/solarized-dark.styl new file mode 100644 index 0000000..44d3bd8 --- /dev/null +++ b/source/css/_highlight/solarized-dark.styl @@ -0,0 +1,70 @@ +/* + +Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull + +*/ + +.highlight + color: #839496 + background: #002b36 + .code + .comment, + .quote + color: #586e75 + + /* Solarized Green */ + .keyword, + .selector-tag, + .addition + color: #859900 + + /* Solarized Cyan */ + .number, + .string, + .meta .meta-string, + .literal, + .doctag, + .regexp + color: #2aa198 + + /* Solarized Blue */ + .title, + .section, + .name, + .selector-id, + .selector-class + color: #268bd2 + + /* Solarized Yellow */ + .attribute, + .attr, + .variable, + .template-variable, + .class .title, + .type + color: #b58900 + + /* Solarized Orange */ + .symbol, + .bullet, + .subst, + .meta, + .meta .keyword, + .selector-attr, + .selector-pseudo, + .link + color: #cb4b16 + + /* Solarized Red */ + .built_in, + .deletion + color: #dc322f + + .formula + background: #073642 + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/solarized-light.styl b/source/css/_highlight/solarized-light.styl new file mode 100644 index 0000000..5e9e8bf --- /dev/null +++ b/source/css/_highlight/solarized-light.styl @@ -0,0 +1,70 @@ +/* + +Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull + +*/ + +.highlight + color: #657b83 + background: #fdf6e3 + .code + .comment, + .quote + color: #93a1a1 + + /* Solarized Green */ + .keyword, + .selector-tag, + .addition + color: #859900 + + /* Solarized Cyan */ + .number, + .string, + .meta .meta-string, + .literal, + .doctag, + .regexp + color: #2aa198 + + /* Solarized Blue */ + .title, + .section, + .name, + .selector-id, + .selector-class + color: #268bd2 + + /* Solarized Yellow */ + .attribute, + .attr, + .variable, + .template-variable, + .class .title, + .type + color: #b58900 + + /* Solarized Orange */ + .symbol, + .bullet, + .subst, + .meta, + .meta .keyword, + .selector-attr, + .selector-pseudo, + .link + color: #cb4b16 + + /* Solarized Red */ + .built_in, + .deletion + color: #dc322f + + .formula + background: #eee8d5 + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/sunburst.styl b/source/css/_highlight/sunburst.styl new file mode 100644 index 0000000..5c5ee5c --- /dev/null +++ b/source/css/_highlight/sunburst.styl @@ -0,0 +1,80 @@ +/* + +Sunburst-like style (c) Vasily Polovnyov + +*/ + +.highlight + color: #f8f8f8 + background: #000 + .code + .comment, + .quote + color: #aeaeae + font-style: italic + + .keyword, + .selector-tag, + .type + color: #e28964 + + .string + color: #65b042 + + .subst + color: #daefa3 + + .regexp, + .link + color: #e9c062 + + .title, + .section, + .tag, + .name + color: #89bdff + + .class .title, + .doctag + text-decoration: underline + + .symbol, + .bullet, + .number + color: #3387cc + + .params, + .variable, + .template-variable + color: #3e87e3 + + .attribute + color: #cda869 + + .meta + color: #8996a8 + + .formula + background-color: #0e2231 + color: #f8f8f8 + font-style: italic + + .addition + background-color: #253b22 + color: #f8f8f8 + + .deletion + background-color: #420e09 + color: #f8f8f8 + + .selector-class + color: #9b703f + + .selector-id + color: #8b98ab + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/tomorrow-night-blue.styl b/source/css/_highlight/tomorrow-night-blue.styl new file mode 100644 index 0000000..83850ff --- /dev/null +++ b/source/css/_highlight/tomorrow-night-blue.styl @@ -0,0 +1,62 @@ +/* Tomorrow Night Blue Theme */ +/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ +/* Original theme - https://github.com/chriskempson/tomorrow-theme */ +/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ + +.highlight + color: white + background: #002451 + .code + /* Tomorrow Comment */ + .comment, + .quote + color: #7285b7 + + /* Tomorrow Red */ + .variable, + .template-variable, + .tag, + .name, + .selector-id, + .selector-class, + .regexp, + .deletion + color: #ff9da4 + + /* Tomorrow Orange */ + .number, + .built_in, + .builtin-name, + .literal, + .type, + .params, + .meta, + .link + color: #ffc58f + + /* Tomorrow Yellow */ + .attribute + color: #ffeead + + /* Tomorrow Green */ + .string, + .symbol, + .bullet, + .addition + color: #d1f1a9 + + /* Tomorrow Blue */ + .title, + .section + color: #bbdaff + + /* Tomorrow Purple */ + .keyword, + .selector-tag + color: #ebbbff + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/tomorrow-night-bright.styl b/source/css/_highlight/tomorrow-night-bright.styl new file mode 100644 index 0000000..843b344 --- /dev/null +++ b/source/css/_highlight/tomorrow-night-bright.styl @@ -0,0 +1,61 @@ +/* Tomorrow Night Bright Theme */ +/* Original theme - https://github.com/chriskempson/tomorrow-theme */ +/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ + +.highlight + color: #eaeaea + background: black + .code + /* Tomorrow Comment */ + .comment, + .quote + color: #969896 + + /* Tomorrow Red */ + .variable, + .template-variable, + .tag, + .name, + .selector-id, + .selector-class, + .regexp, + .deletion + color: #d54e53 + + /* Tomorrow Orange */ + .number, + .built_in, + .builtin-name, + .literal, + .type, + .params, + .meta, + .link + color: #e78c45 + + /* Tomorrow Yellow */ + .attribute + color: #e7c547 + + /* Tomorrow Green */ + .string, + .symbol, + .bullet, + .addition + color: #b9ca4a + + /* Tomorrow Blue */ + .title, + .section + color: #7aa6da + + /* Tomorrow Purple */ + .keyword, + .selector-tag + color: #c397d8 + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/tomorrow-night-eighties.styl b/source/css/_highlight/tomorrow-night-eighties.styl new file mode 100644 index 0000000..ab14ccb --- /dev/null +++ b/source/css/_highlight/tomorrow-night-eighties.styl @@ -0,0 +1,61 @@ +/* Tomorrow Night Eighties Theme */ +/* Original theme - https://github.com/chriskempson/tomorrow-theme */ +/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ + +.highlight + color: #cccccc + background: #2d2d2d + .code + /* Tomorrow Comment */ + .comment, + .quote + color: #999999 + + /* Tomorrow Red */ + .variable, + .template-variable, + .tag, + .name, + .selector-id, + .selector-class, + .regexp, + .deletion + color: #f2777a + + /* Tomorrow Orange */ + .number, + .built_in, + .builtin-name, + .literal, + .type, + .params, + .meta, + .link + color: #f99157 + + /* Tomorrow Yellow */ + .attribute + color: #ffcc66 + + /* Tomorrow Green */ + .string, + .symbol, + .bullet, + .addition + color: #99cc99 + + /* Tomorrow Blue */ + .title, + .section + color: #6699cc + + /* Tomorrow Purple */ + .keyword, + .selector-tag + color: #cc99cc + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/tomorrow-night.styl b/source/css/_highlight/tomorrow-night.styl new file mode 100644 index 0000000..faeb252 --- /dev/null +++ b/source/css/_highlight/tomorrow-night.styl @@ -0,0 +1,60 @@ +/* Original theme - https://github.com/chriskempson/tomorrow-theme */ +/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ + +.highlight + color: #c5c8c6 + background: #1d1f21 + .code + /* Tomorrow Comment */ + .comment, + .quote + color: #969896 + + /* Tomorrow Red */ + .variable, + .template-variable, + .tag, + .name, + .selector-id, + .selector-class, + .regexp, + .deletion + color: #cc6666 + + /* Tomorrow Orange */ + .number, + .built_in, + .builtin-name, + .literal, + .type, + .params, + .meta, + .link + color: #de935f + + /* Tomorrow Yellow */ + .attribute + color: #f0c674 + + /* Tomorrow Green */ + .string, + .symbol, + .bullet, + .addition + color: #b5bd68 + + /* Tomorrow Blue */ + .title, + .section + color: #81a2be + + /* Tomorrow Purple */ + .keyword, + .selector-tag + color: #b294bb + + .emphasis + font-style: italic + + .strong + font-weight: bold \ No newline at end of file diff --git a/source/css/_highlight/tomorrow.styl b/source/css/_highlight/tomorrow.styl new file mode 100644 index 0000000..7511d36 --- /dev/null +++ b/source/css/_highlight/tomorrow.styl @@ -0,0 +1,56 @@ +.highlight + color: #4d4d4c + background: white + .code + /* Tomorrow Comment */ + .comment, + .quote + color: #8e908c + + /* Tomorrow Red */ + .variable, + .template-variable, + .tag, + .name, + .selector-id, + .selector-class, + .regexp, + .deletion + color: #c82829 + + /* Tomorrow Orange */ + .number, + .built_in, + .builtin-name, + .literal, + .type, + .params, + .meta, + .link + color: #f5871f + + /* Tomorrow Yellow */ + .attribute + color: #eab700 + + /* Tomorrow Green */ + .string, + .symbol, + .bullet, + .addition + color: #718c00 + + /* Tomorrow Blue */ + .title, + .section + color: #4271ae + + /* Tomorrow Purple */ + .keyword, + .selector-tag + color: #8959a8 + .emphasis + font-style: italic + + .strong + font-weight: bold \ No newline at end of file diff --git a/source/css/_highlight/vs.styl b/source/css/_highlight/vs.styl new file mode 100644 index 0000000..78f1ea6 --- /dev/null +++ b/source/css/_highlight/vs.styl @@ -0,0 +1,58 @@ +/* + +Visual Studio-like style based on original C# coloring by Jason Diamond + +*/ +.highlight + display: block + overflow-x: auto + padding: 0.5em + background: white + color: black + .code + .comment, + .quote, + .variable + color: #008000 + + .keyword, + .selector-tag, + .built_in, + .name, + .tag + color: #00f + + .string, + .title, + .section, + .attribute, + .literal, + .template-tag, + .template-variable, + .type, + .addition + color: #a31515 + + .deletion, + .selector-attr, + .selector-pseudo, + .meta + color: #2b91af + + .doctag + color: #808080 + + .attr + color: #f00 + + .symbol, + .bullet, + .link + color: #00b0e8 + + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_highlight/xcode.styl b/source/css/_highlight/xcode.styl new file mode 100644 index 0000000..c0cfaf4 --- /dev/null +++ b/source/css/_highlight/xcode.styl @@ -0,0 +1,74 @@ +/* + +XCode style (c) Angel Garcia + +*/ + +.highlight + color: black + background: #fff + .code + .comment, + .quote + color: #006a00 + + .keyword, + .selector-tag, + .literal + color: #aa0d91 + + .name + color: #008 + + .variable, + .template-variable + color: #660 + + .string + color: #c41a16 + + .regexp, + .link + color: #080 + + .title, + .tag, + .symbol, + .bullet, + .number, + .meta + color: #1c00cf + + .section, + .class .title, + .type, + .attr, + .built_in, + .builtin-name, + .params + color: #5c2699 + + .attribute, + .subst + color: #000 + + .formula + background-color: #eee + font-style: italic + + .addition + background-color: #baeeba + + .deletion + background-color: #ffc8bd + + .selector-id, + .selector-class + color: #9b703f + + .doctag, + .strong + font-weight: bold + + .emphasis + font-style: italic diff --git a/source/css/_highlight/zenburn.styl b/source/css/_highlight/zenburn.styl new file mode 100644 index 0000000..67af155 --- /dev/null +++ b/source/css/_highlight/zenburn.styl @@ -0,0 +1,64 @@ +/* + +Zenburn style from voldmar.ru (c) Vladimir Epifanov +based on dark.css by Ivan Sagalaev + +*/ + +.highlight + color: #dcdcdc + background: #3f3f3f + .code + .keyword, + .selector-tag, + .tag + color: #e3ceab + + .template-tag + color: #dcdcdc + + .number + color: #8cd0d3 + + .variable, + .template-variable, + .attribute + color: #efdcbc + + .literal + color: #efefaf + + .subst + color: #8f8f8f + + .title, + .name, + .selector-id, + .selector-class, + .section, + .type + color: #efef8f + + .symbol, + .bullet, + .link + color: #dca3a3 + + .deletion, + .string, + .built_in, + .builtin-name + color: #cc9393 + + .addition, + .comment, + .quote, + .meta + color: #7f9f7f + + + .emphasis + font-style: italic + + .strong + font-weight: bold diff --git a/source/css/_partial/archive.styl b/source/css/_partial/archive.styl index df03e21..f967aed 100644 --- a/source/css/_partial/archive.styl +++ b/source/css/_partial/archive.styl @@ -1,141 +1,141 @@ .archives - clearfix() - .article:first-child - margin: 20px 0 + clearfix() + .article:first-child + margin: 20px 0 .archive-year-wrap, .archive-category-wrap, .archive-tag-wrap, .layout-title - font-size: 1.4em - margin: block-margin 0 20px 0 - @media mq-mini - padding: 0 15px - font-size: 1.2em - .fa - margin-right: 3px - .archive-year - color: color-default - &:hover - color: color-link + font-size: 1.4em + margin: block-margin 0 20px 0 + @media mq-mini + padding: 0 15px + font-size: 1.2em + .fa + margin-right: 3px + .archive-year + color: color-default + &:hover + color: color-link .layout-wrap-inner - @media mq-mini - padding: 0 15px + @media mq-mini + padding: 0 15px .archive-year - @extend $block-caption + @extend $block-caption .archive-article - clearfix() - avoid-column-break() - @extend $block - padding: 0 - margin-bottom: 15px + clearfix() + avoid-column-break() + @extend $block + padding: 0 + margin-bottom: 15px .archive-article-thumbnail - float: left - margin-right: 10px - .thumbnail - width: 160px - height: 90px - display: block - position: relative - overflow: hidden - span - width: 100% - height: 100% - display: block - .thumbnail-image - position: absolute - background-size: cover - background-position: center - .thumbnail-none - background-image: url(thumbnail-default-small) - @media mq-mini + float: left + margin-right: 10px .thumbnail - width: 120px - height: 67.5px + width: 160px + height: 90px + display: block + position: relative + overflow: hidden + span + width: 100% + height: 100% + display: block + .thumbnail-image + position: absolute + background-size: cover + background-position: center + .thumbnail-none + background-image: url(thumbnail-default-small) + @media mq-mini + .thumbnail + width: 120px + height: 67.5px .archive-article-header - padding: 10px - a - @extend $link-dark + padding: 10px + a + @extend $link-dark .archive-article-title - font-size: 1.2em - line-height: 1.2em - @media mq-mini - font-size: 1em - line-height: 1em - height: 1em - overflow: hidden - display: block + font-size: 1.2em + line-height: 1.2em + @media mq-mini + font-size: 1em + line-height: 1em + height: 1em + overflow: hidden + display: block .archive-article-date - display: block - margin-top: 8px + display: block + margin-top: 8px .layout-wrap-inner - &.list-categories - ul - margin-left: 15px - list-style: none - li, - .category-list-child - padding: 10px 0 - font-size: font-size - border-bottom: 1px solid border-color - a - color: color-sidebar-text - ul, ol - list-style: none + &.list-categories + ul + margin-left: 15px + list-style: none + li, + .category-list-child + padding: 10px 0 + font-size: font-size + border-bottom: 1px solid border-color + a + color: color-sidebar-text + ul, ol + list-style: none + li + border: none + &:last-child + padding-bottom: 0px li - border: none - &:last-child - padding-bottom: 0px - li - a - &:before - color: #ccc - content: "\f0da" - font-size: 12px - margin-right: 6px - font-family: FontAwesome - transition: 0.2s ease - &:hover:before - color: color-sidebar-text-dark - &.tag-cloud - a - @extend $link-dark - margin-right: 8px - &:before - content: '#' + a + &:before + color: #ccc + content: "\f0da" + font-size: 12px + margin-right: 6px + font-family: FontAwesome + transition: 0.2s ease + &:hover:before + color: color-sidebar-text-dark + &.tag-cloud + a + @extend $link-dark + margin-right: 8px + &:before + content: '#' #page-nav - clearfix() - margin: block-margin auto - text-align: center - color: color-grey - overflow: hidden - a, span - height: 32px - padding: 0 10px - line-height: 32px + clearfix() + margin: block-margin auto text-align: center - display: inline-block - border-radius: 2px - a color: color-grey - text-decoration: none - &:hover - color: white - background: color-link - .page-number - display: inline-block - @media mq-mini - display: none - .current - color: color-default - font-weight: bold - .space - color: color-border \ No newline at end of file + overflow: hidden + a, span + height: 32px + padding: 0 10px + line-height: 32px + text-align: center + display: inline-block + border-radius: 2px + a + color: color-grey + text-decoration: none + &:hover + color: white + background: color-link + .page-number + display: inline-block + @media mq-mini + display: none + .current + color: color-default + font-weight: bold + .space + color: color-border \ No newline at end of file diff --git a/source/css/_partial/article.styl b/source/css/_partial/article.styl index b24fa93..7edc422 100644 --- a/source/css/_partial/article.styl +++ b/source/css/_partial/article.styl @@ -1,387 +1,388 @@ .article - margin: block-margin 0 + margin: block-margin 0 .article-inner - @extend $block - overflow: hidden + @extend $block + overflow: hidden .article-banner - width:100% - height:auto + width:100% + height:auto .article-meta - clearfix() - & > div - margin-bottom: 5px - .article-date, .article-category - margin-right: 10px - color: color-default + #444 - a - color: color-default + #444 - &:hover - color: color-link + clearfix() + & > div + margin-bottom: 5px + .article-date, .article-category + margin-right: 10px + color: color-default + #444 + a + color: color-default + #444 + &:hover + color: color-link .article-date - @extend $block-caption - float: left + @extend $block-caption + float: left .article-category - float: left - line-height: 1em - color: color-default - .fa-angle-right - margin: 0 5px + float: left + line-height: 1em + color: color-default + .fa-angle-right + margin: 0 5px .article-category-link - @extend $block-caption + @extend $block-caption .article-header - padding: article-padding article-padding 0 - .article-title - display: block - margin-bottom: 14px + padding: article-padding article-padding 0 + .article-title + display: block + margin-bottom: 14px .article-title - text-decoration: none - font-size: 2em - color: color-default - line-height: line-height-title - transition: color 0.2s - a&:visited + text-decoration: none + font-size: 2em color: color-default - a&:hover - color: color-link + line-height: line-height-title + transition: color 0.2s + a&:visited + color: color-default + a&:hover + color: color-link .article-entry - @extend $base-style - clearfix() - color: color-default - padding: 0 article-padding - line-height: line-height - p, table + @extend $base-style + clearfix() + color: color-default + padding: 0 article-padding line-height: line-height - margin: line-height 0 - h1, h2, h3, h4, h5, h6 - font-weight: bold - h1, h2, h3, h4, h5, h6 - line-height: line-height-title - margin: line-height-title 0 - a - color: color-link - text-decoration: none - &:hover - text-decoration: underline - ul, ol, dl - margin-top: line-height - margin-bottom: line-height - img, video - max-width: 100% - height: auto - display: block - margin: auto - iframe - border: none - table - width: 100% - border-collapse: collapse - border-spacing: 0 - th - font-weight: bold - border-bottom: 3px solid color-border - padding-bottom: 0.5em - td - border-bottom: 1px solid color-border - padding: 10px 0 - blockquote - position: relative - font-family: font-serif - font-size: 1.1em - margin: 0 -20px - padding: 10px 20px 10px 54px - background: #fcfcfc - border-left: 4px solid #eee - &:before - top: 20px - left: 10px - content: "\f10d" - color: #e2e2e2 - font-size: 32px; - font-family: FontAwesome - text-align: center - position: absolute - footer - font-size: font-size - margin: line-height 0 - font-family: font-sans - cite + p, table + line-height: line-height + margin: line-height 0 + h1, h2, h3, h4, h5, h6 + font-weight: bold + h1, h2, h3, h4, h5, h6 + line-height: line-height-title + margin: line-height-title 0 + a + color: color-link + text-decoration: none + &:hover + text-decoration: underline + ul, ol, dl + margin-top: line-height + margin-bottom: line-height + img, video + max-width: 100% + height: auto + display: block + margin: auto + iframe + border: none + table + width: 100% + border-collapse: collapse + border-spacing: 0 + th + font-weight: bold + border-bottom: 3px solid color-border + padding-bottom: 0.5em + td + border-bottom: 1px solid color-border + padding: 10px 0 + blockquote + position: relative + font-family: font-serif + font-size: 1.1em + margin: 0 -20px + padding: 10px 20px 10px 54px + background: #fcfcfc + border-left: 4px solid #eee &:before - content: "—" - padding: 0 0.5em - .pullquote - text-align: left - width: 45% - margin: 0 - &.left - margin-left: 0.5em - margin-right: 1em - &.right - margin-right: 0.5em - margin-left: 1em - .caption - color: color-grey - display: block - font-size: 0.9em - margin-top: 0.5em - position: relative - text-align: center - // http://webdesignerwall.com/tutorials/css-elastic-videos - .video-container - position: relative - padding-top: (9 / 16 * 100)% // 16:9 ratio - height: 0 - overflow: hidden - iframe, object, embed - position: absolute - top: 0 - left: 0 - width: 100% - height: 100% - margin-top: 0 + top: 20px + left: 10px + content: "\f10d" + color: #e2e2e2 + font-size: 32px; + font-family: FontAwesome + text-align: center + position: absolute + footer + font-size: font-size + margin: line-height 0 + font-family: font-sans + cite + &:before + content: "—" + padding: 0 0.5em + .pullquote + text-align: left + width: 45% + margin: 0 + &.left + margin-left: 0.5em + margin-right: 1em + &.right + margin-right: 0.5em + margin-left: 1em + .caption + color: color-grey + display: block + font-size: 0.9em + margin-top: 0.5em + position: relative + text-align: center + // http://webdesignerwall.com/tutorials/css-elastic-videos + .video-container + position: relative + padding-top: (9 / 16 * 100)% // 16:9 ratio + height: 0 + overflow: hidden + iframe, object, embed + position: absolute + top: 0 + left: 0 + width: 100% + height: 100% + margin-top: 0 .article-more-link a - display: inline-block - line-height: 1em - padding: 6px 15px - border-radius: 15px - background: color-background - color: color-grey - text-shadow: 0 1px #fff - text-decoration: none - &:hover - background: color-link - color: #fff + display: inline-block + line-height: 1em + padding: 6px 15px + border-radius: 15px + background: color-background + color: color-grey + text-shadow: 0 1px #fff text-decoration: none - text-shadow: 0 1px darken(color-link, 20%) + &:hover + background: color-link + color: #fff + text-decoration: none + text-shadow: 0 1px darken(color-link, 20%) .article-footer - clearfix() - font-size: 0.85em - line-height: line-height - border-top: 1px solid color-border - padding-top: line-height - margin: 0 article-padding article-padding - a - color: color-grey - text-decoration: none - &:hover - color: color-default + clearfix() + font-size: 0.85em + line-height: line-height + border-top: 1px solid color-border + padding-top: line-height + margin: 0 article-padding article-padding + a + color: color-grey + text-decoration: none + &:hover + color: color-default .article-tag-list-item - float: left - margin-right: 10px + float: left + margin-right: 10px .article-tag-list-link - &:before - content: "#" + &:before + content: "#" .article-comment-link - float: right - &:before - content: "\f075" - font-family: FontAwesome - padding-right: 8px + float: right + &:before + content: "\f075" + font-family: FontAwesome + padding-right: 5px + +.share-container + float: left .article-share-link - cursor: pointer - float: right - margin-left: 20px - &:before - content: "\f064" - font-family: FontAwesome - padding-right: 6px + float: right + cursor: pointer + margin-left: 20px + .fa-share + margin-right: 5px #article-nav - clearfix() - position: relative - @media mq-normal - margin: block-margin 0 - &:before - absolute-center(8px) - content: "" - border-radius: 50% - background: color-default + #222 + clearfix() + position: relative + @media mq-normal + margin: block-margin 0 + &:before + absolute-center(8px) + content: "" + border-radius: 50% + background: color-default + #222 .article-nav-link-wrap - text-decoration: none - color: color-grey - box-sizing: border-box - margin-top: block-margin - text-align: center - display: block - &:hover - color: color-default - @media mq-normal - width: 50% - margin-top: 0 + text-decoration: none + color: color-grey + box-sizing: border-box + margin-top: block-margin + text-align: center + display: block + &:hover + color: color-default + @media mq-normal + width: 50% + margin-top: 0 #article-nav-newer - @media mq-normal - float: left - text-align: right - padding-right: 20px + @media mq-normal + float: left + text-align: right + padding-right: 20px #article-nav-older - @media mq-normal - float: right - text-align: left - padding-left: 20px + @media mq-normal + float: right + text-align: left + padding-left: 20px .article-nav-caption - letter-spacing: 2px - line-height: 1em - font-weight: bold - color: color-default - text-transform: uppercase - #article-nav-newer & - margin-right: -2px + letter-spacing: 2px + line-height: 1em + font-weight: bold + color: color-default + text-transform: uppercase + #article-nav-newer & + margin-right: -2px .article-nav-title - font-size: 0.85em - line-height: line-height - margin-top: 0.5em + font-size: 0.85em + line-height: line-height + margin-top: 0.5em .article-share-box - position: absolute - display: none - background: #fff - box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1) - border-radius: 3px - margin-left: -145px - overflow: hidden - z-index: 1 - &.on - display: block + position: absolute + display: none + background: #fff + box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1) + border-radius: 3px + margin-left: -145px + overflow: hidden + z-index: 1 + &.on + display: block .article-share-input - width: 100% - background: none - box-sizing: border-box - font: 14px font-sans - padding: 0 15px - color: color-default - outline: none - border: 1px solid color-border - border-radius: 3px 3px 0 0 - height: 36px - line-height: 36px + width: 100% + background: none + box-sizing: border-box + font: 14px font-sans + padding: 0 15px + color: color-default + outline: none + border: 1px solid color-border + border-radius: 3px 3px 0 0 + height: 36px + line-height: 36px .article-share-links - clearfix() - background: color-background + clearfix() + background: color-background $article-share-link - width: 50px - height: 36px - display: block - float: left - position: relative - color: #999 - text-shadow: 0 1px #fff - &:before - font-size: 20px - absolute-center(@font-size) - text-align: center - &:hover - color: #fff + width: 50px + height: 36px + display: block + float: left + position: relative + color: #999 + text-shadow: 0 1px #fff + &:before + font-size: 20px + absolute-center(@font-size) + text-align: center + &:hover + color: #fff .article-share-twitter - @extend $article-share-link - &:hover - background: color-twitter - text-shadow: 0 1px darken(color-twitter, 20%) + @extend $article-share-link + &:hover + background: color-twitter + text-shadow: 0 1px darken(color-twitter, 20%) .article-share-facebook - @extend $article-share-link - &:hover - background: color-facebook - text-shadow: 0 1px darken(color-facebook, 20%) + @extend $article-share-link + &:hover + background: color-facebook + text-shadow: 0 1px darken(color-facebook, 20%) .article-share-pinterest - @extend $article-share-link - &:hover - background: color-pinterest - text-shadow: 0 1px darken(color-pinterest, 20%) + @extend $article-share-link + &:hover + background: color-pinterest + text-shadow: 0 1px darken(color-pinterest, 20%) .article-share-google - @extend $article-share-link - &:hover - background: color-google - text-shadow: 0 1px darken(color-google, 20%) + @extend $article-share-link + &:hover + background: color-google + text-shadow: 0 1px darken(color-google, 20%) .article-gallery - background: #000 - position: relative + background: #000 + position: relative .article-gallery-photos - position: relative - overflow: hidden + position: relative + overflow: hidden .article-gallery-img - display: none - max-width: 100% - &:first-child - display: block - &.loaded - position: absolute - display: block - img - display: block + display: none max-width: 100% - margin: 0 auto + &:first-child + display: block + &.loaded + position: absolute + display: block + img + display: block + max-width: 100% + margin: 0 auto -/* toc */ +/* toc */ .toc-article - background #F9F9F9 - margin 2em 0 0 0.2em - padding 1em - border-radius 0px - .toc-title - font-size 120% - strong - padding 0.3em 1 + background #F9F9F9 + margin 2em 0 0 0.2em + padding 1em + border-radius 0px + .toc-title + font-size 120% + strong + padding 0.3em 1 ol.toc - width 100% - margin 1em 2em 0 0 + width 100% + margin 1em 2em 0 0 #toc - line-height 1em - font-size 0.8em - float right - .toc - padding 0 - li - list-style-type none - .toc-child - padding-left 0em + line-height 1em + font-size 0.8em + float right + .toc + padding 0 + li + list-style-type none + .toc-child + padding-left 0em #toc.toc-aside - display none - width 13% - position fixed - right 2% - top 320px - overflow hidden - line-height 1.5em - font-size 1em - color color-heading - opacity .6 - transition opacity 1s ease-out - strong - padding 0.3em 0 - color color-font - &:hover - transition opacity .3s ease-out - opacity 1 - a - transition color 1s ease-out + display none + width 13% + position fixed + right 2% + top 320px + overflow hidden + line-height 1.5em + font-size 1em + color color-heading + opacity .6 + transition opacity 1s ease-out + strong + padding 0.3em 0 + color color-font &:hover - color color-theme - transition color .3s ease-out \ No newline at end of file + transition opacity .3s ease-out + opacity 1 + a + transition color 1s ease-out + &:hover + color color-theme + transition color .3s ease-out \ No newline at end of file diff --git a/source/css/_partial/comment.styl b/source/css/_partial/comment.styl index 7542f41..c051f4f 100644 --- a/source/css/_partial/comment.styl +++ b/source/css/_partial/comment.styl @@ -1,6 +1,6 @@ #comments - @extend $block - padding: article-padding - margin: block-margin 0 - a - color: color-link \ No newline at end of file + @extend $block + padding: article-padding + margin: block-margin 0 + a + color: color-link \ No newline at end of file diff --git a/source/css/_partial/footer.styl b/source/css/_partial/footer.styl index 439c174..ca04dcb 100644 --- a/source/css/_partial/footer.styl +++ b/source/css/_partial/footer.styl @@ -1,17 +1,17 @@ #footer - padding: 20px 0 - border-top: 1px solid color-border - color: color-default - font-size: font-size + 2 - text-align: center - .outer - margin-bottom: 0 - a - color: color-link - text-decoration: none - &:hover - text-decoration: underline + padding: 20px 0 + border-top: 1px solid color-border + color: color-default + font-size: font-size + 2 + text-align: center + .outer + margin-bottom: 0 + a + color: color-link + text-decoration: none + &:hover + text-decoration: underline #footer-info - line-height: line-height - font-size: 0.85em \ No newline at end of file + line-height: line-height + font-size: 0.85em \ No newline at end of file diff --git a/source/css/_partial/header.styl b/source/css/_partial/header.styl index 8500a9f..212a8ca 100644 --- a/source/css/_partial/header.styl +++ b/source/css/_partial/header.styl @@ -1,197 +1,195 @@ #header - @extend $block - background: white - position: relative - a, a:visited - white-space: nowrap - transition: 0.2s ease - color: color-default - a:hover - color: color-link + @extend $block + background: white + position: relative + a, a:visited + white-space: nowrap + transition: 0.2s ease + color: color-default + a:hover + color: color-link $header-block - height: logo-size - line-height: logo-size - padding: ((header-height - logo-size)/2) 15px + height: logo-height + line-height: logo-height + padding: ((header-height - logo-height)/2) 15px $header-block-left - float: left + float: left $header-block-right - float: right + float: right .header-inner - height: 100% - position: relative - #logo - @extend $header-block - @extend $header-block-left - display: inline-block - .logo - display: inline-block - width: logo-size - height: logo-size - margin-right: 5px - .site-title - font-size: 16px - display: inline-block - vertical-align: top - font-weight: 600 + height: 100% + position: relative + #logo + @extend $header-block + @extend $header-block-left + display: inline-block + .logo + margin-right: 5px + display: inline-block + .site-title + font-size: 16px + display: inline-block + vertical-align: top + font-weight: 600 #header-title - text-align: center - height: logo-size - position: absolute - top: 50% - left: 0 - margin-top: logo-size * -0.5 + text-align: center + height: logo-height + position: absolute + top: 50% + left: 0 + margin-top: logo-height * -0.5 .header-sub - border-top: 1px solid color-border - ul - clearfix() - margin: 0 15px - li - float: left - margin: 0 10px - a + border-top: 1px solid color-border + ul + clearfix() + margin: 0 15px + li + float: left + margin: 0 10px + a + display: inline-block + line-height: header-sub-height + .main-nav-link display: inline-block line-height: header-sub-height - .main-nav-link - display: inline-block - line-height: header-sub-height #header-sub - @media mq-mobile - display: none - @media mq-mini - display: none + @media mq-mobile + display: none + @media mq-mini + display: none #main-nav - @extend $header-block - @extend $header-block-left - @media mq-mobile - display: none - @media mq-mini - display: none + @extend $header-block + @extend $header-block-left + @media mq-mobile + display: none + @media mq-mini + display: none #main-nav-mobile - @media mq-tablet - display: none - @media mq-normal - display: none + @media mq-tablet + display: none + @media mq-normal + display: none $nav-link - float: left - display: block - padding: 0 15px + float: left + display: block + padding: 0 15px .nav-icon - @extend $nav-link - text-align: center - font-size: font-size - width: font-size - height: font-size - position: relative - cursor: pointer - height: logo-size !important - line-height: logo-size !important + @extend $nav-link + text-align: center + font-size: font-size + width: font-size + height: font-size + position: relative + cursor: pointer + height: logo-height !important + line-height: logo-height !important .main-nav-link - @extend $nav-link - font-weight: 300 + @extend $nav-link + font-weight: 300 #sub-nav - @media mq-normal - display: none - @extend $header-block - @extend $header-block-right - #profile-nav - #profile-anchor - clearfix() - display: block - height: logo-size - line-height: logo-size - .avatar, .fa - float: left - .avatar - width: logo-size - height: logo-size - margin-right: 8px - .fa - line-height: logo-size + @media mq-normal + display: none + @extend $header-block + @extend $header-block-right + #profile-nav + #profile-anchor + clearfix() + display: block + height: logo-height + line-height: logo-height + .avatar, .fa + float: left + .avatar + width: logo-height + height: logo-height + margin-right: 8px + .fa + line-height: logo-height #search-form-wrap - @media mq-mini - display: none - @extend $header-block - @extend $header-block-right - .search-form - position: relative - .search-form-input - width: 100% - height: logo-size - padding: 0 30px 0 15px - line-height: logo-size - border-radius: ((logo-size + 2)/2) - &::-webkit-search-results-decoration - &::-webkit-search-cancel-button - -webkit-appearance: none - .search-form-submit - top: 50% - right: 15px - border: none - cursor: pointer - margin-top: -7px - background: none - position: absolute - font: 13px font-icon - font-family: 'FontAwesome' - &:before - content: '\f002' - &:hover, &:focus - color: #777 + @media mq-mini + display: none + @extend $header-block + @extend $header-block-right + .search-form + position: relative + .search-form-input + width: 100% + height: logo-height + padding: 0 30px 0 15px + line-height: logo-height + border-radius: ((logo-height + 2)/2) + &::-webkit-search-results-decoration + &::-webkit-search-cancel-button + -webkit-appearance: none + .search-form-submit + top: 50% + right: 15px + border: none + cursor: pointer + margin-top: -7px + background: none + position: absolute + font: 13px font-icon + font-family: 'FontAwesome' + &:before + content: '\f002' + &:hover, &:focus + color: #777 .search-form-input, .search-form-input.st-ui-search-input, .search-form-input.st-default-search-input - -webkit-appearance: textarea - appearance: textarea - padding: 0 - width: 200px - box-shadow: none - color: color-default - transition: 0.2s ease - box-sizing: border-box - height: auto !important - line-height: line-height - outline: none !important - background: none !important - font: font-size font-sans - border: 1px solid color-border !important - &:focus - border-color: color-link !important - &::-webkit-search-results-decoration - &::-webkit-search-cancel-button - -webkit-appearance: none + -webkit-appearance: textarea + appearance: textarea + padding: 0 + width: 200px + box-shadow: none + color: color-default + transition: 0.2s ease + box-sizing: border-box + height: auto !important + line-height: line-height + outline: none !important + background: none !important + font: font-size font-sans + border: 1px solid color-border !important + &:focus + border-color: color-link !important + &::-webkit-search-results-decoration + &::-webkit-search-cancel-button + -webkit-appearance: none #main-nav-mobile - overflow-y: hidden - overflow-x: auto - .menu - clearfix() - margin: 0 - height: header-sub-height - .search-form-input - display: none - @media mq-mini - display: block - padding: 0 10px - margin-right: 15px - height: header-sub-height - 16 - line-height: header-sub-height - 16 - border-radius: ((header-sub-height - 16)/2) - &::-webkit-search-results-decoration - &::-webkit-search-cancel-button - -webkit-appearance: none \ No newline at end of file + overflow-y: hidden + overflow-x: auto + .menu + clearfix() + margin: 0 + height: header-sub-height + .search-form-input + display: none + @media mq-mini + display: block + padding: 0 10px + margin-right: 15px + height: header-sub-height - 16 + line-height: header-sub-height - 16 + border-radius: ((header-sub-height - 16)/2) + &::-webkit-search-results-decoration + &::-webkit-search-cancel-button + -webkit-appearance: none \ No newline at end of file diff --git a/source/css/_partial/highlight.styl b/source/css/_partial/highlight.styl deleted file mode 100644 index 89f8a77..0000000 --- a/source/css/_partial/highlight.styl +++ /dev/null @@ -1,191 +0,0 @@ -// https://github.com/chriskempson/tomorrow-theme -highlight-background = color-default - #222 -highlight-current-line = #393939 -highlight-selection = #515151 -highlight-foreground = #cccccc -highlight-comment = #999999 -highlight-red = #f2777a -highlight-orange = #f99157 -highlight-yellow = #ffcc66 -highlight-green = #99cc99 -highlight-aqua = #66cccc -highlight-blue = #6699cc -highlight-purple = #cc99cc - -$code-block - background: highlight-background - margin: 0 article-padding * -1 - padding: 15px article-padding - border-style: solid - border-color: color-border - border-width: 1px 0 - overflow: auto - color: highlight-foreground - line-height: font-size * line-height - -$line-numbers - color: #666 - font-size: 0.85em - -.article-entry - pre, code - font-family: font-mono - code - background: color-background - text-shadow: 0 1px #fff - padding: 0 0.3em - pre - @extend $code-block - code - background: none - text-shadow: none - padding: 0 - .highlight - @extend $code-block - pre - border: none - margin: 0 - padding: 0 - table - margin: 0 - width: auto - td - border: none - padding: 0 - figcaption - clearfix() - font-size: 0.85em - color: highlight-comment - line-height: 1em - margin-bottom: 1em - a - float: right - .gutter pre - @extend $line-numbers - text-align: right - padding-right: 20px - .line - height: font-size * line-height - .gist - margin: 0 article-padding * -1 - border-style: solid - border-color: color-border - border-width: 1px 0 - background: highlight-background - padding: 15px article-padding 15px 0 - .gist-file - border: none - font-family: font-mono - margin: 0 - .gist-data - background: none - border: none - table - background: none - .pl-vo - color:#FFF - .line-numbers - @extend $line-numbers - background: none - border: none - padding: 0 20px 0 0 - height: font-size * line-height - vertical-align: top - .line-data - padding: 0 !important - .highlight - margin: 0 - padding: 0 - border: none - .gist-meta - background: highlight-background - color: highlight-comment - font: 0.85em font-sans - text-shadow: 0 0 - padding: 0 - margin-top: 1em - margin-left: article-padding - a - color: color-link - font-weight: normal - &:hover - text-decoration: underline - -pre - .comment - .title - .template_comment - .header - .javadoc - color: highlight-comment - .variable - .attribute - .tag - .regexp - .ruby .constant - .xml .tag .title - .xml .pi - .xml .doctype - .html .doctype - .css .id - .css .class - .css .pseudo - .winutils - .method - .request - .status - .nginx .title - .diff .change - .special - .attr_selector - .important - .subst - .clojure .title - .deletion - color: highlight-red - .number - .preprocessor - .preprocessor .keyword - .built_in - .literal - .params - .constant - .command - .lisp .body - .parent - .haskell .type - color: highlight-orange - .class - .ruby .class .title - .css .rules .attribute - .addition - color: highlight-green - .string - .value - .inheritance - .ruby .symbol - .symbol .string - .xml .cdata - .function .title - color: highlight-green - .css .hexcolor - .phpdoc - .tex .formula - color: highlight-aqua - .function - .python .decorator - .python .title - .ruby .function .title - .ruby .title .keyword - .perl .sub - .javascript .title - .coffeescript .title - .localvars - .chunk - .decorator - .identifier - .vhdl - color: highlight-blue - .keyword - .javascript .function - color: highlight-purple \ No newline at end of file diff --git a/source/css/_partial/profile.styl b/source/css/_partial/profile.styl index e6ec94d..4956414 100644 --- a/source/css/_partial/profile.styl +++ b/source/css/_partial/profile.styl @@ -1,137 +1,136 @@ .bio - text-align: center + text-align: center #profile .inner .bio h2 - font-size: 1.3em - font-weight: bold - margin-top: 15px + font-size: 1.3em + font-weight: bold + margin-top: 15px #profile .inner .bio p - margin: 5px 20px 10px 20px - text-align: justify - max-width: 300px - line-height: 1.5em + margin: 5px 20px 10px 20px + text-align: justify + max-width: 300px + line-height: 1.5em .profile-block - padding: 15px 20px - border-bottom: 1px solid color-border - &:last-child - border-bottom: none + padding: 15px 20px + border-bottom: 1px solid color-border + &:last-child + border-bottom: none #profile - column(profile-column) - display: none - @media mq-normal - display: block - .inner - @extend $block - margin-top: block-margin - background: white - .base-info - #avatar + column(profile-column) + display: none + @media mq-normal display: block - margin: 10px auto 20px - width: profile-avatar-size - height: profile-avatar-size - #name, #title, #location - display: block - text-align: center - #name - font-size: 20px - font-weight: 600 - #location - font-size: font-size - 2 - margin-top: 5px - color: color-default + #444 - .fa - margin-right: 5px - #follow - color: white - width: 150px - height: 40px - display: block - font-size: 14px - line-height: 40px - text-align: center - margin: 20px auto 10px - background: #38b7ea - border-radius: 20px - transition: 0.2s ease - &:hover - background: #38b7ea + #111 - .article-info - clearfix() - padding: 0px - .article-info-block - width: 50% - float: left - padding: 20px 15px - text-align: center - box-sizing: border-box - font-size: font-size + 6px - span - display: block - font-size: font-size - text-transform: uppercase - &:first-child - border-right: 1px solid color-border - .contact-info - .contact-list - width: 100% - td - text-align: center - font-size: font-size + 10px - a - position: relative - transition: 0.2s ease - color: color-default + #333 - &:hover - color: color-default - &:after - right: -50% - top: -41px + .inner + @extend $block + margin-top: block-margin + background: white + .base-info + #avatar + display: block + margin: 10px auto 20px + width: profile-avatar-size + height: profile-avatar-size + #name, #title, #location + display: block + text-align: center + #name + font-size: 20px + font-weight: 600 + #location + font-size: font-size - 2 + margin-top: 5px + color: color-default + #444 + .fa + margin-right: 5px + #follow color: white - background: #333 + width: 150px + height: 40px + display: block font-size: 14px - content: attr(title) - display: block - padding: 5px 15px - position: absolute - white-space: nowrap - border-radius: 2px - text-transform: uppercase - box-shadow: 0 0 2px rgba(0, 0, 0, 0.2) - z-index: 1 - &:before - top: -12px - right: 8px - border: solid - border-color: #333 transparent - border-width: 5px 5px 0 5px - content: "" - display: block - position: absolute - z-index: 2 - &.card - top: 50px - right: 20px - z-index: 999 - display: block - min-width: 280px - position: absolute - .profile-inner - position: relative - box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) - &:before, &:after - z-index: 1 - content: '' - top: -20px - right: 10px + line-height: 40px + text-align: center + margin: 20px auto 10px + background: #38b7ea + border-radius: 20px + transition: 0.2s ease + &:hover + background: #38b7ea + #111 + .article-info + clearfix() + padding: 0px + .article-info-block + width: 50% + float: left + padding: 20px 15px + text-align: center + box-sizing: border-box + font-size: font-size + 6px + span + display: block + font-size: font-size + text-transform: uppercase + &:first-child + border-right: 1px solid color-border + .social-links + & > table + width: 100% + td + text-align: center + font-size: font-size + 10px + a + position: relative + transition: 0.2s ease + color: color-default + #333 + &:hover + color: color-default + &:after + right: -50% + top: -41px + color: white + background: #333 + font-size: 14px + content: attr(title) + display: block + padding: 5px 15px + position: absolute + white-space: nowrap + border-radius: 2px + text-transform: uppercase + box-shadow: 0 0 2px rgba(0, 0, 0, 0.2) + z-index: 1 + &:before + top: -12px + right: 8px + border: solid + border-color: #333 transparent + border-width: 5px 5px 0 5px + content: "" + display: block + position: absolute + z-index: 2 + &.card + top: 50px + right: 20px + z-index: 999 + display: block + min-width: 280px position: absolute - border-width: 10px - border-style: solid - border-color: transparent transparent white transparent - &:after - z-index: 0 - border-color: transparent transparent color-border - #111 transparent - \ No newline at end of file + .profile-inner + position: relative + box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) + &:before, &:after + z-index: 1 + content: '' + top: -20px + right: 10px + position: absolute + border-width: 10px + border-style: solid + border-color: transparent transparent white transparent + &:after + z-index: 0 + border-color: transparent transparent color-border - #111 transparent diff --git a/source/css/_partial/sidebar.styl b/source/css/_partial/sidebar.styl index 30f0a7b..31afce0 100644 --- a/source/css/_partial/sidebar.styl +++ b/source/css/_partial/sidebar.styl @@ -1,164 +1,164 @@ #sidebar - @media mq-normal - column(sidebar-column) - @media mq-tablet - column(sidebar-column-tablet) + @media mq-normal + column(sidebar-column) + @media mq-tablet + column(sidebar-column-tablet) .widget - @extend $base-style - line-height: line-height - word-wrap: break-word - font-size: 0.9em - ul, ol - list-style: none - margin: 0 + @extend $base-style + line-height: line-height + word-wrap: break-word + font-size: 0.9em ul, ol - margin: 0 20px - ul - list-style: disc - ol - list-style: decimal + list-style: none + margin: 0 + ul, ol + margin: 0 20px + ul + list-style: disc + ol + list-style: decimal .category-list-count .tag-list-count .archive-list-count - padding-left: 5px - color: color-grey - font-size: 0.85em - &:before - content: "(" - &:after - content: ")" + padding-left: 5px + color: color-grey + font-size: 0.85em + &:before + content: "(" + &:after + content: ")" .tagcloud - a - margin-right: 5px + a + margin-right: 5px .widget-wrap - margin: block-margin 10px - @media mq-mini - margin: block-margin 20px + margin: block-margin 10px + @media mq-mini + margin: block-margin 20px .widget-title - @extend $block-caption - margin-bottom: 0 + @extend $block-caption + margin-bottom: 0 .widget - padding: 15px 5px - a - color: color-sidebar-text - text-decoration: none - &:hover - color: color-sidebar-text-dark - ul, ol, dl - ul, ol, dl - margin-left: 15px - list-style: disc - ul, ol - list-style: none - li, - .category-list-child - padding: 10px 0 - font-size: font-size - border-bottom: 1px solid border-color - a + padding: 15px 5px + a color: color-sidebar-text + text-decoration: none + &:hover + color: color-sidebar-text-dark + ul, ol, dl + ul, ol, dl + margin-left: 15px + list-style: disc ul, ol - list-style: none - li - border: none - &:last-child - padding-bottom: 0px - ul:not(#recent-post), ol:not(#recent-post) - li - a - &:before - color: #ccc - content: "\f0da" - font-size: 12px - margin-right: 6px - font-family: FontAwesome - transition: 0.2s ease - &:hover:before - color: color-sidebar-text-dark + list-style: none + li, + .category-list-child + padding: 10px 0 + font-size: font-size + border-bottom: 1px solid border-color + a + color: color-sidebar-text + ul, ol + list-style: none + li + border: none + &:last-child + padding-bottom: 0px + ul:not(#recent-post), ol:not(#recent-post) + li + a + &:before + color: #ccc + content: "\f0da" + font-size: 12px + margin-right: 6px + font-family: FontAwesome + transition: 0.2s ease + &:hover:before + color: color-sidebar-text-dark #toTop - @extend $block - cursor: pointer - text-align: center - width: 64px - height: 64px - color: white - font-size: 32px - line-height: 64px - background: color-default - border-radius: 4px - @media mq-mobile - width: 54px - height: 54px - font-size: 28px - line-height: 54px - @media mq-mini - width: 54px - height: 54px - font-size: 28px - line-height: 54px - &.fix - bottom: 20px - position: fixed + @extend $block + cursor: pointer + text-align: center + width: 64px + height: 64px + color: white + font-size: 32px + line-height: 64px + background: color-default + border-radius: 4px + @media mq-mobile + width: 54px + height: 54px + font-size: 28px + line-height: 54px + @media mq-mini + width: 54px + height: 54px + font-size: 28px + line-height: 54px + &.fix + bottom: 20px + position: fixed #recent-post - li - clearfix() - padding: 10px 0 10px 94px - &.no-thumbnail li - padding: 10px 0px - li - .item-thumbnail - opacity: 1 - float: left - margin-left: -94px - transition: all 0.2s ease - .thumbnail - width: 80px - height: 80px - display: block - position: relative - overflow: hidden - span - width: 100% - height: 100% - display: block - .thumbnail-image - position: absolute - background-size: cover - background-position: center - .thumbnail-none - background-image: url(thumbnail-default-small) - background-size: 100% 100% - .item-inner - a - .item-category - font-size: 13px - text-transform: uppercase - a - color: color-link - &:hover - color: color-sidebar-text-dark - a, .fa - margin-right: 5px - .item-title - font-size: 15px - a - color: color-sidebar-text-dark - transition: all 0.2s ease - .item-date - color: #aaa - font-size: 13px - text-transform: uppercase - &:hover - .item-thumbnail - opacity: 0.8 - .item-title a - color: color-link \ No newline at end of file + clearfix() + padding: 10px 0 10px 94px + &.no-thumbnail + li + padding: 10px 0px + li + .item-thumbnail + opacity: 1 + float: left + margin-left: -94px + transition: all 0.2s ease + .thumbnail + width: 80px + height: 80px + display: block + position: relative + overflow: hidden + span + width: 100% + height: 100% + display: block + .thumbnail-image + position: absolute + background-size: cover + background-position: center + .thumbnail-none + background-image: url(thumbnail-default-small) + background-size: 100% 100% + .item-inner + a + .item-category + font-size: 13px + text-transform: uppercase + a + color: color-link + &:hover + color: color-sidebar-text-dark + a, .fa + margin-right: 5px + .item-title + font-size: 15px + a + color: color-sidebar-text-dark + transition: all 0.2s ease + .item-date + color: #aaa + font-size: 13px + text-transform: uppercase + &:hover + .item-thumbnail + opacity: 0.8 + .item-title a + color: color-link \ No newline at end of file diff --git a/source/css/_util/grid.styl b/source/css/_util/grid.styl index 2a14dd2..b75bedb 100644 --- a/source/css/_util/grid.styl +++ b/source/css/_util/grid.styl @@ -5,7 +5,7 @@ // Utility function — you should never need to modify this // _gridsystem-width = (column-width + gutter-width) * columns gridsystem-width(_columns = columns) - (column-width + gutter-width) * _columns + (column-width + gutter-width) * _columns // Set @total-width to 100% for a fluid layout // total-width = gridsystem-width(columns) @@ -16,23 +16,23 @@ total-width = 100% ////////// body - clearfix() - width: 100% + clearfix() + width: 100% row(_columns = columns) - clearfix() - display: block - width: total-width * ((gutter-width + gridsystem-width(_columns)) / gridsystem-width(_columns)) - margin: 0 total-width * (((gutter-width * .5) / gridsystem-width(_columns)) * -1) + clearfix() + display: block + width: total-width * ((gutter-width + gridsystem-width(_columns)) / gridsystem-width(_columns)) + margin: 0 total-width * (((gutter-width * .5) / gridsystem-width(_columns)) * -1) column(x, _columns = columns) - display: inline - float: left - width: total-width * ((((gutter-width + column-width) * x) - gutter-width) / gridsystem-width(_columns)) - margin: 0 total-width * ((gutter-width * .5) / gridsystem-width(_columns)) + display: inline + float: left + width: total-width * ((((gutter-width + column-width) * x) - gutter-width) / gridsystem-width(_columns)) + margin: 0 total-width * ((gutter-width * .5) / gridsystem-width(_columns)) push(offset = 1) - margin-left: total-width * (((gutter-width + column-width) * offset) / gridsystem-width(columns)) + margin-left: total-width * (((gutter-width + column-width) * offset) / gridsystem-width(columns)) pull(offset = 1) - margin-right: total-width * (((gutter-width + column-width) * offset) / gridsystem-width(columns)) \ No newline at end of file + margin-right: total-width * (((gutter-width + column-width) * offset) / gridsystem-width(columns)) \ No newline at end of file diff --git a/source/css/_util/mixin.styl b/source/css/_util/mixin.styl index b56f037..cf8031d 100644 --- a/source/css/_util/mixin.styl +++ b/source/css/_util/mixin.styl @@ -1,31 +1,31 @@ // http://www.zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement/ hide-text() - text-indent: 100% - white-space: nowrap - overflow: hidden + text-indent: 100% + white-space: nowrap + overflow: hidden // http://codepen.io/shshaw/full/gEiDt absolute-center(width, height = width) - // margin: auto - // position: absolute - // top: 50% - // top: 0 - // left: 0 - // bottom: 0 - // right: 0 - // width: width - // height: height - // overflow: auto - width: width - height: height - position: absolute - top: 50% - left: 50% - margin-top: width * -0.5 - margin-left: height * -0.5 + // margin: auto + // position: absolute + // top: 50% + // top: 0 + // left: 0 + // bottom: 0 + // right: 0 + // width: width + // height: height + // overflow: auto + width: width + height: height + position: absolute + top: 50% + left: 50% + margin-top: width * -0.5 + margin-left: height * -0.5 avoid-column-break() - vendor("column-break-inside", avoid, only: webkit) - page-break-inside: avoid // for firefox - overflow: hidden // fix for firefox - break-inside: avoid-column + vendor("column-break-inside", avoid, only: webkit) + page-break-inside: avoid // for firefox + overflow: hidden // fix for firefox + break-inside: avoid-column diff --git a/source/css/_variables.styl b/source/css/_variables.styl index 29c55ac..95131f0 100644 --- a/source/css/_variables.styl +++ b/source/css/_variables.styl @@ -13,10 +13,6 @@ color-sidebar-text-dark = #333 color-widget-background = #ddd color-widget-border = #ccc color-mobile-nav-background = #191919 -color-twitter = #00aced -color-facebook = #3b5998 -color-pinterest = #cb2027 -color-google = #dd4b39 // Fonts font-sans = "open sans", "Helvetica Neue", "Microsoft Yahei", Helvetica, Arial, sans-serif @@ -27,16 +23,18 @@ line-height = 1.6em line-height-title = 1.1em // Header -logo-size = 40px header-height = 64px header-sub-height = 48px +logo-url = hexo-config("customize.logo.url") +logo-width = 0px + hexo-config("customize.logo.width") +logo-height = 0px + hexo-config("customize.logo.height") // Sidebar -sidebar = hexo-config("sidebar") +sidebar = hexo-config("customize.sidebar") thumbnail-default-small = 'images/thumb-default-small.png' // Profile bar -profile = hexo-config("profile") +profile = hexo-config("customize.profile") profile-avatar-size = 128px // Layout @@ -49,31 +47,40 @@ profile-column = 3 sidebar-column-tablet = 4 if sidebar - _sidebar-column = sidebar-column + _sidebar-column = sidebar-column else - _sidebar-column = 0 + _sidebar-column = 0 if profile - _profile-column = profile-column + _profile-column = profile-column else - _profile-column = 0 + _profile-column = 0 // Grids column-width = 80px gutter-width = 20px if _sidebar-column is 0 and _profile-column is 0 - columns = 10 - main-column = 10 + columns = 10 + main-column = 10 else - columns = main-column + _sidebar-column + _profile-column + columns = main-column + _sidebar-column + _profile-column if sidebar - main-column-tablet = 6 - if profile - main-column-tablet = 9 + main-column-tablet = 6 + if profile + main-column-tablet = 9 // Media queries mq-mini = "screen and (max-width: 559px)" mq-mobile = "screen and (min-width: 560px) and (max-width: 799px)" mq-tablet = "screen and (min-width: 800px) and (max-width: 1199px)" -mq-normal = "screen and (min-width: 1200px)" \ No newline at end of file +mq-normal = "screen and (min-width: 1200px)" + +// Code Highlight +highlight = hexo-config("customize.highlight") || "tomorrow" + +// Miscellaneous +color-twitter = #00aced +color-facebook = #3b5998 +color-pinterest = #cb2027 +color-google = #dd4b39 diff --git a/source/css/style.styl b/source/css/style.styl index 5a8f206..eb7b724 100644 --- a/source/css/style.styl +++ b/source/css/style.styl @@ -6,60 +6,64 @@ global-reset() input, button - margin: 0 - padding: 0 - &::-moz-focus-inner - border: 0 + margin: 0 padding: 0 + &::-moz-focus-inner + border: 0 + padding: 0 html, body, #container - height: 100% + height: 100% body - color: color-default - background: color-background - font: font-size font-sans - -webkit-text-size-adjust: 100% + color: color-default + background: color-background + font: font-size font-sans + -webkit-text-size-adjust: 100% a - color: color-link - text-decoration: none - &:visited color: color-link + text-decoration: none + &:visited + color: color-link .outer - clearfix() - max-width: (column-width + gutter-width) * columns + gutter-width - margin: 0 auto - padding: 0 gutter-width - @media mq-mini - padding: 0 + clearfix() + max-width: (column-width + gutter-width) * columns + gutter-width + margin: 0 auto + padding: 0 gutter-width + @media mq-mini + padding: 0 .left, .alignleft - float: left + float: left .right, .alignright - float: right + float: right .clear - clear: both + clear: both .logo - background-size: cover + width: logo-width + height: logo-height + background-repeat: no-repeat + background-image: url(logo-url) + background-size: logo-width logo-height #container - position: relative - & > .outer - margin-bottom: 30px + position: relative + & > .outer + margin-bottom: 30px #main - @media mq-normal - column(main-column) - @media mq-tablet - if sidebar - column(main-column-tablet) - else - width: 100% + @media mq-normal + column(main-column) + @media mq-tablet + if sidebar + column(main-column-tablet) + else + width: 100% @import "_extend" @import "_partial/header" @@ -68,11 +72,11 @@ a @import "_partial/comment" @import "_partial/archive" @import "_partial/footer" -@import "_partial/highlight" @import "_partial/sidebar" +@import "_highlight/index" if sidebar is left - #main - float: right - #profile - float: right \ No newline at end of file + #main + float: right + #profile + float: right \ No newline at end of file diff --git a/source/js/main.js b/source/js/main.js new file mode 100644 index 0000000..752fbd6 --- /dev/null +++ b/source/js/main.js @@ -0,0 +1,52 @@ +(function($){ + var toTop = $('#toTop').length ? $('#toTop').offset().top - $(window).height() + 20 : 0; + + // Caption + $('.article-entry').each(function(i){ + $(this).find('img').each(function(){ + if ($(this).parent().hasClass('fancybox')) return; + + var alt = this.alt; + + if (alt) $(this).after('' + alt + ''); + + $(this).wrap(''); + }); + + $(this).find('.fancybox').each(function(){ + $(this).attr('rel', 'article' + i); + }); + }); + + if ($.fancybox){ + $('.fancybox').fancybox(); + } + + // Profile card + $(document).on('click', function () { + $('#profile').removeClass('card'); + }).on('click', '#profile-anchor', function (e) { + e.stopPropagation(); + $('#profile').toggleClass('card'); + }).on('click', '.profile-inner', function (e) { + e.stopPropagation(); + }); + + // To Top + $(document).on('scroll', function () { + if ($(document).width() >= 800) { + if($(this).scrollTop() > toTop) { + $('#toTop').addClass('fix'); + $('#toTop').css('left', $('#sidebar').offset().left); + } else { + $('#toTop').removeClass('fix'); + } + } else { + $('#toTop').addClass('fix'); + $('#toTop').css('right', 20); + } + }).on('click', '#toTop', function () { + $(document).scrollTop(0); + }); + +})(jQuery); \ No newline at end of file diff --git a/source/js/script.js b/source/js/script.js deleted file mode 100644 index d5f3696..0000000 --- a/source/js/script.js +++ /dev/null @@ -1,106 +0,0 @@ -(function($){ - var toTop = $('#toTop').length ? $('#toTop').offset().top - $(window).height() + 20 : 0; - - // Share - $('body').on('click', function(){ - $('.article-share-box.on').removeClass('on'); - }).on('click', '.article-share-link', function(e){ - e.stopPropagation(); - - var $this = $(this), - url = $this.attr('data-url'), - encodedUrl = encodeURIComponent(url), - id = 'article-share-box-' + $this.attr('data-id'), - offset = $this.offset(); - - if ($('#' + id).length){ - var box = $('#' + id); - - if (box.hasClass('on')){ - box.removeClass('on'); - return; - } - } else { - var html = [ - '
', - '', - '
', - '', - '', - '', - '', - '
', - '
' - ].join(''); - - var box = $(html); - - $('body').append(box); - } - - $('.article-share-box.on').hide(); - - box.css({ - top: offset.top + 25, - left: offset.left - }).addClass('on'); - }).on('click', '.article-share-box', function(e){ - e.stopPropagation(); - }).on('click', '.article-share-box-input', function(){ - $(this).select(); - }).on('click', '.article-share-box-link', function(e){ - e.preventDefault(); - e.stopPropagation(); - - window.open(this.href, 'article-share-box-window-' + Date.now(), 'width=500,height=450'); - }); - - // Caption - $('.article-entry').each(function(i){ - $(this).find('img').each(function(){ - if ($(this).parent().hasClass('fancybox')) return; - - var alt = this.alt; - - if (alt) $(this).after('' + alt + ''); - - $(this).wrap(''); - }); - - $(this).find('.fancybox').each(function(){ - $(this).attr('rel', 'article' + i); - }); - }); - - if ($.fancybox){ - $('.fancybox').fancybox(); - } - - // Profile card - $(document).on('click', function () { - $('#profile').removeClass('card'); - }).on('click', '#profile-anchor', function (e) { - e.stopPropagation(); - $('#profile').toggleClass('card'); - }).on('click', '.profile-inner', function (e) { - e.stopPropagation(); - }); - - // To Top - $(document).on('scroll', function () { - if ($(document).width() >= 800) { - if($(this).scrollTop() > toTop) { - $('#toTop').addClass('fix'); - $('#toTop').css('left', $('#sidebar').offset().left); - } else { - $('#toTop').removeClass('fix'); - } - } else { - $('#toTop').addClass('fix'); - $('#toTop').css('right', 20); - } - }).on('click', '#toTop', function () { - $(document).scrollTop(0); - }); - -})(jQuery); \ No newline at end of file diff --git a/source/fancybox/blank.gif b/source/vendor/fancybox/blank.gif similarity index 100% rename from source/fancybox/blank.gif rename to source/vendor/fancybox/blank.gif diff --git a/source/fancybox/fancybox_loading.gif b/source/vendor/fancybox/fancybox_loading.gif similarity index 100% rename from source/fancybox/fancybox_loading.gif rename to source/vendor/fancybox/fancybox_loading.gif diff --git a/source/fancybox/fancybox_loading@2x.gif b/source/vendor/fancybox/fancybox_loading@2x.gif similarity index 100% rename from source/fancybox/fancybox_loading@2x.gif rename to source/vendor/fancybox/fancybox_loading@2x.gif diff --git a/source/fancybox/fancybox_overlay.png b/source/vendor/fancybox/fancybox_overlay.png similarity index 100% rename from source/fancybox/fancybox_overlay.png rename to source/vendor/fancybox/fancybox_overlay.png diff --git a/source/fancybox/fancybox_sprite.png b/source/vendor/fancybox/fancybox_sprite.png similarity index 100% rename from source/fancybox/fancybox_sprite.png rename to source/vendor/fancybox/fancybox_sprite.png diff --git a/source/fancybox/fancybox_sprite@2x.png b/source/vendor/fancybox/fancybox_sprite@2x.png similarity index 100% rename from source/fancybox/fancybox_sprite@2x.png rename to source/vendor/fancybox/fancybox_sprite@2x.png diff --git a/source/fancybox/helpers/fancybox_buttons.png b/source/vendor/fancybox/helpers/fancybox_buttons.png similarity index 100% rename from source/fancybox/helpers/fancybox_buttons.png rename to source/vendor/fancybox/helpers/fancybox_buttons.png diff --git a/source/fancybox/helpers/jquery.fancybox-buttons.css b/source/vendor/fancybox/helpers/jquery.fancybox-buttons.css similarity index 100% rename from source/fancybox/helpers/jquery.fancybox-buttons.css rename to source/vendor/fancybox/helpers/jquery.fancybox-buttons.css diff --git a/source/fancybox/helpers/jquery.fancybox-buttons.js b/source/vendor/fancybox/helpers/jquery.fancybox-buttons.js similarity index 100% rename from source/fancybox/helpers/jquery.fancybox-buttons.js rename to source/vendor/fancybox/helpers/jquery.fancybox-buttons.js diff --git a/source/fancybox/helpers/jquery.fancybox-media.js b/source/vendor/fancybox/helpers/jquery.fancybox-media.js similarity index 100% rename from source/fancybox/helpers/jquery.fancybox-media.js rename to source/vendor/fancybox/helpers/jquery.fancybox-media.js diff --git a/source/fancybox/helpers/jquery.fancybox-thumbs.css b/source/vendor/fancybox/helpers/jquery.fancybox-thumbs.css similarity index 100% rename from source/fancybox/helpers/jquery.fancybox-thumbs.css rename to source/vendor/fancybox/helpers/jquery.fancybox-thumbs.css diff --git a/source/fancybox/helpers/jquery.fancybox-thumbs.js b/source/vendor/fancybox/helpers/jquery.fancybox-thumbs.js similarity index 100% rename from source/fancybox/helpers/jquery.fancybox-thumbs.js rename to source/vendor/fancybox/helpers/jquery.fancybox-thumbs.js diff --git a/source/fancybox/jquery.fancybox.css b/source/vendor/fancybox/jquery.fancybox.css similarity index 100% rename from source/fancybox/jquery.fancybox.css rename to source/vendor/fancybox/jquery.fancybox.css diff --git a/source/fancybox/jquery.fancybox.js b/source/vendor/fancybox/jquery.fancybox.js similarity index 100% rename from source/fancybox/jquery.fancybox.js rename to source/vendor/fancybox/jquery.fancybox.js diff --git a/source/fancybox/jquery.fancybox.pack.js b/source/vendor/fancybox/jquery.fancybox.pack.js similarity index 100% rename from source/fancybox/jquery.fancybox.pack.js rename to source/vendor/fancybox/jquery.fancybox.pack.js diff --git a/source/font-awesome/css/font-awesome.min.css b/source/vendor/font-awesome/css/font-awesome.min.css similarity index 100% rename from source/font-awesome/css/font-awesome.min.css rename to source/vendor/font-awesome/css/font-awesome.min.css diff --git a/source/font-awesome/fonts/FontAwesome.otf b/source/vendor/font-awesome/fonts/FontAwesome.otf similarity index 100% rename from source/font-awesome/fonts/FontAwesome.otf rename to source/vendor/font-awesome/fonts/FontAwesome.otf diff --git a/source/font-awesome/fonts/fontawesome-webfont.eot b/source/vendor/font-awesome/fonts/fontawesome-webfont.eot similarity index 100% rename from source/font-awesome/fonts/fontawesome-webfont.eot rename to source/vendor/font-awesome/fonts/fontawesome-webfont.eot diff --git a/source/font-awesome/fonts/fontawesome-webfont.svg b/source/vendor/font-awesome/fonts/fontawesome-webfont.svg similarity index 100% rename from source/font-awesome/fonts/fontawesome-webfont.svg rename to source/vendor/font-awesome/fonts/fontawesome-webfont.svg diff --git a/source/font-awesome/fonts/fontawesome-webfont.ttf b/source/vendor/font-awesome/fonts/fontawesome-webfont.ttf similarity index 100% rename from source/font-awesome/fonts/fontawesome-webfont.ttf rename to source/vendor/font-awesome/fonts/fontawesome-webfont.ttf diff --git a/source/font-awesome/fonts/fontawesome-webfont.woff b/source/vendor/font-awesome/fonts/fontawesome-webfont.woff similarity index 100% rename from source/font-awesome/fonts/fontawesome-webfont.woff rename to source/vendor/font-awesome/fonts/fontawesome-webfont.woff diff --git a/source/font-awesome/fonts/fontawesome-webfont.woff2 b/source/vendor/font-awesome/fonts/fontawesome-webfont.woff2 similarity index 100% rename from source/font-awesome/fonts/fontawesome-webfont.woff2 rename to source/vendor/font-awesome/fonts/fontawesome-webfont.woff2 diff --git a/source/vendor/jquery/2.1.3/jquery.min.js b/source/vendor/jquery/2.1.3/jquery.min.js new file mode 100644 index 0000000..25714ed --- /dev/null +++ b/source/vendor/jquery/2.1.3/jquery.min.js @@ -0,0 +1,4 @@ +/*! jQuery v2.1.3 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ +!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l=a.document,m="2.1.3",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(n.isPlainObject(d)||(e=n.isArray(d)))?(e?(e=!1,f=c&&n.isArray(c)?c:[]):f=c&&n.isPlainObject(c)?c:{},g[b]=n.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){return!n.isArray(a)&&a-parseFloat(a)+1>=0},isPlainObject:function(a){return"object"!==n.type(a)||a.nodeType||n.isWindow(a)?!1:a.constructor&&!j.call(a.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(a){var b,c=eval;a=n.trim(a),a&&(1===a.indexOf("use strict")?(b=l.createElement("script"),b.text=a,l.head.appendChild(b).parentNode.removeChild(b)):c(a))},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=s(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:g.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;c>d;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=s(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(c=a[b],b=a,a=c),n.isFunction(a)?(e=d.call(arguments,2),f=function(){return a.apply(b||this,e.concat(d.call(arguments)))},f.guid=a.guid=a.guid||n.guid++,f):void 0},now:Date.now,support:k}),n.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=hb(),z=hb(),A=hb(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N=M.replace("w","w#"),O="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+L+"*\\]",P=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",Q=new RegExp(L+"+","g"),R=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),S=new RegExp("^"+L+"*,"+L+"*"),T=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),U=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),V=new RegExp(P),W=new RegExp("^"+N+"$"),X={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+P),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},eb=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(fb){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function gb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],k=b.nodeType,"string"!=typeof a||!a||1!==k&&9!==k&&11!==k)return d;if(!e&&p){if(11!==k&&(f=_.exec(a)))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return H.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName)return H.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=1!==k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+rb(o[l]);w=ab.test(a)&&pb(b.parentNode)||b,x=o.join(",")}if(x)try{return H.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function hb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ib(a){return a[u]=!0,a}function jb(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function kb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function lb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function nb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function ob(a){return ib(function(b){return b=+b,ib(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function pb(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=gb.support={},f=gb.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=gb.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=g.documentElement,e=g.defaultView,e&&e!==e.top&&(e.addEventListener?e.addEventListener("unload",eb,!1):e.attachEvent&&e.attachEvent("onunload",eb)),p=!f(g),c.attributes=jb(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=jb(function(a){return a.appendChild(g.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(g.getElementsByClassName),c.getById=jb(function(a){return o.appendChild(a).id=u,!g.getElementsByName||!g.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(g.querySelectorAll))&&(jb(function(a){o.appendChild(a).innerHTML="",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),jb(function(a){var b=g.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&jb(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",P)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===g||a.ownerDocument===v&&t(v,a)?-1:b===g||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,h=[a],i=[b];if(!e||!f)return a===g?-1:b===g?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return lb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?lb(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},g):n},gb.matches=function(a,b){return gb(a,null,null,b)},gb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return gb(b,n,null,[a]).length>0},gb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},gb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},gb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},gb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=gb.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=gb.selectors={cacheLength:50,createPseudo:ib,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||gb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&gb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=gb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(Q," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||gb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ib(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ib(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?ib(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ib(function(a){return function(b){return gb(a,b).length>0}}),contains:ib(function(a){return a=a.replace(cb,db),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ib(function(a){return W.test(a||"")||gb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:ob(function(){return[0]}),last:ob(function(a,b){return[b-1]}),eq:ob(function(a,b,c){return[0>c?c+b:c]}),even:ob(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:ob(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:ob(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:ob(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function sb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function tb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ub(a,b,c){for(var d=0,e=b.length;e>d;d++)gb(a,b[d],c);return c}function vb(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function wb(a,b,c,d,e,f){return d&&!d[u]&&(d=wb(d)),e&&!e[u]&&(e=wb(e,f)),ib(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ub(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:vb(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=vb(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=vb(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function xb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=sb(function(a){return a===b},h,!0),l=sb(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[sb(tb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return wb(i>1&&tb(m),i>1&&rb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&xb(a.slice(i,e)),f>e&&xb(a=a.slice(e)),f>e&&rb(a))}m.push(c)}return tb(m)}function yb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=F.call(i));s=vb(s)}H.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&gb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?ib(f):f}return h=gb.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=xb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,yb(e,d)),f.selector=a}return f},i=gb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&pb(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&rb(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&pb(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=jb(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),jb(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||kb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&jb(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||kb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),jb(function(a){return null==a.getAttribute("disabled")})||kb(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),gb}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=n.expr.match.needsContext,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function x(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(w.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return g.call(b,a)>=0!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=this.length,d=[],e=this;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;c>b;b++)if(n.contains(e[b],this))return!0}));for(b=0;c>b;b++)n.find(a,e[b],d);return d=this.pushStack(c>1?n.unique(d):d),d.selector=this.selector?this.selector+" "+a:a,d},filter:function(a){return this.pushStack(x(this,a||[],!1))},not:function(a){return this.pushStack(x(this,a||[],!0))},is:function(a){return!!x(this,"string"==typeof a&&u.test(a)?n(a):a||[],!1).length}});var y,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=n.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||y).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:l,!0)),v.test(c[1])&&n.isPlainObject(b))for(c in b)n.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}return d=l.getElementById(c[2]),d&&d.parentNode&&(this.length=1,this[0]=d),this.context=l,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?"undefined"!=typeof y.ready?y.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};A.prototype=n.fn,y=n(l);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};n.extend({dir:function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),n.fn.extend({has:function(a){var b=n(a,this),c=b.length;return this.filter(function(){for(var a=0;c>a;a++)if(n.contains(this,b[a]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=u.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.unique(f):f)},index:function(a){return a?"string"==typeof a?g.call(n(a),this[0]):g.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.unique(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){while((a=a[b])&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return n.dir(a,"parentNode")},parentsUntil:function(a,b,c){return n.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return n.dir(a,"nextSibling")},prevAll:function(a){return n.dir(a,"previousSibling")},nextUntil:function(a,b,c){return n.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return n.dir(a,"previousSibling",c)},siblings:function(a){return n.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return n.sibling(a.firstChild)},contents:function(a){return a.contentDocument||n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(C[a]||n.unique(e),B.test(a)&&e.reverse()),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return n.each(a.match(E)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):n.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(b=a.memory&&l,c=!0,g=e||0,e=0,f=h.length,d=!0;h&&f>g;g++)if(h[g].apply(l[0],l[1])===!1&&a.stopOnFalse){b=!1;break}d=!1,h&&(i?i.length&&j(i.shift()):b?h=[]:k.disable())},k={add:function(){if(h){var c=h.length;!function g(b){n.each(b,function(b,c){var d=n.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&g(c)})}(arguments),d?f=h.length:b&&(e=c,j(b))}return this},remove:function(){return h&&n.each(arguments,function(a,b){var c;while((c=n.inArray(b,h,c))>-1)h.splice(c,1),d&&(f>=c&&f--,g>=c&&g--)}),this},has:function(a){return a?n.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],f=0,this},disable:function(){return h=i=b=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,b||k.disable(),this},locked:function(){return!i},fireWith:function(a,b){return!h||c&&!i||(b=b||[],b=[a,b.slice?b.slice():b],d?i.push(b):j(b)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!c}};return k},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&n.isFunction(a.promise)?e:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(H.resolveWith(l,[n]),n.fn.triggerHandler&&(n(l).triggerHandler("ready"),n(l).off("ready"))))}});function I(){l.removeEventListener("DOMContentLoaded",I,!1),a.removeEventListener("load",I,!1),n.ready()}n.ready.promise=function(b){return H||(H=n.Deferred(),"complete"===l.readyState?setTimeout(n.ready):(l.addEventListener("DOMContentLoaded",I,!1),a.addEventListener("load",I,!1))),H.promise(b)},n.ready.promise();var J=n.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)n.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f};n.acceptData=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function K(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=n.expando+K.uid++}K.uid=1,K.accepts=n.acceptData,K.prototype={key:function(a){if(!K.accepts(a))return 0;var b={},c=a[this.expando];if(!c){c=K.uid++;try{b[this.expando]={value:c},Object.defineProperties(a,b)}catch(d){b[this.expando]=c,n.extend(a,b)}}return this.cache[c]||(this.cache[c]={}),c},set:function(a,b,c){var d,e=this.key(a),f=this.cache[e];if("string"==typeof b)f[b]=c;else if(n.isEmptyObject(f))n.extend(this.cache[e],b);else for(d in b)f[d]=b[d];return f},get:function(a,b){var c=this.cache[this.key(a)];return void 0===b?c:c[b]},access:function(a,b,c){var d;return void 0===b||b&&"string"==typeof b&&void 0===c?(d=this.get(a,b),void 0!==d?d:this.get(a,n.camelCase(b))):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d,e,f=this.key(a),g=this.cache[f];if(void 0===b)this.cache[f]={};else{n.isArray(b)?d=b.concat(b.map(n.camelCase)):(e=n.camelCase(b),b in g?d=[b,e]:(d=e,d=d in g?[d]:d.match(E)||[])),c=d.length;while(c--)delete g[d[c]]}},hasData:function(a){return!n.isEmptyObject(this.cache[a[this.expando]]||{})},discard:function(a){a[this.expando]&&delete this.cache[a[this.expando]]}};var L=new K,M=new K,N=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function P(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(O,"-$1").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}M.set(a,b,c)}else c=void 0;return c}n.extend({hasData:function(a){return M.hasData(a)||L.hasData(a)},data:function(a,b,c){return M.access(a,b,c) +},removeData:function(a,b){M.remove(a,b)},_data:function(a,b,c){return L.access(a,b,c)},_removeData:function(a,b){L.remove(a,b)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=M.get(f),1===f.nodeType&&!L.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d])));L.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){M.set(this,a)}):J(this,function(b){var c,d=n.camelCase(a);if(f&&void 0===b){if(c=M.get(f,a),void 0!==c)return c;if(c=M.get(f,d),void 0!==c)return c;if(c=P(f,d,void 0),void 0!==c)return c}else this.each(function(){var c=M.get(this,d);M.set(this,d,b),-1!==a.indexOf("-")&&void 0!==c&&M.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){M.remove(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=L.get(a,b),c&&(!d||n.isArray(c)?d=L.access(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return L.get(a,c)||L.access(a,c,{empty:n.Callbacks("once memory").add(function(){L.remove(a,[b+"queue",c])})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.lengthx",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var U="undefined";k.focusinBubbles="onfocusin"in a;var V=/^key/,W=/^(?:mouse|pointer|contextmenu)|click/,X=/^(?:focusinfocus|focusoutblur)$/,Y=/^([^.]*)(?:\.(.+)|)$/;function Z(){return!0}function $(){return!1}function _(){try{return l.activeElement}catch(a){}}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.get(a);if(r){c.handler&&(f=c,c=f.handler,e=f.selector),c.guid||(c.guid=n.guid++),(i=r.events)||(i=r.events={}),(g=r.handle)||(g=r.handle=function(b){return typeof n!==U&&n.event.triggered!==b.type?n.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(E)||[""],j=b.length;while(j--)h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o&&(l=n.event.special[o]||{},o=(e?l.delegateType:l.bindType)||o,l=n.event.special[o]||{},k=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},f),(m=i[o])||(m=i[o]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,p,g)!==!1||a.addEventListener&&a.addEventListener(o,g,!1)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),n.event.global[o]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.hasData(a)&&L.get(a);if(r&&(i=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=i[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&q!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete i[o])}else for(o in i)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(i)&&(delete r.handle,L.remove(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,m,o,p=[d||l],q=j.call(b,"type")?b.type:b,r=j.call(b,"namespace")?b.namespace.split("."):[];if(g=h=d=d||l,3!==d.nodeType&&8!==d.nodeType&&!X.test(q+n.event.triggered)&&(q.indexOf(".")>=0&&(r=q.split("."),q=r.shift(),r.sort()),k=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=r.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:n.makeArray(c,[b]),o=n.event.special[q]||{},e||!o.trigger||o.trigger.apply(d,c)!==!1)){if(!e&&!o.noBubble&&!n.isWindow(d)){for(i=o.delegateType||q,X.test(i+q)||(g=g.parentNode);g;g=g.parentNode)p.push(g),h=g;h===(d.ownerDocument||l)&&p.push(h.defaultView||h.parentWindow||a)}f=0;while((g=p[f++])&&!b.isPropagationStopped())b.type=f>1?i:o.bindType||q,m=(L.get(g,"events")||{})[b.type]&&L.get(g,"handle"),m&&m.apply(g,c),m=k&&g[k],m&&m.apply&&n.acceptData(g)&&(b.result=m.apply(g,c),b.result===!1&&b.preventDefault());return b.type=q,e||b.isDefaultPrevented()||o._default&&o._default.apply(p.pop(),c)!==!1||!n.acceptData(d)||k&&n.isFunction(d[q])&&!n.isWindow(d)&&(h=d[k],h&&(d[k]=null),n.event.triggered=q,d[q](),n.event.triggered=void 0,h&&(d[k]=h)),b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(L.get(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(g.namespace))&&(a.handleObj=g,a.data=g.data,e=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==e&&(a.result=e)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!==this;i=i.parentNode||this)if(i.disabled!==!0||"click"!==a.type){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>=0:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h]*)\/>/gi,bb=/<([\w:]+)/,cb=/<|&#?\w+;/,db=/<(?:script|style|link)/i,eb=/checked\s*(?:[^=]|=\s*.checked.)/i,fb=/^$|\/(?:java|ecma)script/i,gb=/^true\/(.*)/,hb=/^\s*\s*$/g,ib={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};ib.optgroup=ib.option,ib.tbody=ib.tfoot=ib.colgroup=ib.caption=ib.thead,ib.th=ib.td;function jb(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function kb(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function lb(a){var b=gb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function mb(a,b){for(var c=0,d=a.length;d>c;c++)L.set(a[c],"globalEval",!b||L.get(b[c],"globalEval"))}function nb(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(L.hasData(a)&&(f=L.access(a),g=L.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)n.event.add(b,e,j[e][c])}M.hasData(a)&&(h=M.access(a),i=n.extend({},h),M.set(b,i))}}function ob(a,b){var c=a.getElementsByTagName?a.getElementsByTagName(b||"*"):a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&n.nodeName(a,b)?n.merge([a],c):c}function pb(a,b){var c=b.nodeName.toLowerCase();"input"===c&&T.test(a.type)?b.checked=a.checked:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}n.extend({clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=n.contains(a.ownerDocument,a);if(!(k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(g=ob(h),f=ob(a),d=0,e=f.length;e>d;d++)pb(f[d],g[d]);if(b)if(c)for(f=f||ob(a),g=g||ob(h),d=0,e=f.length;e>d;d++)nb(f[d],g[d]);else nb(a,h);return g=ob(h,"script"),g.length>0&&mb(g,!i&&ob(a,"script")),h},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,k=b.createDocumentFragment(),l=[],m=0,o=a.length;o>m;m++)if(e=a[m],e||0===e)if("object"===n.type(e))n.merge(l,e.nodeType?[e]:e);else if(cb.test(e)){f=f||k.appendChild(b.createElement("div")),g=(bb.exec(e)||["",""])[1].toLowerCase(),h=ib[g]||ib._default,f.innerHTML=h[1]+e.replace(ab,"<$1>")+h[2],j=h[0];while(j--)f=f.lastChild;n.merge(l,f.childNodes),f=k.firstChild,f.textContent=""}else l.push(b.createTextNode(e));k.textContent="",m=0;while(e=l[m++])if((!d||-1===n.inArray(e,d))&&(i=n.contains(e.ownerDocument,e),f=ob(k.appendChild(e),"script"),i&&mb(f),c)){j=0;while(e=f[j++])fb.test(e.type||"")&&c.push(e)}return k},cleanData:function(a){for(var b,c,d,e,f=n.event.special,g=0;void 0!==(c=a[g]);g++){if(n.acceptData(c)&&(e=c[L.expando],e&&(b=L.cache[e]))){if(b.events)for(d in b.events)f[d]?n.event.remove(c,d):n.removeEvent(c,d,b.handle);L.cache[e]&&delete L.cache[e]}delete M.cache[c[M.expando]]}}}),n.fn.extend({text:function(a){return J(this,function(a){return void 0===a?n.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=a)})},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=jb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=jb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?n.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||n.cleanData(ob(c)),c.parentNode&&(b&&n.contains(c.ownerDocument,c)&&mb(ob(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(n.cleanData(ob(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return J(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!db.test(a)&&!ib[(bb.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(ab,"<$1>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(ob(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,n.cleanData(ob(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,m=this,o=l-1,p=a[0],q=n.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&eb.test(p))return this.each(function(c){var d=m.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(c=n.buildFragment(a,this[0].ownerDocument,!1,this),d=c.firstChild,1===c.childNodes.length&&(c=d),d)){for(f=n.map(ob(c,"script"),kb),g=f.length;l>j;j++)h=c,j!==o&&(h=n.clone(h,!0,!0),g&&n.merge(f,ob(h,"script"))),b.call(this[j],h,j);if(g)for(i=f[f.length-1].ownerDocument,n.map(f,lb),j=0;g>j;j++)h=f[j],fb.test(h.type||"")&&!L.access(h,"globalEval")&&n.contains(i,h)&&(h.src?n._evalUrl&&n._evalUrl(h.src):n.globalEval(h.textContent.replace(hb,"")))}return this}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=[],e=n(a),g=e.length-1,h=0;g>=h;h++)c=h===g?this:this.clone(!0),n(e[h])[b](c),f.apply(d,c.get());return this.pushStack(d)}});var qb,rb={};function sb(b,c){var d,e=n(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:n.css(e[0],"display");return e.detach(),f}function tb(a){var b=l,c=rb[a];return c||(c=sb(a,b),"none"!==c&&c||(qb=(qb||n("