├── .gitignore
├── LICENSE
├── README.md
├── assets
├── css
│ ├── animate.css
│ ├── dev.min.css
│ ├── prism.css
│ └── style.min.css
├── fonts
│ ├── demo.html
│ ├── iconfont.css
│ ├── iconfont.eot
│ ├── iconfont.svg
│ ├── iconfont.ttf
│ └── iconfont.woff
├── images
│ ├── apple-touch-icon-iphone.png
│ ├── banner2.jpg
│ ├── bg-mask.png
│ ├── cream_pixels.png
│ ├── escheresque_ste.png
│ ├── favicon.ico
│ ├── favicon.png
│ ├── p5.png
│ ├── stardust.png
│ ├── touch-icon-iphone-retina.png
│ └── triangular.png
└── js
│ ├── all.min.js
│ ├── jquery.fitvids.js
│ └── prism.js
├── author.hbs
├── css
├── animate.css
├── ds.css
├── reset.css
├── sass
│ ├── _1024up.scss
│ ├── _1240up.scss
│ ├── _321up.scss
│ ├── _361up.scss
│ ├── _481up.scss
│ ├── _768up.scss
│ ├── _base.scss
│ ├── _fonts.scss
│ ├── _mixins.scss
│ ├── _normalize.scss
│ ├── _print.scss
│ ├── _sprite.scss
│ └── style.scss
└── style.css
├── default.hbs
├── gulpfile.js
├── human.txt
├── index.hbs
├── js
└── base.js
├── package.json
├── page.hbs
├── partials
└── loop.hbs
├── post.hbs
└── tag.hbs
/.gitignore:
--------------------------------------------------------------------------------
1 | # Logs
2 | logs
3 | *.log
4 |
5 | # Runtime data
6 | pids
7 | *.pid
8 | *.seed
9 |
10 | # Directory for instrumented libs generated by jscoverage/JSCover
11 | lib-cov
12 |
13 | # Coverage directory used by tools like istanbul
14 | coverage
15 |
16 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
17 | .grunt
18 |
19 | # Compiled binary addons (http://nodejs.org/api/addons.html)
20 | build/Release
21 |
22 | # Dependency directory
23 | # Commenting this out is preferred by some people, see
24 | # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
25 | node_modules
26 |
27 | # Users Environment Variables
28 | .lock-wscript
29 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2015 Luo Lei
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
23 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # nevecoo
2 |
3 | 
4 |
5 | Nevecoo 是一款Ghost主题
6 |
7 |
8 | #使用前必读!!!!!
9 |
10 | **使用这个主题的朋友,请务必修改自定义配置**
11 |
12 | 相信用Ghost的朋友都有一定的基础,请务必注意相关配置。
13 |
14 |
15 |
16 | ####需自定义的配置
17 |
18 | 1. `post.hbs`中的多说配置
19 | 2. `default.hbs`顶部百度统计代码
20 | 3. `default.hbs`底部GA统计代码
21 | 4. `default.hbs` 顶部 谷歌Plus ` `请修改成自己的GP地址(谷歌搜索的时候会显示作者信息)
22 | 5. 微信浏览器中增加适配,滑动到底部的时候,自动弹出公众号图片,若不需要,请删除`js/base.js`中相关代码。例`General.isweixin == true `。
23 |
24 |
25 | ####新主题
26 |
27 | [《「辞旧迎新」新主题,更安全的罗磊独立博客》](https://luolei.org/theme-nevecoo/)
28 |
29 |
30 | Github地址:[Nevecoo](https://github.com/foru17/nevecoo).
31 |
32 | 博客主题一直用的去年原创的[Ghostwill](https://luolei.org/theme-ghostwill/),感觉十分粗糙,代码也写得糟糕。
33 |
34 | 这次新的主题名为[Nevecoo](https://github.com/foru17/nevecoo),名字没啥特别意思,从0到1,自己设计、重构,也算是小练手一番。
35 |
36 | 
37 |
38 | 主题采用的Sketch制作原型和设计。
39 |
40 | 
41 |
42 | 简约和大Banner的设计。
43 |
44 | 
45 |
46 | 优化阅读体验,更加关注于内容,删除了干扰用户阅读的多余元素。
47 |
48 | 
49 |
50 | 优化了在手机和平板上的阅读体验,现在越来越多的朋友使用移动设备阅读,给他们提供好的体验是前端开发者的责任。
51 |
52 | 
53 |
54 | 支持primejs,方便在文章中高亮不同的代码。
55 |
56 | 现在Nevecoo 版本号还是0.0.3,在Github上开源,年后将继续优化交互细节,优化前端性能。
57 |
58 |
59 | ####TO-DO
60 |
61 | - [ ] 代码结构重新组织
62 | - [ ] 顶部Nav
63 | - [ ] gulpfile重新配置
64 | - [ ] 视频的适配
65 | - [ ] ReactJS清凉版
66 |
67 | ####更新
68 | * 2015.9.4 : 版本0.0.3 增加Tag页面,修正交互细节,修正移动设备上的动画效果,增加多说data-title。
69 | * 2015.4.6 : 版本0.0.2 增加返回首页按钮,重新组织JS代码,jquery.s使用CDN,增加微信浏览器中的提示。
70 |
--------------------------------------------------------------------------------
/assets/css/animate.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | /*!
3 | Animate.css - http://daneden.me/animate
4 | Licensed under the MIT license - http://opensource.org/licenses/MIT
5 |
6 | Copyright (c) 2014 Daniel Eden
7 | */
8 |
9 | .animated {
10 | -webkit-animation-duration: 1s;
11 | animation-duration: 1s;
12 | -webkit-animation-fill-mode: both;
13 | animation-fill-mode: both;
14 | }
15 |
16 | .animated.infinite {
17 | -webkit-animation-iteration-count: infinite;
18 | animation-iteration-count: infinite;
19 | }
20 |
21 | .animated.hinge {
22 | -webkit-animation-duration: 2s;
23 | animation-duration: 2s;
24 | }
25 |
26 |
27 | @-webkit-keyframes fadeInUpBig {
28 | 0% {
29 | opacity: 0;
30 | -webkit-transform: translate3d(0, 2000px, 0);
31 | transform: translate3d(0, 2000px, 0);
32 | }
33 |
34 | 100% {
35 | opacity: 1;
36 | -webkit-transform: none;
37 | transform: none;
38 | }
39 | }
40 |
41 | @keyframes fadeInUpBig {
42 | 0% {
43 | opacity: 0;
44 | -webkit-transform: translate3d(0, 2000px, 0);
45 | transform: translate3d(0, 2000px, 0);
46 | }
47 |
48 | 100% {
49 | opacity: 1;
50 | -webkit-transform: none;
51 | transform: none;
52 | }
53 | }
54 |
55 | .fadeInUpBig {
56 | -webkit-animation-name: fadeInUpBig;
57 | animation-name: fadeInUpBig;
58 | }
59 |
60 |
61 |
62 |
63 | @-webkit-keyframes fadeOut {
64 | 0% {opacity: 1;}
65 | 100% {opacity: 0;}
66 | }
67 |
68 | @keyframes fadeOut {
69 | 0% {opacity: 1;}
70 | 100% {opacity: 0;}
71 | }
72 |
73 | .fadeOut {
74 | -webkit-animation-name: fadeOut;
75 | animation-name: fadeOut;
76 | }
77 |
--------------------------------------------------------------------------------
/assets/css/dev.min.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";/*! normalize.css v3.0.3 | MIT License | git.io/normalize */img,legend{border:0}.iconfont,html{-webkit-font-smoothing:antialiased}.arrow_down a,.banner-mask:after{-webkit-animation-timing-function:linear;-webkit-animation-iteration-count:infinite}#header,.pagination,.pagination a,.site-footer{text-align:center}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent;text-decoration:none}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,optgroup,strong{font-weight:700}dfn{font-style:italic}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre,textarea{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{padding:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}@font-face{font-family:iconfont;src:url(../../assets/fonts/iconfont.eot);src:url(../../assets/fonts/iconfont.eot?#iefix) format('embedded-opentype'),url(../../assets/fonts/iconfont.woff) format('woff'),url(../../assets/fonts/iconfont.ttf) format('truetype'),url(../../assets/fonts/iconfont.svg#uxiconfont) format('svg')}.iconfont{font-family:iconfont!important;font-size:1pc;font-style:normal;-webkit-text-stroke-width:.2px;-moz-osx-font-smoothing:grayscale;display:inline-block;speak:none;vertical-align:middle}.iconfont:hover{opacity:.6;color:#363636}.icon-self{color:red}.icon-weibo{color:#E6162D}.icon-twitter{color:#2aa9e0}.icon-facebook{color:#204385}.icon-google{color:#176DEE}.icon-weixin{color:#75D140}.icon-qzone{color:#186CC6}.icon-github{color:#333}.icon-douban{color:#279337}.icon-luolei{color:#6596C1}.icon-dribble{color:#F72D84}.icon-weibo-pure{color:#E6162D}.icon-twitter-pure{color:#2aa9e0}.icon-github-pure{color:#333}.icon-dribble-pure{color:#F72D84}.icon-weixin-pure{color:#75D140}.icon-instagram-pure{color:#B66F43}.site-footer,.site-footer a{color:#666665}.single-post-inner .icon-local:before{content:"\0f00ac"}.single-post-inner .icon-twitter:before{content:"\00e763"}.single-post-inner .icon-qzone:before{content:"\00e60d"}.single-post-inner .icon-weibo:before{content:"\003432"}.single-post-inner .icon-facebook:before{content:"\003433"}.single-post-inner .icon-google:before{content:"\003434"}.single-post-inner .icon-github:before{content:"\0f01ca"}.single-post-inner .icon-douban:before{content:"\0f01c8"}.single-post-inner .icon-luolei:before{content:"\00e60e"}@font-face{font-family:Exo;font-style:normal;font-weight:100;src:local('Exo Thin'),local('Exo-Thin'),url(https://luoleiorg.b0.upaiyun.com/source/fonts/exo/ek6B72kladJz_Z6o5PEplKCWcynf_cDxXwCLxiixG1c.woff) format('woff')}@font-face{font-family:Exo;font-style:normal;font-weight:400;src:local('Exo Regular'),local('Exo-Regular'),url(https://luoleiorg.b0.upaiyun.com/source/fonts/exo/ZcGd2dvMSgl3mHN3lKAjNw.woff) format('woff')}body,html{width:100%;min-height:100%;height:100%;margin:0;padding:0}html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;max-height:100%;font-size:62.5%;-webkit-tap-highlight-color:transparent;background-image:url(../../assets/images/p5.png);font-family:Exo 'Hiragino Sans GB','Microsoft YaHei',微软雅黑,STHeiti,'WenQuanYi Micro Hei',Helvetica,Arial,sans-serif sans-serif}.post-title,.site-footer,.site-footer a{font-family:Exo,sans-serif}h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2{margin-bottom:.5rem}h6{font-size:1.4rem}h5{font-size:1.6rem}h4{font-size:1.8rem}h3{font-size:2.2rem;line-height:2.6rem}h2{font-size:2.8rem;line-height:4.6rem}h1{font-size:3.2rem;line-height:3.8rem}.clearfix:after,.clearfix:before{content:" ";display:table}.clearfix:after{clear:both}.hide{display:none}#footer,#header{display:table;position:relative;width:100%}#header{height:60%;max-height:52rem;padding:24px 0;box-sizing:border-box;z-index:0}#footer{margin-top:12rem;height:30rem;z-index:1}.site-footer{position:relative;margin:8rem 0 0;height:10rem;padding:.5rem 15px;border-top:#EBF2F6 1px solid;font-weight:lighter;font-size:1.4rem;line-height:1.75em}.site-footer a:hover{color:#50585D}.post-template .site-footer{margin-top:13rem}.home-header{background:url(../../assets/images/banner2.jpg)}.blog-background{background-repeat:no-repeat;background-position:center;-webkit-background-size:cover;background-size:cover}.banner-mask:after{content:"";position:absolute;width:100%;height:100%;top:0;left:0;z-index:-1;background:url(../../assets/images/escheresque_ste.png);opacity:.25;background-color:rgba(0,0,0,.05);transition:background-color .5s ease-out 2s;-webkit-animation-name:animate-bg;-webkit-animation-duration:20s}.arrow_down,.arrow_down a{position:absolute;left:50%}.arrow_down{display:none;bottom:5rem;height:2rem}.arrow_down a{z-index:4;display:block;-webkit-transform:rotate(315deg);transform:rotate(315deg);margin-left:-1.3rem;width:2.8rem;height:2.8rem;border-left:.1rem solid #fff;border-bottom:.1rem solid #fff;-webkit-animation-name:shine;-webkit-animation-duration:1.5s;animation-iteration-count:infinite}.archive-template #main,.home-template #main,.tag-template #main{margin:2rem auto}.archive-template .arrow_down{display:none}#main{position:relative;z-index:1;width:74%;max-width:76.8rem;margin:-8rem auto}.post-in-list{position:relative;margin-bottom:2rem;overflow:hidden;min-height:10rem;-webkit-transform:translate3d(0,0,0)}.decor,.info-mask{position:absolute;width:100%}.post-in-list a{color:#fff}.post-in-list p{margin:0}.post-in-list .post-excerpt img{display:block;width:100%;min-height:20rem;height:auto}.info-mask{bottom:0;height:10rem;background:linear-gradient(transparent,#111)}.mask-wrapper{padding-left:1rem}.post-title{color:#fff;font-size:3.2rem;margin:1.2rem 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.post-title a{font-family:Exo 'Hiragino Sans GB','Microsoft YaHei',微软雅黑,STHeiti,'WenQuanYi Micro Hei',Helvetica,Arial,sans-serif,sans-serif;text-shadow:1px 1px 1px #333,0 0 0 #333,1px 1px 1px #fff}.post-meta span{display:inline-block;color:#fff;font-size:1.6rem}.page-number,.pagination a,.post-tags a{font-size:1.4rem;display:inline-block}.post-tags{margin-left:.5rem}.post-tags a{line-height:1.6rem;margin-left:.6rem;padding:0 1rem;background:rgba(255,255,255,.3);border-radius:.3rem}.post-tags a:hover{background:rgba(255,255,255,.2)}#footer .svg-wrapper{bottom:auto;top:0}.decor{left:0;height:100%;z-index:2;bottom:-1px}#footer .decor{top:-1px}.pagination{color:#999;margin:0 auto 3rem;width:70%}.pagination a{font-family:Exo 'Hiragino Sans GB','Microsoft YaHei',微软雅黑,STHeiti,'WenQuanYi Micro Hei',Helvetica,Arial,sans-serif;border-radius:.3rem;color:#fff;background:rgba(0,0,0,.5);height:2.4rem;line-height:2.4rem;padding:.3rem .8rem}.pagination a:hover{background:rgba(0,0,0,.2)}.page-number{padding:0 1rem}.post{background:#fff}.single-post-inner{font-size:1.8rem;padding:0 2.8% 1.6rem;overflow:hidden;border-bottom:1px dashed #e5e5e5;font-family:Exo,'Hiragino Sans GB','Microsoft YaHei',微软雅黑,STHeiti,'WenQuanYi Micro Hei',Helvetica,Arial,sans-serif}.single-post-inner img{display:block;margin:0 auto;max-width:100%;height:auto}.single-post-inner img.full-img{max-width:none;width:106%;margin:0 -3%;-webkit-transition:width .5s linear;transition:width .5s linear}.single-post-inner a{color:#54B5DB;padding:0 .5rem;font-family:Exo,sans-serif}.home-info-container h2,.home-info-container h4,.single-post-inner p{font-family:Exo 'Hiragino Sans GB','Microsoft YaHei',微软雅黑,STHeiti,'WenQuanYi Micro Hei',Helvetica,Arial,sans-serif}.single-post-inner p{color:#333;font-size:1.6rem;line-height:2.8rem;margin-top:2.2rem}.single-post-inner p.with-img{margin:0;padding:0;-webkit-transition:padding .15s linear;transition:padding .15s linear}.single-post-inner code,.single-post-inner h1,.single-post-inner h2,.single-post-inner h3,.single-post-inner h4,.single-post-inner h5,.single-post-inner h6,.single-post-inner pre{color:#595959}.single-post-inner h2,.single-post-inner h4,.single-post-inner h6{margin-top:.5rem}.single-post-inner li{font-size:1.6rem;line-height:2.4rem}.single-post-inner blockquote{font-style:italic;font-size:1.6rem;line-height:2.2rem;color:#333}.single-post-inner frame,.single-post-inner iframe,.single-post-inner video{max-width:100%;height:auto}.single-post-inner code{padding:.1em .4em;background:#e8f2fb;border:1px solid #c9e1f6;border-radius:3px}.single-post-inner pre{white-space:pre-wrap}.single-post-inner pre code{background:0 0;border:0;line-height:2rem}.nav-header{width:100%;position:relative}.nav-header-container{position:relative;height:2rem;width:74%;max-width:76.8rem;margin:0 auto}.header-wrap{width:100%}.back-home{background:none;border:1px solid #fff;border-radius:0;color:#fff;font-size:1.2rem;left:0;line-height:2.4rem;opacity:.8;padding:.5rem 2.5rem;position:absolute;text-transform:uppercase;top:2rem;z-index:99}.back-home:active{background:rgba(0,0,0,.1)}.home-info-container{margin-top:18rem}.home-info-container h2,.home-info-container h4{color:#fff;font-weight:lighter;text-shadow:0 1px 1px #595959}.home-info-container h2:hover,.home-info-container h4:hover{color:#efefef;text-shadow:0 1px 1px #000}.home-info-container h2{font-size:4.2rem}.home-info-container h4{font-size:2rem;letter-spacing:.8rem}.post-info-container{width:74%;max-width:76.8rem;margin:13rem auto}.post-page-tags{display:block;clear:both;text-align:left;margin-top:1rem}.post-page-tags a{color:#fff;font-size:1.4rem;line-height:1.6rem;display:inline-block;margin:.3rem .6rem;padding:0 1rem;background:rgba(255,255,255,.3);border-radius:.3rem}.post-page-author,.post-page-time{display:inline-block;float:left;padding-bottom:1rem;margin-top:1rem;font-size:1.6rem;color:#fff;text-align:left}.post-page-tags a:first-child{margin-left:0}.post-page-tags a:hover{background:rgba(255,255,255,.2)}.post-page-time{font-family:Exo}.post-page-author{margin-left:2rem}.share h4,.toggle-comment h4{letter-spacing:.5rem;background:rgba(255,255,255,.1);padding:.5rem 1.6rem}.post-page-title{font-size:4.2rem;line-height:4.8rem;min-height:9.4rem;color:#fff;margin:0 auto;text-align:left;font-weight:lighter;font-family:Exo 'Hiragino Sans GB','Microsoft YaHei',微软雅黑,STHeiti,'WenQuanYi Micro Hei',Helvetica,Arial,sans-serif;white-space:normal;overflow:hidden;text-overflow:ellipsis}.share,.share h4,.share-icons{text-align:center}.share{width:100%;margin:2rem auto}.share h4{display:block;width:10rem;border:2px solid #595959;border-radius:.3rem;margin:0 auto}.share-icons{display:none;width:30rem;height:3rem;margin:3rem auto}.share-icons a{display:inline-block;font-size:2rem;line-height:2.5rem;margin:0 1rem 0 0;height:2.5rem}.share-icons a i{font-size:4rem}.toggle-comment h4{display:block;width:10rem;text-align:center;border:2px solid #595959;border-radius:.3rem;margin:0 auto}#to-top{display:none;width:3pc;height:3pc;text-align:left;text-indent:-9999px;background:rgba(0,0,0,.6);border-radius:50%;overflow:hidden;position:fixed;right:20px;bottom:20px;-khtml-opacity:.5;filter:alpha(opacity=50);opacity:.5;z-index:1000}#to-top:active,#to-top:hover{background:rgba(0,0,0,.4)}.to-top-wrap{width:100%;height:100%;position:relative}.to-top-wrap:after,.to-top-wrap:before{position:absolute;top:50%;content:'';width:0;height:0;-webkit-animation-name:shine;left:50%;display:block;-webkit-animation-timing-function:linear;-webkit-animation-iteration-count:infinite}.to-top-wrap:after{margin-left:-10px;margin-top:-11px;transform:rotate(180deg);-webkit-transform:rotate(180deg);border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid rgba(255,255,255,.5);-webkit-animation-duration:1.5s}.to-top-wrap:before{margin-left:-15px;margin-top:-9pt;transform:rotate(180deg);-webkit-transform:rotate(180deg);border-left:15px solid transparent;border-right:15px solid transparent;border-top:20px solid rgba(255,255,255,.5);-webkit-animation-duration:3s}.author{position:relative;background:#fff;margin-top:5rem;width:100%;font-family:'Open Sans',sans-serif}.author-image{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;position:absolute;top:-40px;left:50%;margin-left:-40px;width:5pc;height:5pc;border-radius:100%;overflow:hidden;padding:6px;background:#fff;z-index:2;box-shadow:#E7EEF2 0 0 0 1px}.author-image .img{position:relative;display:block;width:100%;height:100%;background-size:cover;background-position:center center;border-radius:100%}.author-detail{padding:6.6rem 1.6rem 1.6rem;text-align:center}.author-detail h4{font-size:1.8rem;margin:0}.author-detail h4 a{font-size:1.6rem;color:#999}.author-detail h4 a:hover{color:#666}.author-detail p{color:#333;margin:1rem 0;font-size:1.4rem;line-height:1.75em}.author-meta,.author-meta span a{color:#9EABB3}.author-meta{padding:0;list-style:none;font-size:1.4rem;line-height:1;font-style:italic;display:inline-block;margin:0 auto;word-wrap:break-word}.author-meta span{margin-right:1rem;color:#9EABB3}.wechat-notice{margin:1rem 0;display:none}.wechat-notice a img{display:block;width:100%;max-width:100%}.wechat-notice h6{margin-top:.5rem;font-size:1.2rem;font-weight:lighter;line-height:1.8rem;color:#333}.cover-image{display:none!important}.comment-area{display:none;background:#fff;padding:0 1.6rem}.comment-area.toggle-up{display:block;-webkit-animation-name:toggle-up;-webkit-animation-duration:.5s;-webkit-animation-timing-function:linear}@-webkit-keyframes animate-bg{from{background-position:0 0}to{background-position:283px 212px}}@-webkit-keyframes shine{0%,100%{opacity:.1}25%,75%{opacity:.2}50%{opacity:1}}@-webkit-keyframes toggle-up{0%{opacity:0;-webkit-transform:translate3d(0,100px,0);transform:translate3d(0,100px,0)}100%{opacity:1;-webkit-transform:none;transform:none}}/*!
2 | Animate.css - http://daneden.me/animate
3 | Licensed under the MIT license - http://opensource.org/licenses/MIT
4 |
5 | Copyright (c) 2014 Daniel Eden
6 | */.animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animated.hinge{-webkit-animation-duration:2s;animation-duration:2s}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}100%{opacity:1;-webkit-transform:none;transform:none}}.fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@media only screen and (max-width:361px){.site-footer{margin-top:3rem;font-size:1.2rem}#main{width:100%;margin:2rem auto}.nav-header-container{width:80%}.back-home{top:.5rem;left:0}}@media only screen and (max-width:481px){#header{height:100%}.post-info-container{width:84%}.info-mask{height:6rem}.post-title{font-size:1.6rem;margin:.2rem 0;line-height:1.8rem}.home-info-container h2,.post-page-title{font-size:3.2rem}.mask-wrapper{margin-top:.5rem}#main{width:100%;margin:2rem auto}.author-detail{padding:6rem 1.6rem 1.6rem}.home-info-container{margin-top:18rem}.archive-template .home-info-container,.site-footer,.tag-template .home-info-container{margin-top:3rem}.home-info-container h2,.home-info-container h4{color:#fff;font-weight:lighter;text-shadow:0 1px 1px #595959}.home-info-container h2:hover,.home-info-container h4:hover{text-shadow:0 1px 1px #333}.home-info-container h4{font-size:1.4rem;letter-spacing:.5rem}.pagination{width:90%}.pagination a{font-size:1rem}.archive-template #header,.tag-template #header{height:30%}.archive-template .home-info-container h2,.tag-template .home-info-container h2{line-height:2.2rem;font-size:1.6rem}.archive-template .home-info-container h4,.tag-template .home-info-container h4{font-size:1.2rem}.post-meta span.post-tags{display:none}}@media only screen and (max-width:768px){#main{width:100%;margin:2rem auto}.home-template .site-footer,.post-template .site-footer{margin-top:3rem}.arrow_down{display:block}.back-home{top:.5rem;left:0}#header{max-height:100%}}@media only screen and (min-width:1240px){#main{width:100%;margin:-6rem auto}}
7 | /*# sourceMappingURL=data:application/json;base64,eyJ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RLElBT1AsMENBQUEsc0NBQ0csWUFBQSxPQUdGLFVBQVcsT0FDVCwwQ0FBQSxzQ0FNRixVQUFXLE9BQ2YsMEJBSUUsUUFBUyxNQzVGYix5Q0FDRSxNQUNFLE1BQU8sS0FJUCxPQUFRLEtBQUssS0FPWiw0QkFOQSw0QkFLRCxXQUFZLEtBVVosWUFHQSxRQUFTLE1BQ1QsV0FDQSxJQUFBLE1BR0EsS0FBTSxFQUNOLFFOK3RDQSxXQUFZLE1PL3ZDaEIsMENBQ0UsTUFDRSxNQUFPLEtQa3dDUCxPQUFRLE1BQU0iLCJmaWxlIjoic3R5bGUuY3NzIiwic291cmNlc0NvbnRlbnQiOltudWxsLG51bGwsbnVsbCxudWxsLG51bGwsbnVsbCxudWxsLG51bGwsbnVsbF0sInNvdXJjZVJvb3QiOiIvY3NzL3Nhc3MifQ== */
--------------------------------------------------------------------------------
/assets/css/prism.css:
--------------------------------------------------------------------------------
1 | /* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript+bash+coffeescript+css-extras+git+handlebars+markdown+php+jsx+scss&plugins=autolinker+show-language */
2 | /**
3 | * prism.js default theme for JavaScript, CSS and HTML
4 | * Based on dabblet (http://dabblet.com)
5 | * @author Lea Verou
6 | */
7 |
8 | code[class*="language-"],
9 | pre[class*="language-"] {
10 | color: black;
11 | text-shadow: 0 1px white;
12 | font-family: Consolas, Monaco, 'Andale Mono', monospace;
13 | direction: ltr;
14 | text-align: left;
15 | white-space: pre;
16 | word-spacing: normal;
17 | word-break: normal;
18 | line-height: 1.5;
19 |
20 | -moz-tab-size: 4;
21 | -o-tab-size: 4;
22 | tab-size: 4;
23 |
24 | -webkit-hyphens: none;
25 | -moz-hyphens: none;
26 | -ms-hyphens: none;
27 | hyphens: none;
28 | }
29 |
30 | pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
31 | code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
32 | text-shadow: none;
33 | background: #b3d4fc;
34 | }
35 |
36 | pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
37 | code[class*="language-"]::selection, code[class*="language-"] ::selection {
38 | text-shadow: none;
39 | background: #b3d4fc;
40 | }
41 |
42 | @media print {
43 | code[class*="language-"],
44 | pre[class*="language-"] {
45 | text-shadow: none;
46 | }
47 | }
48 |
49 | /* Code blocks */
50 | pre[class*="language-"] {
51 | padding: 1em;
52 | margin: .5em 0;
53 | overflow: auto;
54 | }
55 |
56 | :not(pre) > code[class*="language-"],
57 | pre[class*="language-"] {
58 | background: #f5f2f0;
59 | }
60 |
61 | /* Inline code */
62 | :not(pre) > code[class*="language-"] {
63 | padding: .1em;
64 | border-radius: .3em;
65 | }
66 |
67 | .token.comment,
68 | .token.prolog,
69 | .token.doctype,
70 | .token.cdata {
71 | color: slategray;
72 | }
73 |
74 | .token.punctuation {
75 | color: #999;
76 | }
77 |
78 | .namespace {
79 | opacity: .7;
80 | }
81 |
82 | .token.property,
83 | .token.tag,
84 | .token.boolean,
85 | .token.number,
86 | .token.constant,
87 | .token.symbol,
88 | .token.deleted {
89 | color: #905;
90 | }
91 |
92 | .token.selector,
93 | .token.attr-name,
94 | .token.string,
95 | .token.char,
96 | .token.builtin,
97 | .token.inserted {
98 | color: #690;
99 | }
100 |
101 | .token.operator,
102 | .token.entity,
103 | .token.url,
104 | .language-css .token.string,
105 | .style .token.string {
106 | color: #a67f59;
107 | background: hsla(0, 0%, 100%, .5);
108 | }
109 |
110 | .token.atrule,
111 | .token.attr-value,
112 | .token.keyword {
113 | color: #07a;
114 | }
115 |
116 | .token.function {
117 | color: #DD4A68;
118 | }
119 |
120 | .token.regex,
121 | .token.important,
122 | .token.variable {
123 | color: #e90;
124 | }
125 |
126 | .token.important,
127 | .token.bold {
128 | font-weight: bold;
129 | }
130 | .token.italic {
131 | font-style: italic;
132 | }
133 |
134 | .token.entity {
135 | cursor: help;
136 | }
137 |
138 | .token a {
139 | color: inherit;
140 | }
141 | pre[class*='language-'] {
142 | position: relative;
143 | }
144 | pre[class*='language-'] > code[data-language] {
145 | overflow: auto;
146 | max-height: 28em;
147 | display: block;
148 | }
149 | pre[class*='language-'] > code[data-language]::before {
150 | content: attr(data-language);
151 | color: black;
152 | background-color: #CFCFCF;
153 | display: inline-block;
154 | position: absolute;
155 | top: 0;
156 | right: 0;
157 | font-size: 0.9em;
158 | border-radius: 0 0 0 5px;
159 | padding: 0 0.5em;
160 | text-shadow: none;
161 | }
162 |
--------------------------------------------------------------------------------
/assets/css/style.min.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";/*! normalize.css v3.0.3 | MIT License | git.io/normalize */img,legend{border:0}.iconfont,html{-webkit-font-smoothing:antialiased}.arrow_down a,.banner-mask:after{-webkit-animation-timing-function:linear;-webkit-animation-iteration-count:infinite}#header,.pagination,.pagination a,.site-footer{text-align:center}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent;text-decoration:none}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,optgroup,strong{font-weight:700}dfn{font-style:italic}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre,textarea{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{padding:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}@font-face{font-family:iconfont;src:url(../../assets/fonts/iconfont.eot);src:url(../../assets/fonts/iconfont.eot?#iefix) format('embedded-opentype'),url(../../assets/fonts/iconfont.woff) format('woff'),url(../../assets/fonts/iconfont.ttf) format('truetype'),url(../../assets/fonts/iconfont.svg#uxiconfont) format('svg')}.iconfont{font-family:iconfont!important;font-size:1pc;font-style:normal;-webkit-text-stroke-width:.2px;-moz-osx-font-smoothing:grayscale;display:inline-block;speak:none;vertical-align:middle}.iconfont:hover{opacity:.6;color:#363636}.icon-self{color:red}.icon-weibo{color:#E6162D}.icon-twitter{color:#2aa9e0}.icon-facebook{color:#204385}.icon-google{color:#176DEE}.icon-weixin{color:#75D140}.icon-qzone{color:#186CC6}.icon-github{color:#333}.icon-douban{color:#279337}.icon-luolei{color:#6596C1}.icon-dribble{color:#F72D84}.icon-weibo-pure{color:#E6162D}.icon-twitter-pure{color:#2aa9e0}.icon-github-pure{color:#333}.icon-dribble-pure{color:#F72D84}.icon-weixin-pure{color:#75D140}.icon-instagram-pure{color:#B66F43}.site-footer,.site-footer a{color:#666665}.single-post-inner .icon-local:before{content:"\0f00ac"}.single-post-inner .icon-twitter:before{content:"\00e763"}.single-post-inner .icon-qzone:before{content:"\00e60d"}.single-post-inner .icon-weibo:before{content:"\003432"}.single-post-inner .icon-facebook:before{content:"\003433"}.single-post-inner .icon-google:before{content:"\003434"}.single-post-inner .icon-github:before{content:"\0f01ca"}.single-post-inner .icon-douban:before{content:"\0f01c8"}.single-post-inner .icon-luolei:before{content:"\00e60e"}@font-face{font-family:Exo;font-style:normal;font-weight:100;src:local('Exo Thin'),local('Exo-Thin'),url(https://luoleiorg.b0.upaiyun.com/source/fonts/exo/ek6B72kladJz_Z6o5PEplKCWcynf_cDxXwCLxiixG1c.woff) format('woff')}@font-face{font-family:Exo;font-style:normal;font-weight:400;src:local('Exo Regular'),local('Exo-Regular'),url(https://luoleiorg.b0.upaiyun.com/source/fonts/exo/ZcGd2dvMSgl3mHN3lKAjNw.woff) format('woff')}body,html{width:100%;min-height:100%;height:100%;margin:0;padding:0}html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;max-height:100%;font-size:62.5%;-webkit-tap-highlight-color:transparent;background-image:url(../../assets/images/p5.png);font-family:Exo, 'Hiragino Sans GB','Microsoft YaHei',微软雅黑,STHeiti,'WenQuanYi Micro Hei',Helvetica,Arial, sans-serif}.post-title,.site-footer,.site-footer a{font-family:Exo,sans-serif}h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2{margin-bottom:.5rem}h6{font-size:1.4rem}h5{font-size:1.6rem}h4{font-size:1.8rem}h3{font-size:2.2rem;line-height:2.6rem}h2{font-size:2.8rem;line-height:4.6rem}h1{font-size:3.2rem;line-height:3.8rem}.clearfix:after,.clearfix:before{content:" ";display:table}.clearfix:after{clear:both}.hide{display:none}#footer,#header{display:table;position:relative;width:100%}#header{height:60%;max-height:52rem;padding:24px 0;box-sizing:border-box;z-index:0}#footer{margin-top:12rem;height:30rem;z-index:1}.site-footer{position:relative;margin:8rem 0 0;height:10rem;padding:.5rem 15px;border-top:#EBF2F6 1px solid;font-weight:lighter;font-size:1.4rem;line-height:1.75em}.site-footer a:hover{color:#50585D}.post-template .site-footer{margin-top:13rem}.home-header{background:url(../../assets/images/banner2.jpg)}.blog-background{background-repeat:no-repeat;background-position:center;-webkit-background-size:cover;background-size:cover}.banner-mask:after{content:"";position:absolute;width:100%;height:100%;top:0;left:0;z-index:-1;background:url(../../assets/images/escheresque_ste.png);opacity:.25;background-color:rgba(0,0,0,.05);transition:background-color .5s ease-out 2s;-webkit-animation-name:animate-bg;-webkit-animation-duration:20s}.arrow_down,.arrow_down a{position:absolute;left:50%}.arrow_down{display:none;bottom:5rem;height:2rem}.arrow_down a{z-index:4;display:block;-webkit-transform:rotate(315deg);transform:rotate(315deg);margin-left:-1.3rem;width:2.8rem;height:2.8rem;border-left:.1rem solid #fff;border-bottom:.1rem solid #fff;-webkit-animation-name:shine;-webkit-animation-duration:1.5s;animation-iteration-count:infinite}.archive-template #main,.home-template #main,.tag-template #main{margin:2rem auto}.archive-template .arrow_down{display:none}#main{position:relative;z-index:1;width:74%;max-width:76.8rem;margin:-8rem auto}.post-in-list{position:relative;margin-bottom:2rem;overflow:hidden;min-height:10rem;-webkit-transform:translate3d(0,0,0)}.decor,.info-mask{position:absolute;width:100%}.post-in-list a{color:#fff}.post-in-list p{margin:0}.post-in-list .post-excerpt img{display:block;width:100%;min-height:20rem;height:auto}.info-mask{bottom:0;height:10rem;background:linear-gradient(transparent,#111)}.mask-wrapper{padding-left:1rem}.post-title{color:#fff;font-size:3.2rem;margin:1.2rem 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.post-title a{font-family:Exo, 'Hiragino Sans GB','Microsoft YaHei',微软雅黑,STHeiti,'WenQuanYi Micro Hei',Helvetica,Arial,sans-serif,sans-serif;text-shadow:1px 1px 1px #333,0 0 0 #333,1px 1px 1px #fff}.post-meta span{display:inline-block;color:#fff;font-size:1.6rem}.page-number,.pagination a,.post-tags a{font-size:1.4rem;display:inline-block}.post-tags{margin-left:.5rem}.post-tags a{line-height:1.6rem;margin-left:.6rem;padding:0 1rem;background:rgba(255,255,255,.3);border-radius:.3rem}.post-tags a:hover{background:rgba(255,255,255,.2)}#footer .svg-wrapper{bottom:auto;top:0}.decor{left:0;height:100%;z-index:2;bottom:-1px}#footer .decor{top:-1px}.pagination{color:#999;margin:0 auto 3rem;width:70%}.pagination a{font-family:Exo, 'Hiragino Sans GB','Microsoft YaHei',微软雅黑,STHeiti,'WenQuanYi Micro Hei',Helvetica,Arial,sans-serif;border-radius:.3rem;color:#fff;background:rgba(0,0,0,.5);height:2.4rem;line-height:2.4rem;padding:.3rem .8rem}.pagination a:hover{background:rgba(0,0,0,.2)}.page-number{padding:0 1rem}.post{background:#fff}.single-post-inner{font-size:1.8rem;padding:0 2.8% 1.6rem;overflow:hidden;border-bottom:1px dashed #e5e5e5;font-family:Exo,'Hiragino Sans GB','Microsoft YaHei',微软雅黑,STHeiti,'WenQuanYi Micro Hei',Helvetica,Arial,sans-serif}.single-post-inner img{display:block;margin:0 auto;max-width:100%;height:auto}.single-post-inner img.full-img{max-width:none;width:106%;margin:0 -3%;-webkit-transition:width .5s linear;transition:width .5s linear}.single-post-inner a{color:#54B5DB;padding:0 .5rem;font-family:Exo,sans-serif}.home-info-container h2,.home-info-container h4,.single-post-inner p{font-family:Exo, 'Hiragino Sans GB','Microsoft YaHei',微软雅黑,STHeiti,'WenQuanYi Micro Hei',Helvetica,Arial,sans-serif}.single-post-inner p{color:#333;font-size:1.6rem;line-height:2.8rem;margin-top:2.2rem}.single-post-inner p.with-img{margin:0;padding:0;-webkit-transition:padding .15s linear;transition:padding .15s linear}.single-post-inner code,.single-post-inner h1,.single-post-inner h2,.single-post-inner h3,.single-post-inner h4,.single-post-inner h5,.single-post-inner h6,.single-post-inner pre{color:#595959}.single-post-inner h2,.single-post-inner h4,.single-post-inner h6{margin-top:.5rem}.single-post-inner li{font-size:1.6rem;line-height:2.4rem}.single-post-inner blockquote{font-style:italic;font-size:1.6rem;line-height:2.2rem;color:#333}.single-post-inner frame,.single-post-inner iframe,.single-post-inner video{max-width:100%;height:auto}.single-post-inner code{padding:.1em .4em;background:#e8f2fb;border:1px solid #c9e1f6;border-radius:3px}.single-post-inner pre{white-space:pre-wrap}.single-post-inner pre code{background:0 0;border:0;line-height:2rem}.nav-header{width:100%;position:relative}.nav-header-container{position:relative;height:2rem;width:74%;max-width:76.8rem;margin:0 auto}.header-wrap{width:100%}.back-home{background:none;border:1px solid #fff;border-radius:0;color:#fff;font-size:1.2rem;left:0;line-height:2.4rem;opacity:.8;padding:.5rem 2.5rem;position:absolute;text-transform:uppercase;top:2rem;z-index:99}.back-home:active{background:rgba(0,0,0,.1)}.home-info-container{margin-top:18rem}.home-info-container h2,.home-info-container h4{color:#fff;font-weight:lighter;text-shadow:0 1px 1px #595959}.home-info-container h2:hover,.home-info-container h4:hover{color:#efefef;text-shadow:0 1px 1px #000}.home-info-container h2{font-size:4.2rem}.home-info-container h4{font-size:2rem;letter-spacing:.8rem}.post-info-container{width:74%;max-width:76.8rem;margin:13rem auto}.post-page-tags{display:block;clear:both;text-align:left;margin-top:1rem}.post-page-tags a{color:#fff;font-size:1.4rem;line-height:1.6rem;display:inline-block;margin:.3rem .6rem;padding:0 1rem;background:rgba(255,255,255,.3);border-radius:.3rem}.post-page-author,.post-page-time{display:inline-block;float:left;padding-bottom:1rem;margin-top:1rem;font-size:1.6rem;color:#fff;text-align:left}.post-page-tags a:first-child{margin-left:0}.post-page-tags a:hover{background:rgba(255,255,255,.2)}.post-page-time{font-family:Exo}.post-page-author{margin-left:2rem}.share h4,.toggle-comment h4{letter-spacing:.5rem;background:rgba(255,255,255,.1);padding:.5rem 1.6rem}.post-page-title{font-size:4.2rem;line-height:4.8rem;min-height:9.4rem;color:#fff;margin:0 auto;text-align:left;font-weight:lighter;font-family:Exo, 'Hiragino Sans GB','Microsoft YaHei',微软雅黑,STHeiti,'WenQuanYi Micro Hei',Helvetica,Arial,sans-serif;white-space:normal;overflow:hidden;text-overflow:ellipsis}.share,.share h4,.share-icons{text-align:center}.share{width:100%;margin:2rem auto}.share h4{display:block;width:10rem;border:2px solid #595959;border-radius:.3rem;margin:0 auto}.share-icons{display:none;width:30rem;height:3rem;margin:3rem auto}.share-icons a{display:inline-block;font-size:2rem;line-height:2.5rem;margin:0 1rem 0 0;height:2.5rem}.share-icons a i{font-size:4rem}.toggle-comment h4{display:block;width:10rem;text-align:center;border:2px solid #595959;border-radius:.3rem;margin:0 auto}#to-top{display:none;width:3pc;height:3pc;text-align:left;text-indent:-9999px;background:rgba(0,0,0,.6);border-radius:50%;overflow:hidden;position:fixed;right:20px;bottom:20px;-khtml-opacity:.5;filter:alpha(opacity=50);opacity:.5;z-index:1000}#to-top:active,#to-top:hover{background:rgba(0,0,0,.4)}.to-top-wrap{width:100%;height:100%;position:relative}.to-top-wrap:after,.to-top-wrap:before{position:absolute;top:50%;content:'';width:0;height:0;-webkit-animation-name:shine;left:50%;display:block;-webkit-animation-timing-function:linear;-webkit-animation-iteration-count:infinite}.to-top-wrap:after{margin-left:-10px;margin-top:-11px;transform:rotate(180deg);-webkit-transform:rotate(180deg);border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid rgba(255,255,255,.5);-webkit-animation-duration:1.5s}.to-top-wrap:before{margin-left:-15px;margin-top:-9pt;transform:rotate(180deg);-webkit-transform:rotate(180deg);border-left:15px solid transparent;border-right:15px solid transparent;border-top:20px solid rgba(255,255,255,.5);-webkit-animation-duration:3s}.author{position:relative;background:#fff;margin-top:5rem;width:100%;font-family:'Open Sans',sans-serif}.author-image{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;position:absolute;top:-40px;left:50%;margin-left:-40px;width:5pc;height:5pc;border-radius:100%;overflow:hidden;padding:6px;background:#fff;z-index:2;box-shadow:#E7EEF2 0 0 0 1px}.author-image .img{position:relative;display:block;width:100%;height:100%;background-size:cover;background-position:center center;border-radius:100%}.author-detail{padding:6.6rem 1.6rem 1.6rem;text-align:center}.author-detail h4{font-size:1.8rem;margin:0}.author-detail h4 a{font-size:1.6rem;color:#999}.author-detail h4 a:hover{color:#666}.author-detail p{color:#333;margin:1rem 0;font-size:1.4rem;line-height:1.75em}.author-meta,.author-meta span a{color:#9EABB3}.author-meta{padding:0;list-style:none;font-size:1.4rem;line-height:1;font-style:italic;display:inline-block;margin:0 auto;word-wrap:break-word}.author-meta span{margin-right:1rem;color:#9EABB3}.wechat-notice{margin:1rem 0;display:none}.wechat-notice a img{display:block;width:100%;max-width:100%}.wechat-notice h6{margin-top:.5rem;font-size:1.2rem;font-weight:lighter;line-height:1.8rem;color:#333}.cover-image{display:none!important}.comment-area{display:none;background:#fff;padding:0 1.6rem}.comment-area.toggle-up{display:block;-webkit-animation-name:toggle-up;-webkit-animation-duration:.5s;-webkit-animation-timing-function:linear}@-webkit-keyframes animate-bg{from{background-position:0 0}to{background-position:283px 212px}}@-webkit-keyframes shine{0%,100%{opacity:.1}25%,75%{opacity:.2}50%{opacity:1}}@-webkit-keyframes toggle-up{0%{opacity:0;-webkit-transform:translate3d(0,100px,0);transform:translate3d(0,100px,0)}100%{opacity:1;-webkit-transform:none;transform:none}}/*!
2 | Animate.css - http://daneden.me/animate
3 | Licensed under the MIT license - http://opensource.org/licenses/MIT
4 |
5 | Copyright (c) 2014 Daniel Eden
6 | */.animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animated.hinge{-webkit-animation-duration:2s;animation-duration:2s}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}100%{opacity:1;-webkit-transform:none;transform:none}}.fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@media only screen and (max-width:361px){.site-footer{margin-top:3rem;font-size:1.2rem}#main{width:100%;margin:2rem auto}.nav-header-container{width:80%}.back-home{top:.5rem;left:0}}@media only screen and (max-width:481px){#header{height:100%}.post-info-container{width:84%}.info-mask{height:6rem}.post-title{font-size:1.6rem;margin:.2rem 0;line-height:1.8rem}.home-info-container h2,.post-page-title{font-size:3.2rem}.mask-wrapper{margin-top:.5rem}#main{width:100%;margin:2rem auto}.author-detail{padding:6rem 1.6rem 1.6rem}.home-info-container{margin-top:18rem}.archive-template .home-info-container,.site-footer,.tag-template .home-info-container{margin-top:3rem}.home-info-container h2,.home-info-container h4{color:#fff;font-weight:lighter;text-shadow:0 1px 1px #595959}.home-info-container h2:hover,.home-info-container h4:hover{text-shadow:0 1px 1px #333}.home-info-container h4{font-size:1.4rem;letter-spacing:.5rem}.pagination{width:90%}.pagination a{font-size:1rem}.archive-template #header,.tag-template #header{height:30%}.archive-template .home-info-container h2,.tag-template .home-info-container h2{line-height:2.2rem;font-size:1.6rem}.archive-template .home-info-container h4,.tag-template .home-info-container h4{font-size:1.2rem}.post-meta span.post-tags{display:none}}@media only screen and (max-width:768px){#main{width:100%;margin:2rem auto}.home-template .site-footer,.post-template .site-footer{margin-top:3rem}.arrow_down{display:block}.back-home{top:.5rem;left:0}#header{max-height:100%}}@media only screen and (min-width:1240px){#main{width:100%;margin:-6rem auto}}
7 |
--------------------------------------------------------------------------------
/assets/fonts/demo.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | uxiconfont
5 |
6 |
7 |
8 |
9 |
10 |
一淘UX图标
11 |
12 |
13 | -
14 |
15 |
新浪微博
16 | 㐲
17 |
18 |
19 | -
20 |
21 |
social_twitter_circle
22 | 
23 |
24 |
25 | -
26 |
27 |
facebook
28 | 㐳
29 |
30 |
31 | -
32 |
33 |
github
34 | 󰇊
35 |
36 |
37 | -
38 |
39 |
豆瓣 方形
40 | 㑀
41 |
42 |
43 | -
44 |
45 |
豆瓣
46 | 󰇈
47 |
48 |
49 | -
50 |
51 |
人人网
52 | 㐵
53 |
54 |
55 | -
56 |
57 |
QQ
58 | 㑦
59 |
60 |
61 | -
62 |
63 |
qq
64 | 
65 |
66 |
67 | -
68 |
69 |
qq空间
70 | 󰀅
71 |
72 |
73 | -
74 |
75 |
腾讯微博
76 | 㑥
77 |
78 |
79 | -
80 |
81 |
腾讯微信
82 | 󰀃
83 |
84 |
85 | -
86 |
87 |
5
88 | 㐶
89 |
90 |
91 | -
92 |
93 |
qzone
94 | 
95 |
96 |
97 | -
98 |
99 |
百度 [转换]
100 | 󰀝
101 |
102 |
103 | -
104 |
105 |
social_rss_circle
106 | 
107 |
108 |
109 | -
110 |
111 |
google
112 | 㐴
113 |
114 |
115 | -
116 |
117 |
淘宝
118 | 󰅱
119 |
120 |
121 | -
122 |
123 |
evernote
124 | 
125 |
126 |
127 | -
128 |
129 |
luolei
130 | 
131 |
132 |
133 | -
134 |
135 |
新浪
136 | 
137 |
138 |
139 | -
140 |
141 |
Twitter
142 | 󰀎
143 |
144 |
145 | -
146 |
147 |
github-pure
148 | 
149 |
150 |
151 | -
152 |
153 |
dribble-pure
154 | 
155 |
156 |
157 | -
158 |
159 |
微信
160 | 㐻
161 |
162 |
163 | -
164 |
165 |
信号
166 | 󰆽
167 |
168 |
169 | -
170 |
171 |
instagram-pure
172 | 
173 |
174 |
175 |
176 |
177 |
178 |
179 | 第一步:使用font-face声明字体
180 |
181 | @font-face {font-family: 'iconfont';
182 | src: url('iconfont.eot'); /* IE9*/
183 | src: url('iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
184 | url('iconfont.woff') format('woff'), /* chrome、firefox */
185 | url('iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
186 | url('iconfont.svg#uxiconfont') format('svg'); /* iOS 4.1- */
187 | }
188 |
189 | 第二步:定义使用iconfont的样式
190 |
191 | .iconfont{
192 | font-family:"iconfont" !important;
193 | font-size:16px;font-style:normal;
194 | -webkit-font-smoothing: antialiased;
195 | -webkit-text-stroke-width: 0.2px;
196 | -moz-osx-font-smoothing: grayscale;}
197 |
198 | 第三步:挑选相应图标并获取字体编码,应用于页面
199 |
200 | <i class="iconfont">3</i>
201 |
202 |
203 |
204 |
205 |
206 |
207 |
--------------------------------------------------------------------------------
/assets/fonts/iconfont.css:
--------------------------------------------------------------------------------
1 | @font-face {font-family: 'iconfont';
2 | src: url('iconfont.eot'); /* IE9*/
3 | src: url('iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
4 | url('iconfont.woff') format('woff'), /* chrome、firefox */
5 | url('iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
6 | url('iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */
7 | }
8 |
9 | .iconfont {
10 | font-family:"iconfont" !important;
11 | font-size:16px;
12 | font-style:normal;
13 | -webkit-font-smoothing: antialiased;
14 | -webkit-text-stroke-width: 0.2px;
15 | -moz-osx-font-smoothing: grayscale;
16 | }
17 |
18 |
19 | .icon-xinlangweibo:before { content: "\3432"; }
20 |
21 | .icon-socialtwittercircle:before { content: "\e763"; }
22 |
23 | .icon-facebook:before { content: "\3433"; }
24 |
25 | .icon-github:before { content: "\f01ca"; }
26 |
27 | .icon-doubanfangxing:before { content: "\3440"; }
28 |
29 | .icon-douban:before { content: "\f01c8"; }
30 |
31 | .icon-renrenwang:before { content: "\3435"; }
32 |
33 | .icon-QQ:before { content: "\3466"; }
34 |
35 | .icon-qq:before { content: "\e60c"; }
36 |
37 | .icon-qqkongjian:before { content: "\f0005"; }
38 |
39 | .icon-tengxunweibo:before { content: "\3465"; }
40 |
41 | .icon-tengxunweixin:before { content: "\f0003"; }
42 |
43 | .icon-5:before { content: "\3436"; }
44 |
45 | .icon-qzone:before { content: "\e60d"; }
46 |
47 | .icon-baiduzhuanhuan:before { content: "\f001d"; }
48 |
49 | .icon-socialrsscircle:before { content: "\e751"; }
50 |
51 | .icon-google:before { content: "\3434"; }
52 |
53 | .icon-taobao:before { content: "\f0171"; }
54 |
55 | .icon-evernote:before { content: "\e602"; }
56 |
57 | .icon-luolei:before { content: "\e60e"; }
58 |
59 | .icon-xinlang:before { content: "\e61c"; }
60 |
61 | .icon-Twitter:before { content: "\f000e"; }
62 |
63 | .icon-github1:before { content: "\e611"; }
64 |
65 | .icon-dribblepure:before { content: "\e612"; }
66 |
67 | .icon-weixin:before { content: "\343b"; }
68 |
69 | .icon-xinhao:before { content: "\f01bd"; }
70 |
71 | .icon-instagrampure:before { content: "\e613"; }
72 |
73 |
--------------------------------------------------------------------------------
/assets/fonts/iconfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/foru17/nevecoo/02e1fd2b1ffe38784e9bf9579bd33e39f1c1d977/assets/fonts/iconfont.eot
--------------------------------------------------------------------------------
/assets/fonts/iconfont.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
160 |
--------------------------------------------------------------------------------
/assets/fonts/iconfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/foru17/nevecoo/02e1fd2b1ffe38784e9bf9579bd33e39f1c1d977/assets/fonts/iconfont.ttf
--------------------------------------------------------------------------------
/assets/fonts/iconfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/foru17/nevecoo/02e1fd2b1ffe38784e9bf9579bd33e39f1c1d977/assets/fonts/iconfont.woff
--------------------------------------------------------------------------------
/assets/images/apple-touch-icon-iphone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/foru17/nevecoo/02e1fd2b1ffe38784e9bf9579bd33e39f1c1d977/assets/images/apple-touch-icon-iphone.png
--------------------------------------------------------------------------------
/assets/images/banner2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/foru17/nevecoo/02e1fd2b1ffe38784e9bf9579bd33e39f1c1d977/assets/images/banner2.jpg
--------------------------------------------------------------------------------
/assets/images/bg-mask.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/foru17/nevecoo/02e1fd2b1ffe38784e9bf9579bd33e39f1c1d977/assets/images/bg-mask.png
--------------------------------------------------------------------------------
/assets/images/cream_pixels.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/foru17/nevecoo/02e1fd2b1ffe38784e9bf9579bd33e39f1c1d977/assets/images/cream_pixels.png
--------------------------------------------------------------------------------
/assets/images/escheresque_ste.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/foru17/nevecoo/02e1fd2b1ffe38784e9bf9579bd33e39f1c1d977/assets/images/escheresque_ste.png
--------------------------------------------------------------------------------
/assets/images/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/foru17/nevecoo/02e1fd2b1ffe38784e9bf9579bd33e39f1c1d977/assets/images/favicon.ico
--------------------------------------------------------------------------------
/assets/images/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/foru17/nevecoo/02e1fd2b1ffe38784e9bf9579bd33e39f1c1d977/assets/images/favicon.png
--------------------------------------------------------------------------------
/assets/images/p5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/foru17/nevecoo/02e1fd2b1ffe38784e9bf9579bd33e39f1c1d977/assets/images/p5.png
--------------------------------------------------------------------------------
/assets/images/stardust.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/foru17/nevecoo/02e1fd2b1ffe38784e9bf9579bd33e39f1c1d977/assets/images/stardust.png
--------------------------------------------------------------------------------
/assets/images/touch-icon-iphone-retina.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/foru17/nevecoo/02e1fd2b1ffe38784e9bf9579bd33e39f1c1d977/assets/images/touch-icon-iphone-retina.png
--------------------------------------------------------------------------------
/assets/images/triangular.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/foru17/nevecoo/02e1fd2b1ffe38784e9bf9579bd33e39f1c1d977/assets/images/triangular.png
--------------------------------------------------------------------------------
/assets/js/all.min.js:
--------------------------------------------------------------------------------
1 | $.fn.extend({isOnScreenVisible:function(){var e=$(window),t={top:e.scrollTop(),left:e.scrollLeft()};t.right=t.left+e.width(),t.bottom=t.top+e.height();var a=this.offset();return a.right=a.left+this.outerWidth(),a.bottom=a.top+this.outerHeight(),!(t.righta.right||t.bottoma.bottom)}});var scrollme=function(e){var t={},a=e(document),o=e(window);return t.body_height=0,t.viewport_height=0,t.viewport_top=0,t.viewport_bottom=0,t.viewport_top_previous=-1,t.elements=[],t.elements_in_view=[],t.property_defaults={opacity:1,translatex:0,translatey:0,translatez:0,rotatex:0,rotatey:0,rotatez:0,scale:1,scalex:1,scaley:1,scalez:1},t.scrollme_selector=".scrollme",t.animateme_selector=".animateme",t.update_interval=10,t.easing_functions={linear:function(e){return e},easeout:function(e){return e*e*e},easein:function(e){return e=1-e,1-e*e*e},easeinout:function(e){return.5>e?4*e*e*e:(e=1-e,1-4*e*e*e)}},t.init_events=["ready","page:load","page:change"],t.init_if=function(){return!0},t.init=function(){return t.init_if()?(t.init_elements(),t.on_resize(),o.on("resize orientationchange",function(){t.on_resize()}),o.load(function(){setTimeout(function(){t.on_resize()},100)}),setInterval(t.update,t.update_interval),!0):!1},t.init_elements=function(){e(t.scrollme_selector).each(function(){var a={};a.element=e(this);var o=[];e(this).find(t.animateme_selector).addBack(t.animateme_selector).each(function(){var a={};a.element=e(this),a.when=a.element.data("when"),a.from=a.element.data("from"),a.to=a.element.data("to"),a.element.is("[data-crop]")?a.crop=a.element.data("crop"):a.crop=!0,a.element.is("[data-easing]")?a.easing=t.easing_functions[a.element.data("easing")]:a.easing=t.easing_functions.easeout;var i={};a.element.is("[data-opacity]")&&(i.opacity=a.element.data("opacity")),a.element.is("[data-translatex]")&&(i.translatex=a.element.data("translatex")),a.element.is("[data-translatey]")&&(i.translatey=a.element.data("translatey")),a.element.is("[data-translatez]")&&(i.translatez=a.element.data("translatez")),a.element.is("[data-rotatex]")&&(i.rotatex=a.element.data("rotatex")),a.element.is("[data-rotatey]")&&(i.rotatey=a.element.data("rotatey")),a.element.is("[data-rotatez]")&&(i.rotatez=a.element.data("rotatez")),a.element.is("[data-scale]")&&(i.scale=a.element.data("scale")),a.element.is("[data-scalex]")&&(i.scalex=a.element.data("scalex")),a.element.is("[data-scaley]")&&(i.scaley=a.element.data("scaley")),a.element.is("[data-scalez]")&&(i.scalez=a.element.data("scalez")),a.properties=i,o.push(a)}),a.effects=o,t.elements.push(a)})},t.update=function(){window.requestAnimationFrame(function(){t.update_viewport_position(),t.viewport_top_previous!=t.viewport_top&&(t.update_elements_in_view(),t.animate()),t.viewport_top_previous=t.viewport_top})},t.animate=function(){for(var e=t.elements_in_view.length,a=0;e>a;a++)for(var o=t.elements_in_view[a],i=o.effects.length,n=0;i>n;n++){var s=o.effects[n];switch(s.when){case"view":case"span":var l=o.top-t.viewport_height,r=o.bottom;break;case"exit":var l=o.bottom-t.viewport_height,r=o.bottom;break;default:var l=o.top-t.viewport_height,r=o.top}s.crop&&(0>l&&(l=0),r>t.body_height-t.viewport_height&&(r=t.body_height-t.viewport_height));var c=(t.viewport_top-l)/(r-l),d=s.from,m=s.to,p=m-d,h=(c-d)/p,u=s.easing(h),f=t.animate_value(c,u,d,m,s,"opacity"),v=t.animate_value(c,u,d,m,s,"translatey"),g=t.animate_value(c,u,d,m,s,"translatex"),_=t.animate_value(c,u,d,m,s,"translatez"),w=t.animate_value(c,u,d,m,s,"rotatex"),$=t.animate_value(c,u,d,m,s,"rotatey"),b=t.animate_value(c,u,d,m,s,"rotatez"),y=t.animate_value(c,u,d,m,s,"scale"),x=t.animate_value(c,u,d,m,s,"scalex"),z=t.animate_value(c,u,d,m,s,"scaley"),k=t.animate_value(c,u,d,m,s,"scalez");"scale"in s.properties&&(x=y,z=y,k=y),s.element.css({opacity:f,transform:"translate3d( "+g+"px , "+v+"px , "+_+"px ) rotateX( "+w+"deg ) rotateY( "+$+"deg ) rotateZ( "+b+"deg ) scale3d( "+x+" , "+z+" , "+k+" )","-webkit-transform":"translate3d( "+g+"px , "+v+"px , "+_+"px ) rotateX( "+w+"deg ) rotateY( "+$+"deg ) rotateZ( "+b+"deg ) scale3d( "+x+" , "+z+" , "+k+" )"})}},t.animate_value=function(e,a,o,i,n,s){var l=t.property_defaults[s];if(!(s in n.properties))return l;var r=n.properties[s],c=i>o?!0:!1;if(o>e&&c)return l;if(e>i&&c)return r;if(e>o&&!c)return l;if(i>e&&!c)return r;var d=l+a*(r-l);switch(s){case"opacity":d=d.toFixed(2);break;case"translatex":d=d.toFixed(0);break;case"translatey":d=d.toFixed(0);break;case"translatez":d=d.toFixed(0);break;case"rotatex":d=d.toFixed(1);break;case"rotatey":d=d.toFixed(1);break;case"rotatez":d=d.toFixed(1);break;case"scale":d=d.toFixed(3)}return d},t.update_viewport_position=function(){t.viewport_top=o.scrollTop(),t.viewport_bottom=t.viewport_top+t.viewport_height},t.update_elements_in_view=function(){t.elements_in_view=[];for(var e=t.elements.length,a=0;e>a;a++)t.elements[a].topt.viewport_top&&t.elements_in_view.push(t.elements[a])},t.on_resize=function(){t.update_viewport(),t.update_element_heights(),t.update_viewport_position(),t.update_elements_in_view(),t.animate()},t.update_viewport=function(){t.body_height=a.height(),t.viewport_height=o.height()},t.update_element_heights=function(){for(var e=t.elements.length,a=0;e>a;a++){var o=t.elements[a].element.outerHeight(),i=t.elements[a].element.offset();t.elements[a].height=o,t.elements[a].top=i.top,t.elements[a].bottom=i.top+o}},a.on(t.init_events.join(" "),function(){t.init()}),t},Duoshuo={dataThreadKey:location.protocol+"//"+location.host+location.pathname,init:function(){Duoshuo.toggleBox()},toggleBox:function(){$(".toggle-comment").on("click",function(e){if($(".comment-area").has("div").length>0)return void $(".comment-area").empty();var t=document.createElement("div");t.setAttribute("data-thread-key",Duoshuo.dataThreadKey),t.setAttribute("data-url",location.href),t.setAttribute("data-title",$("title").html()),DUOSHUO.EmbedThread(t),$(".comment-area").append(t),$(".comment-area").has("div").length>0&&setTimeout(function(){$(".comment-area").addClass("toggle-up")},500),setTimeout(function(){1==$(".comment-area").isOnScreenVisible()&&$(".toggle-comment").addClass("animated fadeOut").fadeOut(500)},1e3)})}},General={isWeixin:!1,init:function(){General.scrollToPos(),General.checkKey(),General.updateImageWidth();var e=navigator.userAgent.toLowerCase();"micromessenger"==e.match(/MicroMessenger/i)&&(General.isWeixin=!0)},checkKey:function(e){e=e||window.event,"74"==e.keyCode?(console.log("按下键盘"),$("html,body").stop(),$("html,body").animate({scrollTop:$(window).stop().scrollTop()+200},"fast")):"75"==e.keyCode&&($("html,body").stop(),$("html,body").animate({scrollTop:$(window).stop().scrollTop()-200},"fast"))},updateImageWidth:function(){function e(){var e=$(this),t=a.outerWidth(),o=this.naturalWidth;o>=t?e.addClass("full-img"):e.removeClass("full-img")}function t(){o.each(e)}var a=$(".post-content");a.fitVids();var o=$(".single-post-inner img").on("load",e);t()},urlIconlize:function(e){var t,a,o={twitter:"icon-twitter",qzone:"icon-qzone",weibo:"icon-weibo",facebook:"icon-facebook",github:"icon-github",douban:"icon-douban",google:"icon-google",luolei:"icon-luolei",dribble:"icon-dribble"};for(var i in o)if("function"!=typeof o[i]){var n=i;e.indexOf(n)>=0&&(t=n,a=o[n])}return a},addIcons:function(){$(".single-post-inner p a:not(:has(img))").each(function(e){var t=$(this).attr("href"),a=document.createElement("a");a.href=t,_selfDomain=a.hostname,General.urlIconlize(_selfDomain),console.log(_selfDomain),$(this).prepend('');var o=$(this).find("i").css("color"),i=$(this).css("color");$(this).hover(function(){$(this).css("color",o),$(this).addClass("animated pulse")},function(){$(this).css("color",i),$(this).removeClass("animated pulse")})})},scrollToPos:function(e){var t="我要飞到最高",a=e||$(window).height(),o=$(' ').appendTo("body");$(window).scroll(function(){$(window).scrollTop()>$(window).height()?o.fadeIn(500):o.fadeOut(500)}),o.click(function(e){e.preventDefault(),$(window).width()>768?$("html,body").animate({scrollTop:0},600,function(){window.location.hash="#"}):$("html,body").animate({scrollTop:a-100},600,function(){window.location.hash="#"}),console.log("我跳")})},resize:function(){visualContainerWidh=$(window).width()}};$(document).ready(function(){General.init(),0==General.isWeixin&&$(window).width()>768&&(console.log("只有大屏和微信上才出动画"),scrollme($)),$("body").hasClass("post-template")&&(General.updateImageWidth(),$('img[alt="cover"]').addClass("cover-image"),General.addIcons(),$(".share h4").on("click",function(){$(this).fadeOut(20),$(".share-icons").css("display","block").addClass("fadeIn animated")}),Duoshuo.init(),$(".single-post-inner p:has(img)").each(function(){var e=$(this);e.addClass("with-img"),1==e.isOnScreenVisible()&&e.addClass("with-img").addClass("already-visible")})),($("body").hasClass("archive-template")||$("body").hasClass("home-template"))&&($(window).width()>768,$(".post-in-list").each(function(){var e=$(this);1==e.isOnScreenVisible()&&e.addClass("already-visible")}),$(".post-excerpt").each(function(){var e=$(this);0==e.has("img").length?(console.log("没有图片"),e.append('
')):console.log("With")})),$(".arrow_down").click(function(){return $("html,body").animate({scrollTop:$(window).height()-20},1e3,function(){}),!1}),$(window).scroll(function(){$(window).scrollTop()>50,$("body").hasClass("post-template")&&(0==$(".share-icons").isOnScreenVisible()&&($(".share-icons").removeClass("fadeInUpBig animated").css("display","none"),$(".share h4").css("display","block")),1==General.isWeixin&&1==$(".copyright").isOnScreenVisible()&&(console.log("显示了"),$(".wechat-notice").css("display","block").addClass("fadeInUpBig animated"))),($("body").hasClass("archive-template")||$("body").hasClass("home-template"))&&$(".post-in-list").each(function(){var e=$(this);1==e.isOnScreenVisible()&&1!=e.hasClass("already-visible")})})});
2 |
--------------------------------------------------------------------------------
/assets/js/jquery.fitvids.js:
--------------------------------------------------------------------------------
1 | /*global jQuery */
2 | /*jshint browser:true */
3 | /*!
4 | * FitVids 1.1
5 | *
6 | * Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
7 | * Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
8 | * Released under the WTFPL license - http://sam.zoy.org/wtfpl/
9 | *
10 | */
11 |
12 | (function( $ ){
13 |
14 | "use strict";
15 |
16 | $.fn.fitVids = function( options ) {
17 | var settings = {
18 | customSelector: null
19 | };
20 |
21 | if(!document.getElementById('fit-vids-style')) {
22 | // appendStyles: https://github.com/toddmotto/fluidvids/blob/master/dist/fluidvids.js
23 | var head = document.head || document.getElementsByTagName('head')[0];
24 | var css = '.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}';
25 | var div = document.createElement('div');
26 | div.innerHTML = 'x
';
27 | head.appendChild(div.childNodes[1]);
28 | }
29 |
30 | if ( options ) {
31 | $.extend( settings, options );
32 | }
33 |
34 | return this.each(function(){
35 | var selectors = [
36 | "iframe[src*='player.vimeo.com']",
37 | "iframe[src*='youtube.com']",
38 | "iframe[src*='youtube-nocookie.com']",
39 | "iframe[src*='kickstarter.com'][src*='video.html']",
40 | "object",
41 | "embed"
42 | ];
43 |
44 | if (settings.customSelector) {
45 | selectors.push(settings.customSelector);
46 | }
47 |
48 | var $allVideos = $(this).find(selectors.join(','));
49 | $allVideos = $allVideos.not("object object"); // SwfObj conflict patch
50 |
51 | $allVideos.each(function(){
52 | var $this = $(this);
53 | if (this.tagName.toLowerCase() === 'embed' && $this.parent('object').length || $this.parent('.fluid-width-video-wrapper').length) { return; }
54 | var height = ( this.tagName.toLowerCase() === 'object' || ($this.attr('height') && !isNaN(parseInt($this.attr('height'), 10))) ) ? parseInt($this.attr('height'), 10) : $this.height(),
55 | width = !isNaN(parseInt($this.attr('width'), 10)) ? parseInt($this.attr('width'), 10) : $this.width(),
56 | aspectRatio = height / width;
57 | if(!$this.attr('id')){
58 | var videoID = 'fitvid' + Math.floor(Math.random()*999999);
59 | $this.attr('id', videoID);
60 | }
61 | $this.wrap('').parent('.fluid-width-video-wrapper').css('padding-top', (aspectRatio * 100)+"%");
62 | $this.removeAttr('height').removeAttr('width');
63 | });
64 | });
65 | };
66 | // Works with either jQuery or Zepto
67 | })( window.jQuery || window.Zepto );
68 |
--------------------------------------------------------------------------------
/assets/js/prism.js:
--------------------------------------------------------------------------------
1 | /* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript+bash+coffeescript+css-extras+git+handlebars+markdown+php+jsx+scss&plugins=autolinker+show-language */
2 | self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{};var Prism=function(){var e=/\blang(?:uage)?-(?!\*)(\w+)\b/i,t=self.Prism={util:{encode:function(e){return e instanceof n?new n(e.type,t.util.encode(e.content),e.alias):"Array"===t.util.type(e)?e.map(t.util.encode):e.replace(/&/g,"&").replace(/e.length)break e;if(!(d instanceof a)){u.lastIndex=0;var m=u.exec(d);if(m){c&&(f=m[1].length);var y=m.index-1+f,m=m[0].slice(f),v=m.length,k=y+v,b=d.slice(0,y+1),w=d.slice(k+1),N=[p,1];b&&N.push(b);var O=new a(l,g?t.tokenize(m,g):m,h);N.push(O),w&&N.push(w),Array.prototype.splice.apply(r,N)}}}}}return r},hooks:{all:{},add:function(e,n){var a=t.hooks.all;a[e]=a[e]||[],a[e].push(n)},run:function(e,n){var a=t.hooks.all[e];if(a&&a.length)for(var r,i=0;r=a[i++];)r(n)}}},n=t.Token=function(e,t,n){this.type=e,this.content=t,this.alias=n};if(n.stringify=function(e,a,r){if("string"==typeof e)return e;if("Array"===t.util.type(e))return e.map(function(t){return n.stringify(t,a,e)}).join("");var i={type:e.type,content:n.stringify(e.content,a,r),tag:"span",classes:["token",e.type],attributes:{},language:a,parent:r};if("comment"==i.type&&(i.attributes.spellcheck="true"),e.alias){var l="Array"===t.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(i.classes,l)}t.hooks.run("wrap",i);var s="";for(var o in i.attributes)s+=o+'="'+(i.attributes[o]||"")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'" '+s+">"+i.content+""+i.tag+">"},!self.document)return self.addEventListener?(self.addEventListener("message",function(e){var n=JSON.parse(e.data),a=n.language,r=n.code;self.postMessage(JSON.stringify(t.util.encode(t.tokenize(r,t.languages[a])))),self.close()},!1),self.Prism):self.Prism;var a=document.getElementsByTagName("script");return a=a[a.length-1],a&&(t.filename=a.src,document.addEventListener&&!a.hasAttribute("data-manual")&&document.addEventListener("DOMContentLoaded",t.highlightAll)),self.Prism}();"undefined"!=typeof module&&module.exports&&(module.exports=Prism);;
3 | Prism.languages.markup={comment://,prolog:/<\?.+?\?>/,doctype://,cdata://i,tag:{pattern:/<\/?[\w:-]+\s*(?:\s+[\w:-]+(?:=(?:("|')(\\?[\w\W])*?\1|[^\s'">=]+))?\s*)*\/?>/i,inside:{tag:{pattern:/^<\/?[\w:-]+/i,inside:{punctuation:/^<\/?/,namespace:/^[\w-]+?:/}},"attr-value":{pattern:/=(?:('|")[\w\W]*?(\1)|[^\s>]+)/i,inside:{punctuation:/=|>|"/}},punctuation:/\/?>/,"attr-name":{pattern:/[\w:-]+/,inside:{namespace:/^[\w-]+?:/}}}},entity:/?[\da-z]{1,8};/i},Prism.hooks.add("wrap",function(t){"entity"===t.type&&(t.attributes.title=t.content.replace(/&/,"&"))});;
4 | Prism.languages.css={comment:/\/\*[\w\W]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(;|(?=\s*\{))/i,inside:{punctuation:/[;:]/}},url:/url\((?:(["'])(\\\n|\\?.)*?\1|.*?)\)/i,selector:/[^\{\}\s][^\{\};]*(?=\s*\{)/,string:/("|')(\\\n|\\?.)*?\1/,property:/(\b|\B)[\w-]+(?=\s*:)/i,important:/\B!important\b/i,punctuation:/[\{\};:]/,"function":/[-a-z0-9]+(?=\()/i},Prism.languages.markup&&(Prism.languages.insertBefore("markup","tag",{style:{pattern:/