diff options
-rw-r--r-- | exampleSite/config.toml | 5 | ||||
-rw-r--r-- | layouts/partials/head.html | 3 | ||||
-rw-r--r-- | layouts/partials/scripts.html | 5 | ||||
-rw-r--r-- | src/webpack.config.js | 15 | ||||
-rw-r--r-- | static/dist/even.min.css (renamed from static/dist/even.v2.5.0.css) | 2 | ||||
-rw-r--r-- | static/dist/even.min.css.map | 1 | ||||
-rw-r--r-- | static/dist/even.min.js (renamed from static/dist/even.v2.5.0.js) | 2 | ||||
-rw-r--r-- | static/dist/even.min.js.map | 1 | ||||
-rw-r--r-- | static/dist/even.v2.5.0.css.map | 1 | ||||
-rw-r--r-- | static/dist/even.v2.5.0.js.map | 1 |
10 files changed, 16 insertions, 20 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 29f12fc..bd7b946 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -42,12 +42,11 @@ copyright = "" # default: author.name ↓ # 默认为下面配 url = "/categories/" [params] - version = "2.5.0" # theme version, don't change it! # 请勿更改 since = "2017" # Site creation time # 站点建立时间 # site info (option) # 站点信息(可选) - keywords = ["olOwOlo", "blog"] - description = "olOwOlo blog." + keywords = ["Hugo", "theme","even"] + description = "Hugo theme even example site." # paginate of archives, tags and categories # 归档、标签、分类每页显示的文章数目 archive-paginate = 3 diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 0a93efb..66d34eb 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -51,8 +51,7 @@ <link rel="mask-icon" href="{{ "safari-pinned-tab.svg" | relURL }}" color="#5bbad5"> <!-- Styles --> -{{ $themeVersion := .Site.Params.version }} -<link href="{{ relURL (printf "dist/even.v%s.css" $themeVersion) }}" rel="stylesheet"> +<link href="{{ "dist/even.min.css?v=2.5.0" | relURL }}" rel="stylesheet"> {{ if .Site.Params.bootcdn -}} {{ if .Site.Params.fancybox }}<link href="https://cdn.bootcss.com/fancybox/3.1.20/jquery.fancybox.min.css" rel="stylesheet">{{ end }} {{ else -}} diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index b206dc8..17adea7 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -1,18 +1,15 @@ <!-- js --> -{{ $themeVersion := .Site.Params.version }} <script src="{{ "lib/highlight/highlight.pack.js" | relURL }}"></script> {{ if .Site.Params.bootcdn -}} - <!-- script src="https://cdn.bootcss.com/highlight.js/9.12.0/highlight.min.js"></script --> <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script> <script type="text/javascript" src="https://cdn.bootcss.com/slideout/1.0.1/slideout.min.js"></script> {{ if .Site.Params.fancybox }}<script type="text/javascript" src="https://cdn.bootcss.com/fancybox/3.1.20/jquery.fancybox.min.js"></script>{{ end }} - <script type="text/javascript" src="{{ relURL (printf "dist/even.v%s.js" $themeVersion) }}"></script> {{ else -}} <script type="text/javascript" src="{{ "lib/jquery/jquery-3.2.1.min.js" | relURL }}"></script> <script type="text/javascript" src="{{ "lib/slideout/slideout-1.0.1.min.js" | relURL }}"></script> {{ if .Site.Params.fancybox }}<script type="text/javascript" src="{{ "lib/fancybox/jquery.fancybox-3.1.20.min.js" | relURL }}"></script>{{ end }} - <script type="text/javascript" src="{{ relURL (printf "dist/even.v%s.js" $themeVersion) }}"></script> {{- end }} +<script type="text/javascript" src="{{ "dist/even.min.js?v=2.5.0" | relURL }}"></script> {{ if and (and .Site.Params.mathjax (ne .Params.mathjax false)) (or .IsPage .IsHome) -}} <script async src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-MML-AM_CHTML'></script> diff --git a/src/webpack.config.js b/src/webpack.config.js index 5132b33..6dc5c0e 100644 --- a/src/webpack.config.js +++ b/src/webpack.config.js @@ -2,11 +2,8 @@ const path = require('path'); const ExtractTextPlugin = require("extract-text-webpack-plugin"); const UglifyJSPlugin = require('uglifyjs-webpack-plugin') -// theme version -const version = 'v2.5.0' - const extractSass = new ExtractTextPlugin({ - filename: `even.${version}.css` + filename: `even.min.css` }); module.exports = { @@ -16,7 +13,7 @@ module.exports = { }, output: { path: path.join(__dirname, '../static/dist'), - filename: `[name].${version}.js` + filename: `[name].min.js` }, module: { rules: [ @@ -31,10 +28,14 @@ module.exports = { use: [{ loader: 'css-loader', options: { - minimize: true + minimize: true, + sourceMap: true } }, { - loader: 'sass-loader' + loader: 'sass-loader', + options: { + sourceMap: true + } }], fallback: 'style-loader' }) diff --git a/static/dist/even.v2.5.0.css b/static/dist/even.min.css index cea6190..4779e2e 100644 --- a/static/dist/even.v2.5.0.css +++ b/static/dist/even.min.css @@ -1,4 +1,4 @@ @font-face{font-family:Chancery;src:url(fonts/chancery/apple-chancery-webfont.eot);src:local("Apple Chancery"),url(fonts/chancery/apple-chancery-webfont.eot?#iefix) format("embedded-opentype"),url(fonts/chancery/apple-chancery-webfont.woff2) format("woff2"),url(fonts/chancery/apple-chancery-webfont.woff) format("woff"),url(fonts/chancery/apple-chancery-webfont.ttf) format("truetype"),url(fonts/chancery/apple-chancery-webfont.svg#apple-chancery) format("svg");font-weight:lighter;font-style:normal} /*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}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}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}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}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{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{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}html{font-size:16px;box-sizing:border-box}body{padding:0;margin:0;font-family:Source Sans Pro,Helvetica Neue,Arial,sans-serif;font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.5;color:#34495e;background:#fefefe;scroll-behavior:smooth;border-top:3px solid #c05b4d}@media screen and (max-width:800px){body{border-top:0}}::selection{background:#c05b4d;color:#fff}img{max-width:100%;height:auto;display:inline-block;vertical-align:middle}a{color:#34495e;text-decoration:none}h1{font-size:26px}h1,h2{font-family:Athelas,STHeiti,Microsoft Yahei,serif}h2{font-size:24px}h3{font-size:20px}h3,h4{font-family:Athelas,STHeiti,Microsoft Yahei,serif}h4{font-size:16px}h5,h6{font-size:14px;font-family:Athelas,STHeiti,Microsoft Yahei,serif}.container{margin:0 auto;width:800px}@media screen and (max-width:800px){.container{width:100%;box-shadow:-1px -5px 5px #cacaca}}.content-wrapper{padding:0 20px}.video-container{position:relative;padding-bottom:56.25%;padding-top:25px;height:0}.video-container iframe{position:absolute;top:0;left:0;width:100%;height:100%}.header{padding:20px}.header:after,.header:before{content:" ";display:table}.header:after{clear:both}.header .logo-wrapper{float:left}.header .logo-wrapper .logo{font-size:48px;font-family:Chancery,cursive}@media screen and (max-width:800px){.header .logo-wrapper{display:none}}.header .site-navbar{float:right}.header .site-navbar .menu{display:inline-block;position:relative;padding-left:0;padding-right:25px;font-family:Athelas,STHeiti,Microsoft Yahei,serif}.header .site-navbar .menu .menu-item{display:inline-block;vertical-align:middle;transform:translateZ(0);backface-visibility:hidden;box-shadow:0 0 1px transparent;position:relative;overflow:hidden}.header .site-navbar .menu .menu-item+.menu-item{margin-left:10px}.header .site-navbar .menu .menu-item:before{content:"";position:absolute;z-index:-1;height:2px;bottom:0;left:51%;right:51%;background:#c05b4d;transition-duration:.2s;transition-property:right,left;transition-timing-function:ease-out}.header .site-navbar .menu .menu-item.active:before,.header .site-navbar .menu .menu-item:active:before,.header .site-navbar .menu .menu-item:focus:before,.header .site-navbar .menu .menu-item:hover:before{right:0;left:0}.header .site-navbar .menu .menu-item-link{font-size:18px}@media screen and (max-width:800px){.header .site-navbar{display:none}}@media screen and (max-width:800px){.header{padding:50px 0 0;text-align:center}}.posts{margin-bottom:20px;border-bottom:1px solid #e6e6e6}.post{padding:1.5em 0}.post+.post{border-top:1px solid #e6e6e6}.post .post-header{margin-bottom:20px}.post .post-header .post-title{margin:0;font-size:27px;font-weight:400;font-family:Athelas,STHeiti,Microsoft Yahei,serif}.post .post-header .post-link{display:inline-block;vertical-align:middle;transform:translateZ(0);backface-visibility:hidden;box-shadow:0 0 1px transparent;position:relative;overflow:hidden}.post .post-header .post-link:before{content:"";position:absolute;z-index:-1;height:2px;bottom:0;left:51%;right:51%;background:#c05b4d;transition-duration:.2s;transition-property:right,left;transition-timing-function:ease-out}.post .post-header .post-link.active:before,.post .post-header .post-link:active:before,.post .post-header .post-link:focus:before,.post .post-header .post-link:hover:before{right:0;left:0}.post .post-header .post-meta .post-time{font-size:15px;color:#8a8a8a}.post .post-header .post-meta .post-category{display:inline;font-size:14px;color:#8a8a8a}.post .post-header .post-meta .post-category:before{content:"\B7"}.post .post-header .post-meta .post-category a{color:inherit}.post .post-header .post-meta .post-category a:hover{color:#c05b4d}.post .post-toc{position:absolute;width:200px;margin-left:785px;padding:10px;font-family:Athelas,STHeiti,Microsoft Yahei,serif;border-radius:5px;background:hsla(45,46%,95%,.6);box-shadow:1px 1px 2px rgba(0,0,0,.125);word-wrap:break-word;box-sizing:border-box}.post .post-toc .post-toc-title{margin:0 10px;font-size:20px;font-weight:400;text-transform:uppercase}.post .post-toc .post-toc-content{font-size:15px}.post .post-toc .post-toc-content>nav>ul{margin:10px 0}.post .post-toc .post-toc-content ul{padding-left:20px;list-style:square}.post .post-toc .post-toc-content ul ul{padding-left:15px}.post .post-toc .post-toc-content .toc-link.active{color:#c05b4d}@media screen and (max-width:1185px){.post .post-toc{display:none}}.post .post-content{word-wrap:break-word}.post .post-content h1,.post .post-content h2,.post .post-content h3,.post .post-content h4,.post .post-content h5,.post .post-content h6{font-weight:400;font-family:Athelas,STHeiti,Microsoft Yahei,serif}.post .post-content a{color:#c05b4d;word-break:break-all}.post .post-content a:hover{border-bottom:1px solid #c05b4d}.post .post-content a.fancybox{border:0}.post .post-content blockquote{margin:2em 0;padding:10px 20px;position:relative;color:rgba(52,73,94,.8);background-color:rgba(192,91,77,.05);border-left:3px solid rgba(192,91,77,.3);box-shadow:1px 1px 2px rgba(0,0,0,.125)}.post .post-content blockquote p{margin:0}.post .post-content img{display:inline-block;max-width:100%}.post .post-content>table{max-width:100%;margin:10px 0;border-spacing:0;box-shadow:2px 2px 3px rgba(0,0,0,.125)}.post .post-content>table td,.post .post-content>table th{padding:5px 15px;border:1px double #f4efe1}.post .post-content code,.post .post-content pre{padding:7px;font-size:13px;font-family:Consolas,Monaco,Menlo,monospace;background:#f8f5ec}.post .post-content code{padding:3px 5px;border-radius:4px;color:#c7254e}.post .post-content .highlight{margin:1em 0;border-radius:5px;overflow-x:auto;box-shadow:1px 1px 2px rgba(0,0,0,.125);position:relative}.post .post-content .highlight table{position:relative}.post .post-content .highlight table:after{position:absolute;top:0;right:0;left:0;padding:2px 7px;font-size:13px;font-weight:700;color:#b1b1b1;background:#f4efe1;content:"Code"}.post .post-content .highlight.language-html>table:after{content:"HTML"}.post .post-content .highlight.language-html>figcaption>span:after{content:" \B7 HTML"}.post .post-content .highlight.language-html figcaption+table:after{display:none}.post .post-content .highlight.language-coffeescript>table:after{content:"Coffeescript"}.post .post-content .highlight.language-coffeescript>figcaption>span:after{content:" \B7 Coffeescript"}.post .post-content .highlight.language-coffeescript figcaption+table:after{display:none}.post .post-content .highlight.language-makefile>table:after{content:"Makefile"}.post .post-content .highlight.language-makefile>figcaption>span:after{content:" \B7 Makefile"}.post .post-content .highlight.language-makefile figcaption+table:after{display:none}.post .post-content .highlight.language-markdown>table:after{content:"Markdown"}.post .post-content .highlight.language-markdown>figcaption>span:after{content:" \B7 Markdown"}.post .post-content .highlight.language-markdown figcaption+table:after{display:none}.post .post-content .highlight.language-js>table:after{content:"JavaScript"}.post .post-content .highlight.language-js>figcaption>span:after{content:" \B7 JavaScript"}.post .post-content .highlight.language-js figcaption+table:after{display:none}.post .post-content .highlight.language-javascript>table:after{content:"JavaScript"}.post .post-content .highlight.language-javascript>figcaption>span:after{content:" \B7 JavaScript"}.post .post-content .highlight.language-javascript figcaption+table:after{display:none}.post .post-content .highlight.language-bash>table:after{content:"Bash"}.post .post-content .highlight.language-bash>figcaption>span:after{content:" \B7 Bash"}.post .post-content .highlight.language-bash figcaption+table:after{display:none}.post .post-content .highlight.language-css>table:after{content:"CSS"}.post .post-content .highlight.language-css>figcaption>span:after{content:" \B7 CSS"}.post .post-content .highlight.language-css figcaption+table:after{display:none}.post .post-content .highlight.language-java>table:after{content:"Java"}.post .post-content .highlight.language-java>figcaption>span:after{content:" \B7 Java"}.post .post-content .highlight.language-java figcaption+table:after{display:none}.post .post-content .highlight.language-xml>table:after{content:"XML"}.post .post-content .highlight.language-xml>figcaption>span:after{content:" \B7 XML"}.post .post-content .highlight.language-xml figcaption+table:after{display:none}.post .post-content .highlight.language-python>table:after{content:"Python"}.post .post-content .highlight.language-python>figcaption>span:after{content:" \B7 Python"}.post .post-content .highlight.language-python figcaption+table:after{display:none}.post .post-content .highlight.language-json>table:after{content:"JSON"}.post .post-content .highlight.language-json>figcaption>span:after{content:" \B7 JSON"}.post .post-content .highlight.language-json figcaption+table:after{display:none}.post .post-content .highlight.language-ruby>table:after{content:"Ruby"}.post .post-content .highlight.language-ruby>figcaption>span:after{content:" \B7 Ruby"}.post .post-content .highlight.language-ruby figcaption+table:after{display:none}.post .post-content .highlight.language-php>table:after{content:"PHP"}.post .post-content .highlight.language-php>figcaption>span:after{content:" \B7 PHP"}.post .post-content .highlight.language-php figcaption+table:after{display:none}.post .post-content .highlight.language-c>table:after{content:"C"}.post .post-content .highlight.language-c>figcaption>span:after{content:" \B7 C"}.post .post-content .highlight.language-c figcaption+table:after{display:none}.post .post-content .highlight.language-cpp>table:after{content:"C++"}.post .post-content .highlight.language-cpp>figcaption>span:after{content:" \B7 C++"}.post .post-content .highlight.language-cpp figcaption+table:after{display:none}.post .post-content .highlight.language-cs>table:after{content:"C#"}.post .post-content .highlight.language-cs>figcaption>span:after{content:" \B7 C#"}.post .post-content .highlight.language-cs figcaption+table:after{display:none}.post .post-content .highlight.language-objectivec>table:after{content:"Objective-C"}.post .post-content .highlight.language-objectivec>figcaption>span:after{content:" \B7 Objective-C"}.post .post-content .highlight.language-objectivec figcaption+table:after{display:none}.post .post-content .highlight.language-sql>table:after{content:"SQL"}.post .post-content .highlight.language-sql>figcaption>span:after{content:" \B7 SQL"}.post .post-content .highlight.language-sql figcaption+table:after{display:none}.post .post-content .highlight.language-http>table:after{content:"HTTP"}.post .post-content .highlight.language-http>figcaption>span:after{content:" \B7 HTTP"}.post .post-content .highlight.language-http figcaption+table:after{display:none}.post .post-content .highlight.language-shell>table:after{content:"Shell"}.post .post-content .highlight.language-shell>figcaption>span:after{content:" \B7 Shell"}.post .post-content .highlight.language-shell figcaption+table:after{display:none}.post .post-content .highlight.language-clojure>table:after{content:"Clojure"}.post .post-content .highlight.language-clojure>figcaption>span:after{content:" \B7 Clojure"}.post .post-content .highlight.language-clojure figcaption+table:after{display:none}.post .post-content .highlight.language-elm>table:after{content:"elm"}.post .post-content .highlight.language-elm>figcaption>span:after{content:" \B7 elm"}.post .post-content .highlight.language-elm figcaption+table:after{display:none}.post .post-content .highlight.language-erlang>table:after{content:"Erlang"}.post .post-content .highlight.language-erlang>figcaption>span:after{content:" \B7 Erlang"}.post .post-content .highlight.language-erlang figcaption+table:after{display:none}.post .post-content .highlight.language-go>table:after{content:"Go"}.post .post-content .highlight.language-go>figcaption>span:after{content:" \B7 Go"}.post .post-content .highlight.language-go figcaption+table:after{display:none}.post .post-content .highlight.language-groovy>table:after{content:"Groovy"}.post .post-content .highlight.language-groovy>figcaption>span:after{content:" \B7 Groovy"}.post .post-content .highlight.language-groovy figcaption+table:after{display:none}.post .post-content .highlight.language-handlebars>table:after{content:"Handlebars"}.post .post-content .highlight.language-handlebars>figcaption>span:after{content:" \B7 Handlebars"}.post .post-content .highlight.language-handlebars figcaption+table:after{display:none}.post .post-content .highlight.language-haskell>table:after{content:"Haskell"}.post .post-content .highlight.language-haskell>figcaption>span:after{content:" \B7 Haskell"}.post .post-content .highlight.language-haskell figcaption+table:after{display:none}.post .post-content .highlight.language-less>table:after{content:"Less"}.post .post-content .highlight.language-less>figcaption>span:after{content:" \B7 Less"}.post .post-content .highlight.language-less figcaption+table:after{display:none}.post .post-content .highlight.language-lisp>table:after{content:"Lisp"}.post .post-content .highlight.language-lisp>figcaption>span:after{content:" \B7 Lisp"}.post .post-content .highlight.language-lisp figcaption+table:after{display:none}.post .post-content .highlight.language-lua>table:after{content:"Lua"}.post .post-content .highlight.language-lua>figcaption>span:after{content:" \B7 Lua"}.post .post-content .highlight.language-lua figcaption+table:after{display:none}.post .post-content .highlight.language-matlab>table:after{content:"Matlab"}.post .post-content .highlight.language-matlab>figcaption>span:after{content:" \B7 Matlab"}.post .post-content .highlight.language-matlab figcaption+table:after{display:none}.post .post-content .highlight.language-prolog>table:after{content:"Prolog"}.post .post-content .highlight.language-prolog>figcaption>span:after{content:" \B7 Prolog"}.post .post-content .highlight.language-prolog figcaption+table:after{display:none}.post .post-content .highlight.language-rust>table:after{content:"Rust"}.post .post-content .highlight.language-rust>figcaption>span:after{content:" \B7 Rust"}.post .post-content .highlight.language-rust figcaption+table:after{display:none}.post .post-content .highlight.language-scss>table:after{content:"Scss"}.post .post-content .highlight.language-scss>figcaption>span:after{content:" \B7 Scss"}.post .post-content .highlight.language-scss figcaption+table:after{display:none}.post .post-content .highlight.language-scala>table:after{content:"Scala"}.post .post-content .highlight.language-scala>figcaption>span:after{content:" \B7 Scala"}.post .post-content .highlight.language-scala figcaption+table:after{display:none}.post .post-content .highlight.language-scheme>table:after{content:"Scheme"}.post .post-content .highlight.language-scheme>figcaption>span:after{content:" \B7 Scheme"}.post .post-content .highlight.language-scheme figcaption+table:after{display:none}.post .post-content .highlight.language-stylus>table:after{content:"Stylus"}.post .post-content .highlight.language-stylus>figcaption>span:after{content:" \B7 Stylus"}.post .post-content .highlight.language-stylus figcaption+table:after{display:none}.post .post-content .highlight.language-swift>table:after{content:"Swift"}.post .post-content .highlight.language-swift>figcaption>span:after{content:" \B7 Swift"}.post .post-content .highlight.language-swift figcaption+table:after{display:none}.post .post-content .highlight.language-typescript>table:after{content:"Typescript"}.post .post-content .highlight.language-typescript>figcaption>span:after{content:" \B7 Typescript"}.post .post-content .highlight.language-typescript figcaption+table:after{display:none}.post .post-content .highlight.language-yml>table:after{content:"YAML"}.post .post-content .highlight.language-yml>figcaption>span:after{content:" \B7 YAML"}.post .post-content .highlight.language-yml figcaption+table:after{display:none}.post .post-content .highlight.language-yaml>table:after{content:"YAML"}.post .post-content .highlight.language-yaml>figcaption>span:after{content:" \B7 YAML"}.post .post-content .highlight.language-yaml figcaption+table:after{display:none}.post .post-content .highlight.language-toml>table:after{content:"TOML"}.post .post-content .highlight.language-toml>figcaption>span:after{content:" \B7 TOML"}.post .post-content .highlight.language-toml figcaption+table:after{display:none}.post .post-content .highlight figcaption{position:absolute;top:0;width:100%;padding:2px 7px;font-size:13px;font-weight:700;color:#b1b1b1;background:#f4efe1;z-index:20;overflow-x:hidden;box-sizing:border-box}.post .post-content .highlight figcaption>a{position:absolute;right:0;display:inline-box;margin-right:7px;font-weight:400}.post .post-content .highlight figcaption>a:hover{text-decoration:none;border:0}.post .post-content .highlight .code pre{margin:0;padding:30px 10px 10px}.post .post-content .highlight .gutter{width:10px;color:#cacaca}.post .post-content .highlight .gutter pre{margin:0;padding:30px 7px 10px}.post .post-content .highlight .line{height:20px}.post .post-content .highlight table,.post .post-content .highlight td,.post .post-content .highlight tr{margin:0;padding:0;width:100%;border-collapse:collapse}.post .post-content .highlight .code .hljs-comment,.post .post-content .highlight .code .hljs-quote{color:#93a1a1}.post .post-content .highlight .code .hljs-addition,.post .post-content .highlight .code .hljs-keyword,.post .post-content .highlight .code .hljs-selector-tag{color:#859900}.post .post-content .highlight .code .hljs-doctag,.post .post-content .highlight .code .hljs-literal,.post .post-content .highlight .code .hljs-meta .hljs-meta-string,.post .post-content .highlight .code .hljs-number,.post .post-content .highlight .code .hljs-regexp,.post .post-content .highlight .code .hljs-string{color:#2aa198}.post .post-content .highlight .code .hljs-name,.post .post-content .highlight .code .hljs-section,.post .post-content .highlight .code .hljs-selector-class,.post .post-content .highlight .code .hljs-selector-id,.post .post-content .highlight .code .hljs-title{color:#268bd2}.post .post-content .highlight .code .hljs-attr,.post .post-content .highlight .code .hljs-attribute,.post .post-content .highlight .code .hljs-class .hljs-title,.post .post-content .highlight .code .hljs-template-variable,.post .post-content .highlight .code .hljs-type,.post .post-content .highlight .code .hljs-variable{color:#b58900}.post .post-content .highlight .code .hljs-bullet,.post .post-content .highlight .code .hljs-link,.post .post-content .highlight .code .hljs-meta,.post .post-content .highlight .code .hljs-meta .hljs-keyword,.post .post-content .highlight .code .hljs-selector-attr,.post .post-content .highlight .code .hljs-selector-pseudo,.post .post-content .highlight .code .hljs-subst,.post .post-content .highlight .code .hljs-symbol{color:#cb4b16}.post .post-content .highlight .code .hljs-built_in,.post .post-content .highlight .code .hljs-deletion{color:#dc322f}.post .post-content .highlight .code .hljs-formula{background:#eee8d5}.post .post-content .highlight .code .hljs-emphasis{font-style:italic}.post .post-content .highlight .code .hljs-strong{font-weight:700}.post .post-content .read-more .read-more-link{color:#c05b4d;font-size:1.1em;font-family:Athelas,STHeiti,Microsoft Yahei,serif}.post .post-content .read-more .read-more-link:hover{border-bottom:1px solid #c05b4d}.post .post-content kbd{display:inline-block;padding:.25em;background-color:#fafafa;border:1px solid #dbdbdb;border-bottom-color:#b5b5b5;border-radius:3px;box-shadow:inset 0 -1px 0 #b5b5b5;font-size:.8em;line-height:1.25;font-family:SFMono-Regular,Liberation Mono,Roboto Mono,Menlo,Monaco,Consolas,Courier New,Courier,monospace;color:#4a4a4a}.post .post-content dl dt:after{content:":"}.post .post-content figure figcaption h4{color:#b5b5b5;font-size:.9rem;text-align:center}.post .post-content .task-list{list-style:none;padding-left:1.5rem}.post .post-copyright{margin-top:20px;padding-top:10px;border-top:1px dashed #e6e6e6}.post .post-copyright .copyright-item{margin:5px 0}.post .post-copyright .copyright-item.license{font-weight:700}.post .post-copyright .copyright-item a{text-decoration:underline}.post .post-reward{margin-top:20px;padding-top:10px;text-align:center;border-top:1px dashed #e6e6e6}.post .post-reward .reward-button{margin:15px 0;padding:3px 7px;display:inline-block;color:#c05b4d;border:1px solid #c05b4d;border-radius:5px;cursor:pointer}.post .post-reward .reward-button:hover{color:#fefefe;background-color:#c05b4d;transition:.5s}.post .post-reward #reward:checked~.qr-code{display:block}.post .post-reward #reward:checked~.reward-button{display:none}.post .post-reward .qr-code{display:none;margin-top:15px}.post .post-reward .qr-code .qr-code-image{display:inline-block;min-width:200px;width:40%}.post .post-reward .qr-code .image{width:200px;height:200px}.post .post-footer{margin-top:20px;border-top:1px solid #e6e6e6;font-family:Athelas,STHeiti,Microsoft Yahei,serif}.post .post-footer .post-tags{padding:15px 0}.post .post-footer .post-tags a{margin-right:5px;color:#c05b4d;word-break:break-all}.post .post-footer .post-tags a:before{content:"#"}.post .post-footer .post-nav{margin:1em 0}.post .post-footer .post-nav:after,.post .post-footer .post-nav:before{content:" ";display:table}.post .post-footer .post-nav:after{clear:both}.post .post-footer .post-nav .next,.post .post-footer .post-nav .prev{font-weight:600;font-size:18px;font-family:Athelas,STHeiti,Microsoft Yahei,serif;transition-property:transform;transition-timing-function:ease-out;transition-duration:.3s}.post .post-footer .post-nav .prev{float:left}.post .post-footer .post-nav .prev:hover{color:#c05b4d;transform:translateX(-4px)}.post .post-footer .post-nav .next{float:right}.post .post-footer .post-nav .next:hover{color:#c05b4d;transform:translateX(4px)}.post .post-footer .post-nav .nav-mobile{display:none}@media screen and (max-width:800px){.post .post-footer .post-nav .nav-default{display:none}.post .post-footer .post-nav .nav-mobile{display:inline}}.pagination{margin:2em 0}.pagination:after,.pagination:before{content:" ";display:table}.pagination:after{clear:both}.pagination .next,.pagination .prev{font-weight:600;font-size:20px;font-family:Athelas,STHeiti,Microsoft Yahei,serif;transition-property:transform;transition-timing-function:ease-out;transition-duration:.3s}.pagination .prev{float:left}.pagination .prev:hover{color:#c05b4d;transform:translateX(-4px)}.pagination .next{float:right}.pagination .next:hover{color:#c05b4d;transform:translateX(4px)}.footer{margin-top:2em}.footer .social-links{text-align:center}.footer .social-links .iconfont{font-size:30px}.footer .social-links .iconfont+.iconfont{margin-left:10px}.footer .social-links .iconfont:hover{color:#c05b4d}.footer .copyright{margin:10px 0;color:#8a8a8a;text-align:center;font-family:Athelas,STHeiti,Microsoft Yahei,serif}.footer .copyright .hexo-link,.footer .copyright .theme-link{color:#c05b4d}.footer .copyright .copyright-year{display:block}.footer .copyright .copyright-year .heart{font-size:14px}.archive{margin:2em 0;max-width:550px}.archive .archive-title{font-family:Athelas,STHeiti,Microsoft Yahei,serif}.archive .archive-title.category,.archive .archive-title.tag{margin:15px 0}.archive .archive-title .archive-name{margin:0;display:inline-block;font-weight:400;font-size:30px;line-height:32px}.archive .archive-title .archive-post-counter{display:none;color:#8a8a8a}.archive .collection-title{font-family:Athelas,STHeiti,Microsoft Yahei,serif}.archive .collection-title .archive-year{margin:15px 0;font-weight:400;font-size:28px;line-height:30px}.archive .archive-post{padding:3px 20px;border-left:1px solid #cacaca}.archive .archive-post .archive-post-time{margin-right:10px;color:#8a8a8a}.archive .archive-post .archive-post-title .archive-post-link{color:#c05b4d}.archive .archive-post::first-child{margin-top:10px}.archive .archive-post:hover{border-left:3px solid #c05b4d;transition:.2s ease-out;transform:translateX(4px)}.archive .archive-post:hover .archive-post-time{color:#717171}.archive .archive-post:hover .archive-post-title .archive-post-link{color:#a14639}@media screen and (max-width:800px){.archive{margin-left:auto;margin-right:auto}.archive .archive-title .archive-name{font-size:26px}.archive .collection-title .archive-year{margin:10px 0;font-size:24px}.archive .archive-post{padding:5px 10px}.archive .archive-post .archive-post-time{font-size:13px;display:block}}.tag-cloud{margin:2em 0 3em;text-align:center;font-family:Athelas,STHeiti,Microsoft Yahei,serif}.tag-cloud .tag-cloud-title{display:inline-block;font-size:18px;color:#c05b4d;border-bottom:2px solid #c05b4d}.tag-cloud .tag-cloud-tags{margin:10px 0}.tag-cloud .tag-cloud-tags a{display:inline-block;position:relative;margin:5px 10px;word-wrap:break-word;transition-duration:.2s;transition-property:transform;transition-timing-function:ease-out}.tag-cloud .tag-cloud-tags a .tag-count{display:inline-block;position:relative;top:-8px;right:-2px;color:#c05b4d;font-size:12px}.tag-cloud .tag-cloud-tags a:active,.tag-cloud .tag-cloud-tags a:focus,.tag-cloud .tag-cloud-tags a:hover{color:#c05b4d;transform:scale(1.1)}.categories{margin:2em 0 3em;text-align:center;font-family:Athelas,STHeiti,Microsoft Yahei,serif}.categories .categories-title{display:inline-block;font-size:18px;color:#c05b4d;border-bottom:2px solid #c05b4d}.categories .categories-tags{margin:10px 0}.categories .categories-tags .category-link{display:inline-block;position:relative;margin:5px 10px;word-wrap:break-word;transition-duration:.2s;transition-property:transform;transition-timing-function:ease-out}.categories .categories-tags .category-link .category-count{display:inline-block;position:relative;top:-8px;right:-2px;color:#c05b4d;font-size:12px}.categories .categories-tags .category-link:active,.categories .categories-tags .category-link:focus,.categories .categories-tags .category-link:hover{color:#c05b4d;transform:scale(1.1)}@font-face{font-family:iconfont;src:url("//at.alicdn.com/t/font_96542_d5q5xyswt0kq33di.eot");src:url("//at.alicdn.com/t/font_96542_d5q5xyswt0kq33di.eot?#iefix") format("embedded-opentype"),url("//at.alicdn.com/t/font_96542_d5q5xyswt0kq33di.woff") format("woff"),url("//at.alicdn.com/t/font_96542_d5q5xyswt0kq33di.ttf") format("truetype"),url("//at.alicdn.com/t/font_96542_d5q5xyswt0kq33di.svg#iconfont") format("svg")}.iconfont{font-family:iconfont!important;font-style:normal;-webkit-font-smoothing:antialiased;-webkit-text-stroke-width:.2px;-moz-osx-font-smoothing:grayscale;cursor:pointer}.icon-douban:before{content:"\E610"}.icon-tumblr:before{content:"\E69F";font-size:.85em;position:relative;top:-4px}.icon-linkedin:before{content:"\E60D";position:relative;top:-4px}.icon-twitter:before{content:"\E600"}.icon-weibo:before{content:"\E602"}.icon-stack-overflow:before{content:"\E603";font-size:.85em;position:relative;top:-4px}.icon-email:before{content:"\E605";position:relative;top:-2px}.icon-facebook:before{content:"\E601";font-size:.95em;position:relative;top:-2px}.icon-github:before{content:"\E606";position:relative;top:-3px}.icon-rss:before{content:"\E604"}.icon-google:before{content:"\E609"}.icon-zhihu:before{content:"\E607";font-size:.9em;position:relative;top:-2px}.icon-pocket:before{content:"\E856"}.icon-heart:before{content:"\E608"}.icon-right:before{content:"\E60A"}.icon-left:before{content:"\E60B"}.icon-up:before{content:"\E60C"}.icon-close:before{content:"\E60F"}.slideout-menu{position:fixed;top:0;left:0;bottom:0;width:180px;min-height:100vh;overflow-y:hidden;-webkit-overflow-scrolling:touch;z-index:0;display:none}.slideout-panel{position:relative;z-index:1;background-color:#fefefe;min-height:100vh}.slideout-open,.slideout-open .slideout-panel,.slideout-open body{overflow:hidden}.slideout-open .slideout-menu{display:block}.mobile-navbar{display:none;position:fixed;top:0;left:0;width:100%;height:50px;background:#fefefe;box-shadow:0 2px 2px #cacaca;text-align:center;transition:transform .3s ease;z-index:99}.mobile-navbar.fixed-open{transform:translate3d(180px,0,0)}.mobile-navbar .mobile-header-logo{display:inline-block;margin-right:50px}.mobile-navbar .mobile-header-logo .logo{font-size:22px;line-height:50px;font-family:Chancery,cursive}.mobile-navbar .mobile-navbar-icon{color:#c05b4d;height:50px;width:50px;font-size:24px;text-align:center;float:left;position:relative;transition:background .5s}@keyframes clickfirst{0%{transform:translateY(6px) rotate(0deg)}to{transform:translateY(0) rotate(45deg)}}@keyframes clickmid{0%{opacity:1}to{opacity:0}}@keyframes clicklast{0%{transform:translateY(-6px) rotate(0deg)}to{transform:translateY(0) rotate(-45deg)}}@keyframes outfirst{0%{transform:translateY(0) rotate(-45deg)}to{transform:translateY(-6px) rotate(0deg)}}@keyframes outmid{0%{opacity:0}to{opacity:1}}@keyframes outlast{0%{transform:translateY(0) rotate(45deg)}to{transform:translateY(6px) rotate(0deg)}}.mobile-navbar .mobile-navbar-icon span{position:absolute;left:calc((100% - 20px) / 2);top:calc((100% - 1px) / 2);width:20px;height:1px;background-color:#c05b4d}.mobile-navbar .mobile-navbar-icon span:first-child{transform:translateY(6px) rotate(0deg)}.mobile-navbar .mobile-navbar-icon span:nth-child(3){transform:translateY(-6px) rotate(0deg)}.mobile-navbar .mobile-navbar-icon.icon-click span:first-child{animation-duration:.5s;animation-fill-mode:both;animation-name:clickfirst}.mobile-navbar .mobile-navbar-icon.icon-click span:nth-child(2){animation-duration:.2s;animation-fill-mode:both;animation-name:clickmid}.mobile-navbar .mobile-navbar-icon.icon-click span:nth-child(3){animation-duration:.5s;animation-fill-mode:both;animation-name:clicklast}.mobile-navbar .mobile-navbar-icon.icon-out span:first-child{animation-duration:.5s;animation-fill-mode:both;animation-name:outfirst}.mobile-navbar .mobile-navbar-icon.icon-out span:nth-child(2){animation-duration:.2s;animation-fill-mode:both;animation-name:outmid}.mobile-navbar .mobile-navbar-icon.icon-out span:nth-child(3){animation-duration:.5s;animation-fill-mode:both;animation-name:outlast}.mobile-menu{background-color:hsla(45,46%,95%,.5)}.mobile-menu .mobile-menu-list{position:relative;list-style:none;margin-top:50px;padding:0;border-top:1px solid #f8f5ec}.mobile-menu .mobile-menu-list .mobile-menu-item{padding:10px 30px;border-bottom:1px solid #f8f5ec}.mobile-menu .mobile-menu-list a{font-size:18px;font-family:Athelas,STHeiti,Microsoft Yahei,serif}.mobile-menu .mobile-menu-list a:hover{color:#c05b4d}@media screen and (max-width:800px){.mobile-navbar{display:block}}.back-to-top{display:none;position:fixed;right:20px;bottom:20px;transition-property:transform;transition-timing-function:ease-out;transition-duration:.3s;z-index:10}.back-to-top:hover{transform:translateY(-5px)}@media screen and (max-width:800px){.back-to-top{display:none!important}}.not-found{text-align:center}.not-found .error-emoji{color:#363636;font-size:3rem}.not-found .error-text{color:#797979;font-size:1.25rem}.not-found .error-link{margin-top:2rem}.not-found .error-link a{color:#c05b4d} -/*# sourceMappingURL=even.v2.5.0.css.map*/
\ No newline at end of file +/*# sourceMappingURL=even.min.css.map*/
\ No newline at end of file diff --git a/static/dist/even.min.css.map b/static/dist/even.min.css.map new file mode 100644 index 0000000..a75fb13 --- /dev/null +++ b/static/dist/even.min.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./css/css/_variables.scss","webpack:///./css/css/_common/_normalize.scss","webpack:///./css/style.scss","webpack:///./css/css/_base.scss","webpack:///./css/css/_common/_utils.scss","webpack:///./css/css/_partial/_header.scss","webpack:///./css/css/_partial/_header/_logo.scss","webpack:///./css/css/_partial/_header/_menu.scss","webpack:///./css/css/_common/_animation.scss","webpack:///./css/css/_partial/_post.scss","webpack:///./css/css/_partial/_post/_header.scss","webpack:///./css/css/_partial/_post/_toc.scss","webpack:///./css/css/_partial/_post/_content.scss","webpack:///./css/css/_partial/_post/_code.scss","webpack:///./css/css/_partial/_post/_copyright.scss","webpack:///./css/css/_partial/_post/_reward.scss","webpack:///./css/css/_partial/_post/_footer.scss","webpack:///./css/css/_partial/_pagination.scss","webpack:///./css/css/_partial/_footer.scss","webpack:///./css/css/_partial/_footer/_social.scss","webpack:///./css/css/_partial/_footer/_copyright.scss","webpack:///./css/css/_partial/_archive.scss","webpack:///./css/css/_partial/_tags.scss","webpack:///./css/css/_partial/_categories.scss","webpack:///./css/css/_partial/_iconfont.scss","webpack:///./css/css/_partial/_slideout.scss","webpack:///./css/css/_partial/_mobile.scss","webpack:///./css/css/_partial/_back-to-top.scss","webpack:///./css/css/_partial/_404.scss"],"names":[],"mappings":"AAiFA,WACE,qBACA,kCACA,8QAKA,oBACA,iBAAkB;;AC1FpB,4DAQA,KACE,uBACA,0BACA,6BAA8B,CAqBhC,2FAaE,aAAc,CAQhB,4BAIE,qBACA,uBAAwB,CAQ1B,sBACE,aACA,QAAS,CCQX,kBDEE,YAAa,CAUf,EACE,4BAA6B,CAO/B,iBAEE,SAAU,CAUZ,YACE,wBAAyB,CAO3B,SAEE,eAAiB,CAOnB,IACE,iBAAkB,CAQpB,GACE,cACA,cAAgB,CAOlB,KACE,gBACA,UAAW,CAOb,MACE,aAAc,CAOhB,QAEE,cACA,cACA,kBACA,uBAAwB,CAG1B,IACE,SAAW,CAGb,IACE,aAAe,CAUjB,IACE,QAAS,CAOX,eACE,eAAgB,CAUlB,OACE,eAAgB,CAOlB,GACE,4BACA,uBACA,QAAS,CAOX,IACE,aAAc,CAOhB,kBAIE,gCACA,aAAc,CAkBhB,sCAKE,cACA,aACA,QAAS,CAOX,OACE,gBAAiB,CAUnB,cAEE,mBAAoB,CAWtB,oEAIE,0BACA,cAAe,CAOjB,sCAEE,cAAe,CAOjB,iDAEE,SACA,SAAU,CAQZ,MACE,kBAAmB,CAWrB,uCAEE,sBACA,SAAU,CASZ,4FAEE,WAAY,CASd,mBACE,6BACA,4BACA,+BACA,sBAAuB,CASzB,+FAEE,uBAAwB,CAO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AAoC,CAiBrC,wCAdG,qBACA,kBACA,SACA,WACA,cACA,ctBoTuB,CsBnTxB,0GAKC,cACA,oBAAqB,CCxC7B,YACE,iBACA,kBACA,iDvBwDiE,CuBlBlE,8BAnCG,qBACA,eACA,cACA,+BvBCgB,CuBAjB,6BAGC,aAAc,CA2Bf,4CAxBG,qBACA,kBACA,gBACA,qBACA,wBACA,8BACA,mCAAoC,CAiBrC,4DAdG,qBACA,kBACA,SACA,WACA,cACA,cvBuTuB,CuBtTxB,uJAKC,cACA,oBAAqB,CClC7B,WACE,qBACA,6DACA,oUAG+E,CAGjF,UACE,+BACA,kBACA,mCACA,+BACA,kCACA,cAAe,CAGjB,oBACE,eAAgB,CAElB,oBACE,gBACA,gBACA,kBACA,QAAS,CAEX,sBACE,gBACA,kBACA,QAAS,CAEX,qBACE,eAAgB,CAElB,mBACE,eAAgB,CAElB,4BACE,gBACA,gBACA,kBACA,QAAS,CAEX,mBACE,gBACA,kBACA,QAAS,CAEX,sBACE,gBACA,gBACA,kBACA,QAAS,CAEX,oBACE,gBACA,kBACA,QAAS,CAEX,iBACE,eAAgB,CAElB,oBACE,eAAgB,CAElB,mBACE,gBACA,eACA,kBACA,QAAS,CAEX,oBACE,eAAgB,CAIlB,mBACE,eAAgB,CAElB,mBACE,eAAgB,CAElB,kBACE,eAAgB,CAElB,gBACE,eAAgB,CAElB,mBACE,eAAgB,CC1FlB,eACE,eACA,MACA,OACA,SACA,YACA,iBACA,kBACA,iCACA,UACA,YAAa,CAGf,gBACE,kBACA,UACA,yBACA,gBAAiB,CAGnB,kEAGE,eAAgB,CAGlB,8BACE,aAAc,CC3BhB,eACE,aACA,eACA,MACA,OACA,WACA,YACA,mBACA,6BACA,kBACA,8BACA,UAAW,CA6BZ,0BA1BG,gCAAuC,CACxC,mCAGC,qBACA,iBAAkB,CAOnB,yCAJG,eACA,iBACA,4B1BqEkD,C0BpEnD,mCAID,cACA,YACA,WACA,eACA,kBACA,WACA,kBACA,yBAA2B,CAG5B,sBlBPC,GACE,sCAAuC,CAIzC,GACE,qCAAsC,EAI1C,oBACE,GACE,SAAU,CAGZ,GACE,SAAU,EAId,qBACE,GACE,uCAAwC,CAG1C,GACE,sCAAuC,EAI3C,oBACE,GACE,sCAAuC,CAGzC,GACE,uCAAwC,EAI5C,kBACE,GACE,SAAU,CAGZ,GACE,SAAU,EAId,mBACE,GACE,qCAAsC,CAGxC,GACE,sCAAuC,EAI3C,wCACE,kBACA,6BACA,2BACA,WACA,WACA,wBR3FgB,CQoGjB,oDANG,sCAAuC,CACxC,qDAGC,uCAAwC,CAK1C,+DACE,uBACA,yBACA,yBAA0B,CAG5B,gEACE,uBACA,yBACA,uBAAwB,CAG1B,gEACE,uBACA,yBACA,wBAAyB,CAK3B,6DACE,uBACA,yBACA,uBAAwB,CAG1B,8DACE,uBACA,yBACA,qBAAsB,CAGxB,8DACE,uBACA,yBACA,sBAAuB,CkBvG7B,aACE,oC1BpC0B,C0B2D3B,+BApBG,kBACA,gBACA,gBACA,UACA,4B1B3CwB,C0B0DzB,iDAZG,kBACA,+B1B/CsB,C0BgDvB,iCAGC,eACA,iD1BH6D,C0BQ9D,uCAFG,a1BvDY,C0BwDb,oCAML,eACE,aAAc,CACf,CCvEH,aACE,aACA,eACA,WACA,YACA,8BACA,oCACA,wBACA,UAAW,CAKZ,mBAFG,0BAA2B,CAC5B,oCAID,aACE,sBAAwB,CACzB,CClBH,WACE,iBAAkB,CAmBnB,wBAhBG,cACA,cAAe,CAChB,uBAGC,cACA,iBAAkB,CACnB,uBAGC,eAAgB,CAKjB,yBAFG,a5BVc","file":"even.min.css","sourcesContent":["// ==============================\r\n// Variables\r\n// ==============================\r\n\r\n// ========== Theme Color ========== //\r\n// Config here to change theme color\r\n// Default | Mint Green | Cobalt Blue | Hot Pink | Dark Violet\r\n$theme-color-config: 'Default';\r\n\r\n// Default theme color map\r\n$theme-color-map: (\r\n 'Default': #c05b4d #f8f5ec,\r\n 'Mint Green': #16982B #f5f5f5,\r\n 'Cobalt Blue': #0047AB #f0f2f5,\r\n 'Hot Pink': #FF69B4 #f8f5f5,\r\n 'Dark Violet': #9932CC #f5f4fa\r\n);\r\n\r\n// Check theme color config.\r\n// if it does not exist, use default theme color.\r\n@if not(map-has-key($theme-color-map, $theme-color-config)) {\r\n $theme-color-config: 'Default';\r\n}\r\n$theme-color-list: map-get($theme-color-map, $theme-color-config);\r\n\r\n// Default theme color of the site.\r\n$theme-color: nth($theme-color-list, 1) !default;\r\n\r\n// Deputy theme color of the site.\r\n$deputy-color: nth($theme-color-list, 2) !default;\r\n\r\n\r\n// ========== Color ========== //\r\n$black: #0a0a0a !default;\r\n$white: #fefefe !default;\r\n$light-gray: #e6e6e6 !default;\r\n$gray: #cacaca !default;\r\n$dark-gray: #8a8a8a !default;\r\n\r\n\r\n// ========== Global ========== //\r\n// Text color of the body.\r\n$global-font-color: #34495e !default;\r\n\r\n// Font size attribute applied to '<html>' and '<body>'.\r\n$global-font-size: 16px !default;\r\n\r\n// Global width of '<body>'.\r\n$global-body-width: 800px !default;\r\n\r\n// Padding of container main\r\n$global-container-padding: 0 20px !default;\r\n\r\n// Default line height for all type. `$global-lineheight` is 24px while `$global-font-size` is 16px.\r\n$global-lineheight: 1.5 !default;\r\n\r\n// Font family of the site.\r\n$global-font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif !default;\r\n\r\n// Serif font family of the site.\r\n$global-serif-font-family: Athelas, STHeiti, Microsoft Yahei, serif !default;\r\n\r\n// Background color of the site.\r\n$global-background: $white !default;\r\n\r\n// Headings font size of the site.\r\n$global-headings: (\r\n h1: 26px,\r\n h2: 24px,\r\n h3: 20px,\r\n h4: 16px,\r\n h5: 14px,\r\n h6: 14px\r\n) !default;\r\n\r\n\r\n// ========== Header ========== //\r\n// Padding of the site header.\r\n$header-padding: 20px 20px !default;\r\n\r\n// Font family: Chancery\r\n@font-face {\r\n font-family: 'Chancery';\r\n src: url('../fonts/chancery/apple-chancery-webfont.eot');\r\n src: local('Apple Chancery'), url('../fonts/chancery/apple-chancery-webfont.eot?#iefix') format('embedded-opentype'),\r\n url('../fonts/chancery/apple-chancery-webfont.woff2') format('woff2'),\r\n url('../fonts/chancery/apple-chancery-webfont.woff') format('woff'),\r\n url('../fonts/chancery/apple-chancery-webfont.ttf') format('truetype'),\r\n url('../fonts/chancery/apple-chancery-webfont.svg#apple-chancery') format('svg');\r\n font-weight: lighter;\r\n font-style: normal;\r\n}\r\n\r\n// Font size of the logo.\r\n$logo-font-size: 48px !default;\r\n\r\n// Font family of the logo.\r\n$logo-font-family: 'Chancery', cursive, LiSu, sans-serif !default;\r\n\r\n// Margin of menu item.\r\n$menu-item-margin-left: 10px !default;\r\n\r\n// Margin of menu item in mobile.\r\n$menu-item-mobile-margin: 5px !default;\r\n\r\n// Font size of menu item link.\r\n$menu-link-font-size: 18px !default;\r\n\r\n// Height of the mobile header.\r\n$mobile-navbar-height: 50px !default;\r\n\r\n// ========== Post ========== //\r\n// Margin bottom of post list.\r\n$post-list-margin-bottom: 20px !default;\r\n\r\n// Padding of the post.\r\n$post-padding: 1.5em 0 !default;\r\n\r\n// Border top of the post + post.\r\n$post-border: 1px solid $light-gray !default;\r\n\r\n// Font size of post title.\r\n$post-title-font-size: 27px !default;\r\n\r\n// Font weight of post title.\r\n$post-title-font-weight: 400 !default;\r\n\r\n// Margin top of the post meta (post time).\r\n$post-meta-margin-top: 5px !default;\r\n\r\n// Font color of the post time.\r\n$post-time-font-color: $dark-gray !default;\r\n\r\n// Font color of the post category\r\n$post-category-font-color: $dark-gray !default;\r\n\r\n// Border bottom of the read more link when hover it.\r\n$post-readMore-border-bottom: 1px solid $theme-color !default;\r\n\r\n// Margin top of the post footer.\r\n$post-footer-margin-top: 20px !default;\r\n\r\n// Border top of post footer.\r\n$post-footer-border-top: 1px solid $light-gray !default;\r\n\r\n// Padding of the post tags.\r\n$post-tags-padding: 15px 0 !default;\r\n\r\n// Font size of post pagination.\r\n$post-nav-font-size: 18px !default;\r\n\r\n\r\n// ========== TOC ========== //\r\n// Width of the post toc.\r\n$post-toc-width: 200px !default;\r\n\r\n// Backgroud color of the post toc.\r\n$post-toc-backgroud: rgba($deputy-color, 0.6) !default;\r\n\r\n// Margin left of the post toc.\r\n$post-toc-margin-left: $global-body-width - 15px !default;\r\n\r\n// Font size of the post toc title.\r\n$post-toc-title-size: 20px !default;\r\n\r\n// Font size of the post toc content.\r\n$post-toc-content: 15px !default;\r\n\r\n// List style of the post toc list.\r\n$post-toc-list-style: square !default;\r\n\r\n// Max screen media of the post toc.\r\n$toc-max-sreen-width: 2 * $post-toc-width + $post-toc-margin-left !default;\r\n\r\n// ========== Content ========== //\r\n// Headings anchor.\r\n$content-headings-anchor: \"\" !default;\r\n\r\n// Border bottom of the link when hover it.\r\n$content-link-border: 1px solid $theme-color !default;\r\n\r\n// Background color of the blockquote.\r\n$content-blockquote-backgroud: rgba($theme-color, 0.05) !default;\r\n\r\n// Border left of the blockquote.\r\n$content-blockquote-border-left: 3px solid rgba($theme-color, 0.3) !default;\r\n\r\n// Border color of the table.\r\n$content-table-border-color: darken($deputy-color, 3%) !default;\r\n\r\n// ========== Code ========== //\r\n// Color of the code.\r\n$code-color: #c7254e !default;\r\n\r\n// Font size of code.\r\n$code-font-size: 13px !default;\r\n\r\n// Font family of the code.\r\n$code-font-family: Consolas, Monaco, Menlo, Consolas, monospace !default;\r\n\r\n// Color of code highlight, solarized.\r\n$code-highlight-color: (\r\n comment: #93a1a1,\r\n keyword: #859900,\r\n number: #2aa198,\r\n title: #268bd2,\r\n attribute: #b58900,\r\n symbol: #cb4b16,\r\n built_in: #dc322f,\r\n formula: #eee8d5\r\n) !default;\r\n\r\n// Code type list.\r\n$code-type-list: (\r\n // Custom code type\r\n language-html: \"HTML\",\r\n language-coffeescript: \"Coffeescript\",\r\n language-makefile: \"Makefile\",\r\n language-markdown: \"Markdown\",\r\n language-js: \"JavaScript\",\r\n language-javascript: \"JavaScript\",\r\n language-bash: \"Bash\",\r\n language-css: \"CSS\",\r\n language-java: \"Java\",\r\n language-xml: \"XML\",\r\n language-python: \"Python\",\r\n language-json: \"JSON\",\r\n language-ruby: \"Ruby\",\r\n language-php: \"PHP\",\r\n language-c: \"C\",\r\n language-cpp: \"C++\",\r\n language-cs: \"C#\",\r\n language-objectivec: \"Objective-C\",\r\n language-sql: \"SQL\",\r\n language-http: \"HTTP\",\r\n language-shell: \"Shell\",\r\n \r\n language-clojure: \"Clojure\",\r\n language-elm: \"elm\",\r\n language-erlang: \"Erlang\",\r\n language-go: \"Go\",\r\n language-groovy: \"Groovy\",\r\n language-handlebars: \"Handlebars\",\r\n language-haskell: \"Haskell\",\r\n language-less: \"Less\",\r\n language-lisp: \"Lisp\",\r\n language-lua: \"Lua\",\r\n language-matlab: \"Matlab\",\r\n language-prolog: \"Prolog\",\r\n language-rust: \"Rust\",\r\n language-scss: \"Scss\",\r\n language-scala: \"Scala\",\r\n language-scheme: \"Scheme\",\r\n language-stylus: \"Stylus\",\r\n language-swift: \"Swift\",\r\n language-typescript: \"Typescript\",\r\n language-yml: \"YAML\",\r\n language-yaml: \"YAML\",\r\n language-toml: \"TOML\"\r\n) !default;\r\n\r\n// Color of the code background.\r\n$code-background: $deputy-color !default;\r\n\r\n\r\n// ========== Pagination ========== //\r\n// Margin of the pagination.\r\n$pagination-margin: 2em 0 !default;\r\n\r\n// Font size of the pagination (Without post, post pagination see line 140).\r\n$pagination-font-size: 20px !default;\r\n\r\n\r\n// ========== Footer ========== //\r\n// Margin top of the footer.\r\n$footer-margin-top: 2em !default;\r\n\r\n// Margin left of the social link.\r\n$social-link-margin-left: 10px !default;\r\n\r\n// Font size of the social icon.\r\n$social-icon-font-size: 30px !default;\r\n\r\n// Margin of the copyright.\r\n$copyright-margin: 10px 0 !default;\r\n\r\n\r\n// ========== Archive ========== //\r\n// Margin of the archive.\r\n$archive-margin: 2em 0px !default;\r\n\r\n// Max width of the archive.\r\n$archive-max-width: 550px !default;\r\n\r\n// Font size of the archive name.\r\n$archive-name-font-size: 30px !default;\r\n\r\n// Font size of the collection title.\r\n$collection-title-font-size: 28px !default;\r\n\r\n// Padding of the archive post.\r\n$archive-post-padding: 3px 20px !default;\r\n\r\n// Padding of the archive post in mobile.\r\n$archive-post-mobile-padding: 5px 10px !default;\r\n\r\n// Font size of the archive post time in mobile.\r\n$archive-post-mobile-time-font-size: 13px !default;\r\n\r\n// Border left of the archive post, use $archive-post-hover-border-left when hover it.\r\n$archive-post-border-left: 1px solid $gray !default;\r\n$archive-post-hover-border-left: 3px solid $theme-color !default;\r\n\r\n// Transition of the archive post when hover it.\r\n$archive-post-hover-transition: 0.2s ease-out !default;\r\n\r\n// Transform of the archive post when hover it.\r\n$archive-post-hover-transform: translateX(4px) !default;\r\n\r\n\r\n// ========== Tags ========== //\r\n// Font soze of the tag cloud title.\r\n$tag-cloud-title-size: 18px !default;\r\n\r\n// Border bottom of the tag cloud title.\r\n$tag-cloud-title-border-bottom: 2px solid $theme-color !default;\r\n\r\n// Margin of the tag cloud tags link.\r\n$tag-cloud-tags-link-margin: 5px 10px !default;\r\n\r\n\r\n// ========== Categories ========== //\r\n// Font soze of the categories title.\r\n$categories-title-size: 18px !default;\r\n\r\n// Border bottom of the categories title.\r\n$categories-title-border-bottom: 2px solid $theme-color !default;\r\n\r\n// Margin of the categories tags link.\r\n$categories-tags-link-margin: 5px 10px !default;\r\n\r\n// Font size of the category count\r\n$category-count-font-size: 12px !default;\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/css/_variables.scss","/*! normalize.css v3.0.2 | MIT License | git.io/normalize */\r\n\r\n/**\r\n * 1. Set default font family to sans-serif.\r\n * 2. Prevent iOS text size adjust after orientation change, without disabling\r\n * user zoom.\r\n */\r\n\r\nhtml {\r\n font-family: sans-serif; /* 1 */\r\n -ms-text-size-adjust: 100%; /* 2 */\r\n -webkit-text-size-adjust: 100%; /* 2 */\r\n}\r\n\r\n/**\r\n * Remove default margin.\r\n */\r\n\r\nbody {\r\n margin: 0;\r\n}\r\n\r\n/* HTML5 display definitions\r\n ========================================================================== */\r\n\r\n/**\r\n * Correct `block` display not defined for any HTML5 element in IE 8/9.\r\n * Correct `block` display not defined for `details` or `summary` in IE 10/11\r\n * and Firefox.\r\n * Correct `block` display not defined for `main` in IE 11.\r\n */\r\n\r\narticle,\r\naside,\r\ndetails,\r\nfigcaption,\r\nfigure,\r\nfooter,\r\nheader,\r\nhgroup,\r\nmain,\r\nmenu,\r\nnav,\r\nsection,\r\nsummary {\r\n display: block;\r\n}\r\n\r\n/**\r\n * 1. Correct `inline-block` display not defined in IE 8/9.\r\n * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.\r\n */\r\n\r\naudio,\r\ncanvas,\r\nprogress,\r\nvideo {\r\n display: inline-block; /* 1 */\r\n vertical-align: baseline; /* 2 */\r\n}\r\n\r\n/**\r\n * Prevent modern browsers from displaying `audio` without controls.\r\n * Remove excess height in iOS 5 devices.\r\n */\r\n\r\naudio:not([controls]) {\r\n display: none;\r\n height: 0;\r\n}\r\n\r\n/**\r\n * Address `[hidden]` styling not present in IE 8/9/10.\r\n * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.\r\n */\r\n\r\n[hidden],\r\ntemplate {\r\n display: none;\r\n}\r\n\r\n/* Links\r\n ========================================================================== */\r\n\r\n/**\r\n * Remove the gray background color from active links in IE 10.\r\n */\r\n\r\na {\r\n background-color: transparent;\r\n}\r\n\r\n/**\r\n * Improve readability when focused and also mouse hovered in all browsers.\r\n */\r\n\r\na:active,\r\na:hover {\r\n outline: 0;\r\n}\r\n\r\n/* Text-level semantics\r\n ========================================================================== */\r\n\r\n/**\r\n * Address styling not present in IE 8/9/10/11, Safari, and Chrome.\r\n */\r\n\r\nabbr[title] {\r\n border-bottom: 1px dotted;\r\n}\r\n\r\n/**\r\n * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.\r\n */\r\n\r\nb,\r\nstrong {\r\n font-weight: bold;\r\n}\r\n\r\n/**\r\n * Address styling not present in Safari and Chrome.\r\n */\r\n\r\ndfn {\r\n font-style: italic;\r\n}\r\n\r\n/**\r\n * Address variable `h1` font-size and margin within `section` and `article`\r\n * contexts in Firefox 4+, Safari, and Chrome.\r\n */\r\n\r\nh1 {\r\n font-size: 2em;\r\n margin: 0.67em 0;\r\n}\r\n\r\n/**\r\n * Address styling not present in IE 8/9.\r\n */\r\n\r\nmark {\r\n background: #ff0;\r\n color: #000;\r\n}\r\n\r\n/**\r\n * Address inconsistent and variable font size in all browsers.\r\n */\r\n\r\nsmall {\r\n font-size: 80%;\r\n}\r\n\r\n/**\r\n * Prevent `sub` and `sup` affecting `line-height` in all browsers.\r\n */\r\n\r\nsub,\r\nsup {\r\n font-size: 75%;\r\n line-height: 0;\r\n position: relative;\r\n vertical-align: baseline;\r\n}\r\n\r\nsup {\r\n top: -0.5em;\r\n}\r\n\r\nsub {\r\n bottom: -0.25em;\r\n}\r\n\r\n/* Embedded content\r\n ========================================================================== */\r\n\r\n/**\r\n * Remove border when inside `a` element in IE 8/9/10.\r\n */\r\n\r\nimg {\r\n border: 0;\r\n}\r\n\r\n/**\r\n * Correct overflow not hidden in IE 9/10/11.\r\n */\r\n\r\nsvg:not(:root) {\r\n overflow: hidden;\r\n}\r\n\r\n/* Grouping content\r\n ========================================================================== */\r\n\r\n/**\r\n * Address margin not present in IE 8/9 and Safari.\r\n */\r\n\r\nfigure {\r\n margin: 1em 40px;\r\n}\r\n\r\n/**\r\n * Address differences between Firefox and other browsers.\r\n */\r\n\r\nhr {\r\n -moz-box-sizing: content-box;\r\n box-sizing: content-box;\r\n height: 0;\r\n}\r\n\r\n/**\r\n * Contain overflow in all browsers.\r\n */\r\n\r\npre {\r\n overflow: auto;\r\n}\r\n\r\n/**\r\n * Address odd `em`-unit font size rendering in all browsers.\r\n */\r\n\r\ncode,\r\nkbd,\r\npre,\r\nsamp {\r\n font-family: monospace, monospace;\r\n font-size: 1em;\r\n}\r\n\r\n/* Forms\r\n ========================================================================== */\r\n\r\n/**\r\n * Known limitation: by default, Chrome and Safari on OS X allow very limited\r\n * styling of `select`, unless a `border` property is set.\r\n */\r\n\r\n/**\r\n * 1. Correct color not being inherited.\r\n * Known issue: affects color of disabled elements.\r\n * 2. Correct font properties not being inherited.\r\n * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.\r\n */\r\n\r\nbutton,\r\ninput,\r\noptgroup,\r\nselect,\r\ntextarea {\r\n color: inherit; /* 1 */\r\n font: inherit; /* 2 */\r\n margin: 0; /* 3 */\r\n}\r\n\r\n/**\r\n * Address `overflow` set to `hidden` in IE 8/9/10/11.\r\n */\r\n\r\nbutton {\r\n overflow: visible;\r\n}\r\n\r\n/**\r\n * Address inconsistent `text-transform` inheritance for `button` and `select`.\r\n * All other form control elements do not inherit `text-transform` values.\r\n * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.\r\n * Correct `select` style inheritance in Firefox.\r\n */\r\n\r\nbutton,\r\nselect {\r\n text-transform: none;\r\n}\r\n\r\n/**\r\n * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`\r\n * and `video` controls.\r\n * 2. Correct inability to style clickable `input` types in iOS.\r\n * 3. Improve usability and consistency of cursor style between image-type\r\n * `input` and others.\r\n */\r\n\r\nbutton,\r\nhtml input[type=\"button\"], /* 1 */\r\ninput[type=\"reset\"],\r\ninput[type=\"submit\"] {\r\n -webkit-appearance: button; /* 2 */\r\n cursor: pointer; /* 3 */\r\n}\r\n\r\n/**\r\n * Re-set default cursor for disabled elements.\r\n */\r\n\r\nbutton[disabled],\r\nhtml input[disabled] {\r\n cursor: default;\r\n}\r\n\r\n/**\r\n * Remove inner padding and border in Firefox 4+.\r\n */\r\n\r\nbutton::-moz-focus-inner,\r\ninput::-moz-focus-inner {\r\n border: 0;\r\n padding: 0;\r\n}\r\n\r\n/**\r\n * Address Firefox 4+ setting `line-height` on `input` using `!important` in\r\n * the UA stylesheet.\r\n */\r\n\r\ninput {\r\n line-height: normal;\r\n}\r\n\r\n/**\r\n * It's recommended that you don't attempt to style these elements.\r\n * Firefox's implementation doesn't respect box-sizing, padding, or width.\r\n *\r\n * 1. Address box sizing set to `content-box` in IE 8/9/10.\r\n * 2. Remove excess padding in IE 8/9/10.\r\n */\r\n\r\ninput[type=\"checkbox\"],\r\ninput[type=\"radio\"] {\r\n box-sizing: border-box; /* 1 */\r\n padding: 0; /* 2 */\r\n}\r\n\r\n/**\r\n * Fix the cursor style for Chrome's increment/decrement buttons. For certain\r\n * `font-size` values of the `input`, it causes the cursor style of the\r\n * decrement button to change from `default` to `text`.\r\n */\r\n\r\ninput[type=\"number\"]::-webkit-inner-spin-button,\r\ninput[type=\"number\"]::-webkit-outer-spin-button {\r\n height: auto;\r\n}\r\n\r\n/**\r\n * 1. Address `appearance` set to `searchfield` in Safari and Chrome.\r\n * 2. Address `box-sizing` set to `border-box` in Safari and Chrome\r\n * (include `-moz` to future-proof).\r\n */\r\n\r\ninput[type=\"search\"] {\r\n -webkit-appearance: textfield; /* 1 */\r\n -moz-box-sizing: content-box;\r\n -webkit-box-sizing: content-box; /* 2 */\r\n box-sizing: content-box;\r\n}\r\n\r\n/**\r\n * Remove inner padding and search cancel button in Safari and Chrome on OS X.\r\n * Safari (but not Chrome) clips the cancel button when the search input has\r\n * padding (and `textfield` appearance).\r\n */\r\n\r\ninput[type=\"search\"]::-webkit-search-cancel-button,\r\ninput[type=\"search\"]::-webkit-search-decoration {\r\n -webkit-appearance: none;\r\n}\r\n\r\n/**\r\n * Define consistent border, margin, and padding.\r\n */\r\n\r\nfieldset {\r\n border: 1px solid #c0c0c0;\r\n margin: 0 2px;\r\n padding: 0.35em 0.625em 0.75em;\r\n}\r\n\r\n/**\r\n * 1. Correct `color` not being inherited in IE 8/9/10/11.\r\n * 2. Remove padding so people aren't caught out if they zero out fieldsets.\r\n */\r\n\r\nlegend {\r\n border: 0; /* 1 */\r\n padding: 0; /* 2 */\r\n}\r\n\r\n/**\r\n * Remove default vertical scrollbar in IE 8/9/10/11.\r\n */\r\n\r\ntextarea {\r\n overflow: auto;\r\n}\r\n\r\n/**\r\n * Don't inherit the `font-weight` (applied by a rule above).\r\n * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.\r\n */\r\n\r\noptgroup {\r\n font-weight: bold;\r\n}\r\n\r\n/* Tables\r\n ========================================================================== */\r\n\r\n/**\r\n * Remove most spacing between table cells.\r\n */\r\n\r\ntable {\r\n border-collapse: collapse;\r\n border-spacing: 0;\r\n}\r\n\r\ntd,\r\nth {\r\n padding: 0;\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/css/_common/_normalize.scss","@charset \"UTF-8\";\n@font-face {\n font-family: 'Chancery';\n src: url(\"../fonts/chancery/apple-chancery-webfont.eot\");\n src: local(\"Apple Chancery\"), url(\"../fonts/chancery/apple-chancery-webfont.eot?#iefix\") format(\"embedded-opentype\"), url(\"../fonts/chancery/apple-chancery-webfont.woff2\") format(\"woff2\"), url(\"../fonts/chancery/apple-chancery-webfont.woff\") format(\"woff\"), url(\"../fonts/chancery/apple-chancery-webfont.ttf\") format(\"truetype\"), url(\"../fonts/chancery/apple-chancery-webfont.svg#apple-chancery\") format(\"svg\");\n font-weight: lighter;\n font-style: normal; }\n\n/*! normalize.css v3.0.2 | MIT License | git.io/normalize */\n/**\r\n * 1. Set default font family to sans-serif.\r\n * 2. Prevent iOS text size adjust after orientation change, without disabling\r\n * user zoom.\r\n */\nhtml {\n font-family: sans-serif;\n /* 1 */\n -ms-text-size-adjust: 100%;\n /* 2 */\n -webkit-text-size-adjust: 100%;\n /* 2 */ }\n\n/**\r\n * Remove default margin.\r\n */\nbody {\n margin: 0; }\n\n/* HTML5 display definitions\r\n ========================================================================== */\n/**\r\n * Correct `block` display not defined for any HTML5 element in IE 8/9.\r\n * Correct `block` display not defined for `details` or `summary` in IE 10/11\r\n * and Firefox.\r\n * Correct `block` display not defined for `main` in IE 11.\r\n */\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nmenu,\nnav,\nsection,\nsummary {\n display: block; }\n\n/**\r\n * 1. Correct `inline-block` display not defined in IE 8/9.\r\n * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.\r\n */\naudio,\ncanvas,\nprogress,\nvideo {\n display: inline-block;\n /* 1 */\n vertical-align: baseline;\n /* 2 */ }\n\n/**\r\n * Prevent modern browsers from displaying `audio` without controls.\r\n * Remove excess height in iOS 5 devices.\r\n */\naudio:not([controls]) {\n display: none;\n height: 0; }\n\n/**\r\n * Address `[hidden]` styling not present in IE 8/9/10.\r\n * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.\r\n */\n[hidden],\ntemplate {\n display: none; }\n\n/* Links\r\n ========================================================================== */\n/**\r\n * Remove the gray background color from active links in IE 10.\r\n */\na {\n background-color: transparent; }\n\n/**\r\n * Improve readability when focused and also mouse hovered in all browsers.\r\n */\na:active,\na:hover {\n outline: 0; }\n\n/* Text-level semantics\r\n ========================================================================== */\n/**\r\n * Address styling not present in IE 8/9/10/11, Safari, and Chrome.\r\n */\nabbr[title] {\n border-bottom: 1px dotted; }\n\n/**\r\n * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.\r\n */\nb,\nstrong {\n font-weight: bold; }\n\n/**\r\n * Address styling not present in Safari and Chrome.\r\n */\ndfn {\n font-style: italic; }\n\n/**\r\n * Address variable `h1` font-size and margin within `section` and `article`\r\n * contexts in Firefox 4+, Safari, and Chrome.\r\n */\nh1 {\n font-size: 2em;\n margin: 0.67em 0; }\n\n/**\r\n * Address styling not present in IE 8/9.\r\n */\nmark {\n background: #ff0;\n color: #000; }\n\n/**\r\n * Address inconsistent and variable font size in all browsers.\r\n */\nsmall {\n font-size: 80%; }\n\n/**\r\n * Prevent `sub` and `sup` affecting `line-height` in all browsers.\r\n */\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline; }\n\nsup {\n top: -0.5em; }\n\nsub {\n bottom: -0.25em; }\n\n/* Embedded content\r\n ========================================================================== */\n/**\r\n * Remove border when inside `a` element in IE 8/9/10.\r\n */\nimg {\n border: 0; }\n\n/**\r\n * Correct overflow not hidden in IE 9/10/11.\r\n */\nsvg:not(:root) {\n overflow: hidden; }\n\n/* Grouping content\r\n ========================================================================== */\n/**\r\n * Address margin not present in IE 8/9 and Safari.\r\n */\nfigure {\n margin: 1em 40px; }\n\n/**\r\n * Address differences between Firefox and other browsers.\r\n */\nhr {\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n height: 0; }\n\n/**\r\n * Contain overflow in all browsers.\r\n */\npre {\n overflow: auto; }\n\n/**\r\n * Address odd `em`-unit font size rendering in all browsers.\r\n */\ncode,\nkbd,\npre,\nsamp {\n font-family: monospace, monospace;\n font-size: 1em; }\n\n/* Forms\r\n ========================================================================== */\n/**\r\n * Known limitation: by default, Chrome and Safari on OS X allow very limited\r\n * styling of `select`, unless a `border` property is set.\r\n */\n/**\r\n * 1. Correct color not being inherited.\r\n * Known issue: affects color of disabled elements.\r\n * 2. Correct font properties not being inherited.\r\n * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.\r\n */\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n color: inherit;\n /* 1 */\n font: inherit;\n /* 2 */\n margin: 0;\n /* 3 */ }\n\n/**\r\n * Address `overflow` set to `hidden` in IE 8/9/10/11.\r\n */\nbutton {\n overflow: visible; }\n\n/**\r\n * Address inconsistent `text-transform` inheritance for `button` and `select`.\r\n * All other form control elements do not inherit `text-transform` values.\r\n * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.\r\n * Correct `select` style inheritance in Firefox.\r\n */\nbutton,\nselect {\n text-transform: none; }\n\n/**\r\n * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`\r\n * and `video` controls.\r\n * 2. Correct inability to style clickable `input` types in iOS.\r\n * 3. Improve usability and consistency of cursor style between image-type\r\n * `input` and others.\r\n */\nbutton,\nhtml input[type=\"button\"],\ninput[type=\"reset\"],\ninput[type=\"submit\"] {\n -webkit-appearance: button;\n /* 2 */\n cursor: pointer;\n /* 3 */ }\n\n/**\r\n * Re-set default cursor for disabled elements.\r\n */\nbutton[disabled],\nhtml input[disabled] {\n cursor: default; }\n\n/**\r\n * Remove inner padding and border in Firefox 4+.\r\n */\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner {\n border: 0;\n padding: 0; }\n\n/**\r\n * Address Firefox 4+ setting `line-height` on `input` using `!important` in\r\n * the UA stylesheet.\r\n */\ninput {\n line-height: normal; }\n\n/**\r\n * It's recommended that you don't attempt to style these elements.\r\n * Firefox's implementation doesn't respect box-sizing, padding, or width.\r\n *\r\n * 1. Address box sizing set to `content-box` in IE 8/9/10.\r\n * 2. Remove excess padding in IE 8/9/10.\r\n */\ninput[type=\"checkbox\"],\ninput[type=\"radio\"] {\n box-sizing: border-box;\n /* 1 */\n padding: 0;\n /* 2 */ }\n\n/**\r\n * Fix the cursor style for Chrome's increment/decrement buttons. For certain\r\n * `font-size` values of the `input`, it causes the cursor style of the\r\n * decrement button to change from `default` to `text`.\r\n */\ninput[type=\"number\"]::-webkit-inner-spin-button,\ninput[type=\"number\"]::-webkit-outer-spin-button {\n height: auto; }\n\n/**\r\n * 1. Address `appearance` set to `searchfield` in Safari and Chrome.\r\n * 2. Address `box-sizing` set to `border-box` in Safari and Chrome\r\n * (include `-moz` to future-proof).\r\n */\ninput[type=\"search\"] {\n -webkit-appearance: textfield;\n /* 1 */\n -moz-box-sizing: content-box;\n -webkit-box-sizing: content-box;\n /* 2 */\n box-sizing: content-box; }\n\n/**\r\n * Remove inner padding and search cancel button in Safari and Chrome on OS X.\r\n * Safari (but not Chrome) clips the cancel button when the search input has\r\n * padding (and `textfield` appearance).\r\n */\ninput[type=\"search\"]::-webkit-search-cancel-button,\ninput[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none; }\n\n/**\r\n * Define consistent border, margin, and padding.\r\n */\nfieldset {\n border: 1px solid #c0c0c0;\n margin: 0 2px;\n padding: 0.35em 0.625em 0.75em; }\n\n/**\r\n * 1. Correct `color` not being inherited in IE 8/9/10/11.\r\n * 2. Remove padding so people aren't caught out if they zero out fieldsets.\r\n */\nlegend {\n border: 0;\n /* 1 */\n padding: 0;\n /* 2 */ }\n\n/**\r\n * Remove default vertical scrollbar in IE 8/9/10/11.\r\n */\ntextarea {\n overflow: auto; }\n\n/**\r\n * Don't inherit the `font-weight` (applied by a rule above).\r\n * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.\r\n */\noptgroup {\n font-weight: bold; }\n\n/* Tables\r\n ========================================================================== */\n/**\r\n * Remove most spacing between table cells.\r\n */\ntable {\n border-collapse: collapse;\n border-spacing: 0; }\n\ntd,\nth {\n padding: 0; }\n\nhtml {\n font-size: 16px;\n box-sizing: border-box; }\n\nbody {\n padding: 0;\n margin: 0;\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif;\n font-weight: normal;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n line-height: 1.5;\n color: #34495e;\n background: #fefefe;\n scroll-behavior: smooth;\n border-top: 3px solid #c05b4d; }\n\n@media screen and (max-width: 800px) {\n body {\n border-top: 0; } }\n\n::selection {\n background: #c05b4d;\n color: #fff; }\n\nimg {\n max-width: 100%;\n height: auto;\n display: inline-block;\n vertical-align: middle; }\n\na {\n color: #34495e;\n text-decoration: none; }\n\nh1 {\n font-size: 26px;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n\nh2 {\n font-size: 24px;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n\nh3 {\n font-size: 20px;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n\nh4 {\n font-size: 16px;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n\nh5 {\n font-size: 14px;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n\nh6 {\n font-size: 14px;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n\n.container {\n margin: 0 auto;\n width: 800px; }\n\n@media screen and (max-width: 800px) {\n .container {\n width: 100%;\n box-shadow: -1px -5px 5px #cacaca; } }\n\n.content-wrapper {\n padding: 0 20px; }\n\n.video-container {\n position: relative;\n padding-bottom: 56.25%;\n /* 16:9 */\n padding-top: 25px;\n height: 0; }\n\n.video-container iframe {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%; }\n\n.header {\n padding: 20px 20px; }\n .header:before, .header:after {\n content: \" \";\n display: table; }\n .header:after {\n clear: both; }\n .header .logo-wrapper {\n float: left; }\n .header .logo-wrapper .logo {\n font-size: 48px;\n font-family: \"Chancery\", cursive, LiSu, sans-serif; }\n @media screen and (max-width: 800px) {\n .header .logo-wrapper {\n display: none; } }\n .header .site-navbar {\n float: right; }\n .header .site-navbar .menu {\n display: inline-block;\n position: relative;\n padding-left: 0;\n padding-right: 25px;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .header .site-navbar .menu .menu-item {\n display: inline-block;\n display: inline-block;\n vertical-align: middle;\n transform: translateZ(0);\n backface-visibility: hidden;\n box-shadow: 0 0 1px transparent;\n position: relative;\n overflow: hidden; }\n .header .site-navbar .menu .menu-item + .menu-item {\n margin-left: 10px; }\n .header .site-navbar .menu .menu-item:before {\n content: '';\n position: absolute;\n z-index: -1;\n height: 2px;\n bottom: 0;\n left: 51%;\n right: 51%;\n background: #c05b4d;\n transition-duration: 0.2s;\n transition-property: right, left;\n transition-timing-function: ease-out; }\n .header .site-navbar .menu .menu-item.active:before, .header .site-navbar .menu .menu-item:active:before, .header .site-navbar .menu .menu-item:focus:before, .header .site-navbar .menu .menu-item:hover:before {\n right: 0;\n left: 0; }\n .header .site-navbar .menu .menu-item-link {\n font-size: 18px; }\n @media screen and (max-width: 800px) {\n .header .site-navbar {\n display: none; } }\n\n@media screen and (max-width: 800px) {\n .header {\n padding: 50px 0 0;\n text-align: center; } }\n\n.posts {\n margin-bottom: 20px;\n border-bottom: 1px solid #e6e6e6; }\n\n.post {\n padding: 1.5em 0; }\n .post + .post {\n border-top: 1px solid #e6e6e6; }\n .post .post-header {\n margin-bottom: 20px; }\n .post .post-header .post-title {\n margin: 0;\n font-size: 27px;\n font-weight: 400;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .post .post-header .post-link {\n display: inline-block;\n vertical-align: middle;\n transform: translateZ(0);\n backface-visibility: hidden;\n box-shadow: 0 0 1px transparent;\n position: relative;\n overflow: hidden; }\n .post .post-header .post-link:before {\n content: '';\n position: absolute;\n z-index: -1;\n height: 2px;\n bottom: 0;\n left: 51%;\n right: 51%;\n background: #c05b4d;\n transition-duration: 0.2s;\n transition-property: right, left;\n transition-timing-function: ease-out; }\n .post .post-header .post-link.active:before, .post .post-header .post-link:active:before, .post .post-header .post-link:focus:before, .post .post-header .post-link:hover:before {\n right: 0;\n left: 0; }\n .post .post-header .post-meta .post-time {\n font-size: 15px;\n color: #8a8a8a; }\n .post .post-header .post-meta .post-category {\n display: inline;\n font-size: 14px;\n color: #8a8a8a; }\n .post .post-header .post-meta .post-category::before {\n content: '·'; }\n .post .post-header .post-meta .post-category a {\n color: inherit; }\n .post .post-header .post-meta .post-category a:hover {\n color: #c05b4d; }\n .post .post-toc {\n position: absolute;\n width: 200px;\n margin-left: 785px;\n padding: 10px;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif;\n border-radius: 5px;\n background: rgba(248, 245, 236, 0.6);\n box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.125);\n word-wrap: break-word;\n box-sizing: border-box; }\n .post .post-toc .post-toc-title {\n margin: 0 10px;\n font-size: 20px;\n font-weight: 400;\n text-transform: uppercase; }\n .post .post-toc .post-toc-content {\n font-size: 15px; }\n .post .post-toc .post-toc-content > nav > ul {\n margin: 10px 0; }\n .post .post-toc .post-toc-content ul {\n padding-left: 20px;\n list-style: square; }\n .post .post-toc .post-toc-content ul ul {\n padding-left: 15px; }\n .post .post-toc .post-toc-content .toc-link.active {\n color: #c05b4d; }\n @media screen and (max-width: 1185px) {\n .post .post-toc {\n display: none; } }\n .post .post-content {\n word-wrap: break-word; }\n .post .post-content h1 {\n font-weight: 400;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .post .post-content h2 {\n font-weight: 400;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .post .post-content h3 {\n font-weight: 400;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .post .post-content h4 {\n font-weight: 400;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .post .post-content h5 {\n font-weight: 400;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .post .post-content h6 {\n font-weight: 400;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .post .post-content a {\n color: #c05b4d;\n word-break: break-all; }\n .post .post-content a:hover {\n border-bottom: 1px solid #c05b4d; }\n .post .post-content a.fancybox {\n border: 0; }\n .post .post-content blockquote {\n margin: 2em 0;\n padding: 10px 20px;\n position: relative;\n color: rgba(52, 73, 94, 0.8);\n background-color: rgba(192, 91, 77, 0.05);\n border-left: 3px solid rgba(192, 91, 77, 0.3);\n box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.125); }\n .post .post-content blockquote p {\n margin: 0; }\n .post .post-content img {\n display: inline-block;\n max-width: 100%; }\n .post .post-content > table {\n max-width: 100%;\n margin: 10px 0;\n border-spacing: 0;\n box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.125); }\n .post .post-content > table th, .post .post-content > table td {\n padding: 5px 15px;\n border: 1px double #f4efe1; }\n .post .post-content code, .post .post-content pre {\n padding: 7px;\n font-size: 13px;\n font-family: Consolas, Monaco, Menlo, Consolas, monospace;\n background: #f8f5ec; }\n .post .post-content code {\n padding: 3px 5px;\n border-radius: 4px;\n color: #c7254e; }\n .post .post-content .highlight {\n margin: 1em 0;\n border-radius: 5px;\n overflow-x: auto;\n box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.125);\n position: relative; }\n .post .post-content .highlight table {\n position: relative; }\n .post .post-content .highlight table::after {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n padding: 2px 7px;\n font-size: 13px;\n font-weight: bold;\n color: #b1b1b1;\n background: #f4efe1;\n content: 'Code'; }\n .post .post-content .highlight.language-html > table::after {\n content: \"HTML\"; }\n .post .post-content .highlight.language-html > figcaption > span::after {\n content: \" · HTML\"; }\n .post .post-content .highlight.language-html figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-coffeescript > table::after {\n content: \"Coffeescript\"; }\n .post .post-content .highlight.language-coffeescript > figcaption > span::after {\n content: \" · Coffeescript\"; }\n .post .post-content .highlight.language-coffeescript figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-makefile > table::after {\n content: \"Makefile\"; }\n .post .post-content .highlight.language-makefile > figcaption > span::after {\n content: \" · Makefile\"; }\n .post .post-content .highlight.language-makefile figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-markdown > table::after {\n content: \"Markdown\"; }\n .post .post-content .highlight.language-markdown > figcaption > span::after {\n content: \" · Markdown\"; }\n .post .post-content .highlight.language-markdown figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-js > table::after {\n content: \"JavaScript\"; }\n .post .post-content .highlight.language-js > figcaption > span::after {\n content: \" · JavaScript\"; }\n .post .post-content .highlight.language-js figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-javascript > table::after {\n content: \"JavaScript\"; }\n .post .post-content .highlight.language-javascript > figcaption > span::after {\n content: \" · JavaScript\"; }\n .post .post-content .highlight.language-javascript figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-bash > table::after {\n content: \"Bash\"; }\n .post .post-content .highlight.language-bash > figcaption > span::after {\n content: \" · Bash\"; }\n .post .post-content .highlight.language-bash figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-css > table::after {\n content: \"CSS\"; }\n .post .post-content .highlight.language-css > figcaption > span::after {\n content: \" · CSS\"; }\n .post .post-content .highlight.language-css figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-java > table::after {\n content: \"Java\"; }\n .post .post-content .highlight.language-java > figcaption > span::after {\n content: \" · Java\"; }\n .post .post-content .highlight.language-java figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-xml > table::after {\n content: \"XML\"; }\n .post .post-content .highlight.language-xml > figcaption > span::after {\n content: \" · XML\"; }\n .post .post-content .highlight.language-xml figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-python > table::after {\n content: \"Python\"; }\n .post .post-content .highlight.language-python > figcaption > span::after {\n content: \" · Python\"; }\n .post .post-content .highlight.language-python figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-json > table::after {\n content: \"JSON\"; }\n .post .post-content .highlight.language-json > figcaption > span::after {\n content: \" · JSON\"; }\n .post .post-content .highlight.language-json figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-ruby > table::after {\n content: \"Ruby\"; }\n .post .post-content .highlight.language-ruby > figcaption > span::after {\n content: \" · Ruby\"; }\n .post .post-content .highlight.language-ruby figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-php > table::after {\n content: \"PHP\"; }\n .post .post-content .highlight.language-php > figcaption > span::after {\n content: \" · PHP\"; }\n .post .post-content .highlight.language-php figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-c > table::after {\n content: \"C\"; }\n .post .post-content .highlight.language-c > figcaption > span::after {\n content: \" · C\"; }\n .post .post-content .highlight.language-c figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-cpp > table::after {\n content: \"C++\"; }\n .post .post-content .highlight.language-cpp > figcaption > span::after {\n content: \" · C++\"; }\n .post .post-content .highlight.language-cpp figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-cs > table::after {\n content: \"C#\"; }\n .post .post-content .highlight.language-cs > figcaption > span::after {\n content: \" · C#\"; }\n .post .post-content .highlight.language-cs figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-objectivec > table::after {\n content: \"Objective-C\"; }\n .post .post-content .highlight.language-objectivec > figcaption > span::after {\n content: \" · Objective-C\"; }\n .post .post-content .highlight.language-objectivec figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-sql > table::after {\n content: \"SQL\"; }\n .post .post-content .highlight.language-sql > figcaption > span::after {\n content: \" · SQL\"; }\n .post .post-content .highlight.language-sql figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-http > table::after {\n content: \"HTTP\"; }\n .post .post-content .highlight.language-http > figcaption > span::after {\n content: \" · HTTP\"; }\n .post .post-content .highlight.language-http figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-shell > table::after {\n content: \"Shell\"; }\n .post .post-content .highlight.language-shell > figcaption > span::after {\n content: \" · Shell\"; }\n .post .post-content .highlight.language-shell figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-clojure > table::after {\n content: \"Clojure\"; }\n .post .post-content .highlight.language-clojure > figcaption > span::after {\n content: \" · Clojure\"; }\n .post .post-content .highlight.language-clojure figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-elm > table::after {\n content: \"elm\"; }\n .post .post-content .highlight.language-elm > figcaption > span::after {\n content: \" · elm\"; }\n .post .post-content .highlight.language-elm figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-erlang > table::after {\n content: \"Erlang\"; }\n .post .post-content .highlight.language-erlang > figcaption > span::after {\n content: \" · Erlang\"; }\n .post .post-content .highlight.language-erlang figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-go > table::after {\n content: \"Go\"; }\n .post .post-content .highlight.language-go > figcaption > span::after {\n content: \" · Go\"; }\n .post .post-content .highlight.language-go figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-groovy > table::after {\n content: \"Groovy\"; }\n .post .post-content .highlight.language-groovy > figcaption > span::after {\n content: \" · Groovy\"; }\n .post .post-content .highlight.language-groovy figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-handlebars > table::after {\n content: \"Handlebars\"; }\n .post .post-content .highlight.language-handlebars > figcaption > span::after {\n content: \" · Handlebars\"; }\n .post .post-content .highlight.language-handlebars figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-haskell > table::after {\n content: \"Haskell\"; }\n .post .post-content .highlight.language-haskell > figcaption > span::after {\n content: \" · Haskell\"; }\n .post .post-content .highlight.language-haskell figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-less > table::after {\n content: \"Less\"; }\n .post .post-content .highlight.language-less > figcaption > span::after {\n content: \" · Less\"; }\n .post .post-content .highlight.language-less figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-lisp > table::after {\n content: \"Lisp\"; }\n .post .post-content .highlight.language-lisp > figcaption > span::after {\n content: \" · Lisp\"; }\n .post .post-content .highlight.language-lisp figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-lua > table::after {\n content: \"Lua\"; }\n .post .post-content .highlight.language-lua > figcaption > span::after {\n content: \" · Lua\"; }\n .post .post-content .highlight.language-lua figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-matlab > table::after {\n content: \"Matlab\"; }\n .post .post-content .highlight.language-matlab > figcaption > span::after {\n content: \" · Matlab\"; }\n .post .post-content .highlight.language-matlab figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-prolog > table::after {\n content: \"Prolog\"; }\n .post .post-content .highlight.language-prolog > figcaption > span::after {\n content: \" · Prolog\"; }\n .post .post-content .highlight.language-prolog figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-rust > table::after {\n content: \"Rust\"; }\n .post .post-content .highlight.language-rust > figcaption > span::after {\n content: \" · Rust\"; }\n .post .post-content .highlight.language-rust figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-scss > table::after {\n content: \"Scss\"; }\n .post .post-content .highlight.language-scss > figcaption > span::after {\n content: \" · Scss\"; }\n .post .post-content .highlight.language-scss figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-scala > table::after {\n content: \"Scala\"; }\n .post .post-content .highlight.language-scala > figcaption > span::after {\n content: \" · Scala\"; }\n .post .post-content .highlight.language-scala figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-scheme > table::after {\n content: \"Scheme\"; }\n .post .post-content .highlight.language-scheme > figcaption > span::after {\n content: \" · Scheme\"; }\n .post .post-content .highlight.language-scheme figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-stylus > table::after {\n content: \"Stylus\"; }\n .post .post-content .highlight.language-stylus > figcaption > span::after {\n content: \" · Stylus\"; }\n .post .post-content .highlight.language-stylus figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-swift > table::after {\n content: \"Swift\"; }\n .post .post-content .highlight.language-swift > figcaption > span::after {\n content: \" · Swift\"; }\n .post .post-content .highlight.language-swift figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-typescript > table::after {\n content: \"Typescript\"; }\n .post .post-content .highlight.language-typescript > figcaption > span::after {\n content: \" · Typescript\"; }\n .post .post-content .highlight.language-typescript figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-yml > table::after {\n content: \"YAML\"; }\n .post .post-content .highlight.language-yml > figcaption > span::after {\n content: \" · YAML\"; }\n .post .post-content .highlight.language-yml figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-yaml > table::after {\n content: \"YAML\"; }\n .post .post-content .highlight.language-yaml > figcaption > span::after {\n content: \" · YAML\"; }\n .post .post-content .highlight.language-yaml figcaption + table::after {\n display: none; }\n .post .post-content .highlight.language-toml > table::after {\n content: \"TOML\"; }\n .post .post-content .highlight.language-toml > figcaption > span::after {\n content: \" · TOML\"; }\n .post .post-content .highlight.language-toml figcaption + table::after {\n display: none; }\n .post .post-content .highlight figcaption {\n position: absolute;\n top: 0;\n width: 100%;\n padding: 2px 7px;\n font-size: 13px;\n font-weight: bold;\n color: #b1b1b1;\n background: #f4efe1;\n z-index: 20;\n overflow-x: hidden;\n box-sizing: border-box; }\n .post .post-content .highlight figcaption > a {\n position: absolute;\n right: 0;\n display: inline-box;\n margin-right: 7px;\n font-weight: 400; }\n .post .post-content .highlight figcaption > a:hover {\n text-decoration: none;\n border: 0; }\n .post .post-content .highlight .code pre {\n margin: 0;\n padding: 30px 10px 10px; }\n .post .post-content .highlight .gutter {\n width: 10px;\n color: #cacaca; }\n .post .post-content .highlight .gutter pre {\n margin: 0;\n padding: 30px 7px 10px; }\n .post .post-content .highlight .line {\n height: 20px; }\n .post .post-content .highlight table, .post .post-content .highlight tr, .post .post-content .highlight td {\n margin: 0;\n padding: 0;\n width: 100%;\n border-collapse: collapse; }\n .post .post-content .highlight .code .hljs-comment,\n .post .post-content .highlight .code .hljs-quote {\n color: #93a1a1; }\n .post .post-content .highlight .code .hljs-keyword,\n .post .post-content .highlight .code .hljs-selector-tag,\n .post .post-content .highlight .code .hljs-addition {\n color: #859900; }\n .post .post-content .highlight .code .hljs-number,\n .post .post-content .highlight .code .hljs-string,\n .post .post-content .highlight .code .hljs-meta .hljs-meta-string,\n .post .post-content .highlight .code .hljs-literal,\n .post .post-content .highlight .code .hljs-doctag,\n .post .post-content .highlight .code .hljs-regexp {\n color: #2aa198; }\n .post .post-content .highlight .code .hljs-title,\n .post .post-content .highlight .code .hljs-section,\n .post .post-content .highlight .code .hljs-name,\n .post .post-content .highlight .code .hljs-selector-id,\n .post .post-content .highlight .code .hljs-selector-class {\n color: #268bd2; }\n .post .post-content .highlight .code .hljs-attribute,\n .post .post-content .highlight .code .hljs-attr,\n .post .post-content .highlight .code .hljs-variable,\n .post .post-content .highlight .code .hljs-template-variable,\n .post .post-content .highlight .code .hljs-class .hljs-title,\n .post .post-content .highlight .code .hljs-type {\n color: #b58900; }\n .post .post-content .highlight .code .hljs-symbol,\n .post .post-content .highlight .code .hljs-bullet,\n .post .post-content .highlight .code .hljs-subst,\n .post .post-content .highlight .code .hljs-meta,\n .post .post-content .highlight .code .hljs-meta .hljs-keyword,\n .post .post-content .highlight .code .hljs-selector-attr,\n .post .post-content .highlight .code .hljs-selector-pseudo,\n .post .post-content .highlight .code .hljs-link {\n color: #cb4b16; }\n .post .post-content .highlight .code .hljs-built_in,\n .post .post-content .highlight .code .hljs-deletion {\n color: #dc322f; }\n .post .post-content .highlight .code .hljs-formula {\n background: #eee8d5; }\n .post .post-content .highlight .code .hljs-emphasis {\n font-style: italic; }\n .post .post-content .highlight .code .hljs-strong {\n font-weight: bold; }\n .post .post-content .read-more .read-more-link {\n color: #c05b4d;\n font-size: 1.1em;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .post .post-content .read-more .read-more-link:hover {\n border-bottom: 1px solid #c05b4d; }\n .post .post-content kbd {\n display: inline-block;\n padding: 0.25em;\n background-color: #fafafa;\n border: 1px solid #dbdbdb;\n border-bottom-color: #b5b5b5;\n border-radius: 3px;\n box-shadow: inset 0 -1px 0 #b5b5b5;\n font-size: 0.8em;\n line-height: 1.25;\n font-family: \"SFMono-Regular\",\"Liberation Mono\",\"Roboto Mono\",Menlo,Monaco,Consolas,\"Courier New\",Courier,monospace;\n color: #4a4a4a; }\n .post .post-content dl dt::after {\n content: ':'; }\n .post .post-content figure figcaption h4 {\n color: #b5b5b5;\n font-size: 0.9rem;\n text-align: center; }\n .post .post-content .task-list {\n list-style: none;\n padding-left: 1.5rem; }\n .post .post-copyright {\n margin-top: 20px;\n padding-top: 10px;\n border-top: 1px dashed #e6e6e6; }\n .post .post-copyright .copyright-item {\n margin: 5px 0; }\n .post .post-copyright .copyright-item.license {\n font-weight: bold; }\n .post .post-copyright .copyright-item a {\n text-decoration: underline; }\n .post .post-reward {\n margin-top: 20px;\n padding-top: 10px;\n text-align: center;\n border-top: 1px dashed #e6e6e6; }\n .post .post-reward .reward-button {\n margin: 15px 0;\n padding: 3px 7px;\n display: inline-block;\n color: #c05b4d;\n border: 1px solid #c05b4d;\n border-radius: 5px;\n cursor: pointer; }\n .post .post-reward .reward-button:hover {\n color: #fefefe;\n background-color: #c05b4d;\n transition: 0.5s; }\n .post .post-reward #reward:checked ~ .qr-code {\n display: block; }\n .post .post-reward #reward:checked ~ .reward-button {\n display: none; }\n .post .post-reward .qr-code {\n display: none;\n margin-top: 15px; }\n .post .post-reward .qr-code .qr-code-image {\n display: inline-block;\n min-width: 200px;\n width: 40%; }\n .post .post-reward .qr-code .image {\n width: 200px;\n height: 200px; }\n .post .post-footer {\n margin-top: 20px;\n border-top: 1px solid #e6e6e6;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .post .post-footer .post-tags {\n padding: 15px 0; }\n .post .post-footer .post-tags a {\n margin-right: 5px;\n color: #c05b4d;\n word-break: break-all; }\n .post .post-footer .post-tags a::before {\n content: '#'; }\n .post .post-footer .post-nav {\n margin: 1em 0; }\n .post .post-footer .post-nav:before, .post .post-footer .post-nav:after {\n content: \" \";\n display: table; }\n .post .post-footer .post-nav:after {\n clear: both; }\n .post .post-footer .post-nav .prev,\n .post .post-footer .post-nav .next {\n font-weight: 600;\n font-size: 18px;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif;\n transition-property: transform;\n transition-timing-function: ease-out;\n transition-duration: 0.3s; }\n .post .post-footer .post-nav .prev {\n float: left; }\n .post .post-footer .post-nav .prev:hover {\n color: #c05b4d;\n transform: translateX(-4px); }\n .post .post-footer .post-nav .next {\n float: right; }\n .post .post-footer .post-nav .next:hover {\n color: #c05b4d;\n transform: translateX(4px); }\n .post .post-footer .post-nav .nav-mobile {\n display: none; }\n @media screen and (max-width: 800px) {\n .post .post-footer .post-nav .nav-default {\n display: none; }\n .post .post-footer .post-nav .nav-mobile {\n display: inline; } }\n\n.pagination {\n margin: 2em 0; }\n .pagination:before, .pagination:after {\n content: \" \";\n display: table; }\n .pagination:after {\n clear: both; }\n .pagination .prev,\n .pagination .next {\n font-weight: 600;\n font-size: 20px;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif;\n transition-property: transform;\n transition-timing-function: ease-out;\n transition-duration: 0.3s; }\n .pagination .prev {\n float: left; }\n .pagination .prev:hover {\n color: #c05b4d;\n transform: translateX(-4px); }\n .pagination .next {\n float: right; }\n .pagination .next:hover {\n color: #c05b4d;\n transform: translateX(4px); }\n\n.footer {\n margin-top: 2em; }\n .footer .social-links {\n text-align: center; }\n .footer .social-links .iconfont {\n font-size: 30px; }\n .footer .social-links .iconfont + .iconfont {\n margin-left: 10px; }\n .footer .social-links .iconfont:hover {\n color: #c05b4d; }\n .footer .copyright {\n margin: 10px 0;\n color: #8a8a8a;\n text-align: center;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .footer .copyright .hexo-link,\n .footer .copyright .theme-link {\n color: #c05b4d; }\n .footer .copyright .copyright-year {\n display: block; }\n .footer .copyright .copyright-year .heart {\n font-size: 14px; }\n\n.archive {\n margin: 2em 0px;\n max-width: 550px; }\n .archive .archive-title {\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .archive .archive-title.tag, .archive .archive-title.category {\n margin: 15px 0; }\n .archive .archive-title .archive-name {\n margin: 0;\n display: inline-block;\n font-weight: 400;\n font-size: 30px;\n line-height: 32px; }\n .archive .archive-title .archive-post-counter {\n display: none;\n color: #8a8a8a; }\n .archive .collection-title {\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .archive .collection-title .archive-year {\n margin: 15px 0;\n font-weight: 400;\n font-size: 28px;\n line-height: 30px; }\n .archive .archive-post {\n padding: 3px 20px;\n border-left: 1px solid #cacaca; }\n .archive .archive-post .archive-post-time {\n margin-right: 10px;\n color: #8a8a8a; }\n .archive .archive-post .archive-post-title .archive-post-link {\n color: #c05b4d; }\n .archive .archive-post::first-child {\n margin-top: 10px; }\n .archive .archive-post:hover {\n border-left: 3px solid #c05b4d;\n transition: 0.2s ease-out;\n transform: translateX(4px); }\n .archive .archive-post:hover .archive-post-time {\n color: #717171; }\n .archive .archive-post:hover .archive-post-title .archive-post-link {\n color: #a14639; }\n\n@media screen and (max-width: 800px) {\n .archive {\n margin-left: auto;\n margin-right: auto; }\n .archive .archive-title .archive-name {\n font-size: 26px; }\n .archive .collection-title .archive-year {\n margin: 10px 0;\n font-size: 24px; }\n .archive .archive-post {\n padding: 5px 10px; }\n .archive .archive-post .archive-post-time {\n font-size: 13px;\n display: block; } }\n\n.tag-cloud {\n margin: 2em 0 3em;\n text-align: center;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .tag-cloud .tag-cloud-title {\n display: inline-block;\n font-size: 18px;\n color: #c05b4d;\n border-bottom: 2px solid #c05b4d; }\n .tag-cloud .tag-cloud-tags {\n margin: 10px 0; }\n .tag-cloud .tag-cloud-tags a {\n display: inline-block;\n position: relative;\n margin: 5px 10px;\n word-wrap: break-word;\n transition-duration: 0.2s;\n transition-property: transform;\n transition-timing-function: ease-out; }\n .tag-cloud .tag-cloud-tags a .tag-count {\n display: inline-block;\n position: relative;\n top: -8px;\n right: -2px;\n color: #c05b4d;\n font-size: 12px; }\n .tag-cloud .tag-cloud-tags a:active, .tag-cloud .tag-cloud-tags a:focus, .tag-cloud .tag-cloud-tags a:hover {\n color: #c05b4d;\n transform: scale(1.1); }\n\n.categories {\n margin: 2em 0 3em;\n text-align: center;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .categories .categories-title {\n display: inline-block;\n font-size: 18px;\n color: #c05b4d;\n border-bottom: 2px solid #c05b4d; }\n .categories .categories-tags {\n margin: 10px 0; }\n .categories .categories-tags .category-link {\n display: inline-block;\n position: relative;\n margin: 5px 10px;\n word-wrap: break-word;\n transition-duration: 0.2s;\n transition-property: transform;\n transition-timing-function: ease-out; }\n .categories .categories-tags .category-link .category-count {\n display: inline-block;\n position: relative;\n top: -8px;\n right: -2px;\n color: #c05b4d;\n font-size: 12px; }\n .categories .categories-tags .category-link:active, .categories .categories-tags .category-link:focus, .categories .categories-tags .category-link:hover {\n color: #c05b4d;\n transform: scale(1.1); }\n\n@font-face {\n font-family: 'iconfont';\n /* project id 96542 */\n src: url(\"//at.alicdn.com/t/font_96542_d5q5xyswt0kq33di.eot\");\n src: url(\"//at.alicdn.com/t/font_96542_d5q5xyswt0kq33di.eot?#iefix\") format(\"embedded-opentype\"), url(\"//at.alicdn.com/t/font_96542_d5q5xyswt0kq33di.woff\") format(\"woff\"), url(\"//at.alicdn.com/t/font_96542_d5q5xyswt0kq33di.ttf\") format(\"truetype\"), url(\"//at.alicdn.com/t/font_96542_d5q5xyswt0kq33di.svg#iconfont\") format(\"svg\"); }\n\n.iconfont {\n font-family: \"iconfont\" !important;\n font-style: normal;\n -webkit-font-smoothing: antialiased;\n -webkit-text-stroke-width: 0.2px;\n -moz-osx-font-smoothing: grayscale;\n cursor: pointer; }\n\n.icon-douban:before {\n content: \"\\e610\"; }\n\n.icon-tumblr:before {\n content: \"\\e69f\";\n font-size: .85em;\n position: relative;\n top: -4px; }\n\n.icon-linkedin:before {\n content: \"\\e60d\";\n position: relative;\n top: -4px; }\n\n.icon-twitter:before {\n content: \"\\e600\"; }\n\n.icon-weibo:before {\n content: \"\\e602\"; }\n\n.icon-stack-overflow:before {\n content: \"\\e603\";\n font-size: .85em;\n position: relative;\n top: -4px; }\n\n.icon-email:before {\n content: \"\\e605\";\n position: relative;\n top: -2px; }\n\n.icon-facebook:before {\n content: \"\\e601\";\n font-size: .95em;\n position: relative;\n top: -2px; }\n\n.icon-github:before {\n content: \"\\e606\";\n position: relative;\n top: -3px; }\n\n.icon-rss:before {\n content: \"\\e604\"; }\n\n.icon-google:before {\n content: \"\\e609\"; }\n\n.icon-zhihu:before {\n content: \"\\e607\";\n font-size: .9em;\n position: relative;\n top: -2px; }\n\n.icon-pocket:before {\n content: \"\\e856\"; }\n\n/* Generic Icon */\n.icon-heart:before {\n content: \"\\e608\"; }\n\n.icon-right:before {\n content: \"\\e60a\"; }\n\n.icon-left:before {\n content: \"\\e60b\"; }\n\n.icon-up:before {\n content: \"\\e60c\"; }\n\n.icon-close:before {\n content: \"\\e60f\"; }\n\n.slideout-menu {\n position: fixed;\n top: 0;\n left: 0px;\n bottom: 0;\n width: 180px;\n min-height: 100vh;\n overflow-y: hidden;\n -webkit-overflow-scrolling: touch;\n z-index: 0;\n display: none; }\n\n.slideout-panel {\n position: relative;\n z-index: 1;\n background-color: #fefefe;\n min-height: 100vh; }\n\n.slideout-open,\n.slideout-open body,\n.slideout-open .slideout-panel {\n overflow: hidden; }\n\n.slideout-open .slideout-menu {\n display: block; }\n\n.mobile-navbar {\n display: none;\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 50px;\n background: #fefefe;\n box-shadow: 0px 2px 2px #cacaca;\n text-align: center;\n transition: transform 300ms ease;\n z-index: 99; }\n .mobile-navbar.fixed-open {\n transform: translate3d(180px, 0px, 0px); }\n .mobile-navbar .mobile-header-logo {\n display: inline-block;\n margin-right: 50px; }\n .mobile-navbar .mobile-header-logo .logo {\n font-size: 22px;\n line-height: 50px;\n font-family: \"Chancery\", cursive, LiSu, sans-serif; }\n .mobile-navbar .mobile-navbar-icon {\n color: #c05b4d;\n height: 50px;\n width: 50px;\n font-size: 24px;\n text-align: center;\n float: left;\n position: relative;\n transition: background 0.5s; }\n\n@keyframes clickfirst {\n 0% {\n transform: translateY(6px) rotate(0deg); }\n 100% {\n transform: translateY(0) rotate(45deg); } }\n\n@keyframes clickmid {\n 0% {\n opacity: 1; }\n 100% {\n opacity: 0; } }\n\n@keyframes clicklast {\n 0% {\n transform: translateY(-6px) rotate(0deg); }\n 100% {\n transform: translateY(0) rotate(-45deg); } }\n\n@keyframes outfirst {\n 0% {\n transform: translateY(0) rotate(-45deg); }\n 100% {\n transform: translateY(-6px) rotate(0deg); } }\n\n@keyframes outmid {\n 0% {\n opacity: 0; }\n 100% {\n opacity: 1; } }\n\n@keyframes outlast {\n 0% {\n transform: translateY(0) rotate(45deg); }\n 100% {\n transform: translateY(6px) rotate(0deg); } }\n .mobile-navbar .mobile-navbar-icon span {\n position: absolute;\n left: calc((100% - 20px) / 2);\n top: calc((100% - 1px) / 2);\n width: 20px;\n height: 1px;\n background-color: #c05b4d; }\n .mobile-navbar .mobile-navbar-icon span:nth-child(1) {\n transform: translateY(6px) rotate(0deg); }\n .mobile-navbar .mobile-navbar-icon span:nth-child(3) {\n transform: translateY(-6px) rotate(0deg); }\n .mobile-navbar .mobile-navbar-icon.icon-click span:nth-child(1) {\n animation-duration: 0.5s;\n animation-fill-mode: both;\n animation-name: clickfirst; }\n .mobile-navbar .mobile-navbar-icon.icon-click span:nth-child(2) {\n animation-duration: 0.2s;\n animation-fill-mode: both;\n animation-name: clickmid; }\n .mobile-navbar .mobile-navbar-icon.icon-click span:nth-child(3) {\n animation-duration: 0.5s;\n animation-fill-mode: both;\n animation-name: clicklast; }\n .mobile-navbar .mobile-navbar-icon.icon-out span:nth-child(1) {\n animation-duration: 0.5s;\n animation-fill-mode: both;\n animation-name: outfirst; }\n .mobile-navbar .mobile-navbar-icon.icon-out span:nth-child(2) {\n animation-duration: 0.2s;\n animation-fill-mode: both;\n animation-name: outmid; }\n .mobile-navbar .mobile-navbar-icon.icon-out span:nth-child(3) {\n animation-duration: 0.5s;\n animation-fill-mode: both;\n animation-name: outlast; }\n\n.mobile-menu {\n background-color: rgba(248, 245, 236, 0.5); }\n .mobile-menu .mobile-menu-list {\n position: relative;\n list-style: none;\n margin-top: 50px;\n padding: 0;\n border-top: 1px solid #f8f5ec; }\n .mobile-menu .mobile-menu-list .mobile-menu-item {\n padding: 10px 30px;\n border-bottom: 1px solid #f8f5ec; }\n .mobile-menu .mobile-menu-list a {\n font-size: 18px;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .mobile-menu .mobile-menu-list a:hover {\n color: #c05b4d; }\n\n@media screen and (max-width: 800px) {\n .mobile-navbar {\n display: block; } }\n\n.back-to-top {\n display: none;\n position: fixed;\n right: 20px;\n bottom: 20px;\n transition-property: transform;\n transition-timing-function: ease-out;\n transition-duration: 0.3s;\n z-index: 10; }\n .back-to-top:hover {\n transform: translateY(-5px); }\n\n@media screen and (max-width: 800px) {\n .back-to-top {\n display: none !important; } }\n\n.not-found {\n text-align: center; }\n .not-found .error-emoji {\n color: #363636;\n font-size: 3rem; }\n .not-found .error-text {\n color: #797979;\n font-size: 1.25rem; }\n .not-found .error-link {\n margin-top: 2rem; }\n .not-found .error-link a {\n color: #c05b4d; }\n\n\n\n// WEBPACK FOOTER //\n// ./css/style.scss","@import '_common/normalize';\r\n\r\nhtml {\r\n font-size: $global-font-size;\r\n box-sizing: border-box;\r\n}\r\n\r\nbody {\r\n padding: 0;\r\n margin: 0;\r\n font-family: $global-font-family;\r\n font-weight: normal;\r\n -webkit-font-smoothing: antialiased;\r\n -moz-osx-font-smoothing: grayscale;\r\n line-height: $global-lineheight;\r\n color: $global-font-color;\r\n background: $global-background;\r\n scroll-behavior: smooth;\r\n border-top: 3px solid $theme-color;\r\n}\r\n\r\n@include max-screen() {\r\n body {\r\n border-top: 0;\r\n }\r\n}\r\n\r\n::selection {\r\n background: $theme-color;\r\n color: #fff; \r\n}\r\n\r\n// ::-webkit-scrollbar {\r\n// width: 8px;\r\n// height: 6px; \r\n// }\r\n\r\n// ::-webkit-scrollbar-thumb {\r\n// background: lighten($theme-color, 10%);\r\n// border-radius: 5px;\r\n// }\r\n\r\n// ::-webkit-scrollbar-track {\r\n// background: rgba(211, 211, 211, 0.4);\r\n// border-radius: 5px;\r\n// }\r\n\r\nimg {\r\n max-width: 100%;\r\n height: auto;\r\n display: inline-block;\r\n vertical-align: middle;\r\n}\r\n\r\na {\r\n color: $global-font-color;\r\n text-decoration: none;\r\n}\r\n\r\n@each $header, $size in $global-headings {\r\n #{$header} {\r\n font-size: $size;\r\n font-family: $global-serif-font-family;\r\n }\r\n}\r\n\r\n.container {\r\n margin: 0 auto;\r\n width: $global-body-width;\r\n}\r\n\r\n@include max-screen() {\r\n .container {\r\n width: 100%;\r\n box-shadow: -1px -5px 5px $gray;\r\n }\r\n}\r\n\r\n.content-wrapper {\r\n padding: $global-container-padding;\r\n}\r\n\r\n// make video fluid:\r\n// https://css-tricks.com/NetMag/FluidWidthVideo/Article-FluidWidthVideo.php\r\n// class video-container is the wrapper used by hexo youtube tag plugin\r\n.video-container {\r\n\tposition: relative;\r\n\tpadding-bottom: 56.25%; /* 16:9 */\r\n\tpadding-top: 25px;\r\n\theight: 0;\r\n}\r\n.video-container iframe {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/css/_base.scss","@mixin clearfix() {\r\n &:before,\r\n &:after {\r\n content: \" \";\r\n display: table;\r\n }\r\n \r\n &:after {\r\n clear: both;\r\n }\r\n}\r\n\r\n@mixin min-screen($min-width: $global-body-width) {\r\n @media screen and (min-width: $min-width) {\r\n @content;\r\n }\r\n}\r\n\r\n@mixin max-screen($max-width: $global-body-width) {\r\n @media screen and (max-width: $max-width) {\r\n @content;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/css/_common/_utils.scss","// ==============================\r\n// Header\r\n// ==============================\r\n\r\n.header {\r\n @include clearfix; \r\n padding: $header-padding;\r\n\r\n @import '_header/logo';\r\n @import '_header/menu';\r\n}\r\n\r\n\r\n@include max-screen() {\r\n .header {\r\n padding: 50px 0 0;\r\n text-align: center;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/css/_partial/_header.scss","// ==============================\r\n// Logo\r\n// =============================\r\n\r\n.logo-wrapper {\r\n float: left;\r\n\r\n .logo {\r\n font-size: $logo-font-size;\r\n font-family: $logo-font-family;\r\n }\r\n}\r\n\r\n@include max-screen() {\r\n .logo-wrapper {\r\n display: none;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/css/_partial/_header/_logo.scss","// ==============================\r\n// Menu\r\n// =============================\r\n\r\n.site-navbar {\r\n float: right;\r\n\r\n .menu {\r\n display: inline-block;\r\n position: relative;\r\n padding-left: 0;\r\n padding-right: 25px;\r\n font-family: $global-serif-font-family;\r\n\r\n .menu-item {\r\n display: inline-block;\r\n\r\n & + .menu-item {\r\n margin-left: $menu-item-margin-left;;\r\n }\r\n\r\n @include underline-from-center;\r\n }\r\n\r\n .menu-item-link {\r\n font-size: $menu-link-font-size;\r\n }\r\n }\r\n}\r\n\r\n@include max-screen() {\r\n .site-navbar {\r\n display: none;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/css/_partial/_header/_menu.scss","@mixin underline-from-center() {\r\n display: inline-block;\r\n vertical-align: middle;\r\n transform: translateZ(0);\r\n backface-visibility: hidden;\r\n box-shadow: 0 0 1px transparent;\r\n position: relative;\r\n overflow: hidden;\r\n\r\n &:before {\r\n content: '';\r\n position: absolute;\r\n z-index: -1;\r\n height: 2px;\r\n bottom: 0;\r\n left: 51%;\r\n right: 51%;\r\n background: $theme-color;\r\n transition-duration: 0.2s;\r\n transition-property: right, left;\r\n transition-timing-function: ease-out;\r\n }\r\n\r\n &.active,\r\n &:active,\r\n &:focus,\r\n &:hover {\r\n &:before {\r\n right: 0;\r\n left: 0;\r\n }\r\n }\r\n}\r\n\r\n@mixin mobile-menu-icon() {\r\n @keyframes clickfirst {\r\n 0% {\r\n transform: translateY(6px) rotate(0deg);\r\n \r\n }\r\n\r\n 100% {\r\n transform: translateY(0) rotate(45deg);\r\n }\r\n }\t\r\n\r\n @keyframes clickmid {\r\n 0% {\r\n opacity: 1;\r\n }\r\n\r\n 100% {\r\n opacity: 0;\r\n }\r\n }\r\n\r\n @keyframes clicklast {\r\n 0% {\r\n transform: translateY(-6px) rotate(0deg);\r\n }\r\n\r\n 100% {\r\n transform: translateY(0) rotate(-45deg);\r\n }\r\n }\r\n \r\n @keyframes outfirst {\r\n 0% {\r\n transform: translateY(0) rotate(-45deg);\r\n }\r\n\r\n 100% {\r\n transform: translateY(-6px) rotate(0deg);\r\n }\r\n }\t\r\n\r\n @keyframes outmid {\r\n 0% {\r\n opacity: 0;\r\n }\r\n\r\n 100% {\r\n opacity: 1;\r\n }\r\n }\r\n\r\n @keyframes outlast {\r\n 0% {\r\n transform: translateY(0) rotate(45deg);\r\n }\r\n\r\n 100% {\r\n transform: translateY(6px) rotate(0deg);\r\n }\r\n }\r\n\r\n span {\r\n position: absolute;\r\n left: calc((100% - 20px) / 2);\r\n top: calc((100% - 1px) / 2);\r\n width: 20px;\r\n height: 1px;\r\n background-color: $theme-color;\r\n \r\n &:nth-child(1) {\r\n transform: translateY(6px) rotate(0deg);\r\n }\r\n\r\n &:nth-child(3) {\r\n transform: translateY(-6px) rotate(0deg);\r\n }\r\n }\r\n\r\n &.icon-click {\r\n span:nth-child(1) {\r\n animation-duration: 0.5s;\r\n animation-fill-mode: both;\r\n animation-name: clickfirst;\r\n }\r\n\r\n span:nth-child(2) {\r\n animation-duration: 0.2s;\r\n animation-fill-mode: both;\r\n animation-name: clickmid;\r\n }\r\n\r\n span:nth-child(3) {\r\n animation-duration: 0.5s;\r\n animation-fill-mode: both;\r\n animation-name: clicklast;\r\n }\r\n }\r\n\r\n &.icon-out {\r\n span:nth-child(1) {\r\n animation-duration: 0.5s;\r\n animation-fill-mode: both;\r\n animation-name: outfirst;\r\n }\r\n\r\n span:nth-child(2) {\r\n animation-duration: 0.2s;\r\n animation-fill-mode: both;\r\n animation-name: outmid;\r\n }\r\n\r\n span:nth-child(3) {\r\n animation-duration: 0.5s;\r\n animation-fill-mode: both;\r\n animation-name: outlast;\r\n }\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/css/_common/_animation.scss","// ==============================\r\n// Post\r\n// ==============================\r\n\r\n.posts {\r\n margin-bottom: $post-list-margin-bottom;\r\n border-bottom: $post-border;\r\n}\r\n\r\n.post {\r\n padding: $post-padding;\r\n \r\n & + .post {\r\n border-top: $post-border;\r\n }\r\n\r\n @import '_post/header';\r\n @import '_post/toc';\r\n @import '_post/content';\r\n @import '_post/copyright';\r\n @import '_post/reward';\r\n @import '_post/footer';\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/css/_partial/_post.scss",".post-header {\r\n margin-bottom: 20px;\r\n\r\n .post-title {\r\n margin: 0;\r\n font-size: $post-title-font-size;\r\n font-weight: $post-title-font-weight;\r\n font-family: $global-serif-font-family;\r\n }\r\n\r\n .post-link {\r\n @include underline-from-center;\r\n }\r\n\r\n .post-meta {\r\n .post-time {\r\n font-size: 15px;\r\n color: $post-time-font-color;\r\n }\r\n\r\n .post-category {\r\n display: inline;\r\n font-size: 14px;\r\n color: $post-category-font-color;\r\n\r\n &::before {\r\n content: '·';\r\n }\r\n\r\n a {\r\n color: inherit;\r\n\r\n &:hover {\r\n color: $theme-color;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/css/_partial/_post/_header.scss",".post-toc {\r\n position: absolute;\r\n width: $post-toc-width;\r\n margin-left: $post-toc-margin-left;\r\n padding: 10px;\r\n font-family: $global-serif-font-family;\r\n border-radius: 5px;\r\n background: $post-toc-backgroud;\r\n box-shadow: 1px 1px 2px rgba(0,0,0,0.125);\r\n word-wrap: break-word;\r\n box-sizing: border-box;\r\n\r\n .post-toc-title {\r\n margin: 0 10px;\r\n font-size: $post-toc-title-size;\r\n font-weight: 400;\r\n text-transform: uppercase;\r\n }\r\n\r\n .post-toc-content {\r\n font-size: $post-toc-content;\r\n\r\n >nav>ul {\r\n margin: 10px 0;\r\n }\r\n\r\n ul {\r\n padding-left: 20px;\r\n list-style: $post-toc-list-style;\r\n \r\n ul {\r\n padding-left: 15px;\r\n }\r\n }\r\n\r\n .toc-link.active {\r\n color: $theme-color;\r\n }\r\n }\r\n}\r\n\r\n@include max-screen($toc-max-sreen-width) {\r\n .post-toc {\r\n display: none;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/css/_partial/_post/_toc.scss","// ==============================\r\n// Post content\r\n// ==============================\r\n\r\n.post-content {\r\n word-wrap: break-word;\r\n\r\n @for $i from 1 through 6 {\r\n h#{$i} {\r\n font-weight: 400;\r\n font-family: $global-serif-font-family;\r\n }\r\n }\r\n\r\n a {\r\n color: $theme-color;\r\n word-break: break-all;\r\n\r\n &:hover {\r\n border-bottom: $content-link-border;\r\n }\r\n\r\n &.fancybox {\r\n border: 0;\r\n }\r\n }\r\n\r\n blockquote {\r\n margin: 2em 0;\r\n padding: 10px 20px;\r\n position: relative;\r\n color: rgba(#34495e, 0.8);\r\n background-color: $content-blockquote-backgroud;\r\n border-left: $content-blockquote-border-left;\r\n box-shadow: 1px 1px 2px rgba(0,0,0,0.125);\r\n\r\n p {\r\n margin: 0;\r\n }\r\n }\r\n\r\n img {\r\n display: inline-block;\r\n max-width: 100%;\r\n }\r\n\r\n > table {\r\n max-width: 100%;\r\n margin: 10px 0;\r\n border-spacing: 0;\r\n box-shadow: 2px 2px 3px rgba(0,0,0,.125);\r\n \r\n th, td {\r\n padding: 5px 15px;\r\n border: 1px double $content-table-border-color;\r\n }\r\n }\r\n\r\n @import 'code';\r\n\r\n .read-more {\r\n .read-more-link {\r\n color: $theme-color;\r\n font-size: 1.1em;\r\n font-family: $global-serif-font-family;\r\n \r\n &:hover {\r\n border-bottom: $post-readMore-border-bottom;\r\n }\r\n }\r\n }\r\n\r\n kbd {\r\n display: inline-block;\r\n padding: 0.25em;\r\n background-color: #fafafa;\r\n border: 1px solid #dbdbdb;\r\n border-bottom-color: #b5b5b5;\r\n border-radius: 3px;\r\n box-shadow: inset 0 -1px 0 #b5b5b5;\r\n font-size: 0.8em;\r\n line-height: 1.25;\r\n font-family: \"SFMono-Regular\",\"Liberation Mono\",\"Roboto Mono\",Menlo,Monaco,Consolas,\"Courier New\",Courier,monospace;\r\n color: #4a4a4a;\r\n }\r\n\r\n dl dt::after {\r\n content: ':';\r\n }\r\n\r\n figure figcaption h4 {\r\n color: #b5b5b5;\r\n font-size: 0.9rem;\r\n text-align: center;\r\n }\r\n\r\n .task-list {\r\n list-style: none;\r\n padding-left: 1.5rem;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/css/_partial/_post/_content.scss","code, pre {\r\n padding: 7px;\r\n font-size: $code-font-size;\r\n font-family: $code-font-family;\r\n background: $code-background;\r\n}\r\n\r\ncode {\r\n padding: 3px 5px;\r\n border-radius: 4px;\r\n color: $code-color;\r\n}\r\n\r\n.highlight {\r\n margin: 1em 0;\r\n border-radius: 5px;\r\n overflow-x: auto;\r\n box-shadow: 1px 1px 2px rgba(0,0,0,0.125);\r\n position: relative;\r\n\r\n table {\r\n position: relative;\r\n\r\n &::after {\r\n position: absolute;\r\n top: 0;\r\n right: 0;\r\n left: 0;\r\n padding: 2px 7px;\r\n font-size: $code-font-size;\r\n font-weight: bold;\r\n color: darken($gray, 10%);\r\n background: darken($code-background, 3%);\r\n content: 'Code';\r\n }\r\n }\r\n\r\n @each $sign, $text in $code-type-list {\r\n &.#{$sign} > table::after {\r\n content: $text;\r\n }\r\n\r\n &.#{$sign} > figcaption > span::after {\r\n content: ' · ' + $text;\r\n }\r\n\r\n &.#{$sign} figcaption + table {\r\n &::after {\r\n display: none;\r\n }\r\n }\r\n }\r\n\r\n figcaption {\r\n position: absolute;\r\n top: 0;\r\n width: 100%;\r\n padding: 2px 7px;\r\n font-size: $code-font-size;\r\n font-weight: bold;\r\n color: darken($gray, 10%);\r\n background: darken($code-background, 3%);\r\n z-index: 20;\r\n overflow-x: hidden;\r\n box-sizing: border-box;\r\n\r\n & > a {\r\n position: absolute;\r\n right: 0;\r\n display: inline-box;\r\n margin-right: 7px;\r\n font-weight: 400;\r\n\r\n &:hover {\r\n text-decoration: none;\r\n border: 0;\r\n }\r\n }\r\n }\r\n\r\n .code {\r\n pre {\r\n margin: 0;\r\n padding: 30px 10px 10px;\r\n }\r\n }\r\n\r\n .gutter {\r\n width: 10px;\r\n color: $gray;\r\n\r\n pre {\r\n margin: 0;\r\n padding: 30px 7px 10px;\r\n }\r\n }\r\n\r\n .line {\r\n // Fix code block null line height and\r\n // Synchronous gutter and code line highly.\r\n height: round($code-font-size * 1.5);\r\n }\r\n\r\n table, tr, td {\r\n margin: 0;\r\n padding: 0;\r\n width: 100%;\r\n border-collapse: collapse;\r\n }\r\n\r\n .code {\r\n .hljs-comment,\r\n .hljs-quote {\r\n color: map-get($code-highlight-color, comment);\r\n }\r\n\r\n .hljs-keyword,\r\n .hljs-selector-tag,\r\n .hljs-addition {\r\n color: map-get($code-highlight-color, keyword);\r\n }\r\n\r\n .hljs-number,\r\n .hljs-string,\r\n .hljs-meta .hljs-meta-string,\r\n .hljs-literal,\r\n .hljs-doctag,\r\n .hljs-regexp {\r\n color: map-get($code-highlight-color, number);\r\n }\r\n\r\n .hljs-title,\r\n .hljs-section,\r\n .hljs-name,\r\n .hljs-selector-id,\r\n .hljs-selector-class {\r\n color: map-get($code-highlight-color, title);\r\n }\r\n\r\n .hljs-attribute,\r\n .hljs-attr,\r\n .hljs-variable,\r\n .hljs-template-variable,\r\n .hljs-class .hljs-title,\r\n .hljs-type {\r\n color: map-get($code-highlight-color, attribute);\r\n }\r\n\r\n .hljs-symbol,\r\n .hljs-bullet,\r\n .hljs-subst,\r\n .hljs-meta,\r\n .hljs-meta .hljs-keyword,\r\n .hljs-selector-attr,\r\n .hljs-selector-pseudo,\r\n .hljs-link {\r\n color: map-get($code-highlight-color, symbol);\r\n }\r\n\r\n .hljs-built_in,\r\n .hljs-deletion {\r\n color: map-get($code-highlight-color, built_in);\r\n }\r\n\r\n .hljs-formula {\r\n background: map-get($code-highlight-color, formula);\r\n }\r\n \r\n .hljs-emphasis {\r\n font-style: italic;\r\n }\r\n \r\n .hljs-strong {\r\n font-weight: bold;\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/css/_partial/_post/_code.scss",".post-copyright {\r\n margin-top: 20px;\r\n padding-top: 10px;\r\n border-top: 1px dashed $light-gray;\r\n\r\n .copyright-item {\r\n margin: 5px 0;\r\n \r\n &.license {\r\n font-weight: bold;\r\n }\r\n\r\n a {\r\n text-decoration: underline;\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/css/_partial/_post/_copyright.scss",".post-reward {\r\n margin-top: 20px;\r\n padding-top: 10px;\r\n text-align: center;\r\n border-top: 1px dashed $light-gray;\r\n\r\n .reward-button {\r\n margin: 15px 0;\r\n padding: 3px 7px;\r\n display: inline-block;\r\n color: $theme-color;\r\n border: 1px solid $theme-color;\r\n border-radius: 5px;\r\n cursor: pointer;\r\n\r\n &:hover {\r\n color: $white;\r\n background-color: $theme-color;\r\n transition: 0.5s;\r\n }\r\n }\r\n\r\n #reward:checked {\r\n & ~ .qr-code {\r\n display: block;\r\n }\r\n\r\n & ~ .reward-button {\r\n display: none;\r\n }\r\n }\r\n\r\n .qr-code {\r\n display: none;\r\n margin-top: 15px;\r\n\r\n .qr-code-image {\r\n display: inline-block;\r\n min-width: 200px;\r\n width: 40%;\r\n }\r\n\r\n .image {\r\n width: 200px;\r\n height: 200px;\r\n }\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/css/_partial/_post/_reward.scss","// ==============================\r\n// Post footer\r\n// ==============================\r\n\r\n.post-footer {\r\n margin-top: $post-footer-margin-top;\r\n border-top: $post-footer-border-top;\r\n font-family: $global-serif-font-family;\r\n\r\n .post-tags {\r\n padding: $post-tags-padding;\r\n\r\n a {\r\n margin-right: 5px;\r\n color: $theme-color;\r\n word-break: break-all;\r\n\r\n &::before {\r\n content: '#';\r\n }\r\n }\r\n }\r\n\r\n .post-nav {\r\n margin: 1em 0;\r\n @include clearfix;\r\n\r\n .prev,\r\n .next {\r\n font-weight: 600;\r\n font-size: $post-nav-font-size;\r\n font-family: $global-serif-font-family;\r\n transition-property: transform;\r\n transition-timing-function: ease-out;\r\n transition-duration: 0.3s;\r\n }\r\n\r\n .prev {\r\n float: left;\r\n\r\n &:hover {\r\n color: $theme-color;\r\n transform: translateX(-4px); \r\n }\r\n }\r\n\r\n .next {\r\n float: right;\r\n\r\n &:hover {\r\n color: $theme-color;\r\n transform: translateX(4px); \r\n }\r\n }\r\n\r\n .nav-mobile {\r\n display: none;\r\n }\r\n }\r\n}\r\n\r\n@include max-screen() {\r\n .post-footer {\r\n .post-nav {\r\n .nav-default {\r\n display: none;\r\n }\r\n\r\n .nav-mobile {\r\n display: inline;\r\n }\r\n }\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/css/_partial/_post/_footer.scss","// ==============================\r\n// Pagination\r\n// ==============================\r\n\r\n.pagination {\r\n margin: $pagination-margin;\r\n @include clearfix;\r\n\r\n .prev,\r\n .next {\r\n font-weight: 600;\r\n font-size: $pagination-font-size;\r\n font-family: $global-serif-font-family;\r\n transition-property: transform;\r\n transition-timing-function: ease-out;\r\n transition-duration: 0.3s;\r\n }\r\n\r\n .prev {\r\n float: left;\r\n\r\n &:hover {\r\n color: $theme-color;\r\n transform: translateX(-4px); \r\n }\r\n }\r\n\r\n .next {\r\n float: right;\r\n\r\n &:hover {\r\n color: $theme-color;\r\n transform: translateX(4px); \r\n }\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/css/_partial/_pagination.scss","// ==============================\r\n// Post footer\r\n// =============================\r\n\r\n.footer {\r\n margin-top: $footer-margin-top;\r\n\r\n @import \"_footer/social\";\r\n @import \"_footer/copyright\";\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/css/_partial/_footer.scss","// ==============================\r\n// Social\r\n// =============================\r\n\r\n.social-links {\r\n text-align: center;\r\n\r\n .iconfont {\r\n font-size: $social-icon-font-size;\r\n\r\n & + .iconfont {\r\n margin-left: $social-link-margin-left;\r\n } \r\n\r\n &:hover {\r\n color: $theme-color;\r\n }\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/css/_partial/_footer/_social.scss","// ==============================\r\n// Copyright\r\n// =============================\r\n\r\n.copyright {\r\n margin: $copyright-margin;\r\n color: $dark-gray;\r\n text-align: center;\r\n font-family: $global-serif-font-family;\r\n\r\n .hexo-link,\r\n .theme-link {\r\n color: $theme-color;\r\n }\r\n\r\n .copyright-year {\r\n display: block;\r\n\r\n .heart {\r\n font-size: 14px;\r\n }\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/css/_partial/_footer/_copyright.scss","// ==============================\r\n// Archive\r\n// =============================\r\n\r\n.archive {\r\n margin: $archive-margin;\r\n max-width: $archive-max-width;\r\n\r\n .archive-title {\r\n font-family: $global-serif-font-family;\r\n\r\n &.tag,\r\n &.category {\r\n margin: 15px 0;\r\n }\r\n\r\n .archive-name {\r\n margin: 0;\r\n display: inline-block;\r\n font-weight: 400;\r\n font-size: $archive-name-font-size;\r\n line-height: $archive-name-font-size + 2px;\r\n }\r\n\r\n .archive-post-counter {\r\n display: none;\r\n color: $dark-gray;\r\n }\r\n }\r\n\r\n .collection-title {\r\n font-family: $global-serif-font-family;\r\n \r\n .archive-year {\r\n margin: 15px 0;\r\n font-weight: 400;\r\n font-size: $collection-title-font-size;\r\n line-height: $collection-title-font-size + 2px;\r\n }\r\n }\r\n\r\n .archive-post {\r\n padding: $archive-post-padding;\r\n border-left: $archive-post-border-left;\r\n\r\n .archive-post-time {\r\n margin-right: 10px;\r\n color: $dark-gray;\r\n }\r\n\r\n .archive-post-title {\r\n \r\n .archive-post-link {\r\n color: $theme-color;\r\n }\r\n }\r\n\r\n &::first-child {\r\n margin-top: 10px;\r\n }\r\n\r\n &:hover {\r\n border-left: $archive-post-hover-border-left;\r\n transition: $archive-post-hover-transition;\r\n transform: $archive-post-hover-transform;\r\n\r\n .archive-post-time {\r\n color: darken($dark-gray, 10%);\r\n }\r\n\r\n .archive-post-title .archive-post-link {\r\n color: darken($theme-color, 10%);\r\n }\r\n }\r\n }\r\n}\r\n\r\n@include max-screen() {\r\n .archive {\r\n margin-left: auto;\r\n margin-right: auto;\r\n\r\n .archive-title .archive-name {\r\n font-size: $archive-name-font-size - 4px;\r\n }\r\n\r\n .collection-title .archive-year {\r\n margin: 10px 0;\r\n font-size: $collection-title-font-size - 4px;\r\n }\r\n\r\n .archive-post {\r\n padding: $archive-post-mobile-padding;\r\n\r\n .archive-post-time {\r\n font-size: $archive-post-mobile-time-font-size;\r\n display: block;\r\n }\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/css/_partial/_archive.scss","// ==============================\r\n// Tags\r\n// =============================\r\n\r\n.tag-cloud {\r\n margin: 2em 0 3em;\r\n text-align: center;\r\n font-family: $global-serif-font-family;\r\n\r\n .tag-cloud-title {\r\n display: inline-block;\r\n font-size: $tag-cloud-title-size;\r\n color: $theme-color;\r\n border-bottom: $tag-cloud-title-border-bottom;\r\n }\r\n\r\n .tag-cloud-tags {\r\n margin: 10px 0;\r\n\r\n a {\r\n display: inline-block;\r\n position: relative;\r\n margin: $tag-cloud-tags-link-margin;\r\n word-wrap: break-word;\r\n transition-duration: 0.2s;\r\n transition-property: transform;\r\n transition-timing-function: ease-out;\r\n\r\n .tag-count {\r\n display: inline-block;\r\n position: relative;\r\n top: -8px;\r\n right: -2px;\r\n color: $theme-color;\r\n font-size: $category-count-font-size;\r\n }\r\n\r\n &:active,\r\n &:focus,\r\n &:hover {\r\n color: $theme-color;\r\n transform: scale(1.1);\r\n }\r\n }\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/css/_partial/_tags.scss","\r\n.categories {\r\n margin: 2em 0 3em;\r\n text-align: center;\r\n font-family: $global-serif-font-family;\r\n\r\n .categories-title {\r\n display: inline-block;\r\n font-size: $categories-title-size;\r\n color: $theme-color;\r\n border-bottom: $categories-title-border-bottom;\r\n }\r\n\r\n .categories-tags {\r\n margin: 10px 0;\r\n\r\n .category-link {\r\n display: inline-block;\r\n position: relative;\r\n margin: $categories-tags-link-margin;\r\n word-wrap: break-word;\r\n transition-duration: 0.2s;\r\n transition-property: transform;\r\n transition-timing-function: ease-out;\r\n\r\n .category-count {\r\n display: inline-block;\r\n position: relative;\r\n top: -8px;\r\n right: -2px;\r\n color: $theme-color;\r\n font-size: $category-count-font-size;\r\n }\r\n\r\n &:active,\r\n &:focus,\r\n &:hover {\r\n color: $theme-color;\r\n transform: scale(1.1);\r\n }\r\n }\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/css/_partial/_categories.scss","// ==============================\r\n// Iconfont\r\n// ==============================\r\n\r\n@font-face {\r\n font-family: 'iconfont'; /* project id 96542 */\r\n src: url('//at.alicdn.com/t/font_96542_d5q5xyswt0kq33di.eot');\r\n src: url('//at.alicdn.com/t/font_96542_d5q5xyswt0kq33di.eot?#iefix') format('embedded-opentype'),\r\n url('//at.alicdn.com/t/font_96542_d5q5xyswt0kq33di.woff') format('woff'),\r\n url('//at.alicdn.com/t/font_96542_d5q5xyswt0kq33di.ttf') format('truetype'),\r\n url('//at.alicdn.com/t/font_96542_d5q5xyswt0kq33di.svg#iconfont') format('svg');\r\n}\r\n\r\n.iconfont {\r\n font-family: \"iconfont\" !important;\r\n font-style: normal;\r\n -webkit-font-smoothing: antialiased;\r\n -webkit-text-stroke-width: 0.2px;\r\n -moz-osx-font-smoothing: grayscale;\r\n cursor: pointer;\r\n}\r\n\r\n.icon-douban:before {\r\n content: \"\\e610\";\r\n}\r\n.icon-tumblr:before {\r\n content: \"\\e69f\";\r\n font-size: .85em;\r\n position: relative;\r\n top: -4px;\r\n}\r\n.icon-linkedin:before {\r\n content: \"\\e60d\";\r\n position: relative;\r\n top: -4px;\r\n}\r\n.icon-twitter:before {\r\n content: \"\\e600\";\r\n}\r\n.icon-weibo:before {\r\n content: \"\\e602\";\r\n}\r\n.icon-stack-overflow:before {\r\n content: \"\\e603\";\r\n font-size: .85em;\r\n position: relative;\r\n top: -4px;\r\n}\r\n.icon-email:before {\r\n content: \"\\e605\";\r\n position: relative;\r\n top: -2px;\r\n}\r\n.icon-facebook:before {\r\n content: \"\\e601\";\r\n font-size: .95em;\r\n position: relative;\r\n top: -2px;\r\n}\r\n.icon-github:before {\r\n content: \"\\e606\";\r\n position: relative;\r\n top: -3px;\r\n}\r\n.icon-rss:before {\r\n content: \"\\e604\";\r\n}\r\n.icon-google:before {\r\n content: \"\\e609\";\r\n}\r\n.icon-zhihu:before {\r\n content: \"\\e607\";\r\n font-size: .9em;\r\n position: relative;\r\n top: -2px;\r\n}\r\n.icon-pocket:before {\r\n content: \"\\e856\";\r\n}\r\n\r\n/* Generic Icon */\r\n.icon-heart:before {\r\n content: \"\\e608\"; \r\n}\r\n.icon-right:before { \r\n content: \"\\e60a\";\r\n}\r\n.icon-left:before {\r\n content: \"\\e60b\"; \r\n}\r\n.icon-up:before {\r\n content: \"\\e60c\";\r\n}\r\n.icon-close:before {\r\n content: \"\\e60f\";\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/css/_partial/_iconfont.scss","// ==============================\r\n// slideout (https://github.com/mango/slideout)\r\n// ==============================\r\n\r\n.slideout-menu {\r\n position: fixed;\r\n top: 0;\r\n left: 0px;\r\n bottom: 0;\r\n width: 180px;\r\n min-height: 100vh;\r\n overflow-y: hidden;\r\n -webkit-overflow-scrolling: touch;\r\n z-index: 0;\r\n display: none;\r\n}\r\n\r\n.slideout-panel {\r\n position: relative;\r\n z-index: 1;\r\n background-color: $white;\r\n min-height: 100vh;\r\n}\r\n\r\n.slideout-open,\r\n.slideout-open body,\r\n.slideout-open .slideout-panel {\r\n overflow: hidden;\r\n}\r\n\r\n.slideout-open .slideout-menu {\r\n display: block;\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/css/_partial/_slideout.scss","// ==============================\r\n// Mobile Navbar\r\n// ==============================\r\n\r\n.mobile-navbar {\r\n display: none;\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: $mobile-navbar-height;\r\n background: $white;\r\n box-shadow: 0px 2px 2px $gray;\r\n text-align: center;\r\n transition: transform 300ms ease;\r\n z-index: 99;\r\n\r\n &.fixed-open {\r\n transform: translate3d(180px, 0px, 0px);\r\n }\r\n\r\n .mobile-header-logo {\r\n display: inline-block;\r\n margin-right: 50px;\r\n\r\n .logo {\r\n font-size: 22px;\r\n line-height: $mobile-navbar-height;\r\n font-family: $logo-font-family;\r\n }\r\n }\r\n\r\n .mobile-navbar-icon {\r\n color: $theme-color;\r\n height: $mobile-navbar-height;\r\n width: $mobile-navbar-height;\r\n font-size: 24px;\r\n text-align: center;\r\n float: left;\r\n position: relative;\r\n transition: background 0.5s;\r\n\r\n @include mobile-menu-icon();\r\n }\r\n}\r\n\r\n.mobile-menu {\r\n background-color: rgba($deputy-color, 0.5);\r\n\r\n .mobile-menu-list {\r\n position: relative;\r\n list-style: none;\r\n margin-top: 50px;\r\n padding: 0;\r\n border-top: 1px solid $deputy-color;\r\n\r\n .mobile-menu-item {\r\n padding: 10px 30px;\r\n border-bottom: 1px solid $deputy-color;\r\n }\r\n\r\n a {\r\n font-size: 18px;\r\n font-family: $global-serif-font-family;\r\n\r\n &:hover {\r\n color: $theme-color;\r\n }\r\n }\r\n }\r\n}\r\n\r\n@include max-screen() {\r\n .mobile-navbar {\r\n display: block;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/css/_partial/_mobile.scss","// ==============================\r\n// Back to top\r\n// =============================\r\n\r\n.back-to-top {\r\n display: none;\r\n position: fixed;\r\n right: 20px;\r\n bottom: 20px;\r\n transition-property: transform;\r\n transition-timing-function: ease-out;\r\n transition-duration: 0.3s;\r\n z-index: 10;\r\n\r\n &:hover {\r\n transform: translateY(-5px); \r\n }\r\n}\r\n\r\n@include max-screen() {\r\n .back-to-top {\r\n display: none !important;\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/css/_partial/_back-to-top.scss","// ==============================\r\n// Archive\r\n// =============================\r\n\r\n.not-found {\r\n text-align: center;\r\n\r\n .error-emoji {\r\n color: #363636;\r\n font-size: 3rem;\r\n }\r\n\r\n .error-text {\r\n color: #797979;\r\n font-size: 1.25rem;\r\n }\r\n\r\n .error-link {\r\n margin-top: 2rem;\r\n\r\n a {\r\n color: $theme-color;\r\n }\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/css/_partial/_404.scss"],"sourceRoot":""}
\ No newline at end of file diff --git a/static/dist/even.v2.5.0.js b/static/dist/even.min.js index 279f233..eb4f5c9 100644 --- a/static/dist/even.v2.5.0.js +++ b/static/dist/even.min.js @@ -1,2 +1,2 @@ !function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){"use strict";var o=n(1);n(2),hljs.initHighlighting(),o.Even.highlight(),$(document).ready(function(){o.Even.backToTop(),o.Even.mobileNavbar(),o.Even.beforeToc(),o.Even.toc(),o.Even.fancybox()})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={};o.backToTop=function(){var e=$("#back-to-top");$(window).scroll(function(){$(window).scrollTop()>100?e.fadeIn(1e3):e.fadeOut(1e3)}),e.click(function(){$("body,html").animate({scrollTop:0})})},o.mobileNavbar=function(){var e=$("#mobile-navbar"),t=$(".mobile-navbar-icon"),n=new Slideout({panel:document.getElementById("mobile-panel"),menu:document.getElementById("mobile-menu"),padding:180,tolerance:70});n.disableTouch(),t.click(function(){n.toggle()}),n.on("beforeopen",function(){e.addClass("fixed-open"),t.addClass("icon-click").removeClass("icon-out")}),n.on("beforeclose",function(){e.removeClass("fixed-open"),t.addClass("icon-out").removeClass("icon-click")}),$("#mobile-panel").on("touchend",function(){n.isOpen()&&t.click()})},o.toc=function(){var e=$(".post-toc"),t=$(".post-footer");if(e.length){var n=e.offset().top-20,o=t.offset().top-e.height()-20,r={start:{position:"absolute",top:n},process:{position:"fixed",top:20},end:{position:"absolute",top:o}};$(window).scroll(function(){var t=$(window).scrollTop();t<n?e.css(r.start):t>o?e.css(r.end):e.css(r.process)})}var i=$(".toc-link"),l=$(".headerlink"),a=$.map(l,function(e){return $(e).offset().top});$(window).scroll(function(){for(var e=$(window).scrollTop(),t=0;t<i.length;t++){var n=t+1===i.length,o=a[t]-30,r=n?1/0:a[t+1]-30;o<e&&e<=r?$(i[t]).addClass("active"):$(i[t]).removeClass("active")}})},o.fancybox=function(){$.fancybox&&($(".post").each(function(){$(this).find("img").each(function(){$(this).wrap('<a class="fancybox" href="'+this.src+'" title="'+this.alt+'"></a>')})}),$(".fancybox").fancybox({openEffect:"elastic",closeEffect:"elastic"}))},o.highlight=function(){var e=document.querySelectorAll("pre code"),t=!0,n=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){for(var l=r.value,a=l.classList,c=l.parentElement,s=l.innerHTML.split(/\n/).slice(0,-1),f=s.length,u="",d=0;d<f;d++)u+='<div class="line">'+(d+1)+"</div>";var v="",p=!0,h=!1,b=void 0;try{for(var y,m=s[Symbol.iterator]();!(p=(y=m.next()).done);p=!0){v+='<div class="line">'+y.value+"</div>"}}catch(e){h=!0,b=e}finally{try{!p&&m.return&&m.return()}finally{if(h)throw b}}a.add("highlight");var g=document.createElement("figure");g.classList=a,g.innerHTML='<table><tbody><tr><td class="gutter"><pre>'+u+'</pre></td><td class="code"><pre>'+v+"</pre></td></tr></tbody></table>",c.parentElement.replaceChild(g,c)}}catch(e){n=!0,o=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw o}}},o.beforeToc=function(){var e=document.querySelectorAll("#TableOfContents a"),t=!0,n=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){r.value.classList.add("toc-link")}}catch(e){n=!0,o=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw o}}for(var l=[1,2,3,4,5,6],a=0;a<l.length;a++){var c=l[a],s=document.querySelectorAll(".post-content>h"+c),f=!0,u=!1,d=void 0;try{for(var v,p=s[Symbol.iterator]();!(f=(v=p.next()).done);f=!0){var h=v.value;h.innerHTML='<a href="#'+h.id+'" class="headerlink" title="'+h.innerHTML+'"></a>'+h.innerHTML}}catch(e){u=!0,d=e}finally{try{!f&&p.return&&p.return()}finally{if(u)throw d}}}},t.Even=o},function(e,t){}]); -//# sourceMappingURL=even.v2.5.0.js.map
\ No newline at end of file +//# sourceMappingURL=even.min.js.map
\ No newline at end of file diff --git a/static/dist/even.min.js.map b/static/dist/even.min.js.map new file mode 100644 index 0000000..e994f5a --- /dev/null +++ b/static/dist/even.min.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///even.min.js","webpack:///webpack/bootstrap 964e2c71d55e8307b161","webpack:///./js/main.js","webpack:///./js/even.js"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","_even","hljs","initHighlighting","Even","highlight","$","document","ready","backToTop","mobileNavbar","beforeToc","toc","fancybox","value","$backToTop","window","scroll","scrollTop","fadeIn","fadeOut","click","animate","$mobileNav","$mobileNavIcon","slideout","Slideout","panel","getElementById","menu","padding","tolerance","disableTouch","toggle","on","addClass","removeClass","isOpen","$toc","$footer","length","minScrollTop","offset","top","maxScrollTop","height","tocState","start","position","process","end","css","$toclink","$headerlink","headerlinkTop","map","link","isLastOne","currentTop","nextTop","Infinity","each","this","find","wrap","src","alt","openEffect","closeEffect","blocks","querySelectorAll","_iteratorNormalCompletion","_didIteratorError","_iteratorError","undefined","_step","_iterator","Symbol","iterator","next","done","block","classList","rootElement","parentElement","lineCodes","innerHTML","split","slice","lineLength","codeLineHtml","codeHtml","_iteratorNormalCompletion2","_didIteratorError2","_iteratorError2","_step2","_iterator2","err","return","add","figure","createElement","replaceChild","links","_iteratorNormalCompletion3","_didIteratorError3","_iteratorError3","_step3","_iterator3","_arr","_i","num","headers","_iteratorNormalCompletion4","_didIteratorError4","_iteratorError4","_step4","_iterator4","header","id"],"mappings":"CAAS,SAAUA,GCInB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAI,EAAAJ,EACAK,GAAA,EACAH,WAUA,OANAJ,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,GAGAI,EAAAE,GAAA,EAGAF,EAAAD,QAvBA,GAAAD,K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,EAAAsB,SAAA,WAAA1B,EAAA,KAAAC,MA2B7BrE,EAAKO,UAAY,WACf,GAAM4F,GAAQhG,SAAS+D,iBAAiB,sBADbkC,GAAA,EAAAC,GAAA,EAAAC,MAAAhC,EAAA,KAE3B,OAAAiC,GAAAC,EAAmBL,EAAnB1B,OAAAC,cAAA0B,GAAAG,EAAAC,EAAA7B,QAAAC,MAAAwB,GAAA,GAAAG,EAAA7F,MAA+BoE,UAAUiB,IAAI,aAFlB,MAAAF,GAAAQ,GAAA,EAAAC,EAAAT,EAAA,aAAAO,GAAAI,EAAAV,QAAAU,EAAAV,SAAA,WAAAO,EAAA,KAAAC,IAI3B,OAJ2BG,IAIR,EAAG,EAAG,EAAG,EAAG,EAAG,GAAlCC,EAAA,EAAAA,EAAAD,EAAArE,OAAAsE,IAAsC,CAAjC,GAAMC,QACHC,EAAUzG,SAAS+D,iBAAiB,kBAAoByC,GAD1BE,GAAA,EAAAC,GAAA,EAAAC,MAAAzC,EAAA,KAEpC,OAAA0C,GAAAC,EAAqBL,EAArBnC,OAAAC,cAAAmC,GAAAG,EAAAC,EAAAtC,QAAAC,MAAAiC,GAAA,EAA8B,IAAnBK,GAAmBF,EAAAtG,KAC5BwG,GAAOhC,UAAP,aAAgCgC,EAAOC,GAAvC,+BAAwED,EAAOhC,UAA/E,SAAiGgC,EAAOhC,WAHtE,MAAAW,GAAAiB,GAAA,EAAAC,EAAAlB,EAAA,aAAAgB,GAAAI,EAAAnB,QAAAmB,EAAAnB,SAAA,WAAAgB,EAAA,KAAAC,OH8LxC1I,EGtLQ2B,QH0LF,SAAU1B,EAAQD","file":"even.min.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _even = __webpack_require__(1);\n\n__webpack_require__(2);\n\nhljs.initHighlighting();\n_even.Even.highlight();\n\n$(document).ready(function () {\n _even.Even.backToTop();\n _even.Even.mobileNavbar();\n _even.Even.beforeToc();\n _even.Even.toc();\n _even.Even.fancybox();\n});\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar Even = {};\n\nEven.backToTop = function () {\n var $backToTop = $('#back-to-top');\n\n $(window).scroll(function () {\n if ($(window).scrollTop() > 100) {\n $backToTop.fadeIn(1000);\n } else {\n $backToTop.fadeOut(1000);\n }\n });\n\n $backToTop.click(function () {\n $('body,html').animate({ scrollTop: 0 });\n });\n};\n\nEven.mobileNavbar = function () {\n var $mobileNav = $('#mobile-navbar');\n var $mobileNavIcon = $('.mobile-navbar-icon');\n var slideout = new Slideout({\n 'panel': document.getElementById('mobile-panel'),\n 'menu': document.getElementById('mobile-menu'),\n 'padding': 180,\n 'tolerance': 70\n });\n slideout.disableTouch();\n\n $mobileNavIcon.click(function () {\n slideout.toggle();\n });\n\n slideout.on('beforeopen', function () {\n $mobileNav.addClass('fixed-open');\n $mobileNavIcon.addClass('icon-click').removeClass('icon-out');\n });\n\n slideout.on('beforeclose', function () {\n $mobileNav.removeClass('fixed-open');\n $mobileNavIcon.addClass('icon-out').removeClass('icon-click');\n });\n\n $('#mobile-panel').on('touchend', function () {\n slideout.isOpen() && $mobileNavIcon.click();\n });\n};\n\nEven.toc = function () {\n var SPACING = 20;\n var $toc = $('.post-toc');\n var $footer = $('.post-footer');\n\n if ($toc.length) {\n var minScrollTop = $toc.offset().top - SPACING;\n var maxScrollTop = $footer.offset().top - $toc.height() - SPACING;\n\n var tocState = {\n start: {\n 'position': 'absolute',\n 'top': minScrollTop\n },\n process: {\n 'position': 'fixed',\n 'top': SPACING\n },\n end: {\n 'position': 'absolute',\n 'top': maxScrollTop\n }\n };\n\n $(window).scroll(function () {\n var scrollTop = $(window).scrollTop();\n\n if (scrollTop < minScrollTop) {\n $toc.css(tocState.start);\n } else if (scrollTop > maxScrollTop) {\n $toc.css(tocState.end);\n } else {\n $toc.css(tocState.process);\n }\n });\n }\n\n var HEADERFIX = 30;\n var $toclink = $('.toc-link');\n var $headerlink = $('.headerlink');\n\n var headerlinkTop = $.map($headerlink, function (link) {\n return $(link).offset().top;\n });\n\n $(window).scroll(function () {\n var scrollTop = $(window).scrollTop();\n\n for (var i = 0; i < $toclink.length; i++) {\n var isLastOne = i + 1 === $toclink.length;\n var currentTop = headerlinkTop[i] - HEADERFIX;\n var nextTop = isLastOne ? Infinity : headerlinkTop[i + 1] - HEADERFIX;\n\n if (currentTop < scrollTop && scrollTop <= nextTop) {\n $($toclink[i]).addClass('active');\n } else {\n $($toclink[i]).removeClass('active');\n }\n }\n });\n};\n\nEven.fancybox = function () {\n if ($.fancybox) {\n $('.post').each(function () {\n $(this).find('img').each(function () {\n $(this).wrap('<a class=\"fancybox\" href=\"' + this.src + '\" title=\"' + this.alt + '\"></a>');\n });\n });\n\n $('.fancybox').fancybox({\n openEffect: 'elastic',\n closeEffect: 'elastic'\n });\n }\n};\n\nEven.highlight = function () {\n var blocks = document.querySelectorAll('pre code');\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = blocks[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var block = _step.value;\n\n var classList = block.classList;\n var rootElement = block.parentElement;\n var lineCodes = block.innerHTML.split(/\\n/).slice(0, -1);\n var lineLength = lineCodes.length;\n\n var codeLineHtml = '';\n for (var i = 0; i < lineLength; i++) {\n codeLineHtml += '<div class=\"line\">' + (i + 1) + '</div>';\n }\n\n var codeHtml = '';\n var _iteratorNormalCompletion2 = true;\n var _didIteratorError2 = false;\n var _iteratorError2 = undefined;\n\n try {\n for (var _iterator2 = lineCodes[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n var lineCode = _step2.value;\n\n codeHtml += '<div class=\"line\">' + lineCode + '</div>';\n }\n } catch (err) {\n _didIteratorError2 = true;\n _iteratorError2 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion2 && _iterator2.return) {\n _iterator2.return();\n }\n } finally {\n if (_didIteratorError2) {\n throw _iteratorError2;\n }\n }\n }\n\n classList.add('highlight');\n var figure = document.createElement('figure');\n figure.classList = classList;\n figure.innerHTML = '<table><tbody><tr><td class=\"gutter\"><pre>' + codeLineHtml + '</pre></td><td class=\"code\"><pre>' + codeHtml + '</pre></td></tr></tbody></table>';\n\n rootElement.parentElement.replaceChild(figure, rootElement);\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n};\n\nEven.beforeToc = function () {\n var links = document.querySelectorAll('#TableOfContents a');\n var _iteratorNormalCompletion3 = true;\n var _didIteratorError3 = false;\n var _iteratorError3 = undefined;\n\n try {\n for (var _iterator3 = links[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {\n var link = _step3.value;\n link.classList.add('toc-link');\n }\n } catch (err) {\n _didIteratorError3 = true;\n _iteratorError3 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion3 && _iterator3.return) {\n _iterator3.return();\n }\n } finally {\n if (_didIteratorError3) {\n throw _iteratorError3;\n }\n }\n }\n\n var _arr = [1, 2, 3, 4, 5, 6];\n for (var _i = 0; _i < _arr.length; _i++) {\n var num = _arr[_i];\n var headers = document.querySelectorAll('.post-content>h' + num);\n var _iteratorNormalCompletion4 = true;\n var _didIteratorError4 = false;\n var _iteratorError4 = undefined;\n\n try {\n for (var _iterator4 = headers[Symbol.iterator](), _step4; !(_iteratorNormalCompletion4 = (_step4 = _iterator4.next()).done); _iteratorNormalCompletion4 = true) {\n var header = _step4.value;\n\n header.innerHTML = '<a href=\"#' + header.id + '\" class=\"headerlink\" title=\"' + header.innerHTML + '\"></a>' + header.innerHTML;\n }\n } catch (err) {\n _didIteratorError4 = true;\n _iteratorError4 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion4 && _iterator4.return) {\n _iterator4.return();\n }\n } finally {\n if (_didIteratorError4) {\n throw _iteratorError4;\n }\n }\n }\n }\n};\n\nexports.Even = Even;\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ })\n/******/ ]);\n\n\n// WEBPACK FOOTER //\n// even.min.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 964e2c71d55e8307b161","import {Even} from './even.js'\r\n\r\nimport '../css/style.scss'\r\n\r\nhljs.initHighlighting()\r\nEven.highlight()\r\n\r\n$(document).ready(function () {\r\n Even.backToTop()\r\n Even.mobileNavbar()\r\n Even.beforeToc()\r\n Even.toc()\r\n Even.fancybox()\r\n})\r\n\n\n\n// WEBPACK FOOTER //\n// ./js/main.js","'use strict'\r\n\r\nvar Even = {}\r\n\r\nEven.backToTop = function () {\r\n var $backToTop = $('#back-to-top')\r\n\r\n $(window).scroll(function () {\r\n if ($(window).scrollTop() > 100) {\r\n $backToTop.fadeIn(1000)\r\n } else {\r\n $backToTop.fadeOut(1000)\r\n }\r\n })\r\n\r\n $backToTop.click(function () {\r\n $('body,html').animate({ scrollTop: 0 })\r\n })\r\n}\r\n\r\nEven.mobileNavbar = function () {\r\n var $mobileNav = $('#mobile-navbar')\r\n var $mobileNavIcon = $('.mobile-navbar-icon')\r\n var slideout = new Slideout({\r\n 'panel': document.getElementById('mobile-panel'),\r\n 'menu': document.getElementById('mobile-menu'),\r\n 'padding': 180,\r\n 'tolerance': 70\r\n })\r\n slideout.disableTouch()\r\n\r\n $mobileNavIcon.click(function () {\r\n slideout.toggle()\r\n })\r\n\r\n slideout.on('beforeopen', function () {\r\n $mobileNav.addClass('fixed-open')\r\n $mobileNavIcon.addClass('icon-click').removeClass('icon-out')\r\n })\r\n\r\n slideout.on('beforeclose', function () {\r\n $mobileNav.removeClass('fixed-open')\r\n $mobileNavIcon.addClass('icon-out').removeClass('icon-click')\r\n })\r\n\r\n $('#mobile-panel').on('touchend', function () {\r\n slideout.isOpen() && $mobileNavIcon.click()\r\n })\r\n}\r\n\r\nEven.toc = function () {\r\n var SPACING = 20\r\n var $toc = $('.post-toc')\r\n var $footer = $('.post-footer')\r\n\r\n if ($toc.length) {\r\n var minScrollTop = $toc.offset().top - SPACING\r\n var maxScrollTop = $footer.offset().top - $toc.height() - SPACING\r\n\r\n var tocState = {\r\n start: {\r\n 'position': 'absolute',\r\n 'top': minScrollTop\r\n },\r\n process: {\r\n 'position': 'fixed',\r\n 'top': SPACING\r\n },\r\n end: {\r\n 'position': 'absolute',\r\n 'top': maxScrollTop\r\n }\r\n }\r\n\r\n $(window).scroll(function () {\r\n var scrollTop = $(window).scrollTop()\r\n\r\n if (scrollTop < minScrollTop) {\r\n $toc.css(tocState.start)\r\n } else if (scrollTop > maxScrollTop) {\r\n $toc.css(tocState.end)\r\n } else {\r\n $toc.css(tocState.process)\r\n }\r\n })\r\n }\r\n\r\n var HEADERFIX = 30\r\n var $toclink = $('.toc-link')\r\n var $headerlink = $('.headerlink')\r\n\r\n var headerlinkTop = $.map($headerlink, function (link) {\r\n return $(link).offset().top\r\n })\r\n\r\n $(window).scroll(function () {\r\n var scrollTop = $(window).scrollTop()\r\n\r\n for (var i = 0; i < $toclink.length; i++) {\r\n var isLastOne = i + 1 === $toclink.length\r\n var currentTop = headerlinkTop[i] - HEADERFIX\r\n var nextTop = isLastOne ? Infinity : headerlinkTop[i + 1] - HEADERFIX\r\n\r\n if (currentTop < scrollTop && scrollTop <= nextTop) {\r\n $($toclink[i]).addClass('active')\r\n } else {\r\n $($toclink[i]).removeClass('active')\r\n }\r\n }\r\n })\r\n}\r\n\r\nEven.fancybox = function () {\r\n if ($.fancybox) {\r\n $('.post').each(function () {\r\n $(this).find('img').each(function () {\r\n $(this).wrap('<a class=\"fancybox\" href=\"' + this.src + '\" title=\"' + this.alt + '\"></a>')\r\n })\r\n })\r\n\r\n $('.fancybox').fancybox({\r\n openEffect: 'elastic',\r\n closeEffect: 'elastic'\r\n })\r\n }\r\n}\r\n\r\nEven.highlight = function () {\r\n const blocks = document.querySelectorAll('pre code')\r\n for (const block of blocks) {\r\n const classList = block.classList\r\n const rootElement = block.parentElement\r\n const lineCodes = block.innerHTML.split(/\\n/).slice(0, -1)\r\n const lineLength = lineCodes.length\r\n\r\n let codeLineHtml = ''\r\n for (let i = 0; i < lineLength; i++) {\r\n codeLineHtml += `<div class=\"line\">${i + 1}</div>`\r\n }\r\n\r\n let codeHtml = ''\r\n for (const lineCode of lineCodes) {\r\n codeHtml += `<div class=\"line\">${lineCode}</div>`\r\n }\r\n\r\n classList.add('highlight')\r\n const figure = document.createElement('figure')\r\n figure.classList = classList\r\n figure.innerHTML = `<table><tbody><tr><td class=\"gutter\"><pre>${codeLineHtml}</pre></td><td class=\"code\"><pre>${codeHtml}</pre></td></tr></tbody></table>`\r\n\r\n rootElement.parentElement.replaceChild(figure, rootElement)\r\n }\r\n}\r\n\r\nEven.beforeToc = function () {\r\n const links = document.querySelectorAll('#TableOfContents a')\r\n for (const link of links) link.classList.add('toc-link')\r\n\r\n for (const num of [1, 2, 3, 4, 5, 6]) {\r\n const headers = document.querySelectorAll('.post-content>h' + num)\r\n for (const header of headers) {\r\n header.innerHTML = `<a href=\"#${header.id}\" class=\"headerlink\" title=\"${header.innerHTML}\"></a>${header.innerHTML}`\r\n }\r\n }\r\n}\r\n\r\nexport {Even}\r\n\n\n\n// WEBPACK FOOTER //\n// ./js/even.js"],"sourceRoot":""}
\ No newline at end of file diff --git a/static/dist/even.v2.5.0.css.map b/static/dist/even.v2.5.0.css.map deleted file mode 100644 index 3b3026f..0000000 --- a/static/dist/even.v2.5.0.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":[],"names":[],"mappings":"","file":"even.v2.5.0.css","sourceRoot":""}
\ No newline at end of file diff --git a/static/dist/even.v2.5.0.js.map b/static/dist/even.v2.5.0.js.map deleted file mode 100644 index 2059caa..0000000 --- a/static/dist/even.v2.5.0.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///even.v2.5.0.js","webpack:///webpack/bootstrap fe9646cb6beafd95c84c","webpack:///./js/main.js","webpack:///./js/even.js"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","_even","hljs","initHighlighting","Even","highlight","$","document","ready","backToTop","mobileNavbar","beforeToc","toc","fancybox","value","$backToTop","window","scroll","scrollTop","fadeIn","fadeOut","click","animate","$mobileNav","$mobileNavIcon","slideout","Slideout","panel","getElementById","menu","padding","tolerance","disableTouch","toggle","on","addClass","removeClass","isOpen","$toc","$footer","length","minScrollTop","offset","top","maxScrollTop","height","tocState","start","position","process","end","css","$toclink","$headerlink","headerlinkTop","map","link","isLastOne","currentTop","nextTop","Infinity","each","this","find","wrap","src","alt","openEffect","closeEffect","blocks","querySelectorAll","_iteratorNormalCompletion","_didIteratorError","_iteratorError","undefined","_step","_iterator","Symbol","iterator","next","done","block","classList","rootElement","parentElement","lineCodes","innerHTML","split","slice","lineLength","codeLineHtml","codeHtml","_iteratorNormalCompletion2","_didIteratorError2","_iteratorError2","_step2","_iterator2","err","return","add","figure","createElement","replaceChild","links","_iteratorNormalCompletion3","_didIteratorError3","_iteratorError3","_step3","_iterator3","_arr","_i","num","headers","_iteratorNormalCompletion4","_didIteratorError4","_iteratorError4","_step4","_iterator4","header","id"],"mappings":"CAAS,SAAUA,GCInB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAI,EAAAJ,EACAK,GAAA,EACAH,WAUA,OANAJ,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,GAGAI,EAAAE,GAAA,EAGAF,EAAAD,QAvBA,GAAAD,KA4BAF,GAAAQ,EAAAT,EAG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AA,KAAAC,MA2B7BrE,EAAKO,UAAY,WACf,GAAM4F,GAAQhG,SAAS+D,iBAAiB,sBADbkC,GAAA,EAAAC,GAAA,EAAAC,MAAAhC,EAAA,KAE3B,OAAAiC,GAAAC,EAAmBL,EAAnB1B,OAAAC,cAAA0B,GAAAG,EAAAC,EAAA7B,QAAAC,MAAAwB,GAAA,GAAAG,EAAA7F,MAA+BoE,UAAUiB,IAAI,aAFlB,MAAAF,GAAAQ,GAAA,EAAAC,EAAAT,EAAA,aAAAO,GAAAI,EAAAV,QAAAU,EAAAV,SAAA,WAAAO,EAAA,KAAAC,IAI3B,OAJ2BG,IAIR,EAAG,EAAG,EAAG,EAAG,EAAG,GAAlCC,EAAA,EAAAA,EAAAD,EAAArE,OAAAsE,IAAsC,CAAjC,GAAMC,QACHC,EAAUzG,SAAS+D,iBAAiB,kBAAoByC,GAD1BE,GAAA,EAAAC,GAAA,EAAAC,MAAAzC,EAAA,KAEpC,OAAA0C,GAAAC,EAAqBL,EAArBnC,OAAAC,cAAAmC,GAAAG,EAAAC,EAAAtC,QAAAC,MAAAiC,GAAA,EAA8B,IAAnBK,GAAmBF,EAAAtG,KAC5BwG,GAAOhC,UAAP,aAAgCgC,EAAOC,GAAvC,+BAAwED,EAAOhC,UAA/E,SAAiGgC,EAAOhC,WAHtE,MAAAW,GAAAiB,GAAA,EAAAC,EAAAlB,EAAA,aAAAgB,GAAAI,EAAAnB,QAAAmB,EAAAnB,SAAA,WAAAgB,EAAA,KAAAC,OH8LxC1I,EGtLQ2B,QH0LF,SAAU1B,EAAQD","file":"even.v2.5.0.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _even = __webpack_require__(1);\n\n__webpack_require__(2);\n\nhljs.initHighlighting();\n_even.Even.highlight();\n\n$(document).ready(function () {\n _even.Even.backToTop();\n _even.Even.mobileNavbar();\n _even.Even.beforeToc();\n _even.Even.toc();\n _even.Even.fancybox();\n});\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar Even = {};\n\nEven.backToTop = function () {\n var $backToTop = $('#back-to-top');\n\n $(window).scroll(function () {\n if ($(window).scrollTop() > 100) {\n $backToTop.fadeIn(1000);\n } else {\n $backToTop.fadeOut(1000);\n }\n });\n\n $backToTop.click(function () {\n $('body,html').animate({ scrollTop: 0 });\n });\n};\n\nEven.mobileNavbar = function () {\n var $mobileNav = $('#mobile-navbar');\n var $mobileNavIcon = $('.mobile-navbar-icon');\n var slideout = new Slideout({\n 'panel': document.getElementById('mobile-panel'),\n 'menu': document.getElementById('mobile-menu'),\n 'padding': 180,\n 'tolerance': 70\n });\n slideout.disableTouch();\n\n $mobileNavIcon.click(function () {\n slideout.toggle();\n });\n\n slideout.on('beforeopen', function () {\n $mobileNav.addClass('fixed-open');\n $mobileNavIcon.addClass('icon-click').removeClass('icon-out');\n });\n\n slideout.on('beforeclose', function () {\n $mobileNav.removeClass('fixed-open');\n $mobileNavIcon.addClass('icon-out').removeClass('icon-click');\n });\n\n $('#mobile-panel').on('touchend', function () {\n slideout.isOpen() && $mobileNavIcon.click();\n });\n};\n\nEven.toc = function () {\n var SPACING = 20;\n var $toc = $('.post-toc');\n var $footer = $('.post-footer');\n\n if ($toc.length) {\n var minScrollTop = $toc.offset().top - SPACING;\n var maxScrollTop = $footer.offset().top - $toc.height() - SPACING;\n\n var tocState = {\n start: {\n 'position': 'absolute',\n 'top': minScrollTop\n },\n process: {\n 'position': 'fixed',\n 'top': SPACING\n },\n end: {\n 'position': 'absolute',\n 'top': maxScrollTop\n }\n };\n\n $(window).scroll(function () {\n var scrollTop = $(window).scrollTop();\n\n if (scrollTop < minScrollTop) {\n $toc.css(tocState.start);\n } else if (scrollTop > maxScrollTop) {\n $toc.css(tocState.end);\n } else {\n $toc.css(tocState.process);\n }\n });\n }\n\n var HEADERFIX = 30;\n var $toclink = $('.toc-link');\n var $headerlink = $('.headerlink');\n\n var headerlinkTop = $.map($headerlink, function (link) {\n return $(link).offset().top;\n });\n\n $(window).scroll(function () {\n var scrollTop = $(window).scrollTop();\n\n for (var i = 0; i < $toclink.length; i++) {\n var isLastOne = i + 1 === $toclink.length;\n var currentTop = headerlinkTop[i] - HEADERFIX;\n var nextTop = isLastOne ? Infinity : headerlinkTop[i + 1] - HEADERFIX;\n\n if (currentTop < scrollTop && scrollTop <= nextTop) {\n $($toclink[i]).addClass('active');\n } else {\n $($toclink[i]).removeClass('active');\n }\n }\n });\n};\n\nEven.fancybox = function () {\n if ($.fancybox) {\n $('.post').each(function () {\n $(this).find('img').each(function () {\n $(this).wrap('<a class=\"fancybox\" href=\"' + this.src + '\" title=\"' + this.alt + '\"></a>');\n });\n });\n\n $('.fancybox').fancybox({\n openEffect: 'elastic',\n closeEffect: 'elastic'\n });\n }\n};\n\nEven.highlight = function () {\n var blocks = document.querySelectorAll('pre code');\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = blocks[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var block = _step.value;\n\n var classList = block.classList;\n var rootElement = block.parentElement;\n var lineCodes = block.innerHTML.split(/\\n/).slice(0, -1);\n var lineLength = lineCodes.length;\n\n var codeLineHtml = '';\n for (var i = 0; i < lineLength; i++) {\n codeLineHtml += '<div class=\"line\">' + (i + 1) + '</div>';\n }\n\n var codeHtml = '';\n var _iteratorNormalCompletion2 = true;\n var _didIteratorError2 = false;\n var _iteratorError2 = undefined;\n\n try {\n for (var _iterator2 = lineCodes[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n var lineCode = _step2.value;\n\n codeHtml += '<div class=\"line\">' + lineCode + '</div>';\n }\n } catch (err) {\n _didIteratorError2 = true;\n _iteratorError2 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion2 && _iterator2.return) {\n _iterator2.return();\n }\n } finally {\n if (_didIteratorError2) {\n throw _iteratorError2;\n }\n }\n }\n\n classList.add('highlight');\n var figure = document.createElement('figure');\n figure.classList = classList;\n figure.innerHTML = '<table><tbody><tr><td class=\"gutter\"><pre>' + codeLineHtml + '</pre></td><td class=\"code\"><pre>' + codeHtml + '</pre></td></tr></tbody></table>';\n\n rootElement.parentElement.replaceChild(figure, rootElement);\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n};\n\nEven.beforeToc = function () {\n var links = document.querySelectorAll('#TableOfContents a');\n var _iteratorNormalCompletion3 = true;\n var _didIteratorError3 = false;\n var _iteratorError3 = undefined;\n\n try {\n for (var _iterator3 = links[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {\n var link = _step3.value;\n link.classList.add('toc-link');\n }\n } catch (err) {\n _didIteratorError3 = true;\n _iteratorError3 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion3 && _iterator3.return) {\n _iterator3.return();\n }\n } finally {\n if (_didIteratorError3) {\n throw _iteratorError3;\n }\n }\n }\n\n var _arr = [1, 2, 3, 4, 5, 6];\n for (var _i = 0; _i < _arr.length; _i++) {\n var num = _arr[_i];\n var headers = document.querySelectorAll('.post-content>h' + num);\n var _iteratorNormalCompletion4 = true;\n var _didIteratorError4 = false;\n var _iteratorError4 = undefined;\n\n try {\n for (var _iterator4 = headers[Symbol.iterator](), _step4; !(_iteratorNormalCompletion4 = (_step4 = _iterator4.next()).done); _iteratorNormalCompletion4 = true) {\n var header = _step4.value;\n\n header.innerHTML = '<a href=\"#' + header.id + '\" class=\"headerlink\" title=\"' + header.innerHTML + '\"></a>' + header.innerHTML;\n }\n } catch (err) {\n _didIteratorError4 = true;\n _iteratorError4 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion4 && _iterator4.return) {\n _iterator4.return();\n }\n } finally {\n if (_didIteratorError4) {\n throw _iteratorError4;\n }\n }\n }\n }\n};\n\nexports.Even = Even;\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ })\n/******/ ]);\n\n\n// WEBPACK FOOTER //\n// even.v2.5.0.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap fe9646cb6beafd95c84c","import {Even} from './even.js'\r\n\r\nimport '../css/style.scss'\r\n\r\nhljs.initHighlighting()\r\nEven.highlight()\r\n\r\n$(document).ready(function () {\r\n Even.backToTop()\r\n Even.mobileNavbar()\r\n Even.beforeToc()\r\n Even.toc()\r\n Even.fancybox()\r\n})\r\n\n\n\n// WEBPACK FOOTER //\n// ./js/main.js","'use strict'\r\n\r\nvar Even = {}\r\n\r\nEven.backToTop = function () {\r\n var $backToTop = $('#back-to-top')\r\n\r\n $(window).scroll(function () {\r\n if ($(window).scrollTop() > 100) {\r\n $backToTop.fadeIn(1000)\r\n } else {\r\n $backToTop.fadeOut(1000)\r\n }\r\n })\r\n\r\n $backToTop.click(function () {\r\n $('body,html').animate({ scrollTop: 0 })\r\n })\r\n}\r\n\r\nEven.mobileNavbar = function () {\r\n var $mobileNav = $('#mobile-navbar')\r\n var $mobileNavIcon = $('.mobile-navbar-icon')\r\n var slideout = new Slideout({\r\n 'panel': document.getElementById('mobile-panel'),\r\n 'menu': document.getElementById('mobile-menu'),\r\n 'padding': 180,\r\n 'tolerance': 70\r\n })\r\n slideout.disableTouch()\r\n\r\n $mobileNavIcon.click(function () {\r\n slideout.toggle()\r\n })\r\n\r\n slideout.on('beforeopen', function () {\r\n $mobileNav.addClass('fixed-open')\r\n $mobileNavIcon.addClass('icon-click').removeClass('icon-out')\r\n })\r\n\r\n slideout.on('beforeclose', function () {\r\n $mobileNav.removeClass('fixed-open')\r\n $mobileNavIcon.addClass('icon-out').removeClass('icon-click')\r\n })\r\n\r\n $('#mobile-panel').on('touchend', function () {\r\n slideout.isOpen() && $mobileNavIcon.click()\r\n })\r\n}\r\n\r\nEven.toc = function () {\r\n var SPACING = 20\r\n var $toc = $('.post-toc')\r\n var $footer = $('.post-footer')\r\n\r\n if ($toc.length) {\r\n var minScrollTop = $toc.offset().top - SPACING\r\n var maxScrollTop = $footer.offset().top - $toc.height() - SPACING\r\n\r\n var tocState = {\r\n start: {\r\n 'position': 'absolute',\r\n 'top': minScrollTop\r\n },\r\n process: {\r\n 'position': 'fixed',\r\n 'top': SPACING\r\n },\r\n end: {\r\n 'position': 'absolute',\r\n 'top': maxScrollTop\r\n }\r\n }\r\n\r\n $(window).scroll(function () {\r\n var scrollTop = $(window).scrollTop()\r\n\r\n if (scrollTop < minScrollTop) {\r\n $toc.css(tocState.start)\r\n } else if (scrollTop > maxScrollTop) {\r\n $toc.css(tocState.end)\r\n } else {\r\n $toc.css(tocState.process)\r\n }\r\n })\r\n }\r\n\r\n var HEADERFIX = 30\r\n var $toclink = $('.toc-link')\r\n var $headerlink = $('.headerlink')\r\n\r\n var headerlinkTop = $.map($headerlink, function (link) {\r\n return $(link).offset().top\r\n })\r\n\r\n $(window).scroll(function () {\r\n var scrollTop = $(window).scrollTop()\r\n\r\n for (var i = 0; i < $toclink.length; i++) {\r\n var isLastOne = i + 1 === $toclink.length\r\n var currentTop = headerlinkTop[i] - HEADERFIX\r\n var nextTop = isLastOne ? Infinity : headerlinkTop[i + 1] - HEADERFIX\r\n\r\n if (currentTop < scrollTop && scrollTop <= nextTop) {\r\n $($toclink[i]).addClass('active')\r\n } else {\r\n $($toclink[i]).removeClass('active')\r\n }\r\n }\r\n })\r\n}\r\n\r\nEven.fancybox = function () {\r\n if ($.fancybox) {\r\n $('.post').each(function () {\r\n $(this).find('img').each(function () {\r\n $(this).wrap('<a class=\"fancybox\" href=\"' + this.src + '\" title=\"' + this.alt + '\"></a>')\r\n })\r\n })\r\n\r\n $('.fancybox').fancybox({\r\n openEffect: 'elastic',\r\n closeEffect: 'elastic'\r\n })\r\n }\r\n}\r\n\r\nEven.highlight = function () {\r\n const blocks = document.querySelectorAll('pre code')\r\n for (const block of blocks) {\r\n const classList = block.classList\r\n const rootElement = block.parentElement\r\n const lineCodes = block.innerHTML.split(/\\n/).slice(0, -1)\r\n const lineLength = lineCodes.length\r\n\r\n let codeLineHtml = ''\r\n for (let i = 0; i < lineLength; i++) {\r\n codeLineHtml += `<div class=\"line\">${i + 1}</div>`\r\n }\r\n\r\n let codeHtml = ''\r\n for (const lineCode of lineCodes) {\r\n codeHtml += `<div class=\"line\">${lineCode}</div>`\r\n }\r\n\r\n classList.add('highlight')\r\n const figure = document.createElement('figure')\r\n figure.classList = classList\r\n figure.innerHTML = `<table><tbody><tr><td class=\"gutter\"><pre>${codeLineHtml}</pre></td><td class=\"code\"><pre>${codeHtml}</pre></td></tr></tbody></table>`\r\n\r\n rootElement.parentElement.replaceChild(figure, rootElement)\r\n }\r\n}\r\n\r\nEven.beforeToc = function () {\r\n const links = document.querySelectorAll('#TableOfContents a')\r\n for (const link of links) link.classList.add('toc-link')\r\n\r\n for (const num of [1, 2, 3, 4, 5, 6]) {\r\n const headers = document.querySelectorAll('.post-content>h' + num)\r\n for (const header of headers) {\r\n header.innerHTML = `<a href=\"#${header.id}\" class=\"headerlink\" title=\"${header.innerHTML}\"></a>${header.innerHTML}`\r\n }\r\n }\r\n}\r\n\r\nexport {Even}\r\n\n\n\n// WEBPACK FOOTER //\n// ./js/even.js"],"sourceRoot":""}
\ No newline at end of file |