diff --git a/2018/10/05/hello-world-2/index.html b/2018/10/05/hello-world-2/index.html new file mode 100644 index 0000000..82a597c --- /dev/null +++ b/2018/10/05/hello-world-2/index.html @@ -0,0 +1 @@ +Hello World 2 | MINFIVE BLOG
Hello World 2

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

感谢您的阅读,本文由 Minfive 原创提供。如若转载,请注明出处:Minfive(https://www.github.com/Mrminfive
Hello World
\ No newline at end of file diff --git a/2018/10/05/hello-world/index.html b/2018/10/05/hello-world/index.html new file mode 100644 index 0000000..7e1c9c0 --- /dev/null +++ b/2018/10/05/hello-world/index.html @@ -0,0 +1 @@ +Hello World | MINFIVE BLOG
Hello World

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

感谢您的阅读,本文由 MINFIVE 版权所有。如若转载,请注明出处:MINFIVE(http://yoursite.com/2018/10/05/hello-world/
Hello World 2
\ No newline at end of file diff --git a/404.html b/404.html new file mode 100644 index 0000000..b934f9b --- /dev/null +++ b/404.html @@ -0,0 +1 @@ +404 Page Not Found | MINFIVE BLOG

404

OOPS! THIS PAGE CANNOT BE FOUND!

But we have lots of other pages for you to see.

\ No newline at end of file diff --git a/README.md b/README.md deleted file mode 100644 index 1ac0868..0000000 --- a/README.md +++ /dev/null @@ -1,7 +0,0 @@ - -[https://github-android.github.io/github-android.com/](https://github-android.github.io/github-android.com/) - -github-android.com -================== -Collect android open source projects from github -- by github-android.com -================== diff --git a/about/index.html b/about/index.html new file mode 100644 index 0000000..6e8a46c --- /dev/null +++ b/about/index.html @@ -0,0 +1 @@ +关于 | MINFIVE BLOG
\ No newline at end of file diff --git a/archives/2018/10/index.html b/archives/2018/10/index.html new file mode 100644 index 0000000..988be1d --- /dev/null +++ b/archives/2018/10/index.html @@ -0,0 +1 @@ +MINFIVE BLOG
\ No newline at end of file diff --git a/archives/2018/index.html b/archives/2018/index.html new file mode 100644 index 0000000..752f0fc --- /dev/null +++ b/archives/2018/index.html @@ -0,0 +1 @@ +MINFIVE BLOG
\ No newline at end of file diff --git a/archives/index.html b/archives/index.html new file mode 100644 index 0000000..52c8861 --- /dev/null +++ b/archives/index.html @@ -0,0 +1 @@ +MINFIVE BLOG
\ No newline at end of file diff --git a/assets/lunr/2017.json b/assets/lunr/2017.json new file mode 100644 index 0000000..b4c62ff --- /dev/null +++ b/assets/lunr/2017.json @@ -0,0 +1 @@ +{"index":{"version":"0.7.1","fields":[{"name":"title","boost":10},{"name":"body","boost":1},{"name":"desc","boost":1},{"name":"tags","boost":5},{"name":"categories","boost":5}],"ref":"href","tokenizer":"default","documentStore":{"store":{"/404.html":["404","found","page"],"/about/index.html":["关于"],"/search/index.html":["关于"]},"length":3},"tokenStore":{"root":{"4":{"0":{"4":{"docs":{"/404.html":{"ref":"/404.html","tf":3.333333333333333}}},"docs":{}},"docs":{}},"docs":{},"f":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"d":{"docs":{"/404.html":{"ref":"/404.html","tf":3.333333333333333}}}}}}},"p":{"docs":{},"a":{"docs":{},"g":{"docs":{},"e":{"docs":{"/404.html":{"ref":"/404.html","tf":3.333333333333333}}}}}},"关":{"docs":{},"于":{"docs":{"/about/index.html":{"ref":"/about/index.html","tf":10},"/search/index.html":{"ref":"/search/index.html","tf":10}}}}},"length":5},"corpusTokens":["404","found","page","关于"],"pipeline":["trimmer","stopWordFilter","stemmer"]},"store":{"/404.html":{"url":"/404.html","title":"404 Page Not Found","tags":[],"tagArr":[],"cates":[],"cover":"http://oo12ugek5.bkt.clouddn.com/images/default_cover.png","desc":"","date":"2017-08-04T23:36:59+08:00","day":"4","month":"八月","authorLink":"https://github.com/Mrminfive","authorNick":"minfive"},"/about/index.html":{"url":"/about/index.html","title":"关于","tags":[],"tagArr":[],"cates":[],"cover":"http://oo12ugek5.bkt.clouddn.com/images/default_cover.png","desc":"","date":"2017-07-29T00:50:51+08:00","day":"29","month":"七月","authorLink":"https://github.com/Mrminfive","authorNick":"minfive"},"/search/index.html":{"url":"/search/index.html","title":"关于","tags":[],"tagArr":[],"cates":[],"cover":"http://oo12ugek5.bkt.clouddn.com/images/default_cover.png","desc":"","date":"2017-07-29T00:50:51+08:00","day":"29","month":"七月","authorLink":"https://github.com/Mrminfive","authorNick":"minfive"}}} \ No newline at end of file diff --git a/assets/lunr/2018.json b/assets/lunr/2018.json new file mode 100644 index 0000000..a3225b0 --- /dev/null +++ b/assets/lunr/2018.json @@ -0,0 +1 @@ +{"index":{"version":"0.7.1","fields":[{"name":"title","boost":10},{"name":"body","boost":1},{"name":"desc","boost":1},{"name":"tags","boost":5},{"name":"categories","boost":5}],"ref":"href","tokenizer":"default","documentStore":{"store":{"/2018/10/05/hello-world-2/":["2","hello","subtitl","world"],"/2018/10/05/hello-world/":["hello","world"]},"length":2},"tokenStore":{"root":{"2":{"docs":{"/2018/10/05/hello-world-2/":{"ref":"/2018/10/05/hello-world-2/","tf":3.333333333333333}}},"docs":{},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{"/2018/10/05/hello-world-2/":{"ref":"/2018/10/05/hello-world-2/","tf":3.333333333333333},"/2018/10/05/hello-world/":{"ref":"/2018/10/05/hello-world/","tf":5}}}}}}},"s":{"docs":{},"u":{"docs":{},"b":{"docs":{},"t":{"docs":{},"i":{"docs":{},"t":{"docs":{},"l":{"docs":{"/2018/10/05/hello-world-2/":{"ref":"/2018/10/05/hello-world-2/","tf":1}}}}}}}}},"w":{"docs":{},"o":{"docs":{},"r":{"docs":{},"l":{"docs":{},"d":{"docs":{"/2018/10/05/hello-world-2/":{"ref":"/2018/10/05/hello-world-2/","tf":3.333333333333333},"/2018/10/05/hello-world/":{"ref":"/2018/10/05/hello-world/","tf":5}}}}}}}},"length":6},"corpusTokens":["2","hello","subtitl","world"],"pipeline":["trimmer","stopWordFilter","stemmer"]},"store":{"/2018/10/05/hello-world-2/":{"url":"/2018/10/05/hello-world-2/","title":"Hello World 2","tags":[],"tagArr":[],"cates":[],"cover":"http://oxnuwmm3w.bkt.clouddn.com/hello-world.jpeg","desc":"your subtitle","date":"2018-10-05T21:59:57+08:00","day":"5","month":"十月","authorLink":"https://www.github.com/BruceYuj","authorNick":"BruceYJ"},"/2018/10/05/hello-world/":{"url":"/2018/10/05/hello-world/","title":"Hello World","tags":[],"tagArr":[],"cates":[],"cover":"http://oo12ugek5.bkt.clouddn.com/images/default_cover.png","desc":"","date":"2018-10-05T21:45:10+08:00","day":"5","month":"十月","authorLink":"https://github.com/Mrminfive","authorNick":"minfive"}}} \ No newline at end of file diff --git a/assets/lunr/all.json b/assets/lunr/all.json new file mode 100644 index 0000000..f41a2f0 --- /dev/null +++ b/assets/lunr/all.json @@ -0,0 +1 @@ +{"index":{"version":"0.7.1","fields":[{"name":"title","boost":10},{"name":"body","boost":1},{"name":"desc","boost":1},{"name":"tags","boost":5},{"name":"categories","boost":5}],"ref":"href","tokenizer":"default","documentStore":{"store":{"/2018/10/05/hello-world-2/":["2","hello","subtitl","world"],"/2018/10/05/hello-world/":["hello","world"],"/404.html":["404","found","page"],"/about/index.html":["关于"],"/search/index.html":["关于"]},"length":5},"tokenStore":{"root":{"2":{"docs":{"/2018/10/05/hello-world-2/":{"ref":"/2018/10/05/hello-world-2/","tf":3.333333333333333}}},"4":{"0":{"4":{"docs":{"/404.html":{"ref":"/404.html","tf":3.333333333333333}}},"docs":{}},"docs":{}},"docs":{},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{"/2018/10/05/hello-world-2/":{"ref":"/2018/10/05/hello-world-2/","tf":3.333333333333333},"/2018/10/05/hello-world/":{"ref":"/2018/10/05/hello-world/","tf":5}}}}}}},"s":{"docs":{},"u":{"docs":{},"b":{"docs":{},"t":{"docs":{},"i":{"docs":{},"t":{"docs":{},"l":{"docs":{"/2018/10/05/hello-world-2/":{"ref":"/2018/10/05/hello-world-2/","tf":1}}}}}}}}},"w":{"docs":{},"o":{"docs":{},"r":{"docs":{},"l":{"docs":{},"d":{"docs":{"/2018/10/05/hello-world-2/":{"ref":"/2018/10/05/hello-world-2/","tf":3.333333333333333},"/2018/10/05/hello-world/":{"ref":"/2018/10/05/hello-world/","tf":5}}}}}}},"f":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"d":{"docs":{"/404.html":{"ref":"/404.html","tf":3.333333333333333}}}}}}},"p":{"docs":{},"a":{"docs":{},"g":{"docs":{},"e":{"docs":{"/404.html":{"ref":"/404.html","tf":3.333333333333333}}}}}},"关":{"docs":{},"于":{"docs":{"/about/index.html":{"ref":"/about/index.html","tf":10},"/search/index.html":{"ref":"/search/index.html","tf":10}}}}},"length":11},"corpusTokens":["2","404","found","hello","page","subtitl","world","关于"],"pipeline":["trimmer","stopWordFilter","stemmer"]},"store":{"/2018/10/05/hello-world-2/":{"url":"/2018/10/05/hello-world-2/","title":"Hello World 2","tags":[],"tagArr":[],"cates":[],"cover":"http://oxnuwmm3w.bkt.clouddn.com/hello-world.jpeg","desc":"your subtitle","date":"2018-10-05T21:59:57+08:00","day":"5","month":"十月","authorLink":"https://www.github.com/BruceYuj","authorNick":"BruceYJ"},"/2018/10/05/hello-world/":{"url":"/2018/10/05/hello-world/","title":"Hello World","tags":[],"tagArr":[],"cates":[],"cover":"http://oo12ugek5.bkt.clouddn.com/images/default_cover.png","desc":"","date":"2018-10-05T21:45:10+08:00","day":"5","month":"十月","authorLink":"https://github.com/Mrminfive","authorNick":"minfive"},"/404.html":{"url":"/404.html","title":"404 Page Not Found","tags":[],"tagArr":[],"cates":[],"cover":"http://oo12ugek5.bkt.clouddn.com/images/default_cover.png","desc":"","date":"2017-08-04T23:36:59+08:00","day":"4","month":"八月","authorLink":"https://github.com/Mrminfive","authorNick":"minfive"},"/about/index.html":{"url":"/about/index.html","title":"关于","tags":[],"tagArr":[],"cates":[],"cover":"http://oo12ugek5.bkt.clouddn.com/images/default_cover.png","desc":"","date":"2017-07-29T00:50:51+08:00","day":"29","month":"七月","authorLink":"https://github.com/Mrminfive","authorNick":"minfive"},"/search/index.html":{"url":"/search/index.html","title":"关于","tags":[],"tagArr":[],"cates":[],"cover":"http://oo12ugek5.bkt.clouddn.com/images/default_cover.png","desc":"","date":"2017-07-29T00:50:51+08:00","day":"29","month":"七月","authorLink":"https://github.com/Mrminfive","authorNick":"minfive"}}} \ No newline at end of file diff --git a/atom.xml b/atom.xml new file mode 100644 index 0000000..08e6eb6 --- /dev/null +++ b/atom.xml @@ -0,0 +1,61 @@ + + + MINFIVE + + MINFIVE BLOG + + + + 2018-10-05T06:37:57.291Z + http://yoursite.com/ + + + [object Object] + + + + Hexo + + + Hello World 2 + + http://yoursite.com/2018/10/05/hello-world-2/ + 2018-10-05T13:59:57.475Z + 2018-10-05T06:37:57.291Z + + Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

]]>
+ + + + + + <p>Welcome to <a href="https://hexo.io/" target="_blank" rel="noopener">Hexo</a>! This is your very first post. Check <a href="https://hexo. + + + + + +
+ + + Hello World + + http://yoursite.com/2018/10/05/hello-world/ + 2018-10-05T13:45:10.625Z + 2018-10-05T13:45:10.625Z + + Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

]]>
+ + + + + + <p>Welcome to <a href="https://hexo.io/" target="_blank" rel="noopener">Hexo</a>! This is your very first post. Check <a href="https://hexo. + + + + + +
+ +
diff --git a/fonts/iconfont.eot b/fonts/iconfont.eot new file mode 100644 index 0000000..e53d52d Binary files /dev/null and b/fonts/iconfont.eot differ diff --git a/fonts/iconfont.svg b/fonts/iconfont.svg new file mode 100644 index 0000000..3403cf4 --- /dev/null +++ b/fonts/iconfont.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/fonts/iconfont.ttf b/fonts/iconfont.ttf new file mode 100644 index 0000000..b04809a Binary files /dev/null and b/fonts/iconfont.ttf differ diff --git a/fonts/iconfont.woff b/fonts/iconfont.woff new file mode 100644 index 0000000..977647f Binary files /dev/null and b/fonts/iconfont.woff differ diff --git a/img/quotes.png b/img/quotes.png new file mode 100644 index 0000000..a62f4f6 Binary files /dev/null and b/img/quotes.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..ef5072c --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +MINFIVE BLOG
\ No newline at end of file diff --git a/js/common.js b/js/common.js new file mode 100644 index 0000000..3b134b0 --- /dev/null +++ b/js/common.js @@ -0,0 +1 @@ +function getBaseType(e){return Object.prototype.toString.apply(e).slice(8,-1)}function eachObj(e,t){for(var n in e)t(e[n],n,e)}function getKeys(e,t){var n=[];return eachObj(e,function(e,t){n.push(t)}),n.sort(t)}function extend(n,e){return eachObj(e,function(e,t){n[t]=e}),n}function getPosition(e){var t=0,n=0;if(!e.tagName)return console.warn("element must be a HTML element object"),{x:null,y:null};for(;e!==document.body;)t+=e.offsetLeft,n+=e.offsetTop,e=e.offsetParent;return{x:t,y:n}}!function(t){function s(t){this.ele=t,this.record=[],this.index=0,this.dir=1,this.status=!1}s.prototype={_toggleClass:function(t,s){var i=this;classArr=t.split(" "),classArr.forEach(function(t){i.ele.classList.toggle(t)}),s&&setTimeout(s,10)},_transfromClass:function(t,i){var e=this;this.ele.addEventListener("transitionend",function t(s){e.ele===s.target&&(i(),e.ele.removeEventListener("transitionend",t))}),this._toggleClass(t)},_animationClass:function(t,i){var e=this;this.ele.addEventListener("animationend",function t(s){e.ele===s.target&&(i(),e.ele.removeEventListener("animationend",t))}),this._toggleClass(t)},_toggle:function(){var t=this.record[this.index];if(this.index===this.record.length||-1===this.index)return this.end&&this.end(),this.index=0>8-s%1*8)){if(255<(n=r.charCodeAt(s+=.75)))throw new u;t=t<<8|n}return o}},function(e,t,n){"use strict";var u=n(2);e.exports=u.isStandardBrowserEnv()?{write:function(e,t,n,r,o,s){var i=[];i.push(e+"="+encodeURIComponent(t)),u.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),u.isString(r)&&i.push("path="+r),u.isString(o)&&i.push("domain="+o),!0===s&&i.push("secure"),document.cookie=i.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";function r(){this.handlers=[]}var o=n(2);r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(t){o.forEach(this.handlers,function(e){null!==e&&t(e)})},e.exports=r},function(e,t,n){"use strict";function r(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var o=n(2),s=n(19),i=n(20),u=n(6);e.exports=function(t){return r(t),t.headers=t.headers||{},t.data=s(t.data,t.headers,t.transformRequest),t.headers=o.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||u.adapter)(t).then(function(e){return r(t),e.data=s(e.data,e.headers,t.transformResponse),e},function(e){return i(e)||(r(t),e&&e.response&&(e.response.data=s(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(e,t,n){"use strict";var r=n(2);e.exports=function(t,n,e){return r.forEach(e,function(e){t=e(t,n)}),t}},function(e,t){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},function(e,t,n){"use strict";function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new o(e),t(n.reason))})}var o=n(23);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r(function(e){t=e}),cancel:t}},e.exports=r},function(e,t){"use strict";e.exports=function(t){return function(e){return t.apply(null,e)}}}])}); \ No newline at end of file diff --git a/js/libs/lunr.min.js b/js/libs/lunr.min.js new file mode 100644 index 0000000..7d9ea0e --- /dev/null +++ b/js/libs/lunr.min.js @@ -0,0 +1 @@ +!function(){var e,t,h,l,n,i,c,d,f,p,g,m,v,y,S,w,k,x,b,E,_,F,z,O,P,T,o,N=function(e){var t=new N.Index;return t.pipeline.add(N.trimmer,N.stopWordFilter,N.stemmer),e&&e.call(t,t),t};N.version="0.7.1",N.utils={},N.utils.warn=(o=this,function(e){o.console&&console.warn&&console.warn(e)}),N.utils.asString=function(e){return null==e?"":e.toString()},N.EventEmitter=function(){this.events={}},N.EventEmitter.prototype.addListener=function(){var e=Array.prototype.slice.call(arguments),t=e.pop(),n=e;if("function"!=typeof t)throw new TypeError("last argument must be a function");n.forEach(function(e){this.hasHandler(e)||(this.events[e]=[]),this.events[e].push(t)},this)},N.EventEmitter.prototype.removeListener=function(e,t){if(this.hasHandler(e)){var n=this.events[e].indexOf(t);this.events[e].splice(n,1),this.events[e].length||delete this.events[e]}},N.EventEmitter.prototype.emit=function(e){if(this.hasHandler(e)){var t=Array.prototype.slice.call(arguments,1);this.events[e].forEach(function(e){e.apply(void 0,t)})}},N.EventEmitter.prototype.hasHandler=function(e){return e in this.events},"undefined"!=typeof module&&module.exports&&(nodejieba_segment=require("nodejieba")),N.tokenizer=function(e){if(!arguments.length||null==e||null==e)return[];if(Array.isArray(e))return e.map(function(e){return N.utils.asString(e).toLowerCase()});var t=e.toString().trim().toLowerCase();return"undefined"!=typeof nodejieba_segment?nodejieba_segment.cut(t,!0):t.split(N.tokenizer.seperator)},N.tokenizer.seperator=/[\s\-]+/,N.tokenizer.load=function(e){var t=this.registeredFunctions[e];if(!t)throw new Error("Cannot load un-registered function: "+e);return t},N.tokenizer.label="default",N.tokenizer.registeredFunctions={default:N.tokenizer},N.tokenizer.registerFunction=function(e,t){t in this.registeredFunctions&&N.utils.warn("Overwriting existing tokenizer: "+t),e.label=t,this.registeredFunctions[t]=e},N.Pipeline=function(){this._stack=[]},N.Pipeline.registeredFunctions={},N.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&N.utils.warn("Overwriting existing registered function: "+t),e.label=t,N.Pipeline.registeredFunctions[e.label]=e},N.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||N.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},N.Pipeline.load=function(e){var n=new N.Pipeline;return e.forEach(function(e){var t=N.Pipeline.registeredFunctions[e];if(!t)throw new Error("Cannot load un-registered function: "+e);n.add(t)}),n},N.Pipeline.prototype.add=function(){Array.prototype.slice.call(arguments).forEach(function(e){N.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)},this)},N.Pipeline.prototype.after=function(e,t){N.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");n+=1,this._stack.splice(n,0,t)},N.Pipeline.prototype.before=function(e,t){N.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");this._stack.splice(n,0,t)},N.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},N.Pipeline.prototype.run=function(e){for(var t=[],n=e.length,i=this._stack.length,o=0;on.idx||(i+=t.val*n.val,t=t.next),n=n.next);return i},N.Vector.prototype.similarity=function(e){return this.dot(e)/(this.magnitude()*e.magnitude())},N.SortedSet=function(){this.length=0,this.elements=[]},N.SortedSet.load=function(e){var t=new this;return t.elements=e,t.length=e.length,t},N.SortedSet.prototype.add=function(){var e,t;for(e=0;ea[i]&&i++:(t.add(s[n]),n++,i++);return t},N.SortedSet.prototype.clone=function(){var e=new N.SortedSet;return e.elements=this.toArray(),e.length=e.elements.length,e},N.SortedSet.prototype.union=function(e){var t,n,i;this.length>=e.length?(t=this,n=e):(t=e,n=this),i=t.clone();for(var o=0,r=n.toArray();o>16)+(t>>16)+(r>>16)<<16|65535&r}function f(n,t,r,e,o,u){return h((c=h(h(t,n),h(e,u)))<<(f=o)|c>>>32-f,r);var c,f}function l(n,t,r,e,o,u,c){return f(t&r|~t&e,n,t,o,u,c)}function g(n,t,r,e,o,u,c){return f(t&e|r&~e,n,t,o,u,c)}function v(n,t,r,e,o,u,c){return f(t^r^e,n,t,o,u,c)}function m(n,t,r,e,o,u,c){return f(r^(t|~e),n,t,o,u,c)}function i(n,t){n[t>>5]|=128<>>9<<4)]=t;var r,e,o,u,c,f=1732584193,i=-271733879,a=-1732584194,d=271733878;for(r=0;r>5]>>>t%32&255);return r}function d(n){var t,r=[];for(r[(n.length>>2)-1]=void 0,t=0;t>5]|=(255&n.charCodeAt(t/8))<>>4&15)+"0123456789abcdef".charAt(15&t);return e}function r(n){return unescape(encodeURIComponent(n))}function o(n){return a(i(d(t=r(n)),8*t.length));var t}function u(n,t){return function(n,t){var r,e,o=d(n),u=[],c=[];for(u[15]=c[15]=void 0,16',"en"==this.config.language?"Find {{ num }} {{ enDescription }} {{ query }}":"找到匹配{{ query }}的结果{{ num }}条","",'
',"{{ posts }}","
"].join(""),this.articleTpl=['
','","
"].join(""),this.tagsTpl='
  • {{ name }}
  • ',this.queryString=decodeURIComponent(location.search.split("=")[1]),this.getData()},getData:function(){var e=this;axios.get("/assets/lunr/all.json").then(function(t){return t.data}).then(function(t){e.initSearch(t)})},initSearch:function(t){this.index=lunr.Index.load(t.index),this.sourceData=t.store,this.result=this.index.search(this.queryString),this.filteredData=this.filterSourceData(),this.render()},compileTemplate:function(a,t){var n=a.match(/\{\{\s(\S+)\s\}\}/g),s=[],r="";function e(t){for(var e=a,i=0;it.score&&e>=i.config.minScore.minNum||a.push(i.sourceData[t.ref])}),a}},window.addEventListener("load",function(){new t})}(); \ No newline at end of file diff --git a/js/search.js b/js/search.js new file mode 100644 index 0000000..21255b8 --- /dev/null +++ b/js/search.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.axios=t():e.axios=t()}(this,function(){return function(n){function r(e){if(o[e])return o[e].exports;var t=o[e]={exports:{},id:e,loaded:!1};return n[e].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}var o={};return r.m=n,r.c=o,r.p="",r(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";function r(e){var t=new i(e),n=s(i.prototype.request,t);return o.extend(n,i.prototype,t),o.extend(n,t),n}var o=n(2),s=n(3),i=n(5),u=n(6),a=r(u);a.Axios=i,a.create=function(e){return r(o.merge(u,e))},a.Cancel=n(23),a.CancelToken=n(24),a.isCancel=n(20),a.all=function(e){return Promise.all(e)},a.spread=n(25),e.exports=a,e.exports.default=a},function(e,t,n){"use strict";function s(e){return"[object Array]"===c.call(e)}function r(e){return null!==e&&"object"==typeof e}function o(e){return"[object Function]"===c.call(e)}function i(e,t){if(null!=e)if("object"==typeof e||s(e)||(e=[e]),s(e))for(var n=0,r=e.length;n>8-s%1*8)){if(255<(n=r.charCodeAt(s+=.75)))throw new u;t=t<<8|n}return o}},function(e,t,n){"use strict";var u=n(2);e.exports=u.isStandardBrowserEnv()?{write:function(e,t,n,r,o,s){var i=[];i.push(e+"="+encodeURIComponent(t)),u.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),u.isString(r)&&i.push("path="+r),u.isString(o)&&i.push("domain="+o),!0===s&&i.push("secure"),document.cookie=i.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";function r(){this.handlers=[]}var o=n(2);r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(t){o.forEach(this.handlers,function(e){null!==e&&t(e)})},e.exports=r},function(e,t,n){"use strict";function r(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var o=n(2),s=n(19),i=n(20),u=n(6);e.exports=function(t){return r(t),t.headers=t.headers||{},t.data=s(t.data,t.headers,t.transformRequest),t.headers=o.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||u.adapter)(t).then(function(e){return r(t),e.data=s(e.data,e.headers,t.transformResponse),e},function(e){return i(e)||(r(t),e&&e.response&&(e.response.data=s(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(e,t,n){"use strict";var r=n(2);e.exports=function(t,n,e){return r.forEach(e,function(e){t=e(t,n)}),t}},function(e,t){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},function(e,t,n){"use strict";function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new o(e),t(n.reason))})}var o=n(23);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r(function(e){t=e}),cancel:t}},e.exports=r},function(e,t){"use strict";e.exports=function(t){return function(e){return t.apply(null,e)}}}])});!function(){var e,t,h,l,n,i,c,d,f,p,g,m,v,y,S,w,k,x,b,E,_,F,z,O,P,T,o,N=function(e){var t=new N.Index;return t.pipeline.add(N.trimmer,N.stopWordFilter,N.stemmer),e&&e.call(t,t),t};N.version="0.7.1",N.utils={},N.utils.warn=(o=this,function(e){o.console&&console.warn&&console.warn(e)}),N.utils.asString=function(e){return null==e?"":e.toString()},N.EventEmitter=function(){this.events={}},N.EventEmitter.prototype.addListener=function(){var e=Array.prototype.slice.call(arguments),t=e.pop(),n=e;if("function"!=typeof t)throw new TypeError("last argument must be a function");n.forEach(function(e){this.hasHandler(e)||(this.events[e]=[]),this.events[e].push(t)},this)},N.EventEmitter.prototype.removeListener=function(e,t){if(this.hasHandler(e)){var n=this.events[e].indexOf(t);this.events[e].splice(n,1),this.events[e].length||delete this.events[e]}},N.EventEmitter.prototype.emit=function(e){if(this.hasHandler(e)){var t=Array.prototype.slice.call(arguments,1);this.events[e].forEach(function(e){e.apply(void 0,t)})}},N.EventEmitter.prototype.hasHandler=function(e){return e in this.events},"undefined"!=typeof module&&module.exports&&(nodejieba_segment=require("nodejieba")),N.tokenizer=function(e){if(!arguments.length||null==e||null==e)return[];if(Array.isArray(e))return e.map(function(e){return N.utils.asString(e).toLowerCase()});var t=e.toString().trim().toLowerCase();return"undefined"!=typeof nodejieba_segment?nodejieba_segment.cut(t,!0):t.split(N.tokenizer.seperator)},N.tokenizer.seperator=/[\s\-]+/,N.tokenizer.load=function(e){var t=this.registeredFunctions[e];if(!t)throw new Error("Cannot load un-registered function: "+e);return t},N.tokenizer.label="default",N.tokenizer.registeredFunctions={default:N.tokenizer},N.tokenizer.registerFunction=function(e,t){t in this.registeredFunctions&&N.utils.warn("Overwriting existing tokenizer: "+t),e.label=t,this.registeredFunctions[t]=e},N.Pipeline=function(){this._stack=[]},N.Pipeline.registeredFunctions={},N.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&N.utils.warn("Overwriting existing registered function: "+t),e.label=t,N.Pipeline.registeredFunctions[e.label]=e},N.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||N.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},N.Pipeline.load=function(e){var n=new N.Pipeline;return e.forEach(function(e){var t=N.Pipeline.registeredFunctions[e];if(!t)throw new Error("Cannot load un-registered function: "+e);n.add(t)}),n},N.Pipeline.prototype.add=function(){Array.prototype.slice.call(arguments).forEach(function(e){N.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)},this)},N.Pipeline.prototype.after=function(e,t){N.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");n+=1,this._stack.splice(n,0,t)},N.Pipeline.prototype.before=function(e,t){N.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");this._stack.splice(n,0,t)},N.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},N.Pipeline.prototype.run=function(e){for(var t=[],n=e.length,i=this._stack.length,o=0;on.idx||(i+=t.val*n.val,t=t.next),n=n.next);return i},N.Vector.prototype.similarity=function(e){return this.dot(e)/(this.magnitude()*e.magnitude())},N.SortedSet=function(){this.length=0,this.elements=[]},N.SortedSet.load=function(e){var t=new this;return t.elements=e,t.length=e.length,t},N.SortedSet.prototype.add=function(){var e,t;for(e=0;ea[i]&&i++:(t.add(s[n]),n++,i++);return t},N.SortedSet.prototype.clone=function(){var e=new N.SortedSet;return e.elements=this.toArray(),e.length=e.elements.length,e},N.SortedSet.prototype.union=function(e){var t,n,i;this.length>=e.length?(t=this,n=e):(t=e,n=this),i=t.clone();for(var o=0,r=n.toArray();o',"en"==this.config.language?"Find {{ num }} {{ enDescription }} {{ query }}":"找到匹配{{ query }}的结果{{ num }}条","",'
    ',"{{ posts }}","
    "].join(""),this.articleTpl=['
    ','","
    "].join(""),this.tagsTpl='
  • {{ name }}
  • ',this.queryString=decodeURIComponent(location.search.split("=")[1]),this.getData()},getData:function(){var e=this;axios.get("/assets/lunr/all.json").then(function(t){return t.data}).then(function(t){e.initSearch(t)})},initSearch:function(t){this.index=lunr.Index.load(t.index),this.sourceData=t.store,this.result=this.index.search(this.queryString),this.filteredData=this.filterSourceData(),this.render()},compileTemplate:function(a,t){var n=a.match(/\{\{\s(\S+)\s\}\}/g),s=[],r="";function e(t){for(var e=a,i=0;it.score&&e>=i.config.minScore.minNum||a.push(i.sourceData[t.ref])}),a}},window.addEventListener("load",function(){new t})}(); \ No newline at end of file diff --git a/scss/base/index.css b/scss/base/index.css new file mode 100644 index 0000000..ed38d69 --- /dev/null +++ b/scss/base/index.css @@ -0,0 +1 @@ +@charset "UTF-8";@font-face{font-family:iconfont;src:url(../../fonts/iconfont.eot?t=1503327386217);src:url(../../fonts/iconfont.eot?t=1503327386217#iefix) format("embedded-opentype"),url(../../fonts/iconfont.woff?t=1503327386217) format("woff"),url(../../fonts/iconfont.ttf?t=1503327386217) format("truetype"),url(../../fonts/iconfont.svg?t=1503327386217#iconfont) format("svg")}.iconfont{font-family:iconfont!important;font-size:inherit;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-enter:before{content:"\e608"}.icon-menu:before{content:"\e6c1"}.icon-eye:before{content:"\e6c0"}.icon-tab:before{content:"\e694"}.icon-twitter:before{content:"\e8aa"}.icon-search:before{content:"\e60d"}.icon-weibo:before{content:"\e67f"}.icon-comment:before{content:"\e69a"}.icon-time:before{content:"\e61e"}.icon-douban:before{content:"\e796"}.icon-zhihu:before{content:"\e619"}.icon-write:before{content:"\e605"}.icon-loader:before{content:"\e604"}.icon-address:before{content:"\e603"}.icon-share:before{content:"\e669"}.icon-like:before{content:"\e60f"}.icon-github:before{content:"\e600"}.icon-rss:before{content:"\e7ea"}.icon-email2:before{content:"\e63d"}.icon-next:before{content:"\e60c"}.icon-prev:before{content:"\e63f"}.icon-email:before{content:"\e665"}.icon-thanks:before{content:"\e6cc"}.icon-telegram:before{content:"\e731"}.icon-top:before{content:"\e6cd"}.icon-category:before{content:"\e622"}.icon-quotes:before{content:"\e63a"}.icon-facebook:before{content:"\e601"}.icon-in:before{content:"\e602"}*{box-sizing:border-box}body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,"PingFang SC","Lantinghei SC","Microsoft Yahei","Hiragino Sans GB","Microsoft Sans Serif","WenQuanYi Micro Hei",sans;font-size:14px;color:#666;line-height:1.7;background-color:#fff}.link{font-size:inherit;text-decoration:none;transition:color .3s}.link:hover{color:#3ac0e8}.clearfix::after{content:'';display:table;clear:both}.js-open{display:block!important}.js-hidden{display:none!important}.js-ease-out-leave{transition:transform .5s ease-out,opacity .5s ease-out!important}.js-ease-out-enter-active{transform:translateY(0)!important;opacity:1!important}.js-ease-out-leave-active{transform:translateY(40px);opacity:0}@keyframes animations{0%{transform-origin:center bottom;transform:translateY(-80px) scale(0);opacity:0}25%{transform-origin:center bottom;transform:translateY(-120px) scale(.25);opacity:.25}60%{transform-origin:center;transform:translateY(0) scale(.6);opacity:.5}100%{transform-origin:center;transform:translateY(0) scale(1);opacity:1}}.js-animation{animation:animations 1s linear forwards}@media screen and (min-width:736px){body .page__main{padding-top:80px;padding-bottom:80px}}@media screen and (min-width:980px){body .page__container{width:950px}body .page__sidebar{width:260px;margin-top:0}body .page__content{-ms-flex:1;flex:1}}@media screen and (min-width:1280px){body .page__container{width:1250px}}.page{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:100vh}.page__container{-ms-flex:1;flex:1;position:relative;width:100%;margin:0 auto;padding:0 15px}.page__main{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-top:40px;padding-bottom:40px}.page__content{width:100%}.page__sidebar{width:100%;margin-top:60px}@media screen and (max-width:736px){body .page__header--small .nav__list{background:#19abd6;background:linear-gradient(to right,#19abd6 35%,#3ac0e8 100%)}body .page__menu-btn{display:inline-block}body .page__navbar{height:60px}body .page__nav{position:absolute;top:100%;left:0;width:100%;transform-origin:top;transform:translateY(-20%) scaleY(.8);opacity:0;z-index:-1;display:none}body .page__nav--open{transform:translateY(0) scaleY(1);opacity:1}body .page__nav .nav__list{border-top:1px solid rgba(255,255,255,.1);padding:0 15px}body .page__nav .nav__item{float:none;text-align:right;margin-top:10px}body .page__nav .nav__item>a{height:40px;line-height:40px}body .page__logo{margin:0}}.page__header{display:block;position:relative;height:350px;background:center no-repeat;background-size:cover;color:#fff}.page__header::before{content:'';position:absolute;height:100%;width:100%;background-color:rgba(64,84,90,.6)}.page__header--small .page__navbar{height:60px;background:#19abd6;background:linear-gradient(to right,#19abd6 35%,#3ac0e8 100%)}.page__header--small .page__logo{margin:0}.page__header--small .page__nav .nav__item a:hover{color:#0e627b}.page__small-header{height:40px}.page__navbar{position:fixed;top:0;left:0;width:100%;background-color:transparent;height:90px;transition:height .3s;z-index:100}.page__navbar .navbar-container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center}.page__logo{display:block;height:60px;line-height:60px;margin:15px 0;text-align:center;transition:margin .3s}.page__logo>img{display:block;height:100%}.page__nav{transition:transform .3s,opacity .3s}.page__nav .nav__list{margin:0;padding:0;border-color:transparent;transition:border-color .3s}.page__nav .nav__item{float:left;list-style:none}.page__nav .nav__item>a{display:block;height:60px;line-height:60px;padding:0 15px;font-size:inherit;text-decoration:none;transition:color .3s;color:#fff}.page__nav .nav__item>a:hover{color:#19abd6}.page__info{position:absolute;left:0;top:calc(50% + 45px);transform:translateY(-50%);display:block;width:100%;text-align:center}.page__info .info__title{margin:0;font-size:30px;font-weight:700;line-height:1.1}.page__info .info__hr{margin:20px auto;height:2px;width:160px;border:0;color:#19abd6;background:#19abd6;background:linear-gradient(to right,#19abd6 35%,#3ac0e8 100%)}.page__info .info__desc{font-size:14px}.page__menu-btn{display:none;border:0;background:0 0;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;padding:10px;color:#fff;font-size:28px}.page__menu-btn>i{display:block}.page__paginator{margin-top:45px;line-height:1;text-align:center}.paginator__list{display:inline-block;margin:0;padding:0;list-style:none}.paginator__item{float:left}.paginator__item+.paginator__item{margin-left:5px}.paginator__item>a{display:block;height:32px;width:32px;text-align:center;line-height:32px;border-radius:50%;overflow:hidden;background-color:#d8e5f3;color:#40545a;text-decoration:none;transition:background .3s}.paginator__item>a:hover{background-color:#8ab1db}.paginator__item>span{display:block;height:32px;width:32px;text-align:center;line-height:32px;border-radius:50%;overflow:hidden;background-color:transparent;color:#40545a;text-decoration:none}.page__search-from{display:block;font-size:12px}.page__search-from .search-form__item{position:relative;display:block}.page__search-from .search-form__item>input{display:block;width:100%;height:44px;padding:8px 46px 8px 20px;outline:0;color:inherit;border:none;border-radius:22px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:rgba(164,177,191,.15);box-shadow:none;transition:box-shadow .3s}.page__search-from .search-form__item>input:focus,.page__search-from .search-form__item>input:hover{box-shadow:inset 0 0 0 2px #3ac0e8}.page__search-from .search-form__item>i{position:absolute;top:50%;right:14px;transform:translateY(-50%);font-size:18px;color:#3ac0e8}.sidebar__img{display:block;width:100%;max-width:240px;margin:0 auto 30px}.sidebar__img>img{display:block;width:100%;height:auto}.sidebar__block{position:relative;display:block;width:100%}.sidebar__block .block__title{position:relative;color:#242f35;font-size:16px;padding-left:16px;margin:30px auto 20px;font-weight:400;height:20px;line-height:20px}.sidebar__block .block__title:before{content:'';display:block;position:absolute;width:4px;height:100%;top:0;left:0;z-index:-1;background:#19abd6;background:linear-gradient(to bottom,#19abd6 35%,#3ac0e8 100%) left center no-repeat;background-size:100%}.sidebar__block .block__text{margin:0;padding-left:16px}.sidebar__block .block-list{margin:0;margin-top:30px;padding:0;padding-left:16px;width:100%;color:#242f35}.sidebar__block .block-list-item{list-style:none;width:100%;padding-bottom:10px;border-bottom:1px dotted #d8e5f3}.sidebar__block .block-list-item+.block-list-item{margin-top:10px}.sidebar__block .block-list-item .block-list-link{font-size:inherit;text-decoration:none;transition:color .3s;color:#242f35}.sidebar__block .block-list-item .block-list-link:hover{color:#19abd6}.sidebar__block .block-list-item .block-list-count{margin-left:5px;color:#19abd6}.sidebar__block .block-list-item .block-list-count::before{content:'('}.sidebar__block .block-list-item .block-list-count::after{content:')'}.sidebar__block .tag-list{margin-top:-5px;margin-right:-10px}.sidebar__block .tag-item{float:left;list-style:none;margin-right:10px;margin-top:5px}.sidebar__block .tag-link{display:block;height:34px;border:2px solid #d8e5f3;border-radius:34px;font-size:12px;line-height:22px;color:#242f35;padding:4px 10px;text-decoration:none;transition:color .3s,border-color .3s}.sidebar__block .tag-link:hover{color:#19abd6;border-color:#19abd6}.sidebar__block .latest-post-item{list-style:none;width:100%}.sidebar__block .latest-post-item+.latest-post-item{margin-top:10px}.sidebar__block .latest-post-item>a{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;text-decoration:none;color:#242f35}.sidebar__block .latest-post-item>a:hover .item__title{color:#19abd6}.sidebar__block .latest-post-item .item__cover{position:relative;display:block;width:80px;height:60px;overflow:hidden}.sidebar__block .latest-post-item .item__cover>img{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:block;height:100%}.sidebar__block .latest-post-item .item__info{display:block;width:calc(100% - 80px);padding:8px 15px;line-height:1.4}.sidebar__block .latest-post-item .item__title{margin:0;font-weight:400;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:color .3s}.sidebar__block .latest-post-item .item__text{font-size:12px;color:#666;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:980px){body .footer__bottom{padding:30px 0}body .footer__container{-ms-flex-direction:column;flex-direction:column}body .footer__copyright{margin-bottom:10px}}.footer__top{padding:30px 0;background-color:#242f35;border-bottom:1px solid rgba(255,255,255,.1);color:#fff}.footer__top .footer__container{-ms-flex-align:start;align-items:flex-start}.footer__bottom{display:block;background-color:#2d383e;color:#fff;padding:10px 0}.footer__bottom a{font-size:inherit;text-decoration:none;transition:color .3s;color:#fff}.footer__bottom a:hover{color:#19abd6}.footer__container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center}.footer-top__item,.footer-top__item--2{-ms-flex:1;flex:1;width:100%;padding:0 15px 15px}.footer-top__item--2{-ms-flex:2;flex:2}.footer-top__item .item__title,.footer-top__item--2 .item__title{color:#a4b1bf;font-size:18px;margin:30px 0;text-transform:capitalize}.footer-top__list{list-style:none;margin:0;padding:0}.footer-top__list .list-item+.list-item{margin-top:12px}.footer-top__list .list-item>a{font-size:inherit;text-decoration:none;transition:color .3s;color:#fff}.footer-top__list .list-item>a:hover{color:#19abd6}.footer__contact-info{margin:0;padding:0;list-style:none;line-height:1}.footer__contact-info .contact-info__item{color:#69747a;font-size:12px}.footer__contact-info .contact-info__item+.contact-info__item{margin-top:10px}.footer__contact-info .contact-info__item i{font-size:28px;margin-right:5px;vertical-align:middle}.footer__contact-info .contact-info__item span{vertical-align:middle}.footer__image{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:stretch;align-self:stretch}.footer__image>img{display:block;width:100%;height:auto;max-width:160px;margin-top:30px}.footer__copyright{margin:0;font-size:12px;text-align:center}.footer__social-network{margin:0;padding:0;list-style:none;font-size:24px;line-height:1.2}.footer__social-network .social-network__item{float:left;transition:transform .3s}.footer__social-network .social-network__item:hover{transform:rotate(360deg)}.footer__social-network .social-network__item+.social-network__item{margin-left:15px}.back-top{position:fixed;display:block;width:50px;height:50px;font-size:25px;right:1em;bottom:3em;text-align:center;color:#fff;transition:background .3s,opacity .3s;background:#19abd6;background:linear-gradient(to right,#19abd6 35%,#3ac0e8 100%);background-size:200% auto;border-radius:50%;cursor:pointer;opacity:1;z-index:100}.back-top:hover{background-position:right center}.back-top>i{display:inline-block;line-height:50px}.back-top--hidden{opacity:0}.page-loading{background:center no-repeat;background-size:auto} \ No newline at end of file diff --git a/scss/views/page/about.css b/scss/views/page/about.css new file mode 100644 index 0000000..360d426 --- /dev/null +++ b/scss/views/page/about.css @@ -0,0 +1 @@ +.clearfix::after{content:'';display:table;clear:both}.content__container{word-wrap:break-word;overflow-wrap:break-word}.content__container h1{font-size:2em}.content__container h2{font-size:1.8em}.content__container h3{font-size:1.6em}.content__container h4{font-size:1.4em}.content__container h5{font-size:1.2em}.content__container h6{font-size:1em}.content__container a,.content__container abbr,.content__container acronym,.content__container address,.content__container applet,.content__container big,.content__container blockquote,.content__container body,.content__container caption,.content__container cite,.content__container code,.content__container dd,.content__container del,.content__container dfn,.content__container div,.content__container dl,.content__container dt,.content__container em,.content__container fieldset,.content__container form,.content__container h1,.content__container h2,.content__container h3,.content__container h4,.content__container h5,.content__container h6,.content__container html,.content__container iframe,.content__container img,.content__container ins,.content__container kbd,.content__container label,.content__container legend,.content__container li,.content__container object,.content__container ol,.content__container p,.content__container pre,.content__container q,.content__container s,.content__container samp,.content__container small,.content__container span,.content__container strike,.content__container strong,.content__container sub,.content__container sup,.content__container table,.content__container tbody,.content__container td,.content__container tfoot,.content__container th,.content__container thead,.content__container tr,.content__container tt,.content__container ul,.content__container var{margin:0;padding:0;border:0;outline:0;font-family:inherit;vertical-align:baseline}.content__container blockquote,.content__container dl,.content__container h1,.content__container h2,.content__container h3,.content__container h4,.content__container h5,.content__container h6,.content__container img,.content__container ol,.content__container p,.content__container ul{margin:0;outline:0;border:0}.content__container blockquote:not(:last-child),.content__container dl:not(:last-child),.content__container h1:not(:last-child),.content__container h2:not(:last-child),.content__container h3:not(:last-child),.content__container h4:not(:last-child),.content__container h5:not(:last-child),.content__container h6:not(:last-child),.content__container img:not(:last-child),.content__container ol:not(:last-child),.content__container p:not(:last-child),.content__container ul:not(:last-child){margin-bottom:21px}.content__container h1,.content__container h2,.content__container h3,.content__container h4,.content__container h5,.content__container h6{line-height:1;font-weight:400;color:#242f35;margin-top:35px}.content__container dl,.content__container ol,.content__container ul{padding-left:1.5em}.content__container blockquote{position:relative;padding:1.5em;border-left:5px solid #e4e4e4;background-color:rgba(164,177,191,.1);overflow:hidden}.content__container a{color:#19abd6;transition:color .3s;text-decoration:none}.content__container a:active,.content__container a:hover{color:#3ac0e8;text-decoration:underline}.content__container .highlight{background-color:#272822;margin:21px 0;color:#fff;padding:.5em;-webkit-overflow-scrolling:touch;overflow:auto;font-size:12px;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace}.content__container .highlight+.content__container .highlight{margin:10px 0}.content__container .highlight+.content__container .highlight:last-child{margin-bottom:21px}.content__container .highlight table{width:auto;margin:0;border:0}.content__container .highlight table tr td,.content__container .highlight table tr th{border:0;padding:0;background-color:transparent!important}.content__container .highlight .line{height:22px}.content__container .highlight .gutter pre{min-width:18px;margin-right:.8em;text-align:right;color:#8f908a}.content__container .highlight .code .tag .name{color:#f92672}.content__container .highlight .code .tag .attr{color:#74e22e}.content__container .highlight .code .tag .string{color:#e6db74}.content__container .highlight .code .comment{color:#75715e}.content__container .highlight .code .keyword{color:#66d9ef}.content__container .highlight .code .attr{color:#e6db74}.content__container .highlight .code .literal,.content__container .highlight .code .number{color:#ae81ff}.content__container .highlight .code .string{color:#e6db74}.content__container .highlight .code .built_in{color:#66d9ef}.content__container .highlight .code .function{color:#66d9ef}.content__container .highlight .code .function .params{color:#fd9720}.content__container code{padding:0 .4em;margin:0;background-color:rgba(27,31,35,.05);border-radius:3px;font-weight:400;word-break:break-all}.content__container hr{border:0;border-top:1px solid #e4e4e4;margin:1.5em 0}.content__container img{max-width:100%}.content__container img:not(:last-child){margin-bottom:10px}.content__container table{width:100%;border:1px solid #d8e5f3;border-collapse:collapse}.content__container table th{font-weight:700}.content__container table td,.content__container table th{padding:.5em;text-align:left;border:1px solid #ddd}.content__container table tbody>tr:nth-child(2n+1)>td{background-color:rgba(102,128,153,.05)}.content__container h1:first-child,.content__container h2:first-child,.content__container h3:first-child,.content__container h4:first-child,.content__container h5:first-child,.content__container h6:first-child{margin-top:0}#comment-container{margin-top:30px} \ No newline at end of file diff --git a/scss/views/page/archive.css b/scss/views/page/archive.css new file mode 100644 index 0000000..30a545e --- /dev/null +++ b/scss/views/page/archive.css @@ -0,0 +1 @@ +.clearfix::after{content:'';display:table;clear:both}@media screen and (min-width:980px){body .mini-article__cover{height:160px}}.page__mini-article{width:100%;background-color:#fff;box-shadow:0 0 20px rgba(0,0,0,.15);transition:box-shadow .3s;line-height:1.4}.page__mini-article:hover{box-shadow:0 0 20px rgba(0,0,0,.2)}.page__mini-article:hover .mini-article__cover::before{background-color:rgba(30,200,252,.9)}.page__mini-article:hover .mini-article__cover>a{transform:translate(-50%,-50%) rotateX(180deg) rotateZ(-360deg) scale(1);opacity:1}.mini-article__cover{position:relative;overflow:hidden;width:100%;height:auto}.mini-article__cover::before{content:'';position:absolute;display:block;width:100%;height:100%;top:0;left:0;z-index:1;background-color:transparent;transition:background .3s}.mini-article__cover>img{display:block;width:100%}.mini-article__cover>a{font-size:inherit;text-decoration:none;transition:color .3s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotateX(180deg) rotateZ(0) scale(.5);opacity:0;display:block;color:#fff;z-index:2;font-size:28px;transition:transform .3s,opacity .3s}.mini-article__cover>a:hover{color:#0e627b}.mini-article__date{position:absolute;top:10px;right:10px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:50px;height:50px;border-radius:50%;color:#fff;font-weight:700;text-align:center;background-color:rgba(64,84,90,.7);line-height:1}.mini-article__date>span{display:block}.mini-article__date .date__day{font-size:12px}.mini-article__date .date__month{font-size:10px;margin-top:5px}.mini-article__info{padding:15px}.mini-article__title{font-size:16px;margin:0;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mini-article__title>a{font-size:inherit;text-decoration:none;transition:color .3s;color:#242f35}.mini-article__title>a:hover{color:#19abd6}.mini-article__author{display:block;margin:0;margin-top:5px;color:#19abd6;text-align:right}.mini-article__author>span a{color:#19abd6;text-decoration:none}.mini-article__author .author__item+.author__item::before{content:'&';color:#666;margin-right:4px}.min-article__desc{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-all;line-height:26px;height:52px}.min-article__tags>i{font-size:24px;vertical-align:middle;margin-right:5px}.min-article__tags .tags__list{display:inline-block;margin:0;padding:0;list-style:none;vertical-align:middle}.min-article__tags .tags__item{float:left}.min-article__tags .tags__item>a{font-size:inherit;text-decoration:none;transition:color .3s;color:#666}.min-article__tags .tags__item>a:hover{color:#19abd6}.min-article__tags .tags__item+.tags__item::before{content:', '}@media screen and (min-width:980px){body .page__posts{margin-top:-30px;margin-right:-30px}body .page__post{width:300px}}@media screen and (min-width:1280px){body .page__post{width:290px}}.page__posts{margin-top:-30px;margin-right:0}.page__post{float:left;width:100%;margin-top:30px;margin-right:30px}.mb-main__nav{width:100%;overflow:hidden;display:-ms-flexbox;display:flex;padding:14px 0;overflow:auto}.mb-main__nav .nav__item{list-style:none;margin-bottom:.5em;display:block;height:30px;line-height:30px;padding:0 .8em;text-decoration:none;color:#666;transition:color .3s,background .3s;cursor:pointer}.mb-main__nav .nav__item:hover{color:#fff;background-color:#19abd6}.mb-main__nav .nav__item+.nav__item{margin-left:.5em}.mb-main__nav .nav__item--selected{color:#fff;background-color:#19abd6;cursor:default} \ No newline at end of file diff --git a/scss/views/page/category.css b/scss/views/page/category.css new file mode 100644 index 0000000..523d7a0 --- /dev/null +++ b/scss/views/page/category.css @@ -0,0 +1 @@ +.clearfix::after{content:'';display:table;clear:both}@media screen and (min-width:980px){body .mini-article__cover{height:160px}}.page__mini-article{width:100%;background-color:#fff;box-shadow:0 0 20px rgba(0,0,0,.15);transition:box-shadow .3s;line-height:1.4}.page__mini-article:hover{box-shadow:0 0 20px rgba(0,0,0,.2)}.page__mini-article:hover .mini-article__cover::before{background-color:rgba(30,200,252,.9)}.page__mini-article:hover .mini-article__cover>a{transform:translate(-50%,-50%) rotateX(180deg) rotateZ(-360deg) scale(1);opacity:1}.mini-article__cover{position:relative;overflow:hidden;width:100%;height:auto}.mini-article__cover::before{content:'';position:absolute;display:block;width:100%;height:100%;top:0;left:0;z-index:1;background-color:transparent;transition:background .3s}.mini-article__cover>img{display:block;width:100%}.mini-article__cover>a{font-size:inherit;text-decoration:none;transition:color .3s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotateX(180deg) rotateZ(0) scale(.5);opacity:0;display:block;color:#fff;z-index:2;font-size:28px;transition:transform .3s,opacity .3s}.mini-article__cover>a:hover{color:#0e627b}.mini-article__date{position:absolute;top:10px;right:10px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:50px;height:50px;border-radius:50%;color:#fff;font-weight:700;text-align:center;background-color:rgba(64,84,90,.7);line-height:1}.mini-article__date>span{display:block}.mini-article__date .date__day{font-size:12px}.mini-article__date .date__month{font-size:10px;margin-top:5px}.mini-article__info{padding:15px}.mini-article__title{font-size:16px;margin:0;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mini-article__title>a{font-size:inherit;text-decoration:none;transition:color .3s;color:#242f35}.mini-article__title>a:hover{color:#19abd6}.mini-article__author{display:block;margin:0;margin-top:5px;color:#19abd6;text-align:right}.mini-article__author>span a{color:#19abd6;text-decoration:none}.mini-article__author .author__item+.author__item::before{content:'&';color:#666;margin-right:4px}.min-article__desc{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-all;line-height:26px;height:52px}.min-article__tags>i{font-size:24px;vertical-align:middle;margin-right:5px}.min-article__tags .tags__list{display:inline-block;margin:0;padding:0;list-style:none;vertical-align:middle}.min-article__tags .tags__item{float:left}.min-article__tags .tags__item>a{font-size:inherit;text-decoration:none;transition:color .3s;color:#666}.min-article__tags .tags__item>a:hover{color:#19abd6}.min-article__tags .tags__item+.tags__item::before{content:', '}@media screen and (min-width:980px){body .page__posts{margin-top:-30px;margin-right:-30px}body .page__post{width:300px}}@media screen and (min-width:1280px){body .page__post{width:290px}}.page__posts{margin-top:-30px;margin-right:0}.page__post{float:left;width:100%;margin-top:30px;margin-right:30px} \ No newline at end of file diff --git a/scss/views/page/error.css b/scss/views/page/error.css new file mode 100644 index 0000000..d1dd2a9 --- /dev/null +++ b/scss/views/page/error.css @@ -0,0 +1 @@ +@media screen and (max-width:736px){.error-page__title{font-size:100px!important}.error-page__subtitle{font-size:24px!important}.error-page__text{font-size:14px!important}}.error-page{background:center no-repeat;background-size:cover}.error-page__container{display:-ms-flexbox;display:flex;height:100vh;width:100%;-ms-flex-align:center;align-items:center;background:linear-gradient(45deg,rgba(38,44,51,.8) 20%,rgba(0,201,255,.9) 100%);text-align:center}.error-page__main{width:100%;color:#fff;line-height:1.2}.error-page__main h1,.error-page__main h2{margin:0}.error-page__title{margin:20px 0 0;color:rgba(0,0,0,.6);font-size:180px;font-weight:700}.error-page__subtitle{margin-top:20px;font-size:34px;font-weight:700;text-transform:uppercase}.error-page__text{margin-top:10px;font-size:18px;text-transform:none;font-weight:400}.social-network{margin:0;padding:0;list-style:none;display:inline-block;font-size:28px}.social-network__item{float:left;transition:transform .3s}.social-network__item:hover{transform:rotate(360deg)}.social-network__item+.social-network__item{margin-left:15px}.social-network__item>a{color:#fff;text-decoration:none}.social-network__item>a:active,.social-network__item>a:hover{color:#fff} \ No newline at end of file diff --git a/scss/views/page/index.css b/scss/views/page/index.css new file mode 100644 index 0000000..523d7a0 --- /dev/null +++ b/scss/views/page/index.css @@ -0,0 +1 @@ +.clearfix::after{content:'';display:table;clear:both}@media screen and (min-width:980px){body .mini-article__cover{height:160px}}.page__mini-article{width:100%;background-color:#fff;box-shadow:0 0 20px rgba(0,0,0,.15);transition:box-shadow .3s;line-height:1.4}.page__mini-article:hover{box-shadow:0 0 20px rgba(0,0,0,.2)}.page__mini-article:hover .mini-article__cover::before{background-color:rgba(30,200,252,.9)}.page__mini-article:hover .mini-article__cover>a{transform:translate(-50%,-50%) rotateX(180deg) rotateZ(-360deg) scale(1);opacity:1}.mini-article__cover{position:relative;overflow:hidden;width:100%;height:auto}.mini-article__cover::before{content:'';position:absolute;display:block;width:100%;height:100%;top:0;left:0;z-index:1;background-color:transparent;transition:background .3s}.mini-article__cover>img{display:block;width:100%}.mini-article__cover>a{font-size:inherit;text-decoration:none;transition:color .3s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotateX(180deg) rotateZ(0) scale(.5);opacity:0;display:block;color:#fff;z-index:2;font-size:28px;transition:transform .3s,opacity .3s}.mini-article__cover>a:hover{color:#0e627b}.mini-article__date{position:absolute;top:10px;right:10px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:50px;height:50px;border-radius:50%;color:#fff;font-weight:700;text-align:center;background-color:rgba(64,84,90,.7);line-height:1}.mini-article__date>span{display:block}.mini-article__date .date__day{font-size:12px}.mini-article__date .date__month{font-size:10px;margin-top:5px}.mini-article__info{padding:15px}.mini-article__title{font-size:16px;margin:0;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mini-article__title>a{font-size:inherit;text-decoration:none;transition:color .3s;color:#242f35}.mini-article__title>a:hover{color:#19abd6}.mini-article__author{display:block;margin:0;margin-top:5px;color:#19abd6;text-align:right}.mini-article__author>span a{color:#19abd6;text-decoration:none}.mini-article__author .author__item+.author__item::before{content:'&';color:#666;margin-right:4px}.min-article__desc{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-all;line-height:26px;height:52px}.min-article__tags>i{font-size:24px;vertical-align:middle;margin-right:5px}.min-article__tags .tags__list{display:inline-block;margin:0;padding:0;list-style:none;vertical-align:middle}.min-article__tags .tags__item{float:left}.min-article__tags .tags__item>a{font-size:inherit;text-decoration:none;transition:color .3s;color:#666}.min-article__tags .tags__item>a:hover{color:#19abd6}.min-article__tags .tags__item+.tags__item::before{content:', '}@media screen and (min-width:980px){body .page__posts{margin-top:-30px;margin-right:-30px}body .page__post{width:300px}}@media screen and (min-width:1280px){body .page__post{width:290px}}.page__posts{margin-top:-30px;margin-right:0}.page__post{float:left;width:100%;margin-top:30px;margin-right:30px} \ No newline at end of file diff --git a/scss/views/page/post.css b/scss/views/page/post.css new file mode 100644 index 0000000..693f8eb --- /dev/null +++ b/scss/views/page/post.css @@ -0,0 +1 @@ +.clearfix::after{content:'';display:table;clear:both}@media screen and (min-width:980px){body .page__post{margin-right:30px}}.page__content{overflow:hidden}.post__cover{width:100%}.post__cover>img{display:block;width:100%}.post__info{margin:60px 0}.post__title{font-size:2em;color:#242f35;margin:.5em 0;font-weight:400;line-height:1}.post__mark{display:-ms-flexbox;display:flex;width:100%;-ms-flex-wrap:wrap;flex-wrap:wrap}.mark__block{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-right:15px}.mark__block .mark__icon{font-size:18px;margin-right:5px}.mark__block .mark__list{list-style:none;margin:0;padding:0}.mark__block .mark__item{float:left;margin-right:5px}.mark__block .mark__item>span{vertical-align:middle}.mark__block .mark__item>a{font-size:inherit;text-decoration:none;transition:color .3s;color:#666;vertical-align:middle}.mark__block .mark__item>a:hover{color:#19abd6}.mark__block .mark__item:not(:last-child)::after{display:inline-block;content:','}.post__content{word-wrap:break-word;overflow-wrap:break-word}.post__content h1{font-size:2em}.post__content h2{font-size:1.8em}.post__content h3{font-size:1.6em}.post__content h4{font-size:1.4em}.post__content h5{font-size:1.2em}.post__content h6{font-size:1em}.post__content a,.post__content abbr,.post__content acronym,.post__content address,.post__content applet,.post__content big,.post__content blockquote,.post__content body,.post__content caption,.post__content cite,.post__content code,.post__content dd,.post__content del,.post__content dfn,.post__content div,.post__content dl,.post__content dt,.post__content em,.post__content fieldset,.post__content form,.post__content h1,.post__content h2,.post__content h3,.post__content h4,.post__content h5,.post__content h6,.post__content html,.post__content iframe,.post__content img,.post__content ins,.post__content kbd,.post__content label,.post__content legend,.post__content li,.post__content object,.post__content ol,.post__content p,.post__content pre,.post__content q,.post__content s,.post__content samp,.post__content small,.post__content span,.post__content strike,.post__content strong,.post__content sub,.post__content sup,.post__content table,.post__content tbody,.post__content td,.post__content tfoot,.post__content th,.post__content thead,.post__content tr,.post__content tt,.post__content ul,.post__content var{margin:0;padding:0;border:0;outline:0;font-family:inherit;vertical-align:baseline}.post__content blockquote,.post__content dl,.post__content h1,.post__content h2,.post__content h3,.post__content h4,.post__content h5,.post__content h6,.post__content img,.post__content ol,.post__content p,.post__content ul{margin:0;outline:0;border:0}.post__content blockquote:not(:last-child),.post__content dl:not(:last-child),.post__content h1:not(:last-child),.post__content h2:not(:last-child),.post__content h3:not(:last-child),.post__content h4:not(:last-child),.post__content h5:not(:last-child),.post__content h6:not(:last-child),.post__content img:not(:last-child),.post__content ol:not(:last-child),.post__content p:not(:last-child),.post__content ul:not(:last-child){margin-bottom:21px}.post__content h1,.post__content h2,.post__content h3,.post__content h4,.post__content h5,.post__content h6{line-height:1;font-weight:400;color:#242f35;margin-top:35px}.post__content dl,.post__content ol,.post__content ul{padding-left:1.5em}.post__content blockquote{position:relative;padding:1.5em;border-left:5px solid #e4e4e4;background-color:rgba(164,177,191,.1);overflow:hidden}.post__content a{color:#19abd6;transition:color .3s;text-decoration:none}.post__content a:active,.post__content a:hover{color:#3ac0e8;text-decoration:underline}.post__content .highlight{background-color:#272822;margin:21px 0;color:#fff;padding:.5em;-webkit-overflow-scrolling:touch;overflow:auto;font-size:12px;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace}.post__content .highlight+.post__content .highlight{margin:10px 0}.post__content .highlight+.post__content .highlight:last-child{margin-bottom:21px}.post__content .highlight table{width:auto;margin:0;border:0}.post__content .highlight table tr td,.post__content .highlight table tr th{border:0;padding:0;background-color:transparent!important}.post__content .highlight .line{height:22px}.post__content .highlight .gutter pre{min-width:18px;margin-right:.8em;text-align:right;color:#8f908a}.post__content .highlight .code .tag .name{color:#f92672}.post__content .highlight .code .tag .attr{color:#74e22e}.post__content .highlight .code .tag .string{color:#e6db74}.post__content .highlight .code .comment{color:#75715e}.post__content .highlight .code .keyword{color:#66d9ef}.post__content .highlight .code .attr{color:#e6db74}.post__content .highlight .code .literal,.post__content .highlight .code .number{color:#ae81ff}.post__content .highlight .code .string{color:#e6db74}.post__content .highlight .code .built_in{color:#66d9ef}.post__content .highlight .code .function{color:#66d9ef}.post__content .highlight .code .function .params{color:#fd9720}.post__content code{padding:0 .4em;margin:0;background-color:rgba(27,31,35,.05);border-radius:3px;font-weight:400;word-break:break-all}.post__content hr{border:0;border-top:1px solid #e4e4e4;margin:1.5em 0}.post__content img{max-width:100%}.post__content img:not(:last-child){margin-bottom:10px}.post__content table{width:100%;border:1px solid #d8e5f3;border-collapse:collapse}.post__content table th{font-weight:700}.post__content table td,.post__content table th{padding:.5em;text-align:left;border:1px solid #ddd}.post__content table tbody>tr:nth-child(2n+1)>td{background-color:rgba(102,128,153,.05)}.post__content .post-announce{margin:2em 0}.post__content .post__prevs{display:-ms-flexbox;display:flex;width:100%;font-size:0;font-weight:700;padding-top:10px;border-top:1px dashed #ddd}.post__content .post__prev{-ms-flex:1 0 0;flex:1 0 0;overflow:hidden}.post__content .post__prev>a{font-size:14px;display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#666;text-decoration:none;cursor:pointer;transition:color .3s;text-decoration:none}.post__content .post__prev>a.actived{color:#3ac0e8}.post__content .post__prev>a:active,.post__content .post__prev>a:hover{color:#3ac0e8}.post__content .post__prev>a>i{font-size:16px}.post__content .post__prev--right{text-align:right} \ No newline at end of file diff --git a/scss/views/page/search.css b/scss/views/page/search.css new file mode 100644 index 0000000..80e254a --- /dev/null +++ b/scss/views/page/search.css @@ -0,0 +1 @@ +.clearfix::after{content:'';display:table;clear:both}@media screen and (min-width:980px){body .mini-article__cover{height:160px}}.page__mini-article{width:100%;background-color:#fff;box-shadow:0 0 20px rgba(0,0,0,.15);transition:box-shadow .3s;line-height:1.4}.page__mini-article:hover{box-shadow:0 0 20px rgba(0,0,0,.2)}.page__mini-article:hover .mini-article__cover::before{background-color:rgba(30,200,252,.9)}.page__mini-article:hover .mini-article__cover>a{transform:translate(-50%,-50%) rotateX(180deg) rotateZ(-360deg) scale(1);opacity:1}.mini-article__cover{position:relative;overflow:hidden;width:100%;height:auto}.mini-article__cover::before{content:'';position:absolute;display:block;width:100%;height:100%;top:0;left:0;z-index:1;background-color:transparent;transition:background .3s}.mini-article__cover>img{display:block;width:100%}.mini-article__cover>a{font-size:inherit;text-decoration:none;transition:color .3s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotateX(180deg) rotateZ(0) scale(.5);opacity:0;display:block;color:#fff;z-index:2;font-size:28px;transition:transform .3s,opacity .3s}.mini-article__cover>a:hover{color:#0e627b}.mini-article__date{position:absolute;top:10px;right:10px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:50px;height:50px;border-radius:50%;color:#fff;font-weight:700;text-align:center;background-color:rgba(64,84,90,.7);line-height:1}.mini-article__date>span{display:block}.mini-article__date .date__day{font-size:12px}.mini-article__date .date__month{font-size:10px;margin-top:5px}.mini-article__info{padding:15px}.mini-article__title{font-size:16px;margin:0;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mini-article__title>a{font-size:inherit;text-decoration:none;transition:color .3s;color:#242f35}.mini-article__title>a:hover{color:#19abd6}.mini-article__author{display:block;margin:0;margin-top:5px;color:#19abd6;text-align:right}.mini-article__author>span a{color:#19abd6;text-decoration:none}.mini-article__author .author__item+.author__item::before{content:'&';color:#666;margin-right:4px}.min-article__desc{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-all;line-height:26px;height:52px}.min-article__tags>i{font-size:24px;vertical-align:middle;margin-right:5px}.min-article__tags .tags__list{display:inline-block;margin:0;padding:0;list-style:none;vertical-align:middle}.min-article__tags .tags__item{float:left}.min-article__tags .tags__item>a{font-size:inherit;text-decoration:none;transition:color .3s;color:#666}.min-article__tags .tags__item>a:hover{color:#19abd6}.min-article__tags .tags__item+.tags__item::before{content:', '}@media screen and (min-width:980px){body .page__posts{margin-top:-30px;margin-right:-30px}body .page__post{width:300px}}@media screen and (min-width:1280px){body .page__post{width:290px}}.page__posts{margin-top:-30px;margin-right:0}.page__post{float:left;width:100%;margin-top:30px;margin-right:30px}.search__loader{position:relative;color:#19abd6;height:100px;font-size:24px}@keyframes loader{from{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg)}}.search__loader>i{position:absolute;top:50%;left:50%;animation:loader 1s linear infinite}.search__result-wrap{line-height:1.4;color:#242f35;font-size:16px;font-weight:400;margin-top:0}.search__result-wrap>em{color:#19abd6;margin:0 5px} \ No newline at end of file diff --git a/scss/views/page/tag.css b/scss/views/page/tag.css new file mode 100644 index 0000000..523d7a0 --- /dev/null +++ b/scss/views/page/tag.css @@ -0,0 +1 @@ +.clearfix::after{content:'';display:table;clear:both}@media screen and (min-width:980px){body .mini-article__cover{height:160px}}.page__mini-article{width:100%;background-color:#fff;box-shadow:0 0 20px rgba(0,0,0,.15);transition:box-shadow .3s;line-height:1.4}.page__mini-article:hover{box-shadow:0 0 20px rgba(0,0,0,.2)}.page__mini-article:hover .mini-article__cover::before{background-color:rgba(30,200,252,.9)}.page__mini-article:hover .mini-article__cover>a{transform:translate(-50%,-50%) rotateX(180deg) rotateZ(-360deg) scale(1);opacity:1}.mini-article__cover{position:relative;overflow:hidden;width:100%;height:auto}.mini-article__cover::before{content:'';position:absolute;display:block;width:100%;height:100%;top:0;left:0;z-index:1;background-color:transparent;transition:background .3s}.mini-article__cover>img{display:block;width:100%}.mini-article__cover>a{font-size:inherit;text-decoration:none;transition:color .3s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotateX(180deg) rotateZ(0) scale(.5);opacity:0;display:block;color:#fff;z-index:2;font-size:28px;transition:transform .3s,opacity .3s}.mini-article__cover>a:hover{color:#0e627b}.mini-article__date{position:absolute;top:10px;right:10px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:50px;height:50px;border-radius:50%;color:#fff;font-weight:700;text-align:center;background-color:rgba(64,84,90,.7);line-height:1}.mini-article__date>span{display:block}.mini-article__date .date__day{font-size:12px}.mini-article__date .date__month{font-size:10px;margin-top:5px}.mini-article__info{padding:15px}.mini-article__title{font-size:16px;margin:0;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mini-article__title>a{font-size:inherit;text-decoration:none;transition:color .3s;color:#242f35}.mini-article__title>a:hover{color:#19abd6}.mini-article__author{display:block;margin:0;margin-top:5px;color:#19abd6;text-align:right}.mini-article__author>span a{color:#19abd6;text-decoration:none}.mini-article__author .author__item+.author__item::before{content:'&';color:#666;margin-right:4px}.min-article__desc{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-all;line-height:26px;height:52px}.min-article__tags>i{font-size:24px;vertical-align:middle;margin-right:5px}.min-article__tags .tags__list{display:inline-block;margin:0;padding:0;list-style:none;vertical-align:middle}.min-article__tags .tags__item{float:left}.min-article__tags .tags__item>a{font-size:inherit;text-decoration:none;transition:color .3s;color:#666}.min-article__tags .tags__item>a:hover{color:#19abd6}.min-article__tags .tags__item+.tags__item::before{content:', '}@media screen and (min-width:980px){body .page__posts{margin-top:-30px;margin-right:-30px}body .page__post{width:300px}}@media screen and (min-width:1280px){body .page__post{width:290px}}.page__posts{margin-top:-30px;margin-right:0}.page__post{float:left;width:100%;margin-top:30px;margin-right:30px} \ No newline at end of file diff --git a/search/index.html b/search/index.html new file mode 100644 index 0000000..d7edb1a --- /dev/null +++ b/search/index.html @@ -0,0 +1 @@ +关于 | MINFIVE BLOG
    \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 0000000..56a9e09 --- /dev/null +++ b/sitemap.xml @@ -0,0 +1,39 @@ + + + + + http://yoursite.com/2018/10/05/hello-world/ + + 2018-10-05T13:45:10.625Z + + + + + http://yoursite.com/2018/10/05/hello-world-2/ + + 2018-10-05T06:37:57.291Z + + + + + http://yoursite.com/404.html + + 2018-10-05T06:33:27.797Z + + + + + http://yoursite.com/search/index.html + + 2018-10-05T06:32:24.147Z + + + + + http://yoursite.com/about/index.html + + 2018-10-05T06:31:47.645Z + + + +