From f6c94bade1947dc9f92663499871cee98701f2b4 Mon Sep 17 00:00:00 2001 From: Van Date: Wed, 27 Feb 2019 23:34:27 +0800 Subject: [PATCH] yilia https://github.com/b3log/solo/issues/12675 --- Finding/page.ftl | 9 +- yilia/article.ftl | 10 +- yilia/css/base.css | 2 +- yilia/css/base.scss | 1074 +++++++++++++++++--------------- yilia/css/fonts/icomoon.eot | Bin 4588 -> 4428 bytes yilia/css/fonts/icomoon.svg | 8 +- yilia/css/fonts/icomoon.ttf | Bin 4424 -> 4264 bytes yilia/css/fonts/icomoon.woff | Bin 4500 -> 4340 bytes yilia/css/fonts/selection.json | 318 +--------- yilia/js/jquery.qrcode.js | 45 ++ yilia/js/jquery.qrcode.min.js | 18 + yilia/js/yilia.js | 63 +- yilia/page.ftl | 13 +- 13 files changed, 698 insertions(+), 862 deletions(-) mode change 100644 => 100755 yilia/css/fonts/icomoon.eot mode change 100644 => 100755 yilia/css/fonts/icomoon.svg mode change 100644 => 100755 yilia/css/fonts/icomoon.ttf mode change 100644 => 100755 yilia/css/fonts/icomoon.woff mode change 100644 => 100755 yilia/css/fonts/selection.json create mode 100644 yilia/js/jquery.qrcode.js create mode 100644 yilia/js/jquery.qrcode.min.js diff --git a/Finding/page.ftl b/Finding/page.ftl index 62d941d..c8f1f1b 100644 --- a/Finding/page.ftl +++ b/Finding/page.ftl @@ -41,10 +41,15 @@ diff --git a/yilia/article.ftl b/yilia/article.ftl index ce5da98..0f556c1 100644 --- a/yilia/article.ftl +++ b/yilia/article.ftl @@ -110,10 +110,15 @@ <#if 0 != relevantArticlesDisplayCount> @@ -141,6 +146,7 @@ <#if 0 != relevantArticlesDisplayCount> page.loadRelevantArticles('${article.oId}', '

${relevantArticles1Label}

'); + Yilia.share() diff --git a/yilia/css/base.css b/yilia/css/base.css index f43d192..7bebabe 100644 --- a/yilia/css/base.css +++ b/yilia/css/base.css @@ -1 +1 @@ -.content-reset{word-wrap:break-word;overflow:auto;line-height:1.65;font-size:16px;word-break:break-word}.content-reset ul,.content-reset ol{padding-left:2em;margin-top:0;margin-bottom:16px}.content-reset li{margin-top:0.25em}.content-reset audio{max-width:100%}.content-reset video{max-height:90vh}.content-reset img{cursor:zoom-in}.content-reset img.emoji{cursor:auto;max-width:18px}.content-reset h1,.content-reset h2,.content-reset h3,.content-reset h4,.content-reset h5,.content-reset h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.content-reset h1{padding-bottom:0.3em;font-size:1.7em;border-bottom:1px solid #eee}.content-reset h2{padding-bottom:0.3em;font-size:1.5em;border-bottom:1px solid #eee}.content-reset h3{font-size:1.25em}.content-reset h4{font-size:1em}.content-reset h5{font-size:0.875em}.content-reset h6{font-size:0.85em}.content-reset hr{height:1px;padding:0;margin:24px 0;background-color:#e7e7e7;border:0}.content-reset p{margin-top:0;margin-bottom:16px}.content-reset blockquote{padding:0 1em;color:#777;border-left:0.25em solid #ddd;margin-bottom:16px}.content-reset blockquote p{margin:0}.content-reset ins>iframe{border:0}.content-reset iframe{border:1px solid rgba(0,0,0,0.38)}.content-reset table{width:100%;border:1px solid #dedede;margin:15px auto;border-collapse:collapse;empty-cells:show}.content-reset thead{text-align:center}.content-reset td,.content-reset th{height:35px;border:1px solid #dedede;padding:0 10px}.content-reset th{font-weight:bold;text-align:center !important;background:rgba(158,188,226,0.2)}.content-reset tbody tr:nth-child(2n){background:rgba(158,188,226,0.12)}.content-reset tr:hover{background:#efefef}.content-reset code{padding:0.2em 0.4em;margin:0;font-size:85%;background-color:rgba(27,31,35,0.05);border-radius:3px;word-break:break-word}.content-reset pre{position:relative}.content-reset pre textarea{position:absolute;top:-100000px}.content-reset pre>code{padding:0.5em;background-color:rgba(0,0,0,0.04);background-size:20px 20px;border-radius:5px;display:block}.content-reset kbd{display:inline-block;padding:3px 5px;font:11px Consolas, "Liberation Mono", Menlo, Courier, monospace;line-height:10px;color:#555;vertical-align:middle;background-color:#fcfcfc;border:solid 1px rgba(0,0,0,0.38);border-bottom-color:#bbb;border-radius:3px;box-shadow:inset 0 -1px 0 #bbb}.content-reset__task,.content-reset .task-list-item{list-style:none;margin-left:-1em}.img-preview{width:100%;height:100%;top:0;z-index:211;overflow:auto;cursor:zoom-out;transition:background-color .2s ease-in-out}.img-preview img{max-width:inherit;transition:transform .3s ease-in-out}@keyframes tooltip-appear{from{opacity:0}to{opacity:1}}.vditor-tooltipped{position:relative;cursor:pointer}.vditor-tooltipped::after{position:absolute;z-index:1000000;display:none;padding:5px 8px;font-size:11px;font-weight:normal;-webkit-font-smoothing:subpixel-antialiased;color:#fff;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background:rgba(0,0,0,0.8);border-radius:3px;line-height:16px;opacity:0}.vditor-tooltipped::before{position:absolute;z-index:1000001;display:none;width:0;height:0;color:rgba(0,0,0,0.8);pointer-events:none;content:"";border:5px solid transparent;opacity:0}.vditor-tooltipped--hover::before,.vditor-tooltipped--hover::after,.vditor-tooltipped:hover::before,.vditor-tooltipped:hover::after,.vditor-tooltipped:active::before,.vditor-tooltipped:active::after,.vditor-tooltipped:focus::before,.vditor-tooltipped:focus::after{display:inline-block;text-decoration:none;animation-name:tooltip-appear;animation-duration:0.1s;animation-fill-mode:forwards;animation-timing-function:ease-in;animation-delay:0.4s}.vditor-tooltipped__s::after,.vditor-tooltipped__se::after,.vditor-tooltipped__sw::after{top:100%;right:50%;margin-top:5px}.vditor-tooltipped__s::before,.vditor-tooltipped__se::before,.vditor-tooltipped__sw::before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:rgba(0,0,0,0.8)}.vditor-tooltipped__se::after{right:auto;left:50%;margin-left:-15px}.vditor-tooltipped__sw::after{margin-right:-15px}.vditor-tooltipped__n::after,.vditor-tooltipped__ne::after,.vditor-tooltipped__nw::after{right:50%;bottom:100%;margin-bottom:5px}.vditor-tooltipped__n::before,.vditor-tooltipped__ne::before,.vditor-tooltipped__nw::before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:rgba(0,0,0,0.8)}.vditor-tooltipped__ne::after{right:auto;left:50%;margin-left:-15px}.vditor-tooltipped__nw::after{margin-right:-15px}.vditor-tooltipped__s::after,.vditor-tooltipped__n::after{transform:translateX(50%)}.vditor-tooltipped__w::after{right:100%;bottom:50%;margin-right:5px;transform:translateY(50%)}.vditor-tooltipped__w::before{top:50%;bottom:50%;left:-5px;margin-top:-5px;border-left-color:rgba(0,0,0,0.8)}.vditor-tooltipped__e::after{bottom:50%;left:100%;margin-left:5px;transform:translateY(50%)}.vditor-tooltipped__e::before{top:50%;right:-5px;bottom:50%;margin-top:-5px;border-right-color:rgba(0,0,0,0.8)}.vditor-panel{background-color:#fff;position:absolute;box-shadow:0 1px 2px rgba(0,0,0,0.2);border-radius:3px;padding:5px;z-index:1;font-size:14px;display:none;user-select:none;max-width:200px;min-width:80px}.vditor-panel h1,.vditor-panel h2,.vditor-panel h3,.vditor-panel h4,.vditor-panel h5,.vditor-panel h6{margin:0;cursor:pointer;padding:3px 10px;border-radius:3px;line-height:normal}.vditor-panel h1:hover,.vditor-panel h2:hover,.vditor-panel h3:hover,.vditor-panel h4:hover,.vditor-panel h5:hover,.vditor-panel h6:hover{background-color:#4285f4;color:#fff}.vditor-toolbar{background-color:#f6f8fa;border-bottom:1px solid #d1d5da;padding:0 5px;border-radius:3px 3px 0 0}.vditor-toolbar>div{padding:10px 5px;float:left;line-height:14px;height:36px;box-sizing:border-box}.vditor-toolbar svg{fill:currentColor;display:inline-block;stroke-width:0;stroke:currentColor;width:14px;height:14px}.vditor-toolbar .vditor-tooltipped{color:#586069}.vditor-toolbar .vditor-tooltipped:hover{color:#4285f4}.vditor-toolbar label{overflow:hidden;position:relative;height:14px;width:15px;display:block;cursor:pointer}.vditor-toolbar input{position:absolute;width:1px;opacity:.001;height:14px;overflow:hidden}.vditor-menu--current svg{color:#4285f4}.vditor-menu__divider{width:10px}.vditor-menu__br{width:100%;padding:0 !important;height:0 !important}.vditor-emojis{display:inline-block}.vditor-emojis__tail{font-size:12px;text-align:right;color:#586069}.vditor-emojis__tail a{text-decoration:none;color:#586069}.vditor-emojis__tail a:hover{color:#4285f4}.vditor-emojis span{cursor:pointer;border-radius:3px;float:left;height:26px;width:26px;text-align:center;line-height:20px;padding:3px;box-sizing:border-box;font-size:16px}.vditor-emojis span:hover{background-color:#4285f4}.vditor-emojis img{height:20px;width:20px;float:left}.vditor{display:flex;flex-direction:column;border:1px solid #d1d5da;border-radius:3px;box-sizing:border-box}.vditor--fullscreen{position:fixed;top:0;width:100% !important;left:0;height:100vh !important;z-index:90;background-color:#fff}.vditor-content{display:flex;min-height:60px;flex:1;position:relative}.vditor-textarea{flex:1;border:0;resize:none;padding:10px;box-sizing:border-box;background-color:#fafbfc;outline:0 none;font-size:16px;line-height:22px;color:#24292e;border-radius:0 0 3px 3px}.vditor-textarea[disabled]{opacity:0.3;cursor:not-allowed}.vditor-textarea:focus{background-color:#fff}.vditor-preview{flex:1;background-color:#fff;overflow:auto;padding:10px;box-shadow:inset 1px 0 #d1d5da;box-sizing:border-box;border-radius:0 0 3px 0}.vditor-preview::-webkit-scrollbar{display:none}.vditor-counter{padding:0 3px;position:absolute;bottom:10px;right:20px;color:#24292e;background-color:rgba(255,255,255,0.6);border-radius:3px;font-size:12px;user-select:none}.vditor-counter--error{color:#d23f31;background-color:rgba(210,63,49,0.1)}.vditor-resize{padding:1px 0;border-radius:5px;cursor:row-resize;transition:all .15s ease-in-out;user-select:none;background-color:#f6f8fa}.vditor-resize:hover{background-color:#4285f4}.vditor-resize:hover svg{color:#fff}.vditor-resize svg{fill:currentColor;stroke-width:0;stroke:currentColor;width:13px;height:3px;display:block;margin:0 auto;color:#586069}.vditor-upload{opacity:0;position:absolute;width:100%;height:5px;left:0;top:-3px;border-radius:3px;overflow:hidden;transition:all .15s ease-in-out}.vditor-upload--tip{height:20px;font-size:12px;line-height:20px;color:#fff;opacity:1 !important}.vditor-upload--tip .vditor-upload__close{position:absolute;right:5px;top:0;cursor:pointer;display:block}.vditor-upload--tip .vditor-upload__progress{padding:0 5px}.vditor-upload__close{display:none}.vditor-upload__progress{height:100%;background-color:rgba(66,133,244,0.8);transition:all .15s ease-in-out}.vditor-hint{background-color:#fff;position:absolute;box-shadow:0 1px 2px rgba(0,0,0,0.2);border-radius:3px;padding:5px 0;z-index:1;line-height:20px;list-style:none;color:#24292e;font-size:12px;margin:0;max-width:200px;min-width:80px;display:none}.vditor-hint li{cursor:pointer;padding:3px 10px;border-bottom:1px solid #d1d5da;line-height:20px}.vditor-hint li:last-child{border-bottom:0}.vditor-hint--current,.vditor-hint li:hover{background-color:#4285f4;color:#fff}.vditor-hint__emoji{font-size:16px;float:left;margin-right:3px}.vditor-hint img{height:20px;width:20px;float:left;margin-right:3px}html{height:100%;max-height:100%;font-size:16px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{height:100%;max-height:100%;font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;letter-spacing:0.01rem;font-size:100%;line-height:1.75em;color:rgba(0,0,0,0.6);-webkit-font-feature-settings:'kern' 1;-moz-font-feature-settings:'kern' 1;-o-font-feature-settings:'kern' 1;text-rendering:geometricPrecision;margin:0;background-color:#eaeaea}::-moz-selection{background:#D6EDFF}::selection{background:#D6EDFF}a{text-decoration:none;outline-width:0;color:#258fb8;outline:none;transition:all 0.3s ease}h1,h2,h3,h4,h5,h6{-webkit-font-feature-settings:'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1;-moz-font-feature-settings:'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1;-o-font-feature-settings:'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1;color:#666;line-height:1.15em;font-family:"Open Sans", "Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;text-rendering:geometricPrecision}h1{letter-spacing:-2px;text-indent:-3px}h2{letter-spacing:-1px}img{max-width:100%}p,ul,ol,dl{-webkit-font-feature-settings:'liga' 1, 'onum' 1, 'kern' 1;-moz-font-feature-settings:'liga' 1, 'onum' 1, 'kern' 1;-o-font-feature-settings:'liga' 1, 'onum' 1, 'kern' 1;text-rendering:geometricPrecision}ol,ul{padding-left:3rem}ol ol,ul ul,ul ol,ol ul{padding-left:2em}dl dt{float:left;width:180px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap;font-weight:700;margin-bottom:1em}dl dd{margin-left:200px;margin-bottom:1em}li li{margin:0}hr{display:block;height:1px;border:0;border-top:#EFEFEF 1px solid;margin:3.2em 0;padding:0}blockquote{box-sizing:border-box;margin:1.75em 0 1.75em 0;padding:0 0 0 1.75em;border-left:5px solid;transition:all 0.3s ease}blockquote:hover{border-color:#b0a0aa}blockquote p{margin:0.8em 0;font-style:italic}blockquote small{display:inline-block;margin:0.8em 0 0.8em 1.5em;font-size:0.9em;color:#CCC}blockquote small:before{content:"\2014 \00A0"}blockquote cite{font-weight:700}blockquote cite a{font-weight:normal}mark{background-color:#fdffb6}code,tt{padding:1px 3px;font-family:Inconsolata, monospace, "Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;font-size:0.85em;white-space:pre-wrap;border:#E3EDF3 1px solid;background:#F7FAFB;border-radius:2px}pre{font-size:0.9em}pre code,pre tt{font-size:inherit;white-space:pre-wrap;background:transparent;border:none;padding:0}.fn-clear:before,.fn-clear:after{display:table;content:""}.fn-clear:after{clear:both}.fn-left{float:left}.fn-right{float:right}.fn-none{display:none}@font-face{font-family:'icomoon';src:url("fonts/icomoon.eot?3js4w7");src:url("fonts/icomoon.eot?3js4w7#iefix") format("embedded-opentype"),url("fonts/icomoon.ttf?3js4w7") format("truetype"),url("fonts/icomoon.woff?3js4w7") format("woff"),url("fonts/icomoon.svg?3js4w7#icomoon") format("svg");font-weight:normal;font-style:normal}[class^="icon-"],[class*=" icon-"]{font-family:'icomoon';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:middle}.icon-tag:before{content:"\e903"}.icon-date:before{content:"\e902"}.icon-github:before{content:"\e900"}.icon-rss:before{content:"\e901"}.icon-register:before{content:"\e600"}.icon-logout:before{content:"\e601"}.icon-setting:before{content:"\e602"}.icon-gplus:before{content:"\e603"}.icon-weibo:before{content:"\e605"}.icon-goup:before{content:"\e60a"}.icon-twitter:before{content:"\e60b"}.icon-t-weibo:before{content:"\e60d"}.icon-login:before{content:"\e611"}.form{width:100%;padding:30px}#captcha,#captchaReply{height:27px;display:inline-block;vertical-align:inherit}.form input,.form textarea,.form button{border:1px solid #CCCCCC;background-color:#FAFAFA;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,0.075) inset;padding:7px 8px;width:100%;box-sizing:border-box;font-size:14px;outline:none;font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif}.form button{width:auto;vertical-align:bottom;transition:all 0.3s ease;cursor:pointer}.form button:hover{background-color:#b0a0aa;color:#FFF;box-shadow:0 0 0;border-color:#b0a0aa}.form input:focus,.form textarea:focus{background-color:#FFF;box-shadow:0 1px 2px rgba(0,0,0,0.075) inset,0 0 5px rgba(176,160,170,0.5);border:1px solid #b0a0aa}.side{position:fixed;background-color:#FFF;height:100%;width:300px}.side a{color:#696969;font-size:30px}.side a:hover,.side .toc a:hover{color:#b0a0aa}.side .overlay{height:180px;background-color:#000;position:absolute;opacity:0.7;width:100%}.side .content{width:76%;text-align:center;margin:112px auto 0;position:relative;z-index:1}.side .avatar{display:block;border:5px solid #fff;border-radius:50%;width:128px;height:128px;margin:0 auto;transition:all 0.1s ease-in}.side .avatar:hover{border-color:rgba(37,143,184,0.6)}.side hgroup h1{margin:10px 0;line-height:30px}.side .subtitle{color:#999;font-size:14px;line-height:25px}.side nav ul{margin:0;padding:0;list-style:none}.side nav a{font-size:14px}.side nav .page-icon{height:16px;width:16px;margin:0px 3px 0 0;vertical-align:-2px}.side footer{position:absolute;bottom:15px;width:228px;text-align:center;left:50%;margin-left:-114px}.side footer>div{margin-bottom:10px}.side .toc-btn{float:right;margin:0 10px;font-size:14px;display:none}.side .toc{height:100%;width:300px;position:absolute;top:0;left:0;z-index:10;overflow:hidden;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABIAgMAAAAog1vUAAAACVBMVEUAAAABAQETExM20mnVAAAAA3RSTlMOECJvSrphAAABBElEQVR4AWyRwQ3CQAwEJ5/rIVQTyuAfHunmXlRAoaxkMfJJkQ4Dznl3x+G4xlzOxvZ5vZdzMJ7fx3Im+7a2jpNzrINzZ+6r/DnIp7dyg9zsg9Ehel0+bsS1t5KJZOuDSU4Iunz4qC8BU6nLAqZSkgKmUsYCplLxBEylIARMxV8+w/sqoKo+6G0aTGhm5JAM//gARxxHYU3Q3igY0sCIIhYCC49rcUW4PBeJK3bd+CIKsDle8H91N62bwTv5Xxv1QQAAAAQQsH9rAU6DH3CIG9WFbm2Pcyf00PcOn3avFYDDRJgOOcE8fIX8VFCY00r5TlFFPt2NwqXDwFyGjNUlzfBdHo1oSKi9zm79GKMAAAAASUVORK5CYII=) repeat #5d5d5d}.side .toc li{border-bottom:1px solid #717171;border-top:1px solid #5d5d5d}.side .toc a{font-size:14px;color:#e5e5e5;display:block}.side .b3-solo-list{padding:0;margin-top:50px}.abstract .b3-solo-list{display:none}.side .toc .close{color:#fff;float:right;padding:0 10px}main{position:absolute;right:0;min-height:100%;background:#eaeaea;left:300px;width:auto}article{margin:30px;border:1px solid #ddd;background:#fff;position:relative;transition:all 0.2s ease-in;visibility:hidden}article.show{visibility:visible;-webkit-animation:bounce 0.6s;animation:bounce 0.6s}@-webkit-keyframes bounce{0%{opacity:0;-webkit-transform:scale(1)}60%{opacity:1;-webkit-transform:scale(1.02)}100%{-webkit-transform:scale(1)}}@-moz-keyframes bounce{0%{opacity:0;-moz-transform:scale(1)}60%{opacity:1;-moz-transform:scale(1.02)}100%{-moz-transform:scale(1)}}article header{border-left:5px solid;padding:15px 30px 15px 25px}article header:hover{border-color:#b0a0aa}article header h2{margin:0;font-size:26px;padding-right:110px}article header a{color:#696969;margin-left:0px;font-weight:300;line-height:35px}article header a:hover{color:#b0a0aa}article header sup{font-size:14px;font-weight:normal;color:#999}article header time{font-size:14px;position:absolute;right:30px;color:#aaa;top:18px}article .abstract{line-height:1.8em;padding-right:30px;padding-left:30px;overflow:hidden;word-wrap:break-word}article footer{padding:20px 35px 0 0;margin:30px 30px 20px 30px;border-top:1px solid #ddd}.tags .tag:hover,article .abstract a:hover{opacity:0.7}.tags .avatar{width:20px;border-radius:10px;right:30px;position:absolute;bottom:25px;transition:all 0.2s ease-out 0s}.share span{transition:all 0.2s ease-out 0s;cursor:pointer}.tags .avatar:hover,.share span:hover{transform:rotate(360deg);color:#333}.tags .tag{color:#fff;font-size:10px;height:18px;line-height:18px;display:inline-block;padding:0 5px 0px 10px;position:relative;border-radius:0 5px 5px 0;margin:5px 9px 5px 8px;background-color:#7b5d5f;font-family:Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace}.tags .tag:before{content:" ";width:0px;height:0px;position:absolute;top:0;left:-18px;border:9px solid transparent;border-right-color:#7b5d5f}.tags .tag:after{content:" ";width:4px;height:4px;background-color:#fff;border-radius:4px;box-shadow:0px 0px 0px 1px rgba(0,0,0,0.3);position:absolute;top:7px;left:2px}a.color1.tag{background:#ff945c}a.color1.tag:before{border-right-color:#ff945c}a.color2.tag{background:#f5c7b7}a.color2.tag:before{border-right-color:#f5c7b7}a.color3.tag{background:#ba8f6c}a.color3.tag:before{border-right-color:#ba8f6c}a.color4.tag{background:#cfb7c4}a.color4.tag:before{border-right-color:#cfb7c4}nav.pagination{text-align:center;margin-top:30px}nav.pagination .page-num{width:20px;height:20px;background:#4d4d4d;border-radius:50%;display:inline-block;color:#fff;line-height:20px;font-size:12px;margin:0 3px 30px}nav.pagination a.page-num:hover{opacity:0.7}nav.pagination .page-num.current{background:#88acdb}nav.pagination .extend{color:#4d4d4d;margin:0 27px;opacity:0}nav.pagination .extend:hover{color:#b0a0aa}nav.pagination:hover .extend{opacity:1}article.post{visibility:visible}.post .tags .avatar{bottom:inherit;margin-top:4px}.post section.tags{margin:0}.post header{padding-bottom:0}.post .share{padding:10px 0 0 0;margin-top:15px;font-size:14px}.post aside a{color:#DDD}.post aside a>strong{background:#ddd;color:#fff;border-radius:50%;width:16px;height:16px;display:inline-block;transition:background 0.3s;vertical-align:middle;line-height:14px;text-align:center}.post aside a:hover{color:#4d4d4d}.post aside a:hover>strong{background-color:#4d4d4d}.comments{margin:60px 60px 0 50px;padding:0;list-style:none;position:relative}.comments li{margin-bottom:30px;padding-bottom:30px;border-bottom:1px solid #ddd}.comments li time{border-left:1px solid #d5dbde;padding-left:10px;margin-left:10px}.comments .avatar{position:absolute;height:60px;width:60px;border-radius:50%;border:3px solid #FFF}.comments .content{margin-left:80px;min-height:66px}.comments .post-meta{margin-bottom:9px}.comments .content img{vertical-align:sub}.comments li.comment-body-ref{position:absolute;background-color:#FFF;width:80%;margin-left:80px;padding:10px;border:1px solid #ddd}footer.footer{line-height:1rem;font-size:12px;font-family:Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace;text-shadow:0 1px #fff;opacity:0.6;margin:0 30px 30px}footer.footer .icon-goup{position:fixed;bottom:35px;right:5px;-webkit-animation:upbounce 4s 2s infinite;animation:upbounce 4s 2s infinite;z-index:10;font-size:20px;cursor:pointer;color:#b0a0aa;transition:all 0.3s ease}footer.footer .icon-goup:hover{color:#4a4a4a}@-webkit-keyframes upbounce{0%,10%,25%,40%,50%{-webkit-transform:translateY(0);transform:translateY(0)}20%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}30%{-webkit-transform:translateY(-5px);transform:translateY(-5px)}}@keyframes upbounce{0%,20%,50%,80%,100%{-webkit-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}60%{-webkit-transform:translateY(-5px);transform:translateY(-5px)}}.classify li{list-style:none;font-size:20px;float:left;margin:0 30px 20px 0}.classify .tags .tag{font-size:20px;padding:10px}.classify .tags .tag:before{left:-38px;border-width:19px}.classify .tags .tag:after{top:15px;left:-6px;width:8px;height:8px}.classify-name{font-size:18px;margin:30px}.dynamic li{list-style:none}.dynamic .comments li:last-child{border-bottom-width:0}@media only screen and (max-width: 500px){.side{position:relative;height:auto;width:100%}.side .avatar{position:relative}.side .content{margin-top:0;padding-top:20px}.side .overlay{height:100px;z-index:0}.side nav{display:none}.side footer{position:initial;margin:10px auto;padding-bottom:16px}main{position:initial}article{margin:10px}.comments{margin:20px 20px 0 20px}footer.footer{text-align:center}footer.footer .fn-right{float:none;display:block}} +.content-reset{word-wrap:break-word;overflow:auto;line-height:1.65;font-size:16px;word-break:break-word}.content-reset ul,.content-reset ol{padding-left:2em;margin-top:0;margin-bottom:16px}.content-reset li{margin-top:0.25em}.content-reset audio{max-width:100%}.content-reset video{max-height:90vh}.content-reset img{cursor:zoom-in}.content-reset img.emoji{cursor:auto;max-width:18px}.content-reset h1,.content-reset h2,.content-reset h3,.content-reset h4,.content-reset h5,.content-reset h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.content-reset h1{padding-bottom:0.3em;font-size:1.7em;border-bottom:1px solid #eee}.content-reset h2{padding-bottom:0.3em;font-size:1.5em;border-bottom:1px solid #eee}.content-reset h3{font-size:1.25em}.content-reset h4{font-size:1em}.content-reset h5{font-size:0.875em}.content-reset h6{font-size:0.85em}.content-reset hr{height:1px;padding:0;margin:24px 0;background-color:#e7e7e7;border:0}.content-reset p{margin-top:0;margin-bottom:16px}.content-reset blockquote{padding:0 1em;color:#777;border-left:0.25em solid #ddd;margin-bottom:16px}.content-reset blockquote p{margin:0}.content-reset ins>iframe{border:0}.content-reset iframe{border:1px solid rgba(0,0,0,0.38)}.content-reset table{width:100%;border:1px solid #dedede;margin:15px auto;border-collapse:collapse;empty-cells:show}.content-reset thead{text-align:center}.content-reset td,.content-reset th{height:35px;border:1px solid #dedede;padding:0 10px}.content-reset th{font-weight:bold;text-align:center !important;background:rgba(158,188,226,0.2)}.content-reset tbody tr:nth-child(2n){background:rgba(158,188,226,0.12)}.content-reset tr:hover{background:#efefef}.content-reset code{padding:0.2em 0.4em;margin:0;font-size:85%;background-color:rgba(27,31,35,0.05);border-radius:3px;word-break:break-word}.content-reset pre{position:relative}.content-reset pre textarea{position:absolute;top:-100000px}.content-reset pre>code{padding:0.5em;background-color:rgba(0,0,0,0.04);background-size:20px 20px;border-radius:5px;display:block}.content-reset kbd{display:inline-block;padding:3px 5px;font:11px Consolas, "Liberation Mono", Menlo, Courier, monospace;line-height:10px;color:#555;vertical-align:middle;background-color:#fcfcfc;border:solid 1px rgba(0,0,0,0.38);border-bottom-color:#bbb;border-radius:3px;box-shadow:inset 0 -1px 0 #bbb}.content-reset__task,.content-reset .task-list-item{list-style:none;margin-left:-1em}.img-preview{width:100%;height:100%;top:0;z-index:211;overflow:auto;cursor:zoom-out;transition:background-color .2s ease-in-out}.img-preview img{max-width:inherit;transition:transform .3s ease-in-out}@keyframes tooltip-appear{from{opacity:0}to{opacity:1}}.vditor-tooltipped{position:relative;cursor:pointer}.vditor-tooltipped::after{position:absolute;z-index:1000000;display:none;padding:5px 8px;font-size:11px;font-weight:normal;-webkit-font-smoothing:subpixel-antialiased;color:#fff;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background:rgba(0,0,0,0.8);border-radius:3px;line-height:16px;opacity:0}.vditor-tooltipped::before{position:absolute;z-index:1000001;display:none;width:0;height:0;color:rgba(0,0,0,0.8);pointer-events:none;content:"";border:5px solid transparent;opacity:0}.vditor-tooltipped--hover::before,.vditor-tooltipped--hover::after,.vditor-tooltipped:hover::before,.vditor-tooltipped:hover::after,.vditor-tooltipped:active::before,.vditor-tooltipped:active::after,.vditor-tooltipped:focus::before,.vditor-tooltipped:focus::after{display:inline-block;text-decoration:none;animation-name:tooltip-appear;animation-duration:0.1s;animation-fill-mode:forwards;animation-timing-function:ease-in;animation-delay:0.4s}.vditor-tooltipped__s::after,.vditor-tooltipped__se::after,.vditor-tooltipped__sw::after{top:100%;right:50%;margin-top:5px}.vditor-tooltipped__s::before,.vditor-tooltipped__se::before,.vditor-tooltipped__sw::before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:rgba(0,0,0,0.8)}.vditor-tooltipped__se::after{right:auto;left:50%;margin-left:-15px}.vditor-tooltipped__sw::after{margin-right:-15px}.vditor-tooltipped__n::after,.vditor-tooltipped__ne::after,.vditor-tooltipped__nw::after{right:50%;bottom:100%;margin-bottom:5px}.vditor-tooltipped__n::before,.vditor-tooltipped__ne::before,.vditor-tooltipped__nw::before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:rgba(0,0,0,0.8)}.vditor-tooltipped__ne::after{right:auto;left:50%;margin-left:-15px}.vditor-tooltipped__nw::after{margin-right:-15px}.vditor-tooltipped__s::after,.vditor-tooltipped__n::after{transform:translateX(50%)}.vditor-tooltipped__w::after{right:100%;bottom:50%;margin-right:5px;transform:translateY(50%)}.vditor-tooltipped__w::before{top:50%;bottom:50%;left:-5px;margin-top:-5px;border-left-color:rgba(0,0,0,0.8)}.vditor-tooltipped__e::after{bottom:50%;left:100%;margin-left:5px;transform:translateY(50%)}.vditor-tooltipped__e::before{top:50%;right:-5px;bottom:50%;margin-top:-5px;border-right-color:rgba(0,0,0,0.8)}.vditor-panel{background-color:#fff;position:absolute;box-shadow:0 1px 2px rgba(0,0,0,0.2);border-radius:3px;padding:5px;z-index:1;font-size:14px;display:none;user-select:none;max-width:200px;min-width:80px}.vditor-panel h1,.vditor-panel h2,.vditor-panel h3,.vditor-panel h4,.vditor-panel h5,.vditor-panel h6{margin:0;cursor:pointer;padding:3px 10px;border-radius:3px;line-height:normal}.vditor-panel h1:hover,.vditor-panel h2:hover,.vditor-panel h3:hover,.vditor-panel h4:hover,.vditor-panel h5:hover,.vditor-panel h6:hover{background-color:#4285f4;color:#fff}.vditor-toolbar{background-color:#f6f8fa;border-bottom:1px solid #d1d5da;padding:0 5px;border-radius:3px 3px 0 0}.vditor-toolbar>div{padding:10px 5px;float:left;line-height:14px;height:36px;box-sizing:border-box}.vditor-toolbar svg{fill:currentColor;display:inline-block;stroke-width:0;stroke:currentColor;width:14px;height:14px}.vditor-toolbar .vditor-tooltipped{color:#586069}.vditor-toolbar .vditor-tooltipped:hover{color:#4285f4}.vditor-toolbar label{overflow:hidden;position:relative;height:14px;width:15px;display:block;cursor:pointer}.vditor-toolbar input{position:absolute;width:1px;opacity:.001;height:14px;overflow:hidden}.vditor-menu--current svg{color:#4285f4}.vditor-menu__divider{width:10px}.vditor-menu__br{width:100%;padding:0 !important;height:0 !important}.vditor-emojis{display:inline-block}.vditor-emojis__tail{font-size:12px;text-align:right;color:#586069}.vditor-emojis__tail a{text-decoration:none;color:#586069}.vditor-emojis__tail a:hover{color:#4285f4}.vditor-emojis span{cursor:pointer;border-radius:3px;float:left;height:26px;width:26px;text-align:center;line-height:20px;padding:3px;box-sizing:border-box;font-size:16px}.vditor-emojis span:hover{background-color:#4285f4}.vditor-emojis img{height:20px;width:20px;float:left}.vditor{display:flex;flex-direction:column;border:1px solid #d1d5da;border-radius:3px;box-sizing:border-box}.vditor--fullscreen{position:fixed;top:0;width:100% !important;left:0;height:100vh !important;z-index:90;background-color:#fff}.vditor-content{display:flex;min-height:60px;flex:1;position:relative}.vditor-textarea{flex:1;border:0;resize:none;padding:10px;box-sizing:border-box;background-color:#fafbfc;outline:0 none;font-size:16px;line-height:22px;color:#24292e;border-radius:0 0 3px 3px}.vditor-textarea[disabled]{opacity:0.3;cursor:not-allowed}.vditor-textarea:focus{background-color:#fff}.vditor-preview{flex:1;background-color:#fff;overflow:auto;padding:10px;box-shadow:inset 1px 0 #d1d5da;box-sizing:border-box;border-radius:0 0 3px 0}.vditor-preview::-webkit-scrollbar{display:none}.vditor-counter{padding:0 3px;position:absolute;bottom:10px;right:20px;color:#24292e;background-color:rgba(255,255,255,0.6);border-radius:3px;font-size:12px;user-select:none}.vditor-counter--error{color:#d23f31;background-color:rgba(210,63,49,0.1)}.vditor-resize{padding:1px 0;border-radius:5px;cursor:row-resize;transition:all .15s ease-in-out;user-select:none;background-color:#f6f8fa}.vditor-resize:hover{background-color:#4285f4}.vditor-resize:hover svg{color:#fff}.vditor-resize svg{fill:currentColor;stroke-width:0;stroke:currentColor;width:13px;height:3px;display:block;margin:0 auto;color:#586069}.vditor-upload{opacity:0;position:absolute;width:100%;height:5px;left:0;top:-3px;border-radius:3px;overflow:hidden;transition:all .15s ease-in-out}.vditor-upload--tip{height:20px;font-size:12px;line-height:20px;color:#fff;opacity:1 !important}.vditor-upload--tip .vditor-upload__close{position:absolute;right:5px;top:0;cursor:pointer;display:block}.vditor-upload--tip .vditor-upload__progress{padding:0 5px}.vditor-upload__close{display:none}.vditor-upload__progress{height:100%;background-color:rgba(66,133,244,0.8);transition:all .15s ease-in-out}.vditor-hint{background-color:#fff;position:absolute;box-shadow:0 1px 2px rgba(0,0,0,0.2);border-radius:3px;padding:5px 0;z-index:1;line-height:20px;list-style:none;color:#24292e;font-size:12px;margin:0;max-width:200px;min-width:80px;display:none}.vditor-hint li{cursor:pointer;padding:3px 10px;border-bottom:1px solid #d1d5da;line-height:20px}.vditor-hint li:last-child{border-bottom:0}.vditor-hint--current,.vditor-hint li:hover{background-color:#4285f4;color:#fff}.vditor-hint__emoji{font-size:16px;float:left;margin-right:3px}.vditor-hint img{height:20px;width:20px;float:left;margin-right:3px}html{height:100%;max-height:100%;font-size:16px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{height:100%;max-height:100%;font-family:"Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;letter-spacing:0.01rem;font-size:100%;line-height:1.75em;color:rgba(0,0,0,0.6);-webkit-font-feature-settings:'kern' 1;-moz-font-feature-settings:'kern' 1;-o-font-feature-settings:'kern' 1;text-rendering:geometricPrecision;margin:0;background-color:#eaeaea}::-moz-selection{background:#D6EDFF}::selection{background:#D6EDFF}a{text-decoration:none;outline-width:0;color:#258fb8;outline:none;transition:all 0.3s ease}h1,h2,h3,h4,h5,h6{-webkit-font-feature-settings:'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1;-moz-font-feature-settings:'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1;-o-font-feature-settings:'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1;color:#666;line-height:1.15em;font-family:"Open Sans", "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;text-rendering:geometricPrecision}h1{letter-spacing:-2px;text-indent:-3px}h2{letter-spacing:-1px}img{max-width:100%}p,ul,ol,dl{-webkit-font-feature-settings:'liga' 1, 'onum' 1, 'kern' 1;-moz-font-feature-settings:'liga' 1, 'onum' 1, 'kern' 1;-o-font-feature-settings:'liga' 1, 'onum' 1, 'kern' 1;text-rendering:geometricPrecision}ol,ul{padding-left:3rem}ol ol,ul ul,ul ol,ol ul{padding-left:2em}dl dt{float:left;width:180px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap;font-weight:700;margin-bottom:1em}dl dd{margin-left:200px;margin-bottom:1em}li li{margin:0}hr{display:block;height:1px;border:0;border-top:#EFEFEF 1px solid;margin:3.2em 0;padding:0}blockquote{box-sizing:border-box;margin:1.75em 0 1.75em 0;padding:0 0 0 1.75em;border-left:5px solid;transition:all 0.3s ease}blockquote:hover{border-color:#b0a0aa}blockquote p{margin:0.8em 0;font-style:italic}blockquote small{display:inline-block;margin:0.8em 0 0.8em 1.5em;font-size:0.9em;color:#CCC}blockquote small:before{content:"\2014 \00A0"}blockquote cite{font-weight:700}blockquote cite a{font-weight:normal}mark{background-color:#fdffb6}code,tt{padding:1px 3px;font-family:Inconsolata, monospace, "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;font-size:0.85em;white-space:pre-wrap;border:#E3EDF3 1px solid;background:#F7FAFB;border-radius:2px}pre{font-size:0.9em}pre code,pre tt{font-size:inherit;white-space:pre-wrap;background:transparent;border:none;padding:0}.fn-clear:before,.fn-clear:after{display:table;content:""}.fn-clear:after{clear:both}.fn-left{float:left}.fn-right{float:right}.fn-none{display:none}@font-face{font-family:'icomoon';src:url("fonts/icomoon.eot?nqk4b3");src:url("fonts/icomoon.eot?nqk4b3#iefix") format("embedded-opentype"),url("fonts/icomoon.ttf?nqk4b3") format("truetype"),url("fonts/icomoon.woff?nqk4b3") format("woff"),url("fonts/icomoon.svg?nqk4b3#icomoon") format("svg");font-weight:normal;font-style:normal}[class^="icon-"],[class*=" icon-"]{font-family:'icomoon' !important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-register:before{content:"\e600"}.icon-logout:before{content:"\e601"}.icon-setting:before{content:"\e602"}.icon-weibo:before{content:"\e605"}.icon-goup:before{content:"\e60a"}.icon-twitter:before{content:"\e60b"}.icon-login:before{content:"\e611"}.icon-qqz:before{content:"\e902"}.icon-tag:before{content:"\e904"}.icon-date:before{content:"\e905"}.icon-github:before{content:"\e900"}.icon-rss:before{content:"\e901"}.icon-wechat:before{content:"\e903"}.form{width:100%;padding:30px}#captcha,#captchaReply{height:27px;display:inline-block;vertical-align:inherit}.form input,.form textarea,.form button{border:1px solid #CCCCCC;background-color:#FAFAFA;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,0.075) inset;padding:7px 8px;width:100%;box-sizing:border-box;font-size:14px;outline:none;font-family:"Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif}.form button{width:auto;vertical-align:bottom;transition:all 0.3s ease;cursor:pointer}.form button:hover{background-color:#b0a0aa;color:#FFF;box-shadow:0 0 0;border-color:#b0a0aa}.form input:focus,.form textarea:focus{background-color:#FFF;box-shadow:0 1px 2px rgba(0,0,0,0.075) inset,0 0 5px rgba(176,160,170,0.5);border:1px solid #b0a0aa}.side{position:fixed;background-color:#FFF;height:100%;width:300px}.side a{color:#696969;font-size:30px}.side a:hover,.side .toc a:hover{color:#b0a0aa}.side .overlay{height:180px;background-color:#000;position:absolute;opacity:0.7;width:100%}.side .content{width:76%;text-align:center;margin:112px auto 0;position:relative;z-index:1}.side .avatar{display:block;border:5px solid #fff;border-radius:50%;width:128px;height:128px;margin:0 auto;transition:all 0.1s ease-in}.side .avatar:hover{border-color:rgba(37,143,184,0.6)}.side hgroup h1{margin:10px 0;line-height:30px}.side .subtitle{color:#999;font-size:14px;line-height:25px}.side nav ul{margin:0;padding:0;list-style:none}.side nav a{font-size:14px}.side nav .page-icon{height:16px;width:16px;margin:0px 3px 0 0;vertical-align:-2px}.side footer{position:absolute;bottom:15px;width:228px;text-align:center;left:50%;margin-left:-114px}.side footer>div{margin-bottom:10px}.side .toc-btn{float:right;margin:0 10px;font-size:14px;display:none}.side .toc{height:100%;width:300px;position:absolute;top:0;left:0;z-index:10;overflow:hidden;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABIAgMAAAAog1vUAAAACVBMVEUAAAABAQETExM20mnVAAAAA3RSTlMOECJvSrphAAABBElEQVR4AWyRwQ3CQAwEJ5/rIVQTyuAfHunmXlRAoaxkMfJJkQ4Dznl3x+G4xlzOxvZ5vZdzMJ7fx3Im+7a2jpNzrINzZ+6r/DnIp7dyg9zsg9Ehel0+bsS1t5KJZOuDSU4Iunz4qC8BU6nLAqZSkgKmUsYCplLxBEylIARMxV8+w/sqoKo+6G0aTGhm5JAM//gARxxHYU3Q3igY0sCIIhYCC49rcUW4PBeJK3bd+CIKsDle8H91N62bwTv5Xxv1QQAAAAQQsH9rAU6DH3CIG9WFbm2Pcyf00PcOn3avFYDDRJgOOcE8fIX8VFCY00r5TlFFPt2NwqXDwFyGjNUlzfBdHo1oSKi9zm79GKMAAAAASUVORK5CYII=) repeat #5d5d5d}.side .toc li{border-bottom:1px solid #717171;border-top:1px solid #5d5d5d}.side .toc a{font-size:14px;color:#e5e5e5;display:block}.side .b3-solo-list{padding:0;margin-top:50px}.abstract .b3-solo-list{display:none}.side .toc .close{color:#fff;float:right;padding:0 10px}main{position:absolute;right:0;min-height:100%;background:#eaeaea;left:300px;width:auto}article{margin:30px;border:1px solid #ddd;background:#fff;position:relative;transition:all 0.2s ease-in;visibility:hidden}article.show{visibility:visible;-webkit-animation:bounce 0.6s;animation:bounce 0.6s}@-webkit-keyframes bounce{0%{opacity:0;-webkit-transform:scale(1)}60%{opacity:1;-webkit-transform:scale(1.02)}100%{-webkit-transform:scale(1)}}@-moz-keyframes bounce{0%{opacity:0;-moz-transform:scale(1)}60%{opacity:1;-moz-transform:scale(1.02)}100%{-moz-transform:scale(1)}}article header{border-left:5px solid;padding:15px 30px 15px 25px}article header:hover{border-color:#b0a0aa}article header h2{margin:0;font-size:26px;padding-right:110px}article header a{color:#696969;margin-left:0px;font-weight:300;line-height:35px}article header a:hover{color:#b0a0aa}article header sup{font-size:14px;font-weight:normal;color:#999}article header time{font-size:14px;position:absolute;right:30px;color:#aaa;top:18px}article .abstract{line-height:1.8em;padding-right:30px;padding-left:30px;overflow:hidden;word-wrap:break-word}article footer{padding:20px 35px 0 0;margin:30px 30px 20px 30px;border-top:1px solid #ddd}.tags .tag:hover,article .abstract a:hover{opacity:0.7}.tags .avatar{width:20px;border-radius:10px;right:30px;position:absolute;bottom:25px;transition:all 0.2s ease-out 0s}.share .icon-wechat{position:relative;z-index:12}.share canvas{position:absolute;right:-54px;top:18px}.share span{transition:all 0.2s ease-out 0s;cursor:pointer}.tags .avatar:hover,.share span:hover{transform:rotate(360deg);color:#333}.tags .tag{color:#fff;font-size:10px;height:18px;line-height:18px;display:inline-block;padding:0 5px 0px 10px;position:relative;border-radius:0 5px 5px 0;margin:5px 9px 5px 8px;background-color:#7b5d5f;font-family:Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace}.tags .tag:before{content:" ";width:0px;height:0px;position:absolute;top:0;left:-18px;border:9px solid transparent;border-right-color:#7b5d5f}.tags .tag:after{content:" ";width:4px;height:4px;background-color:#fff;border-radius:4px;box-shadow:0px 0px 0px 1px rgba(0,0,0,0.3);position:absolute;top:7px;left:2px}a.color1.tag{background:#ff945c}a.color1.tag:before{border-right-color:#ff945c}a.color2.tag{background:#f5c7b7}a.color2.tag:before{border-right-color:#f5c7b7}a.color3.tag{background:#ba8f6c}a.color3.tag:before{border-right-color:#ba8f6c}a.color4.tag{background:#cfb7c4}a.color4.tag:before{border-right-color:#cfb7c4}nav.pagination{text-align:center;margin-top:30px}nav.pagination .page-num{width:20px;height:20px;background:#4d4d4d;border-radius:50%;display:inline-block;color:#fff;line-height:20px;font-size:12px;margin:0 3px 30px}nav.pagination a.page-num:hover{opacity:0.7}nav.pagination .page-num.current{background:#88acdb}nav.pagination .extend{color:#4d4d4d;margin:0 27px;opacity:0}nav.pagination .extend:hover{color:#b0a0aa}nav.pagination:hover .extend{opacity:1}article.post{visibility:visible}.post .tags .avatar{bottom:inherit;margin-top:4px}.post section.tags{margin:0}.post header{padding-bottom:0}.post .share{padding:10px 0 0 0;margin-top:15px;font-size:14px}.post aside a{color:#DDD}.post aside a>strong{background:#ddd;color:#fff;border-radius:50%;width:16px;height:16px;display:inline-block;transition:background 0.3s;vertical-align:middle;line-height:14px;text-align:center}.post aside a:hover{color:#4d4d4d}.post aside a:hover>strong{background-color:#4d4d4d}.comments{margin:60px 60px 0 50px;padding:0;list-style:none;position:relative}.comments li{margin-bottom:30px;padding-bottom:30px;border-bottom:1px solid #ddd}.comments li time{border-left:1px solid #d5dbde;padding-left:10px;margin-left:10px}.comments .avatar{position:absolute;height:60px;width:60px;border-radius:50%;border:3px solid #FFF}.comments .content{margin-left:80px;min-height:66px}.comments .post-meta{margin-bottom:9px}.comments .content img{vertical-align:sub}.comments li.comment-body-ref{position:absolute;background-color:#FFF;width:80%;margin-left:80px;padding:10px;border:1px solid #ddd}footer.footer{line-height:1rem;font-size:12px;font-family:Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace;text-shadow:0 1px #fff;opacity:0.6;margin:0 30px 30px}footer.footer .icon-goup{position:fixed;bottom:35px;right:5px;-webkit-animation:upbounce 4s 2s infinite;animation:upbounce 4s 2s infinite;z-index:10;font-size:20px;cursor:pointer;color:#b0a0aa;transition:all 0.3s ease}footer.footer .icon-goup:hover{color:#4a4a4a}@-webkit-keyframes upbounce{0%,10%,25%,40%,50%{-webkit-transform:translateY(0);transform:translateY(0)}20%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}30%{-webkit-transform:translateY(-5px);transform:translateY(-5px)}}@keyframes upbounce{0%,20%,50%,80%,100%{-webkit-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}60%{-webkit-transform:translateY(-5px);transform:translateY(-5px)}}.classify li{list-style:none;font-size:20px;float:left;margin:0 30px 20px 0}.classify .tags .tag{font-size:20px;padding:10px}.classify .tags .tag:before{left:-38px;border-width:19px}.classify .tags .tag:after{top:15px;left:-6px;width:8px;height:8px}.classify-name{font-size:18px;margin:30px}.dynamic li{list-style:none}.dynamic .comments li:last-child{border-bottom-width:0}@media only screen and (max-width: 500px){.side{position:relative;height:auto;width:100%}.side .avatar{position:relative}.side .content{margin-top:0;padding-top:20px}.side .overlay{height:100px;z-index:0}.side nav{display:none}.side footer{position:initial;margin:10px auto;padding-bottom:16px}main{position:initial}article{margin:10px}.comments{margin:20px 20px 0 20px}footer.footer{text-align:center}footer.footer .fn-right{float:none;display:block}} diff --git a/yilia/css/base.scss b/yilia/css/base.scss index 6283932..b1d7ea3 100644 --- a/yilia/css/base.scss +++ b/yilia/css/base.scss @@ -21,938 +21,976 @@ * * @author Liyuan Li * @author Liang Ding - * @version 2.0.0.0, Feb 21, 2019 + * @version 2.1.0.0, Feb 27, 2019 */ - @import "../../../scss/reset-content"; @import "vditor/src/assets/scss/classic"; /* start reset */ html { - height: 100%; - max-height: 100%; - font-size: 16px; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); + height: 100%; + max-height: 100%; + font-size: 16px; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } body { - height: 100%; - max-height: 100%; - font-family: "Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif; - letter-spacing: 0.01rem; - font-size: 100%; - line-height: 1.75em; - color: rgba(0, 0, 0, 0.6); - -webkit-font-feature-settings: 'kern' 1; - -moz-font-feature-settings: 'kern' 1; - -o-font-feature-settings: 'kern' 1; - text-rendering: geometricPrecision; - margin: 0; - background-color: #eaeaea; + height: 100%; + max-height: 100%; + font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif; + letter-spacing: 0.01rem; + font-size: 100%; + line-height: 1.75em; + color: rgba(0, 0, 0, 0.6); + -webkit-font-feature-settings: 'kern' 1; + -moz-font-feature-settings: 'kern' 1; + -o-font-feature-settings: 'kern' 1; + text-rendering: geometricPrecision; + margin: 0; + background-color: #eaeaea; } ::-moz-selection { - background: #D6EDFF; + background: #D6EDFF; } ::selection { - background: #D6EDFF; + background: #D6EDFF; } a { - text-decoration: none; - outline-width: 0; - color: #258fb8; - outline: none; - transition: all 0.3s ease; + text-decoration: none; + outline-width: 0; + color: #258fb8; + outline: none; + transition: all 0.3s ease; } h1, h2, h3, h4, h5, h6 { - -webkit-font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1; - -moz-font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1; - -o-font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1; - color: #666; - line-height: 1.15em; - font-family: "Open Sans", "Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif; - text-rendering: geometricPrecision; + -webkit-font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1; + -moz-font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1; + -o-font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1; + color: #666; + line-height: 1.15em; + font-family: "Open Sans", "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif; + text-rendering: geometricPrecision; } h1 { - letter-spacing: -2px; - text-indent: -3px; + letter-spacing: -2px; + text-indent: -3px; } h2 { - letter-spacing: -1px; + letter-spacing: -1px; } img { - max-width: 100%; + max-width: 100%; } p, ul, ol, dl { - -webkit-font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; - -moz-font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; - -o-font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; - text-rendering: geometricPrecision; + -webkit-font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; + -moz-font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; + -o-font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; + text-rendering: geometricPrecision; } ol, ul { - padding-left: 3rem; + padding-left: 3rem; } ol ol, ul ul, ul ol, ol ul { - padding-left: 2em; + padding-left: 2em; } dl dt { - float: left; - width: 180px; - overflow: hidden; - clear: left; - text-align: right; - text-overflow: ellipsis; - white-space: nowrap; - font-weight: 700; - margin-bottom: 1em; + float: left; + width: 180px; + overflow: hidden; + clear: left; + text-align: right; + text-overflow: ellipsis; + white-space: nowrap; + font-weight: 700; + margin-bottom: 1em; } dl dd { - margin-left: 200px; - margin-bottom: 1em + margin-left: 200px; + margin-bottom: 1em } li li { - margin: 0; + margin: 0; } hr { - display: block; - height: 1px; - border: 0; - border-top: #EFEFEF 1px solid; - margin: 3.2em 0; - padding: 0; + display: block; + height: 1px; + border: 0; + border-top: #EFEFEF 1px solid; + margin: 3.2em 0; + padding: 0; } blockquote { - box-sizing: border-box; - margin: 1.75em 0 1.75em 0; - padding: 0 0 0 1.75em; - border-left: 5px solid; - transition: all 0.3s ease; + box-sizing: border-box; + margin: 1.75em 0 1.75em 0; + padding: 0 0 0 1.75em; + border-left: 5px solid; + transition: all 0.3s ease; } - blockquote:hover { - border-color: #b0a0aa; + border-color: #b0a0aa; } blockquote p { - margin: 0.8em 0; - font-style: italic; + margin: 0.8em 0; + font-style: italic; } blockquote small { - display: inline-block; - margin: 0.8em 0 0.8em 1.5em; - font-size: 0.9em; - color: #CCC; + display: inline-block; + margin: 0.8em 0 0.8em 1.5em; + font-size: 0.9em; + color: #CCC; } -blockquote small:before { content: "\2014 \00A0"; } +blockquote small:before { + content: "\2014 \00A0"; +} blockquote cite { - font-weight: 700; + font-weight: 700; } -blockquote cite a { font-weight: normal; } +blockquote cite a { + font-weight: normal; +} mark { - background-color: #fdffb6; + background-color: #fdffb6; } code, tt { - padding: 1px 3px; - font-family: Inconsolata, monospace, "Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif; - font-size: 0.85em; - white-space: pre-wrap; - border: #E3EDF3 1px solid; - background: #F7FAFB; - border-radius: 2px; + padding: 1px 3px; + font-family: Inconsolata, monospace, "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif; + font-size: 0.85em; + white-space: pre-wrap; + border: #E3EDF3 1px solid; + background: #F7FAFB; + border-radius: 2px; } pre { - font-size: 0.9em; + font-size: 0.9em; } pre code, pre tt { - font-size: inherit; - white-space: pre-wrap; - background: transparent; - border: none; - padding: 0; + font-size: inherit; + white-space: pre-wrap; + background: transparent; + border: none; + padding: 0; } + /* end reset */ /* start function */ .fn-clear:before, .fn-clear:after { - display: table; - content: ""; + display: table; + content: ""; } .fn-clear:after { - clear: both; + clear: both; } .fn-left { - float: left; + float: left; } .fn-right { - float: right; + float: right; } .fn-none { - display: none; + display: none; } + /* end function */ /* start common */ @font-face { - font-family: 'icomoon'; - src:url('fonts/icomoon.eot?3js4w7'); - src:url('fonts/icomoon.eot?3js4w7#iefix') format('embedded-opentype'), - url('fonts/icomoon.ttf?3js4w7') format('truetype'), - url('fonts/icomoon.woff?3js4w7') format('woff'), - url('fonts/icomoon.svg?3js4w7#icomoon') format('svg'); - font-weight: normal; - font-style: normal; + font-family: 'icomoon'; + src: url('fonts/icomoon.eot?nqk4b3'); + src: url('fonts/icomoon.eot?nqk4b3#iefix') format('embedded-opentype'), + url('fonts/icomoon.ttf?nqk4b3') format('truetype'), + url('fonts/icomoon.woff?nqk4b3') format('woff'), + url('fonts/icomoon.svg?nqk4b3#icomoon') format('svg'); + font-weight: normal; + font-style: normal; } [class^="icon-"], [class*=" icon-"] { - font-family: 'icomoon'; - speak: none; - font-style: normal; - font-weight: normal; - font-variant: normal; - text-transform: none; - line-height: 1; + /* use !important to prevent issues with browser extensions that change fonts */ + font-family: 'icomoon' !important; + speak: none; + font-style: normal; + font-weight: normal; + font-variant: normal; + text-transform: none; + line-height: 1; - /* Better Font Rendering =========== */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - vertical-align: middle; + /* Better Font Rendering =========== */ + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; } +.icon-register:before { + content: "\e600"; +} + +.icon-logout:before { + content: "\e601"; +} + +.icon-setting:before { + content: "\e602"; +} + +.icon-weibo:before { + content: "\e605"; +} + +.icon-goup:before { + content: "\e60a"; +} + +.icon-twitter:before { + content: "\e60b"; +} + +.icon-login:before { + content: "\e611"; +} + +.icon-qqz:before { + content: "\e902"; +} .icon-tag:before { - content: "\e903"; + content: "\e904"; } + .icon-date:before { - content: "\e902"; + content: "\e905"; } + .icon-github:before { - content: "\e900"; + content: "\e900"; } + .icon-rss:before { - content: "\e901"; + content: "\e901"; } -.icon-register:before { - content: "\e600"; -} -.icon-logout:before { - content: "\e601"; -} -.icon-setting:before { - content: "\e602"; -} -.icon-gplus:before { - content: "\e603"; -} -.icon-weibo:before { - content: "\e605"; -} -.icon-goup:before { - content: "\e60a"; -} -.icon-twitter:before { - content: "\e60b"; -} -.icon-t-weibo:before { - content: "\e60d"; -} -.icon-login:before { - content: "\e611"; + +.icon-wechat:before { + content: "\e903"; } .form { - width: 100%; - padding: 30px; + width: 100%; + padding: 30px; } #captcha, #captchaReply { - height: 27px; - display: inline-block; - vertical-align: inherit; + height: 27px; + display: inline-block; + vertical-align: inherit; } .form input, .form textarea, .form button { - border: 1px solid #CCCCCC; - background-color: #FAFAFA; - border-radius: 3px; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075) inset; - padding: 7px 8px; - width: 100%; - box-sizing: border-box; - font-size: 14px; - outline: none; - font-family: "Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif; + border: 1px solid #CCCCCC; + background-color: #FAFAFA; + border-radius: 3px; + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075) inset; + padding: 7px 8px; + width: 100%; + box-sizing: border-box; + font-size: 14px; + outline: none; + font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif; } .form button { - width: auto; - vertical-align: bottom; - transition: all 0.3s ease; - cursor: pointer; + width: auto; + vertical-align: bottom; + transition: all 0.3s ease; + cursor: pointer; } .form button:hover { - background-color: #b0a0aa; - color: #FFF; - box-shadow: 0 0 0; - border-color: #b0a0aa; + background-color: #b0a0aa; + color: #FFF; + box-shadow: 0 0 0; + border-color: #b0a0aa; } .form input:focus, .form textarea:focus { - background-color: #FFF; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075) inset, 0 0 5px rgba(176, 160, 170, 0.5); - border: 1px solid #b0a0aa; + background-color: #FFF; + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075) inset, 0 0 5px rgba(176, 160, 170, 0.5); + border: 1px solid #b0a0aa; } + /* end common */ /* start side */ .side { - position: fixed; - background-color: #FFF; - height: 100%; - width: 300px; + position: fixed; + background-color: #FFF; + height: 100%; + width: 300px; } .side a { - color: #696969; - font-size: 30px; + color: #696969; + font-size: 30px; } .side a:hover, .side .toc a:hover { - color: #b0a0aa; + color: #b0a0aa; } .side .overlay { - height: 180px; - background-color: #000; - position: absolute; - opacity: 0.7; - width: 100%; + height: 180px; + background-color: #000; + position: absolute; + opacity: 0.7; + width: 100%; } .side .content { - width: 76%; - text-align: center; - margin: 112px auto 0; - position: relative; - z-index: 1; + width: 76%; + text-align: center; + margin: 112px auto 0; + position: relative; + z-index: 1; } .side .avatar { - display: block; - border: 5px solid #fff; - border-radius: 50%; - width: 128px; - height: 128px; - margin: 0 auto; - transition: all 0.1s ease-in; + display: block; + border: 5px solid #fff; + border-radius: 50%; + width: 128px; + height: 128px; + margin: 0 auto; + transition: all 0.1s ease-in; } .side .avatar:hover { - border-color: rgba(37, 143, 184, 0.6); + border-color: rgba(37, 143, 184, 0.6); } .side hgroup h1 { - margin: 10px 0; - line-height: 30px; + margin: 10px 0; + line-height: 30px; } .side .subtitle { - color: #999; - font-size: 14px; - line-height: 25px; + color: #999; + font-size: 14px; + line-height: 25px; } .side nav ul { - margin: 0; - padding: 0; - list-style: none; + margin: 0; + padding: 0; + list-style: none; } .side nav a { - font-size: 14px; + font-size: 14px; } .side nav .page-icon { - height: 16px; - width: 16px; - margin: 0px 3px 0 0; - vertical-align: -2px; + height: 16px; + width: 16px; + margin: 0px 3px 0 0; + vertical-align: -2px; } .side footer { - position: absolute; - bottom: 15px; - width: 228px; - text-align: center; - left: 50%; - margin-left: -114px; + position: absolute; + bottom: 15px; + width: 228px; + text-align: center; + left: 50%; + margin-left: -114px; } .side footer > div { - margin-bottom: 10px; + margin-bottom: 10px; } .side .toc-btn { - float: right; - margin: 0 10px; - font-size: 14px; - display: none; + float: right; + margin: 0 10px; + font-size: 14px; + display: none; } .side .toc { - height: 100%; - width: 300px; - position: absolute; - top: 0; - left: 0; - z-index: 10; - overflow: hidden; - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABIAgMAAAAog1vUAAAACVBMVEUAAAABAQETExM20mnVAAAAA3RSTlMOECJvSrphAAABBElEQVR4AWyRwQ3CQAwEJ5/rIVQTyuAfHunmXlRAoaxkMfJJkQ4Dznl3x+G4xlzOxvZ5vZdzMJ7fx3Im+7a2jpNzrINzZ+6r/DnIp7dyg9zsg9Ehel0+bsS1t5KJZOuDSU4Iunz4qC8BU6nLAqZSkgKmUsYCplLxBEylIARMxV8+w/sqoKo+6G0aTGhm5JAM//gARxxHYU3Q3igY0sCIIhYCC49rcUW4PBeJK3bd+CIKsDle8H91N62bwTv5Xxv1QQAAAAQQsH9rAU6DH3CIG9WFbm2Pcyf00PcOn3avFYDDRJgOOcE8fIX8VFCY00r5TlFFPt2NwqXDwFyGjNUlzfBdHo1oSKi9zm79GKMAAAAASUVORK5CYII=) repeat #5d5d5d; + height: 100%; + width: 300px; + position: absolute; + top: 0; + left: 0; + z-index: 10; + overflow: hidden; + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABIAgMAAAAog1vUAAAACVBMVEUAAAABAQETExM20mnVAAAAA3RSTlMOECJvSrphAAABBElEQVR4AWyRwQ3CQAwEJ5/rIVQTyuAfHunmXlRAoaxkMfJJkQ4Dznl3x+G4xlzOxvZ5vZdzMJ7fx3Im+7a2jpNzrINzZ+6r/DnIp7dyg9zsg9Ehel0+bsS1t5KJZOuDSU4Iunz4qC8BU6nLAqZSkgKmUsYCplLxBEylIARMxV8+w/sqoKo+6G0aTGhm5JAM//gARxxHYU3Q3igY0sCIIhYCC49rcUW4PBeJK3bd+CIKsDle8H91N62bwTv5Xxv1QQAAAAQQsH9rAU6DH3CIG9WFbm2Pcyf00PcOn3avFYDDRJgOOcE8fIX8VFCY00r5TlFFPt2NwqXDwFyGjNUlzfBdHo1oSKi9zm79GKMAAAAASUVORK5CYII=) repeat #5d5d5d; } .side .toc li { - border-bottom: 1px solid #717171; - border-top: 1px solid #5d5d5d; + border-bottom: 1px solid #717171; + border-top: 1px solid #5d5d5d; } .side .toc a { - font-size: 14px; - color: #e5e5e5; - display: block; + font-size: 14px; + color: #e5e5e5; + display: block; } .side .b3-solo-list { - padding: 0; - margin-top: 50px; + padding: 0; + margin-top: 50px; } .abstract .b3-solo-list { - display: none; + display: none; } .side .toc .close { - color: #fff; - float: right; - padding: 0 10px; + color: #fff; + float: right; + padding: 0 10px; } + /* end side */ /* start main */ main { - position: absolute; - right: 0; - min-height: 100%; - background: #eaeaea; - left: 300px; - width: auto; + position: absolute; + right: 0; + min-height: 100%; + background: #eaeaea; + left: 300px; + width: auto; } + /* end main */ /* start article */ article { - margin: 30px; - border: 1px solid #ddd; - background: #fff; - position: relative; - transition: all 0.2s ease-in; - visibility: hidden; + margin: 30px; + border: 1px solid #ddd; + background: #fff; + position: relative; + transition: all 0.2s ease-in; + visibility: hidden; } - article.show { - visibility: visible; - -webkit-animation: bounce 0.6s; - animation: bounce 0.6s; + visibility: visible; + -webkit-animation: bounce 0.6s; + animation: bounce 0.6s; } @-webkit-keyframes bounce { - 0% { - opacity: 0; - -webkit-transform: scale(1); - } - 60% { - opacity: 1; - -webkit-transform: scale(1.02); - } - 100% { - -webkit-transform: scale(1); - } + 0% { + opacity: 0; + -webkit-transform: scale(1); + } + 60% { + opacity: 1; + -webkit-transform: scale(1.02); + } + 100% { + -webkit-transform: scale(1); + } } @-moz-keyframes bounce { - 0% { - opacity: 0; - -moz-transform: scale(1); - } - 60% { - opacity: 1; - -moz-transform: scale(1.02); - } - 100% { - -moz-transform: scale(1); - } + 0% { + opacity: 0; + -moz-transform: scale(1); + } + 60% { + opacity: 1; + -moz-transform: scale(1.02); + } + 100% { + -moz-transform: scale(1); + } } article header { - border-left: 5px solid; - padding: 15px 30px 15px 25px; + border-left: 5px solid; + padding: 15px 30px 15px 25px; } article header:hover { - border-color: #b0a0aa; + border-color: #b0a0aa; } article header h2 { - margin: 0; - font-size: 26px; - padding-right: 110px; + margin: 0; + font-size: 26px; + padding-right: 110px; } article header a { - color: #696969; - margin-left: 0px; - font-weight: 300; - line-height: 35px; + color: #696969; + margin-left: 0px; + font-weight: 300; + line-height: 35px; } article header a:hover { - color: #b0a0aa; + color: #b0a0aa; } article header sup { - font-size: 14px; - font-weight: normal; - color: #999; + font-size: 14px; + font-weight: normal; + color: #999; } article header time { - font-size: 14px; - position: absolute; - right: 30px; - color: #aaa; - top: 18px; + font-size: 14px; + position: absolute; + right: 30px; + color: #aaa; + top: 18px; } article .abstract { - line-height: 1.8em; - padding-right: 30px; - padding-left: 30px; - overflow: hidden; - word-wrap: break-word + line-height: 1.8em; + padding-right: 30px; + padding-left: 30px; + overflow: hidden; + word-wrap: break-word } article footer { - padding: 20px 35px 0 0; - margin: 30px 30px 20px 30px; - border-top: 1px solid #ddd; + padding: 20px 35px 0 0; + margin: 30px 30px 20px 30px; + border-top: 1px solid #ddd; } .tags .tag:hover, -article .abstract a:hover{ - opacity: 0.7; +article .abstract a:hover { + opacity: 0.7; } .tags .avatar { - width: 20px; - border-radius: 10px; - right: 30px; - position: absolute; - bottom: 25px; - transition: all 0.2s ease-out 0s; + width: 20px; + border-radius: 10px; + right: 30px; + position: absolute; + bottom: 25px; + transition: all 0.2s ease-out 0s; } -.share span { +.share { + .icon-wechat { + position: relative; + z-index: 12; + } + canvas { + position: absolute; + right: -54px; + top: 18px; + } + span { transition: all 0.2s ease-out 0s; cursor: pointer; + } } .tags .avatar:hover, .share span:hover { - transform: rotate(360deg); - color: #333; + transform: rotate(360deg); + color: #333; } .tags .tag { - color: #fff; - font-size: 10px; - height: 18px; - line-height: 18px; - display: inline-block; - padding: 0 5px 0px 10px; - position: relative; - border-radius: 0 5px 5px 0; - margin: 5px 9px 5px 8px; - background-color: #7b5d5f; - font-family: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace; + color: #fff; + font-size: 10px; + height: 18px; + line-height: 18px; + display: inline-block; + padding: 0 5px 0px 10px; + position: relative; + border-radius: 0 5px 5px 0; + margin: 5px 9px 5px 8px; + background-color: #7b5d5f; + font-family: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace; } .tags .tag:before { - content: " "; - width: 0px; - height: 0px; - position: absolute; - top: 0; - left: -18px; - border: 9px solid transparent; - border-right-color: #7b5d5f; + content: " "; + width: 0px; + height: 0px; + position: absolute; + top: 0; + left: -18px; + border: 9px solid transparent; + border-right-color: #7b5d5f; } .tags .tag:after { - content: " "; - width: 4px; - height: 4px; - background-color: #fff; - border-radius: 4px; - box-shadow: 0px 0px 0px 1px rgba(0,0,0,0.3); - position: absolute; - top: 7px; - left: 2px; + content: " "; + width: 4px; + height: 4px; + background-color: #fff; + border-radius: 4px; + box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.3); + position: absolute; + top: 7px; + left: 2px; } a.color1.tag { - background: #ff945c; + background: #ff945c; } + a.color1.tag:before { - border-right-color: #ff945c; + border-right-color: #ff945c; } -a.color2.tag { - background: #f5c7b7; + +a.color2.tag { + background: #f5c7b7; } + a.color2.tag:before { - border-right-color: #f5c7b7; + border-right-color: #f5c7b7; } -a.color3.tag { - background: #ba8f6c; + +a.color3.tag { + background: #ba8f6c; } + a.color3.tag:before { - border-right-color: #ba8f6c; + border-right-color: #ba8f6c; } -a.color4.tag { - background: #cfb7c4; + +a.color4.tag { + background: #cfb7c4; } + a.color4.tag:before { - border-right-color: #cfb7c4; + border-right-color: #cfb7c4; } nav.pagination { - text-align: center; - margin-top: 30px; -} + text-align: center; + margin-top: 30px; +} nav.pagination .page-num { - width: 20px; - height: 20px; - background: #4d4d4d; - border-radius: 50%; - display: inline-block; - color: #fff; - line-height: 20px; - font-size: 12px; - margin: 0 3px 30px; + width: 20px; + height: 20px; + background: #4d4d4d; + border-radius: 50%; + display: inline-block; + color: #fff; + line-height: 20px; + font-size: 12px; + margin: 0 3px 30px; } nav.pagination a.page-num:hover { - opacity: 0.7; + opacity: 0.7; } - nav.pagination .page-num.current { - background: #88acdb; + background: #88acdb; } nav.pagination .extend { - color: #4d4d4d; - margin: 0 27px; - opacity: 0; + color: #4d4d4d; + margin: 0 27px; + opacity: 0; } nav.pagination .extend:hover { - color: #b0a0aa; + color: #b0a0aa; } nav.pagination:hover .extend { - opacity: 1; + opacity: 1; } article.post { - visibility: visible; + visibility: visible; } .post .tags .avatar { - bottom: inherit; - margin-top: 4px; + bottom: inherit; + margin-top: 4px; } .post section.tags { - margin: 0; + margin: 0; } .post header { - padding-bottom: 0; + padding-bottom: 0; } .post .share { - padding: 10px 0 0 0; - margin-top: 15px; - font-size: 14px; + padding: 10px 0 0 0; + margin-top: 15px; + font-size: 14px; } .post aside a { - color: #DDD; + color: #DDD; } .post aside a > strong { - background: #ddd; - color: #fff; - border-radius: 50%; - width: 16px; - height: 16px; - display: inline-block; - transition: background 0.3s; - vertical-align: middle; - line-height: 14px; - text-align: center; + background: #ddd; + color: #fff; + border-radius: 50%; + width: 16px; + height: 16px; + display: inline-block; + transition: background 0.3s; + vertical-align: middle; + line-height: 14px; + text-align: center; } .post aside a:hover { - color: #4d4d4d; + color: #4d4d4d; } .post aside a:hover > strong { - background-color: #4d4d4d; + background-color: #4d4d4d; } .comments { - margin: 60px 60px 0 50px; - padding: 0; - list-style: none; - position: relative; + margin: 60px 60px 0 50px; + padding: 0; + list-style: none; + position: relative; } .comments li { - margin-bottom: 30px; - padding-bottom: 30px; - border-bottom: 1px solid #ddd; + margin-bottom: 30px; + padding-bottom: 30px; + border-bottom: 1px solid #ddd; } .comments li time { - border-left: 1px solid #d5dbde; - padding-left: 10px; - margin-left: 10px; + border-left: 1px solid #d5dbde; + padding-left: 10px; + margin-left: 10px; } .comments .avatar { - position: absolute; - height: 60px; - width: 60px; - border-radius: 50%; - border: 3px solid #FFF; + position: absolute; + height: 60px; + width: 60px; + border-radius: 50%; + border: 3px solid #FFF; } .comments .content { - margin-left: 80px; - min-height: 66px; + margin-left: 80px; + min-height: 66px; } .comments .post-meta { - margin-bottom: 9px; + margin-bottom: 9px; } .comments .content img { - vertical-align: sub; + vertical-align: sub; } .comments li.comment-body-ref { - position: absolute; - background-color: #FFF; - width: 80%; - margin-left: 80px; - padding: 10px; - border: 1px solid #ddd; + position: absolute; + background-color: #FFF; + width: 80%; + margin-left: 80px; + padding: 10px; + border: 1px solid #ddd; } + /* end article */ /* start footer */ footer.footer { - line-height: 1rem; - font-size: 12px; - font-family: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace; - text-shadow: 0 1px #fff; - opacity: 0.6; - margin: 0 30px 30px; + line-height: 1rem; + font-size: 12px; + font-family: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace; + text-shadow: 0 1px #fff; + opacity: 0.6; + margin: 0 30px 30px; } footer.footer .icon-goup { - position: fixed; - bottom: 35px; - right: 5px; - -webkit-animation: upbounce 4s 2s infinite; - animation: upbounce 4s 2s infinite; - z-index: 10; - font-size: 20px; - cursor: pointer; - color: #b0a0aa; - transition: all 0.3s ease; + position: fixed; + bottom: 35px; + right: 5px; + -webkit-animation: upbounce 4s 2s infinite; + animation: upbounce 4s 2s infinite; + z-index: 10; + font-size: 20px; + cursor: pointer; + color: #b0a0aa; + transition: all 0.3s ease; } footer.footer .icon-goup:hover { - color: #4a4a4a; + color: #4a4a4a; } @-webkit-keyframes upbounce { - 0%, 10%, 25%, 40%, 50% { - -webkit-transform: translateY(0); - transform: translateY(0); - } - 20% { - -webkit-transform: translateY(-10px); - transform: translateY(-10px); - } - 30% { - -webkit-transform: translateY(-5px); - transform: translateY(-5px); - } + 0%, 10%, 25%, 40%, 50% { + -webkit-transform: translateY(0); + transform: translateY(0); + } + 20% { + -webkit-transform: translateY(-10px); + transform: translateY(-10px); + } + 30% { + -webkit-transform: translateY(-5px); + transform: translateY(-5px); + } } @keyframes upbounce { - 0%, 20%, 50%, 80%, 100% { - -webkit-transform: translateY(0); - transform: translateY(0); - } - 40% { - -webkit-transform: translateY(-10px); - transform: translateY(-10px); - } - 60% { - -webkit-transform: translateY(-5px); - transform: translateY(-5px); - } + 0%, 20%, 50%, 80%, 100% { + -webkit-transform: translateY(0); + transform: translateY(0); + } + 40% { + -webkit-transform: translateY(-10px); + transform: translateY(-10px); + } + 60% { + -webkit-transform: translateY(-5px); + transform: translateY(-5px); + } } + /* end footer */ /* start classify*/ .classify li { - list-style: none; - font-size: 20px; - float: left; - margin: 0 30px 20px 0; + list-style: none; + font-size: 20px; + float: left; + margin: 0 30px 20px 0; } .classify .tags .tag { - font-size: 20px; - padding: 10px; + font-size: 20px; + padding: 10px; } .classify .tags .tag:before { - left: -38px; - border-width: 19px; + left: -38px; + border-width: 19px; } .classify .tags .tag:after { - top: 15px; - left: -6px; - width: 8px; - height: 8px; + top: 15px; + left: -6px; + width: 8px; + height: 8px; } .classify-name { - font-size: 18px; - margin: 30px; + font-size: 18px; + margin: 30px; } .dynamic li { - list-style: none; + list-style: none; } .dynamic .comments li:last-child { - border-bottom-width: 0; + border-bottom-width: 0; } + /* end classify*/ /* start responsive */ @media only screen and (max-width: 500px) { - .side { - position: relative; - height: auto; - width: 100%; - } - .side .avatar { - position: relative; - } + .side { + position: relative; + height: auto; + width: 100%; + } + .side .avatar { + position: relative; + } - .side .content { - margin-top: 0; - padding-top: 20px; - } + .side .content { + margin-top: 0; + padding-top: 20px; + } - .side .overlay { - height: 100px; - z-index: 0; - } + .side .overlay { + height: 100px; + z-index: 0; + } - .side nav { - display: none; - } + .side nav { + display: none; + } - .side footer { - position: initial; - margin: 10px auto; - padding-bottom: 16px; - } + .side footer { + position: initial; + margin: 10px auto; + padding-bottom: 16px; + } - main { - position: initial; - } + main { + position: initial; + } - article { - margin: 10px; - } + article { + margin: 10px; + } - .comments { - margin: 20px 20px 0 20px; - } + .comments { + margin: 20px 20px 0 20px; + } - footer.footer { - text-align: center; - } + footer.footer { + text-align: center; + } - footer.footer .fn-right { - float: none; - display: block; - } + footer.footer .fn-right { + float: none; + display: block; + } } + /* end responsive */ \ No newline at end of file diff --git a/yilia/css/fonts/icomoon.eot b/yilia/css/fonts/icomoon.eot old mode 100644 new mode 100755 index 379a54517c0ca6e934242099f529e6ea737be7dd..d24c12bc6c614b11a48a70fa4745cd50396b12dd GIT binary patch delta 2042 zcmZ`)Yit}>6~1TgJa%VaWA8k6$K%*s!X=1vjimk9|zv-!xzS^1B5-XJ9G@|&9o_)fBC zQ9g-sX7kd{m3wc%VU(|++}^tU@J93<^{*(q_A-|?u56Q%PJV&F`v@c-+qm?|cNYBr zA|!$$Jhy%M@g3s2N2KT7c|z%LoUAOtvB6*T`nZ z$Nx8Wo@VnWq)0Q9MKsftA`z*XK}I&yj9|bq+C=H^(GTejVvuptB=h7X>5?1dEp(C> z+|?CXb8WSnE!T3R?)l-&@CUWQyp{71tK4jrJ&N-Tzm!xxB>{d^FHW}QXjE=b7VGuN zVmm6!(ROjt`2$~-CnhdV9c)yZ%`YdDg1T%`z=T(e?AMfJir z2$gdypm#mKV1goJgg+NuhFn-X{X#yk>uYoNQdEKqhli~(E0<5NsqAoIqEI+2D@L3R zD)S5GTq-qZ9&0N>Hf|{Ld|`Ydtbi0cAu7ofDf9YLfuTl37Bc zX?Fv)Dwal$mfdls>Lp((yJ%%lF#mt%YGZM+;WpcDl!_g>D@*0FWSWn5j(pL!2WDNQ zTHAeM2kZg2u?S?SR2-J&PO*fV_jfvvnkEpJIM}RhKfCk9Zmo((7O=wmbdMavJaOeg zHCx#kaO*Zpi!hev1ckj3E-X5>sf{?z9A??QR2 zcU!F0zjyxJX-3?qRG>^3av!mNj^iN#D=g2my*CrUbDW?3sCSbSDP?Zm0$_mRqIzJ& z?;oNx@PQ_RUkn2%So1s~{ok|Kse>uf$QUV+FA=;Mp`OE?4svz(n0^-T{+ERD8T+)Z zRV|D{&JtRK8phk}u8T+mnHMz6rFfUYXJ-{yG-8@%X)yzSV8kN29*G&(3@v6^G0lLB zqnZn8qc4lHxL|kfbz?-}@jP1d){Em-B2fqiQpv9_F0C#f>1^k$5F9@~oBUd0HnCva z>m!CSvToZ89oyb8MwvHb2HG-=-ap(mC0&Qg=aIhw==y_G({1&D3=k5Ie#1y4I+j&f zn8W2p=2UgL*_i3Q)p@G8IqM6@Vk@oI%uK7b62s3OV~8n<_kYI{EUEy$7n2y=Pmcgb z&-oy{%6#&%GaE@NJh73zN3W6;9+wWeO1?#II>k_iqp6`3I1h$4!>M%c5Y+K8P)9M2 z&by&4e=nzJvpP2CXn2&thiEf=<`|%1{N7d%?yg6s|4ss|C%<>|p_Drq^!*=V=J!za z;d3?kP>=5Q5o52r0DIkeBhpwFQCq<_?XKd!e%OP{z&?)6Mu-rR$iyT+ChtLqImK)- df1xUUjef%Ja2f6~{xF^{LWaoRPYy_X@EB*+?AFR<&ffIm$F1r6vd>HCBb%NSxg)$6l}$cEyZf= zq$%ovP79|W4hp!70*$|fBq-XXXZ8uX(<0ii~W<|i%CIx;&; zxlTVy-g{?fX6Mdu?wPs#t#(J}?gSB<4qoRhrv2$y>w5M17W+?x&`)7DPj9Ynz4z?9 zGD0{8{N=N&7q@^0fd4K~;q1m&pL)Ia-XDSAM#vXiUt2xHe>le>Bs%uiItcg==!d|6 z27KT8=A{=7Q+ysFe;4rejSHt&<(pl90saX`zq$It7RpA^FF|kx1c_%>H`iW0;<^j` zHaK~C>%zrLh=K+M2OK@3^f&eyJb|hG1|EC32{H-7qliHmCHCkZyXV>S?FDbs_I|q! zTCmweAa!@7s3XPgzebrTjkF{8B6n4v9VeVS1o0j#gbLXtBNe~oNnJB zL$n98_OD5q&f{A)OP?n{*sx!uefBne3{TkqrdcsV%wmNU@^KA-PQ#T7{K`!9DRmgyyRpKVu53ogOXC{93UJsRiqA*CU}j+seP6=^zx-2UZ}rlxx?;} zr_$!50m09EWq0XFpkGR+Jf8T>;);EfAE4iRdC~ru@22C2qBa)P7W*Iv0aQZIpjXk) z!QlavzVL|^ZU_TFj0$7~mpY&+&Q9i$@WMXHA3DT6@`Xe;C^fcXs3H4!kcs0zn( zj`n}+K*u0z{nrA33gcjdk_Dc?!ojWMMd5T+(&Uc1gUK%(Ic5OX&fw`MjmrMXN~2LB zZ&n(gzlps96}*`9#SBU8_EDNmCbQY3Pj!1D-bkO!G4Hg*n9t=R#P9Mb-ofcoZ*OUO zFggdijOj9R0RZ`2Hj;$H<4{({jJIbVd85m@SG7)%+SN{Mv3A<2ofH!89` z=DAy#2<*&)#Cs^~VnSX)&_h88$jvcsuKT#ff*q=~mX<2}i{p*PIC*P-#HGbu^{<^> z=#e#_5O6ucYFUBzr9!Eb%ct`gdK~c!E;rOhr&~amaA;RXhDaga=t$4~Nb?TGQOxsQ z8-=0~ftB}h;1U96JsgB8^`?g!(jdq3EX$w3n4!4)xaL*ega~~>h*anc@NVjoJcnu$ zaWS?cEVq^b8=WJC#;90k8K*cSm%%y1%EfU`u{z*@im?D9rC~*dc9M72900)SK_cl8 z4lr@QvUGyZy?^akarvdWZ~&jHg;ILT7|@m#Cgd49Q5%d!7_U5aBtDr;PR7S(>av%K z#0IAphC~?$!gDVz7mryOh>S zDZ+ZQeT8|iJIq8^S~nIQ=T4_}ZjvfRw2Hh)N23UZq2{3Epk+ca1cx0a=XCI4N0xK2 z{eOj5%-LDfnboSf{K!CHcsNjg`r5H-)p0cKuxoGMzKW{{FPXC#1+$sZz$43GaP*a@ z%NRNDIKQS^y?XoYHE8@*h;El&K^jV-Y4mk;9c|kgUmvdrlkjEjCEt1gI=?ZFi*Pe3 zJs7Ie{+(}QD0;6N?eC8|6B$vm9W@dIBO?QegVl)cH=_or-a`c4wO7SvFC-z-{u2Y< zAPGt6hX_B&0A#~{&AUjIebN4xH!%x3Cv6C|#y)L7=`a5Sd6*9W`%~YzT~@S%%p;6rfd@k&dw&?({gii9W)k_;2JR d@^`wPGrc3|; diff --git a/yilia/css/fonts/icomoon.svg b/yilia/css/fonts/icomoon.svg old mode 100644 new mode 100755 index 3e4a1d0..661b1b9 --- a/yilia/css/fonts/icomoon.svg +++ b/yilia/css/fonts/icomoon.svg @@ -10,14 +10,14 @@ - - - - + + + + \ No newline at end of file diff --git a/yilia/css/fonts/icomoon.ttf b/yilia/css/fonts/icomoon.ttf old mode 100644 new mode 100755 index bc8106a0f33d58ecf57f50434c7ebdfb5dcb5e9c..c72eb826cdb8e7bda4ac8b13485982800faea85c GIT binary patch delta 2103 zcmZ`)Yiu0V6~1@wJa%T^-g)fKj%OdX@@QI+N>m<-s6hP(!a_*Rj|%alstCU#r7}fG(5h-x0_^t8Y=H=g zE8WNW?m74IopbKJoP8`?LHH0Nf38r&rFbBNe>^@>P)2_pF@0^VvE63xvWT;z!r- zy>9~!3MKNGJC6wY%P+U4Fmn!%PaOhe01ihG1(!;1Q`^k8e>?gy)BCE|b8P@afC+#h z55v7{Dy>q9ZsK#r?`&elc^3ar38Qgz3UH(_ziSsuq=kVkZzS%iOEY&Pw&u9{Rb~^SXN9qdo>$P zcjtP|JBRZevrFmEn}&y&VrkUpCXY+HJ!;0 zCAB=yJMXhiF`F&&JWcxp<$}5U$jyqpTh|?l8|Ou7Z?)2b`#A@>x(?pMnJgsTzqt-=uG&Ms-D^r z3=%#j%&cf}Mhp*HVGcN#aa#cqAm@NGG;$+Fn-GLg9(S%Vf*zPA)AhbSz6H0|MVjD~qFgoTDn^ ztdPhGbTHVothr(jCg@6#FRmw zcenTc$hQ02x=5vZ>HZCD_f_lj7)7npfGD<078rK+x7&B?I!3N$|Ms^1$j1Gbsujp) z3<=O9TWA(s$CUfQZssSk8`gPJ!b4e>Ba9m@YVxYm3 zVlI(*X!XQzaCxnJO{ms>f8wsgl(0<*2kRK0(LBSjIE4?;EK7G^OJSB_c>1&M1x6r* zdh0EWDNJBZ)t}_~C?WpNM~Z-XA%w96DZwJt`;b0I9Pp8XhLDARjNr+{kQA=7T(8_X zCf|btJwsndx~zmiFifubb)*9e-#k-F2a7DHn68fZR>0GD!?c9wwYXxMN?gM)Yw@tE zhU3~=+A9u}&s^YQlBLBizRc{-gXvsT7 zjDy?{ey*ibZPP5yO~ZOgSzc(=C%bRAA1bX*`9ksdfo5}Zve`TkhvJTbVS*C9D>QAxv_c91#m-Dk;uH+~nsi2nzGkbu$v delta 2183 zcmZuyYit|G5#GnW_&UDscqBzpP3Yy;lt(@Il-FoxlEg2yk z1Nq9i)k|BzeIS1qxNvUc%TNBW@#bGazJZV@w!XId1pn?lhmdI7o9m$9-=^<^{0YdZ z_07xA9isRGLf$aQ&5dWyPOZvsgg*eqY5RlC)#tWQ6#W6@s~{(yUfo=KdDd|kWlFHIp_kvR`jE0eP8LnWugRLB8M>j%Ixd=e4(!Y_r)pg_of*Vn z%;#_>jujRdG*~c>^<>RnJ`?(I`iP6u^ux(UpVyM)la=P)#l{NBZdDSOwif0$%|qpE zHax8~OO)bFb7i}>4ej3Fe1l$Tz$pkm!91yE9v}Y&-hY1OY8g^ind)w-uE!^FfM7z7 z6H1`r6#3GLvH3$PCeJP%I5MGPJo5SJl}=;WoRYWd=BZ>dJrHjA3Qx?s757RL_qMmI z+uQdQ9L&f32`^5@>Td_7%Z$K4JDe>Kb3D$c56%gG!4VLU@Njn}l#HPqnuIO>0{S|7 z9gbS0vJ@xf8Z}BeVx49t+#o% zWR7{gE5mXGXI#X2RuSSV8bJq9@&G>&12>ZFBsNFX7eG;mCy& z^o+n#C&OUM@Kj1$5h_&T5XG=Wf1wZqn--~s6U z1zQ-m>u6WBJUZel6nvGZt{tn_ZBMqecJt1QxW509F^7>q zp9_pU+5v;3-+Zcqk^POGU%md~ottY=w(Ahx4!w$0ltDA-1#}(Vu)g6=@tQvgFKgX$ zult~Gr>nRG_ey9G!{29(dNy3q`}OGXaMUL2`<_8c&|T}do|Pd;Hqv{KfmI>dBvdVg zA7%kT$*;Z2`B)j~IEuO&@>yCx}o4Xnq6%3Ist~^hZ!9N(%$Efu=?4retT2 zaVmI$x!wJCW@q`$%r2kLe40|ebFkeeK(K{BB|f)*+4(&v&WFH1H#yuD>3yd=X9$6H zT-#)F^+!MZ-HFbl4Eqz#y`M|?#KzeN5&MV`|M!`^b??p6`U9Q&2?;XWCKKf^H(y;x z5V03B#V&|iiAfBSu0Ll4^oF&Q!9V$i>;^Ex-u8~L~9LpwmCBF@L~6)i-j$tm=mHuF}a z)vVVvHL7?-XNjBOqTrn6W;pns^BeBlT<@Awp;>2@9)EC*E9%d zeT`14*_;)|X63TuC=7V~U1+;ceF!Y*yFZsuLYtTbB{SH+nWmy@b%d9;B%&-#l^Tty(n3U0A`7J{=NYl4OiY}b-epyr&3lqbkJK0*o-qr~J7O!7&DJG3 z3h#5FU?~yLq~l{npO2&Aa6OqyXGV>jBsqqsrKHnEN#c2*zfv%FAK$O3yW?@E#a5Uh95?g?uNQn%cBxz!dY<5>)feY8I=}QO*{CvK z9G?hAAskuWW3TCYq44yvHM-??Cs$Wiy7JgZ+%lwAzw+27*aKB-3CK{n zG^{A?QW*{L5_>2f2f`Ewzty&%+7GU6t#Nmrgu*jFY!1 z_25SN>%1fgA|&7tFN%Ec^#q85Ao16Gmjszo?u|D9IH0(x?i-b)Axzp&G#Mm02oS~a zh=lb2$X}oihDakBQYLp3yj=mS<5sM?J12CdLZAe?@O=5ZMk3KR&En!7+;3D>SDMyr@6GlT zrS&;)Fcv%1YR%5JT8CoT*cd6MWTgKGo?ue>@Ew{$a&MIYQtbR7xXOL@FXxkBGAa@q zwYTUwlEQLnlXK)*a>;q$pA~3oCbN9Sx{L+a)ATuw)EZUn|S ze6Yg7dk+9Q#`d&o%a%s+^acjq5m`g)2D27UiEjQkc(z4)vR8rspVK4Sa@2Jjc0 z!y#)`M(Zfb4BLfOHTJ+XupdFO5h6q;3W<|nkq@BF9pyH-zfqOGNI&B@g{<(fxEHI7 VkRh_={tF<4V-Mo5uZJ$f{{RiKg_-~W delta 2250 zcmZuzeQaA-6~7tV6wn>pDjWGT~LaKzcAqGNBpg<`C{uoH8OU=12*~TB( z_uO;ux%b?2?zz8v?)xBh-B6!cJboNu1V7((|5UxF-YQw06& zvCh^y$iOguj?s&Aj=S5JE?KYAxW&*)@=;$crfAAOOidy2tOi z_S}2E+qAde>%l1K?jevmZ7H&)xcA2h7op)^_+I#K$PL=q4%ct-QlA&q&=z>0XVPY= zQZ5!kK}{6}!)lTd8pphKiB#zce9O8?K2N^CX${f=Ylc36k6GWMc_l~8Qk@hF38JYA zvF^}OW!6k4&Dr7M18&{N4R!m=(4Q&y_m^itUhZdJ3P|hi(mV9)&gh}zgR+>znFJ2;z@Wf_30zFo+47m-`_m^}f>At{YTCS>A|I@^_8)Jq zk?eLgd3pQf!dCfcC7bP=4z)^@;!JC8r@jN_!{2%19yRKeB(GF{K+ill{zH85`>|`* zRI{O}?zZlFa1#3oCgc>M1PUG?Pn;Q9II3fE_4Me82_561&rGkaGzZI5+IFLSHkC?8 z`^yw<|Kot@gw&b<&0$+e@Pk}RVu9{B`7VQ&+bEZMnhSHw}og}E` z5!1AKRp^kuax)bZ;RZl$cp>Ah*#0TKwKi<9< zRnTMTMf4V!IzZ7U)^Jc5!GMi)9fE-?HeQMafWKgXRKcP`Ljh>zFbo6GiiJABJx2^( z0k{Xdp`aiNZ1{igfPrn%fd*g{%E1DaGFSoy23ck$C>SAC*X&^%j-MD}YJgL_i1bdo zzJI#jZr8~x_4bFaU|FJ)j0JZ$mR6Oho6>wLmCvW#A*U-WhX*u)dsT_K9S%Y~4p&ef zo~iWrS7wH@Gv%bq#qpBl;}mzg*)A5^%{1fq=ia2JnC=T-EJ4jlJauv$rkqICWH#GY zwPaR~D7=V8;T9$mKYLOYU6k)SIKM1OhTjJsIR(xsMDH*2por>c&eZppYwdQ8+}JMkYO^uLL>2YvfdOI2Pt)ZF(*-l}b$|W?P!fg=53hCr1TY?yB{BDcFrvR_C&I`^8>{bvNOO%R=Y1PGute6 zvS*<|5p5tD8E68b0Nf$CLXZOi;=VD~8D}YZjLF6sV*ju3X>)$QV?t#%8s^IJA@A6j zxBBR{rAC8UV!id7x1Yt0d3%mIkC88*^A8$pc(Wf^aA>Z^{zZ18om_#d8;RHcp;UiYq$hYO)!q(u31;zo36;cMr3d>!pQoo zJ5C9@YdMs)e%Nfd_ZtpYh0UfQksp6}xS0=XEV A+5i9m diff --git a/yilia/css/fonts/selection.json b/yilia/css/fonts/selection.json old mode 100644 new mode 100755 index 048805f..e0a2704 --- a/yilia/css/fonts/selection.json +++ b/yilia/css/fonts/selection.json @@ -1,317 +1 @@ -{ - "IcoMoonType": "selection", - "icons": [ - { - "icon": { - "paths": [ - "M725.354 245.312c0 29.44 23.894 53.334 53.334 53.334s53.334-23.894 53.334-53.334-23.894-53.334-53.334-53.334-53.334 23.894-53.334 53.334zM352.448 999.232c32.854 33.088 86.186 33.088 119.254 0l521.386-517.974c20.886-20.886 31.36-48.426 30.934-75.946v-299.52c0-58.454-47.382-105.814-105.814-105.814h-299.52c-27.52-0.448-55.040 10.026-75.968 30.934l-517.952 521.408c-33.088 33.046-33.088 86.378 0 119.254l327.68 327.658zM640.022 245.312c0-76.586 62.080-138.666 138.666-138.666s138.666 62.080 138.666 138.666-62.080 138.666-138.666 138.666-138.666-62.080-138.666-138.666z" - ], - "attrs": [], - "isMulticolor": false, - "tags": [ - "tag", - "price" - ], - "grid": 48 - }, - "attrs": [], - "properties": { - "order": 34, - "id": 14, - "prevSize": 48, - "code": 59651, - "name": "tag" - }, - "setIdx": 1, - "setId": 0, - "iconIdx": 0 - }, - { - "icon": { - "paths": [ - "M896 960h-768c-35.328 0-64-28.672-64-64v-672c0-35.328 28.672-64 64-64h64v32c0 53.024 42.976 96 96 96s96-42.976 96-96v-32h256v32c0 53.024 43.008 96 96 96s96-42.976 96-96v-32h64c35.328 0 64 28.672 64 64v672c0 35.328-28.672 64-64 64zM896 384h-768v512h768v-512zM418.208 634.528c6.304-10.048 9.472-20.672 9.472-31.776 0-24.736-13.312-37.12-39.936-37.12-23.136 0-45.248 9.184-66.368 27.552v-52.128c23.36-15.136 49.76-22.688 79.136-22.688 27.488 0 48.96 6.912 64.416 20.704s23.168 32.48 23.168 55.968c0 31.36-18.816 63.808-56.448 97.312l-55.328 49.12v1.12h109.12v49.12h-176.992v-46.112l77.056-73.696c15.488-14.848 26.4-27.296 32.704-37.376zM634.784 741.312c8.448-6.496 12.672-15.552 12.672-27.2 0-12-5.216-21.248-15.648-27.744s-24.768-9.76-43.040-9.76h-24.192v-45.376h22.304c35.008 0 52.512-11.616 52.512-34.88 0-21.888-13.44-32.8-40.32-32.8-17.984 0-35.488 5.824-52.512 17.44v-48.384c18.88-9.504 40.864-14.24 65.984-14.24 27.488 0 48.896 6.176 64.224 18.56s22.976 28.448 22.976 48.192c0 35.136-17.824 57.12-53.44 65.984v0.928c19.008 2.368 33.984 9.28 44.992 20.704s16.512 25.472 16.512 42.080c0 25.12-9.184 44.992-27.552 59.616s-43.744 21.952-76.128 21.952c-27.744 0-50.304-4.512-67.68-13.504v-51.552c17.984 13.12 39.008 19.68 63.008 19.68 15.104 0.064 26.88-3.2 35.328-9.696zM735.008 256c-34.816 0-63.008-28.192-63.008-63.008v-65.984c0-34.816 28.192-63.008 63.008-63.008s63.008 28.192 63.008 63.008v65.984c0 34.816-28.192 63.008-63.008 63.008zM287.008 256c-34.816 0-63.008-28.192-63.008-63.008v-65.984c0-34.816 28.192-63.008 63.008-63.008s63.008 28.192 63.008 63.008v65.984c0 34.816-28.224 63.008-63.008 63.008z" - ], - "attrs": [], - "isMulticolor": false, - "tags": [ - "calendar", - "date", - "schedule" - ], - "grid": 32 - }, - "attrs": [], - "properties": { - "order": 35, - "id": 13, - "prevSize": 32, - "code": 59650, - "name": "date" - }, - "setIdx": 1, - "setId": 0, - "iconIdx": 1 - }, - { - "icon": { - "paths": [ - "M512 0c-282.75 0-512 229.25-512 512 0 226.25 146.688 418.125 350.156 485.812 25.594 4.688 34.938-11.125 34.938-24.625 0-12.188-0.469-52.562-0.719-95.312-142.375 30.937-172.469-60.375-172.469-60.375-23.312-59.125-56.844-74.875-56.844-74.875-46.531-31.75 3.53-31.125 3.53-31.125 51.406 3.562 78.47 52.75 78.47 52.75 45.688 78.25 119.875 55.625 149 42.5 4.654-33 17.904-55.625 32.5-68.375-113.656-12.937-233.218-56.875-233.218-253.063 0-55.938 19.969-101.562 52.656-137.406-5.219-13-22.844-65.094 5.062-135.562 0 0 42.938-13.75 140.812 52.5 40.812-11.406 84.594-17.031 128.125-17.219 43.5 0.188 87.312 5.875 128.188 17.281 97.688-66.312 140.688-52.5 140.688-52.5 28 70.531 10.375 122.562 5.125 135.5 32.812 35.844 52.625 81.469 52.625 137.406 0 196.688-119.75 240-233.812 252.688 18.438 15.875 34.75 47 34.75 94.75 0 68.438-0.688 123.625-0.688 140.5 0 13.625 9.312 29.562 35.25 24.562 203.313-67.812 349.875-259.687 349.875-485.812 0-282.75-229.25-512-512-512z" - ], - "attrs": [], - "isMulticolor": false, - "tags": [ - "mark-github" - ], - "grid": 16 - }, - "attrs": [], - "properties": { - "order": 36, - "id": 12, - "prevSize": 32, - "code": 59648, - "name": "github" - }, - "setIdx": 1, - "setId": 0, - "iconIdx": 2 - }, - { - "icon": { - "paths": [ - "M128 640c-70.656 0-128 57.375-128 128s57.344 128 128 128 128-57.375 128-128-57.344-128-128-128zM128 384c0 0-64 2-64 64s64 64 64 64c141.375 0 256 114.625 256 256 0 0 0 64 64 64s64-64 64-64c0-212-171.969-384-384-384zM128 128c0 0-64 0-64 64s64 64 64 64c282.75 0 512 229.25 512 512 0 0 0 64 64 64s64-64 64-64c0-353.406-286.5-640-640-640z" - ], - "attrs": [], - "isMulticolor": false, - "width": 768, - "tags": [ - "rss" - ], - "grid": 16 - }, - "attrs": [], - "properties": { - "order": 37, - "id": 11, - "prevSize": 32, - "code": 59649, - "name": "rss" - }, - "setIdx": 1, - "setId": 0, - "iconIdx": 3 - }, - { - "icon": { - "paths": [ - "M358.344 502.486q-76.634 0-130.858-54.222t-54.223-130.858 54.222-130.858 130.858-54.223 130.858 54.223 54.223 130.858-54.222 130.858-130.858 54.222zM821.043 564.18h169.657q6.266 0 10.845 4.579t4.579 10.845v92.54q0 6.266-4.579 10.845t-10.845 4.579h-169.657v169.657q0 6.266-4.579 10.845t-10.845 4.579h-92.54q-6.266 0-10.845-4.579t-4.579-10.845v-169.657h-169.657q-6.266 0-10.845-4.579t-4.579-10.845v-92.54q0-6.266 4.579-10.845t10.845-4.579h169.657v-169.657q0-6.266 4.579-10.844t10.845-4.579h92.54q6.266 0 10.845 4.579t4.579 10.844v169.657zM466.308 672.144q0 25.062 18.315 43.377t43.377 18.315h123.387v114.711q-32.773 24.099-82.419 24.099h-421.251q-58.319 0-93.504-33.257t-35.184-91.575q0-25.545 1.687-49.884t6.749-52.537 12.773-52.294 20.725-46.993 29.883-39.041 41.208-25.785 53.74-9.641q9.158 0 18.797 8.193 38.076 29.401 74.466 44.101t79.286 14.701 79.286-14.701 74.466-44.101q9.641-8.193 18.797-8.193 63.622 0 104.59 46.27h-107.482q-25.062 0-43.377 18.315t-18.315 43.377v92.54z" - ], - "isMulticolor": false, - "width": 1027, - "defaultCode": 58880, - "grid": 0 - }, - "properties": { - "id": 0, - "order": 38, - "prevSize": 32, - "code": 58880, - "name": "register" - }, - "setIdx": 1, - "setId": 0, - "iconIdx": 4 - }, - { - "icon": { - "paths": [ - "M798.222 677.333v-122.667h-306.667v-122.667h306.667v-122.667l184 184zM736.888 615.999v245.333h-306.667v184l-368-184v-797.333h674.667v306.667h-61.333v-245.333h-490.667l245.333 122.667v552h245.333v-184z" - ], - "isMulticolor": false, - "defaultCode": 58881, - "grid": 0 - }, - "properties": { - "id": 1, - "order": 39, - "prevSize": 32, - "code": 58881, - "name": "logout" - }, - "setIdx": 1, - "setId": 0, - "iconIdx": 5 - }, - { - "icon": { - "paths": [ - "M916.215 627.489c-51.487-89.177-20.524-203.458 69.146-255.384l-96.433-167.030c-27.552 16.152-59.585 25.413-93.769 25.413-103.055 0-186.595-84.090-186.595-187.824h-192.872c0.255 32.018-7.738 64.479-24.876 94.158-51.486 89.179-165.941 119.506-255.743 67.81l-96.431 167.030c27.763 15.786 51.798 38.897 68.891 68.5 51.403 89.037 20.616 203.090-68.72 255.131l96.433 167.030c27.456-16 59.336-25.16 93.342-25.16 102.729 0 186.055 83.559 186.588 186.835h192.868c-0.082-31.696 7.927-63.796 24.884-93.167 51.401-89.035 165.577-119.403 255.313-68.053l96.433-167.028c-27.581-15.78-51.455-38.811-68.458-68.26zM512 732.026c-109.737 0-198.697-88.956-198.697-198.695 0-109.737 88.958-198.695 198.697-198.695 109.737 0 198.693 88.958 198.693 198.695-0.002 109.739-88.956 198.695-198.693 198.695z" - ], - "isMulticolor": false, - "defaultCode": 58882, - "grid": 0 - }, - "properties": { - "id": 2, - "order": 40, - "prevSize": 32, - "code": 58882, - "name": "setting" - }, - "setIdx": 1, - "setId": 0, - "iconIdx": 6 - }, - { - "icon": { - "paths": [ - "M22.106 876.094c-0.234-2.427-0.433-4.859-0.56-7.312 0.125 2.453 0.326 4.886 0.56 7.312zM247.412 584.266c88.176 2.624 147.328-88.836 132.118-204.315-15.232-115.46-99.088-208.119-187.266-210.759-88.192-2.616-147.334 85.754-132.108 201.25 15.22 115.448 99.046 211.192 187.256 213.823zM1002.667 288v-81.755c0-89.968-73.583-163.578-163.547-163.578h-654.212c-88.431 0-161.012 71.139-163.457 159.012 55.93-49.245 133.519-90.386 213.588-90.386 85.583 0 342.359 0 342.359 0l-76.617 64.801h-108.549c72 27.604 110.358 111.286 110.358 197.15 0 72.113-40.068 134.123-96.684 178.219-55.242 43.031-65.715 61.053-65.715 97.633 0 31.221 59.173 84.333 90.114 106.172 90.449 63.766 119.711 122.966 119.711 221.812 0 15.743-1.957 31.462-5.813 46.92h294.919c89.963 0 163.545-73.552 163.545-163.578v-511.087h-184v183.998h-61.333v-184h-183.998v-61.333h183.998v-184h61.333v184h184zM199.474 776.688c20.713 0 39.696-0.565 59.355-0.565-26.015-25.237-46.6-56.158-46.6-94.281 0-22.624 7.249-44.405 17.378-63.748-10.333 0.738-20.882 0.953-31.746 0.953-71.258 0-131.777-23.073-176.529-61.193v64.44l0.006 193.325c51.213-24.317 112.018-38.929 178.135-38.929zM24.611 892.955c-1.066-5.231-1.884-10.547-2.436-15.941 0.55 5.393 1.37 10.71 2.436 15.941zM457.806 955.81c-14.431-56.356-65.602-84.299-136.934-133.753-25.944-8.368-54.523-13.296-85.19-13.616-85.884-0.924-165.895 33.486-211.040 84.69 15.257 74.468 81.491 130.868 160.266 130.868h274.509c1.74-10.664 2.584-21.689 2.584-32.997 0-12.012-1.47-23.759-4.194-35.192z" - ], - "isMulticolor": false, - "defaultCode": 58883, - "grid": 0 - }, - "properties": { - "id": 3, - "order": 41, - "prevSize": 32, - "code": 58883, - "name": "gplus" - }, - "setIdx": 1, - "setId": 0, - "iconIdx": 7 - }, - { - "icon": { - "paths": [ - "M431.713 490.026c-138.186 6.379-249.878 80.393-249.878 172.715 0 92.194 111.717 161.506 249.878 155.051 138.289-6.302 250.215-92.839 250.215-185.033 0-92.115-111.924-149.111-250.215-142.732zM525.869 722.24c-42.328 54.619-126.050 81.269-207.345 37.239-38.711-20.995-37.264-62.211-37.264-62.211s-16.062-130.182 122.925-146.451c139.142-16.115 163.986 116.779 121.685 171.423zM432.64 635.056c-8.911 6.455-10.716 18.801-5.888 26.469 4.648 7.878 15.469 8.78 24.223 2.221 8.6-6.791 11.931-18.619 7.257-26.469-4.598-7.644-15.287-9.865-25.591-2.221zM366.763 652.977c-25.978 2.685-44.547 25.308-44.547 46.949 0 21.693 20.917 36.67 46.845 33.624 25.85-2.944 46.87-22.931 46.87-44.547 0.052-21.693-19.343-38.891-49.17-36.026zM853.245 42.666h-682.544c-82.509 0-149.395 66.886-149.395 149.395v682.544c0 82.509 66.886 149.395 149.395 149.395h682.544c82.509 0 149.395-66.886 149.395-149.395v-682.544c0-82.509-66.861-149.395-149.395-149.395zM805.444 693.963c-56.969 121.013-244.818 179.894-384.037 168.996-132.298-10.408-302.379-54.361-319.966-214.473 0 0-9.296-72.515 60.998-166.336 0 0 101.102-141.184 218.862-181.47 117.863-40.106 131.627 27.761 131.627 67.867-6.275 34.011-17.999 54.025 26.239 40.286 0 0 115.849-53.74 163.547-6.068 38.454 38.479 6.354 91.444 6.354 91.444s-15.96 17.637 16.89 23.991c32.926 6.586 136.43 54.543 79.488 175.762zM691.197 359.612c-12.602 0-22.726-10.201-22.726-22.701 0-12.732 10.122-22.958 22.726-22.958 0 0 142.036-26.262 125.043 126.358 0 0.903-0.103 1.627-0.309 2.428-1.602 10.82-11.103 19.109-22.287 19.109-12.654 0-22.958-10.122-22.958-22.751 0 0.025 22.519-101.982-79.488-79.488zM931.288 481.685h-0.207c-3.745 25.825-16.554 27.891-31.815 27.891-18.258 0-33.003-11.466-33.003-29.75 0-15.832 6.561-31.92 6.561-31.92 1.936-6.662 17.38-48.085-10.201-110.013-50.512-84.834-152.237-86.074-164.243-81.244-12.111 4.751-29.982 7.126-29.982 7.126-18.389 0-33.109-14.952-33.109-33.132 0-15.262 10.201-28.175 24.146-32.127 0 0 0.309-0.516 0.774-0.594 1.008-0.207 2.041-1.215 3.124-1.317 14.178-2.712 64.664-12.629 113.756-1.137 87.829 20.504 208.457 105.442 154.2 286.214z" - ], - "isMulticolor": false, - "defaultCode": 58885, - "grid": 0 - }, - "properties": { - "id": 4, - "order": 42, - "prevSize": 32, - "code": 58885, - "name": "weibo" - }, - "setIdx": 1, - "setId": 0, - "iconIdx": 8 - }, - { - "icon": { - "paths": [ - "M1014.323 537.151l-253.013 0.064 0.067 463.723h-499.15v-463.79l-252.549 0.064 502.389-501.267z" - ], - "isMulticolor": false, - "defaultCode": 58890, - "grid": 0 - }, - "properties": { - "id": 5, - "order": 43, - "prevSize": 32, - "code": 58890, - "name": "goup" - }, - "setIdx": 1, - "setId": 0, - "iconIdx": 9 - }, - { - "icon": { - "paths": [ - "M839.119 42.666h-654.212c-89.963 0-163.574 73.61-163.574 163.578v654.179c0 90.024 73.612 163.576 163.574 163.576h654.212c89.965 0 163.547-73.552 163.547-163.578v-654.178c0-89.968-73.583-163.578-163.547-163.578zM824.466 370.257c0.314 7.036 0.47 14.114 0.47 21.225 0 216.788-162.165 466.773-458.714 466.773-91.046 0-175.791-27.167-247.141-73.713 12.612 1.522 25.446 2.294 38.458 2.294 75.538 0 145.051-26.23 200.228-70.229-70.549-1.322-130.088-48.756-150.606-113.929 9.846 1.917 19.945 2.946 30.333 2.946 14.705 0 28.947-2.009 42.473-5.758-73.753-15.077-129.327-81.378-129.327-160.862 0-0.692 0-1.378 0.015-2.062 21.735 12.286 46.598 19.665 73.025 20.518-43.261-29.419-71.724-79.63-71.724-136.551 0-30.063 7.948-58.246 21.829-82.472 79.517 99.255 198.314 164.565 332.306 171.409-2.75-12.010-4.176-24.529-4.176-37.388 0-90.599 72.187-164.048 161.22-164.048 46.374 0 88.28 19.92 117.685 51.806 36.723-7.356 71.227-21.007 102.381-39.811-12.039 38.31-37.599 70.459-70.884 90.764 32.608-3.966 63.683-12.784 92.594-25.831-21.607 32.894-48.942 61.789-80.446 84.918z" - ], - "isMulticolor": false, - "defaultCode": 58891, - "grid": 0 - }, - "properties": { - "id": 6, - "order": 44, - "prevSize": 32, - "code": 58891, - "name": "twitter" - }, - "setIdx": 1, - "setId": 0, - "iconIdx": 10 - }, - { - "icon": { - "paths": [ - "M1002.64 192.061c0-82.509-66.886-149.395-149.395-149.395h-682.544c-82.509 0-149.395 66.886-149.395 149.395v682.544c0 82.509 66.886 149.395 149.395 149.395h682.544c82.509 0 149.395-66.886 149.395-149.395v-682.544zM149.294 904.405c0.981 11.803-7.876 42.121-19.705 42.121h-2.17c-10.95 0-20.297-27.063-21.356-38.297-16.347-182.217 41.191-329.832 92.633-406.038 18.515-27.711 37.498-50.512 54.696-68.642-4.288-9.813-6.689-20.66-6.689-32.127 0-44.29 36.077-80.109 80.366-80.109 44.547 0 80.213 35.819 80.213 80.109 0 44.572-35.688 80.366-80.213 80.366-17.095 0-32.848-5.397-45.942-14.463-15.211 16.244-31.686 45.889-47.673 70.010-68.151 102.007-96.688 231.903-84.161 367.070zM323.505 648.329c-18.285 0-36.8-2.014-54.464-5.94-11.673-2.764-18.62-14.385-16.219-25.773 2.816-11.749 14.178-19.006 25.772-16.269 14.592 3.358 29.724 4.985 44.908 4.985 110.091 0 199.519-89.432 199.519-199.262 0-109.858-89.432-199.287-199.519-199.287-109.831 0-199.418 89.43-199.418 199.287 0 31.868 7.283 62.548 21.873 90.904 5.604 10.484 1.42 23.5-9.451 28.846-10.615 5.656-23.397 1.472-28.898-9.167-17.534-33.908-26.599-72.362-26.599-110.555 0-133.72 108.746-242.493 242.493-242.493 133.824 0 242.646 108.773 242.646 242.493-0.027 133.488-108.849 242.234-242.648 242.234zM774.455 366.428c-21.486 0.466-43.334-4.029-62.961-13.351-68.486-32.591-97.746-114.737-65.155-183.302 32.487-68.511 114.737-97.746 183.302-65.155 68.511 32.463 97.773 114.843 65.025 183.149-4.751 9.426-9.994 18.412-16.426 26.521-4.054 5.242-11.931 6.197-17.2 2.014s-6.095-11.931-1.911-17.2c5.267-6.561 9.786-14.099 13.376-21.848 26.856-56.271 2.971-123.957-53.483-150.428-56.348-26.856-123.803-2.996-150.428 53.611-27.115 56.22-3.124 123.675 53.379 150.531 16.347 7.67 33.984 11.492 51.804 10.768 6.791-0.128 12.524 5.114 12.654 11.931 0.309 6.818-5.087 12.395-11.983 12.757zM980.897 450.487c-0.155 0.621-0.414 0.826-0.414 1.188-2.816 5.654-9.271 8.366-15.393 6.197-97.307-35.922-149.473-96.817-175.994-141.699-9.53-16.244-16.449-31.661-21.486-44.754-6.302-0.155-12.318-1.807-17.999-4.313-23.061-10.977-32.643-37.963-21.745-60.766 10.743-22.701 37.833-32.384 60.636-21.486 22.701 10.846 32.256 37.988 21.641 60.636-4.184 8.625-10.873 15.519-18.67 19.834 4.803 11.956 11.002 25.206 19.471 39.278 35.612 59.81 90.386 103.661 162.514 130.261 6.43 2.505 9.557 9.298 7.437 15.623z" - ], - "isMulticolor": false, - "defaultCode": 58893, - "grid": 0 - }, - "properties": { - "id": 7, - "order": 45, - "prevSize": 32, - "code": 58893, - "name": "t-weibo" - }, - "setIdx": 1, - "setId": 0, - "iconIdx": 11 - }, - { - "icon": { - "paths": [ - "M360 554.666h-300v-120h300v-120l180 180-180 180zM960 74.666v780l-360 180v-180h-360v-240h60v180h300v-540l240-120h-540v240h-60v-300z" - ], - "isMulticolor": false, - "defaultCode": 58897, - "grid": 0 - }, - "properties": { - "id": 8, - "order": 46, - "prevSize": 32, - "code": 58897, - "name": "login" - }, - "setIdx": 1, - "setId": 0, - "iconIdx": 12 - } - ], - "height": 1024, - "metadata": { - "name": "icomoon" - }, - "preferences": { - "showGlyphs": true, - "showCodes": true, - "showQuickUse": true, - "showQuickUse2": true, - "showSVGs": true, - "fontPref": { - "prefix": "icon-", - "metadata": { - "fontFamily": "icomoon" - }, - "metrics": { - "emSize": 1024, - "baseline": 6.25, - "whitespace": 50 - }, - "embed": false - }, - "imagePref": { - "prefix": "icon-", - "png": true, - "useClassSelector": true, - "color": 4473924, - "bgColor": 16777215 - }, - "historySize": 100 - } -} \ No newline at end of file +{"IcoMoonType":"selection","icons":[{"icon":{"paths":["M358.344 502.486q-76.634 0-130.858-54.222t-54.223-130.858 54.222-130.858 130.858-54.223 130.858 54.223 54.223 130.858-54.222 130.858-130.858 54.222zM821.043 564.18h169.657q6.266 0 10.845 4.579t4.579 10.845v92.54q0 6.266-4.579 10.845t-10.845 4.579h-169.657v169.657q0 6.266-4.579 10.845t-10.845 4.579h-92.54q-6.266 0-10.845-4.579t-4.579-10.845v-169.657h-169.657q-6.266 0-10.845-4.579t-4.579-10.845v-92.54q0-6.266 4.579-10.845t10.845-4.579h169.657v-169.657q0-6.266 4.579-10.844t10.845-4.579h92.54q6.266 0 10.845 4.579t4.579 10.844v169.657zM466.308 672.144q0 25.062 18.315 43.377t43.377 18.315h123.387v114.711q-32.773 24.099-82.419 24.099h-421.251q-58.319 0-93.504-33.257t-35.184-91.575q0-25.545 1.687-49.884t6.749-52.537 12.773-52.294 20.725-46.993 29.883-39.041 41.208-25.785 53.74-9.641q9.158 0 18.797 8.193 38.076 29.401 74.466 44.101t79.286 14.701 79.286-14.701 74.466-44.101q9.641-8.193 18.797-8.193 63.622 0 104.59 46.27h-107.482q-25.062 0-43.377 18.315t-18.315 43.377v92.54z"],"width":1027,"attrs":[],"isMulticolor":false,"isMulticolor2":false,"defaultCode":58880,"grid":0},"attrs":[],"properties":{"id":0,"order":38,"prevSize":32,"code":58880,"name":"register"},"setIdx":0,"setId":8,"iconIdx":0},{"icon":{"paths":["M798.222 677.333v-122.667h-306.667v-122.667h306.667v-122.667l184 184zM736.888 615.999v245.333h-306.667v184l-368-184v-797.333h674.667v306.667h-61.333v-245.333h-490.667l245.333 122.667v552h245.333v-184z"],"attrs":[],"isMulticolor":false,"isMulticolor2":false,"defaultCode":58881,"grid":0},"attrs":[],"properties":{"id":1,"order":39,"prevSize":32,"code":58881,"name":"logout"},"setIdx":0,"setId":8,"iconIdx":1},{"icon":{"paths":["M916.215 627.489c-51.487-89.177-20.524-203.458 69.146-255.384l-96.433-167.030c-27.552 16.152-59.585 25.413-93.769 25.413-103.055 0-186.595-84.090-186.595-187.824h-192.872c0.255 32.018-7.738 64.479-24.876 94.158-51.486 89.179-165.941 119.506-255.743 67.81l-96.431 167.030c27.763 15.786 51.798 38.897 68.891 68.5 51.403 89.037 20.616 203.090-68.72 255.131l96.433 167.030c27.456-16 59.336-25.16 93.342-25.16 102.729 0 186.055 83.559 186.588 186.835h192.868c-0.082-31.696 7.927-63.796 24.884-93.167 51.401-89.035 165.577-119.403 255.313-68.053l96.433-167.028c-27.581-15.78-51.455-38.811-68.458-68.26zM512 732.026c-109.737 0-198.697-88.956-198.697-198.695 0-109.737 88.958-198.695 198.697-198.695 109.737 0 198.693 88.958 198.693 198.695-0.002 109.739-88.956 198.695-198.693 198.695z"],"attrs":[],"isMulticolor":false,"isMulticolor2":false,"defaultCode":58882,"grid":0},"attrs":[],"properties":{"id":2,"order":40,"prevSize":32,"code":58882,"name":"setting"},"setIdx":0,"setId":8,"iconIdx":2},{"icon":{"paths":["M431.713 490.026c-138.186 6.379-249.878 80.393-249.878 172.715 0 92.194 111.717 161.506 249.878 155.051 138.289-6.302 250.215-92.839 250.215-185.033 0-92.115-111.924-149.111-250.215-142.732zM525.869 722.24c-42.328 54.619-126.050 81.269-207.345 37.239-38.711-20.995-37.264-62.211-37.264-62.211s-16.062-130.182 122.925-146.451c139.142-16.115 163.986 116.779 121.685 171.423zM432.64 635.056c-8.911 6.455-10.716 18.801-5.888 26.469 4.648 7.878 15.469 8.78 24.223 2.221 8.6-6.791 11.931-18.619 7.257-26.469-4.598-7.644-15.287-9.865-25.591-2.221zM366.763 652.977c-25.978 2.685-44.547 25.308-44.547 46.949 0 21.693 20.917 36.67 46.845 33.624 25.85-2.944 46.87-22.931 46.87-44.547 0.052-21.693-19.343-38.891-49.17-36.026zM853.245 42.666h-682.544c-82.509 0-149.395 66.886-149.395 149.395v682.544c0 82.509 66.886 149.395 149.395 149.395h682.544c82.509 0 149.395-66.886 149.395-149.395v-682.544c0-82.509-66.861-149.395-149.395-149.395zM805.444 693.963c-56.969 121.013-244.818 179.894-384.037 168.996-132.298-10.408-302.379-54.361-319.966-214.473 0 0-9.296-72.515 60.998-166.336 0 0 101.102-141.184 218.862-181.47 117.863-40.106 131.627 27.761 131.627 67.867-6.275 34.011-17.999 54.025 26.239 40.286 0 0 115.849-53.74 163.547-6.068 38.454 38.479 6.354 91.444 6.354 91.444s-15.96 17.637 16.89 23.991c32.926 6.586 136.43 54.543 79.488 175.762zM691.197 359.612c-12.602 0-22.726-10.201-22.726-22.701 0-12.732 10.122-22.958 22.726-22.958 0 0 142.036-26.262 125.043 126.358 0 0.903-0.103 1.627-0.309 2.428-1.602 10.82-11.103 19.109-22.287 19.109-12.654 0-22.958-10.122-22.958-22.751 0 0.025 22.519-101.982-79.488-79.488zM931.288 481.685h-0.207c-3.745 25.825-16.554 27.891-31.815 27.891-18.258 0-33.003-11.466-33.003-29.75 0-15.832 6.561-31.92 6.561-31.92 1.936-6.662 17.38-48.085-10.201-110.013-50.512-84.834-152.237-86.074-164.243-81.244-12.111 4.751-29.982 7.126-29.982 7.126-18.389 0-33.109-14.952-33.109-33.132 0-15.262 10.201-28.175 24.146-32.127 0 0 0.309-0.516 0.774-0.594 1.008-0.207 2.041-1.215 3.124-1.317 14.178-2.712 64.664-12.629 113.756-1.137 87.829 20.504 208.457 105.442 154.2 286.214z"],"attrs":[],"isMulticolor":false,"isMulticolor2":false,"defaultCode":58885,"grid":0},"attrs":[],"properties":{"id":4,"order":42,"prevSize":32,"code":58885,"name":"weibo"},"setIdx":0,"setId":8,"iconIdx":3},{"icon":{"paths":["M1014.323 537.151l-253.013 0.064 0.067 463.723h-499.15v-463.79l-252.549 0.064 502.389-501.267z"],"attrs":[],"isMulticolor":false,"isMulticolor2":false,"defaultCode":58890,"grid":0},"attrs":[],"properties":{"id":5,"order":43,"prevSize":32,"code":58890,"name":"goup"},"setIdx":0,"setId":8,"iconIdx":4},{"icon":{"paths":["M839.119 42.666h-654.212c-89.963 0-163.574 73.61-163.574 163.578v654.179c0 90.024 73.612 163.576 163.574 163.576h654.212c89.965 0 163.547-73.552 163.547-163.578v-654.178c0-89.968-73.583-163.578-163.547-163.578zM824.466 370.257c0.314 7.036 0.47 14.114 0.47 21.225 0 216.788-162.165 466.773-458.714 466.773-91.046 0-175.791-27.167-247.141-73.713 12.612 1.522 25.446 2.294 38.458 2.294 75.538 0 145.051-26.23 200.228-70.229-70.549-1.322-130.088-48.756-150.606-113.929 9.846 1.917 19.945 2.946 30.333 2.946 14.705 0 28.947-2.009 42.473-5.758-73.753-15.077-129.327-81.378-129.327-160.862 0-0.692 0-1.378 0.015-2.062 21.735 12.286 46.598 19.665 73.025 20.518-43.261-29.419-71.724-79.63-71.724-136.551 0-30.063 7.948-58.246 21.829-82.472 79.517 99.255 198.314 164.565 332.306 171.409-2.75-12.010-4.176-24.529-4.176-37.388 0-90.599 72.187-164.048 161.22-164.048 46.374 0 88.28 19.92 117.685 51.806 36.723-7.356 71.227-21.007 102.381-39.811-12.039 38.31-37.599 70.459-70.884 90.764 32.608-3.966 63.683-12.784 92.594-25.831-21.607 32.894-48.942 61.789-80.446 84.918z"],"attrs":[],"isMulticolor":false,"isMulticolor2":false,"defaultCode":58891,"grid":0},"attrs":[],"properties":{"id":6,"order":44,"prevSize":32,"code":58891,"name":"twitter"},"setIdx":0,"setId":8,"iconIdx":5},{"icon":{"paths":["M360 554.666h-300v-120h300v-120l180 180-180 180zM960 74.666v780l-360 180v-180h-360v-240h60v180h300v-540l240-120h-540v240h-60v-300z"],"attrs":[],"isMulticolor":false,"isMulticolor2":false,"defaultCode":58897,"grid":0},"attrs":[],"properties":{"id":8,"order":46,"prevSize":32,"code":58897,"name":"login"},"setIdx":0,"setId":8,"iconIdx":6},{"icon":{"paths":["M761.521 438.476l-305.287 229.916s122.546 19.090 307.335 16.859l-8.411-38.033 263.305-239.498c4.827-4.388 6.692-11.41 4.718-17.81s-7.424-10.934-13.787-11.483l-347.124-31.304-135.602-336.92c-2.487-6.18-8.265-10.203-14.665-10.203s-12.178 4.023-14.665 10.203l-135.602 336.92-347.124 31.304c-6.363 0.549-11.812 5.083-13.787 11.483s-0.146 13.385 4.718 17.81l263.305 239.498-78.918 356.266c-1.463 6.509 0.951 13.348 6.144 17.334 5.193 3.913 12.105 4.206 17.59 0.768l298.339-188.885 298.339 188.885c2.56 1.646 5.376 2.414 8.228 2.414 3.291 0 6.583-1.061 9.362-3.145 5.193-3.986 7.607-10.788 6.144-17.334l-62.425-281.736c26.769-14.116 56.245-38.033 56.245-38.033s-116.842 59.902-536.264 30.646l303.971-231.306s-11.958-19.528-392.909-33.425c-25.489-0.951 310.59-66.923 558.828-11.154z"],"attrs":[{}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["1"]},"attrs":[{}],"properties":{"order":4,"id":0,"name":"qqz","prevSize":32,"code":59650},"setIdx":4,"setId":4,"iconIdx":0},{"icon":{"paths":["M725.354 245.312c0 29.44 23.894 53.334 53.334 53.334s53.334-23.894 53.334-53.334-23.894-53.334-53.334-53.334-53.334 23.894-53.334 53.334zM352.448 999.232c32.854 33.088 86.186 33.088 119.254 0l521.386-517.974c20.886-20.886 31.36-48.426 30.934-75.946v-299.52c0-58.454-47.382-105.814-105.814-105.814h-299.52c-27.52-0.448-55.040 10.026-75.968 30.934l-517.952 521.408c-33.088 33.046-33.088 86.378 0 119.254l327.68 327.658zM640.022 245.312c0-76.586 62.080-138.666 138.666-138.666s138.666 62.080 138.666 138.666-62.080 138.666-138.666 138.666-138.666-62.080-138.666-138.666z"],"attrs":[],"isMulticolor":false,"isMulticolor2":false,"tags":["tag","price"],"grid":48},"attrs":[],"properties":{"order":34,"id":0,"prevSize":48,"code":59652,"name":"tag"},"setIdx":1,"setId":7,"iconIdx":0},{"icon":{"paths":["M896 960h-768c-35.328 0-64-28.672-64-64v-672c0-35.328 28.672-64 64-64h64v32c0 53.024 42.976 96 96 96s96-42.976 96-96v-32h256v32c0 53.024 43.008 96 96 96s96-42.976 96-96v-32h64c35.328 0 64 28.672 64 64v672c0 35.328-28.672 64-64 64zM896 384h-768v512h768v-512zM418.208 634.528c6.304-10.048 9.472-20.672 9.472-31.776 0-24.736-13.312-37.12-39.936-37.12-23.136 0-45.248 9.184-66.368 27.552v-52.128c23.36-15.136 49.76-22.688 79.136-22.688 27.488 0 48.96 6.912 64.416 20.704s23.168 32.48 23.168 55.968c0 31.36-18.816 63.808-56.448 97.312l-55.328 49.12v1.12h109.12v49.12h-176.992v-46.112l77.056-73.696c15.488-14.848 26.4-27.296 32.704-37.376zM634.784 741.312c8.448-6.496 12.672-15.552 12.672-27.2 0-12-5.216-21.248-15.648-27.744s-24.768-9.76-43.040-9.76h-24.192v-45.376h22.304c35.008 0 52.512-11.616 52.512-34.88 0-21.888-13.44-32.8-40.32-32.8-17.984 0-35.488 5.824-52.512 17.44v-48.384c18.88-9.504 40.864-14.24 65.984-14.24 27.488 0 48.896 6.176 64.224 18.56s22.976 28.448 22.976 48.192c0 35.136-17.824 57.12-53.44 65.984v0.928c19.008 2.368 33.984 9.28 44.992 20.704s16.512 25.472 16.512 42.080c0 25.12-9.184 44.992-27.552 59.616s-43.744 21.952-76.128 21.952c-27.744 0-50.304-4.512-67.68-13.504v-51.552c17.984 13.12 39.008 19.68 63.008 19.68 15.104 0.064 26.88-3.2 35.328-9.696zM735.008 256c-34.816 0-63.008-28.192-63.008-63.008v-65.984c0-34.816 28.192-63.008 63.008-63.008s63.008 28.192 63.008 63.008v65.984c0 34.816-28.192 63.008-63.008 63.008zM287.008 256c-34.816 0-63.008-28.192-63.008-63.008v-65.984c0-34.816 28.192-63.008 63.008-63.008s63.008 28.192 63.008 63.008v65.984c0 34.816-28.224 63.008-63.008 63.008z"],"attrs":[],"isMulticolor":false,"isMulticolor2":false,"tags":["calendar","date","schedule"],"grid":32},"attrs":[],"properties":{"order":35,"id":0,"prevSize":32,"code":59653,"name":"date"},"setIdx":2,"setId":6,"iconIdx":0},{"icon":{"paths":["M512 0c-282.75 0-512 229.25-512 512 0 226.25 146.688 418.125 350.156 485.812 25.594 4.688 34.938-11.125 34.938-24.625 0-12.188-0.469-52.562-0.719-95.312-142.375 30.937-172.469-60.375-172.469-60.375-23.312-59.125-56.844-74.875-56.844-74.875-46.531-31.75 3.53-31.125 3.53-31.125 51.406 3.562 78.47 52.75 78.47 52.75 45.688 78.25 119.875 55.625 149 42.5 4.654-33 17.904-55.625 32.5-68.375-113.656-12.937-233.218-56.875-233.218-253.063 0-55.938 19.969-101.562 52.656-137.406-5.219-13-22.844-65.094 5.062-135.562 0 0 42.938-13.75 140.812 52.5 40.812-11.406 84.594-17.031 128.125-17.219 43.5 0.188 87.312 5.875 128.188 17.281 97.688-66.312 140.688-52.5 140.688-52.5 28 70.531 10.375 122.562 5.125 135.5 32.812 35.844 52.625 81.469 52.625 137.406 0 196.688-119.75 240-233.812 252.688 18.438 15.875 34.75 47 34.75 94.75 0 68.438-0.688 123.625-0.688 140.5 0 13.625 9.312 29.562 35.25 24.562 203.313-67.812 349.875-259.687 349.875-485.812 0-282.75-229.25-512-512-512z"],"attrs":[],"isMulticolor":false,"isMulticolor2":false,"tags":["mark-github"],"grid":16},"attrs":[],"properties":{"order":36,"id":0,"prevSize":32,"code":59648,"name":"github"},"setIdx":3,"setId":5,"iconIdx":0},{"icon":{"paths":["M128 640c-70.656 0-128 57.375-128 128s57.344 128 128 128 128-57.375 128-128-57.344-128-128-128zM128 384c0 0-64 2-64 64s64 64 64 64c141.375 0 256 114.625 256 256 0 0 0 64 64 64s64-64 64-64c0-212-171.969-384-384-384zM128 128c0 0-64 0-64 64s64 64 64 64c282.75 0 512 229.25 512 512 0 0 0 64 64 64s64-64 64-64c0-353.406-286.5-640-640-640z"],"width":768,"attrs":[],"isMulticolor":false,"isMulticolor2":false,"tags":["rss"],"grid":16},"attrs":[],"properties":{"order":37,"id":1,"prevSize":32,"code":59649,"name":"rss"},"setIdx":3,"setId":5,"iconIdx":1},{"icon":{"paths":["M331.429 263.429c0-31.429-20.571-52-52-52-30.857 0-62.286 20.571-62.286 52 0 30.857 31.429 51.429 62.286 51.429 31.429 0 52-20.571 52-51.429zM756 553.143c0-20.571-20.571-41.143-52-41.143-20.571 0-41.143 20.571-41.143 41.143 0 21.143 20.571 41.714 41.143 41.714 31.429 0 52-20.571 52-41.714zM621.143 263.429c0-31.429-20.571-52-51.429-52-31.429 0-62.286 20.571-62.286 52 0 30.857 30.857 51.429 62.286 51.429 30.857 0 51.429-20.571 51.429-51.429zM984 553.143c0-20.571-21.143-41.143-52-41.143-20.571 0-41.143 20.571-41.143 41.143 0 21.143 20.571 41.714 41.143 41.714 30.857 0 52-20.571 52-41.714zM832 326.286c-13.143-1.714-26.286-2.286-40-2.286-196.571 0-352 146.857-352 327.429 0 30.286 4.571 59.429 13.143 86.857-13.143 1.143-25.714 1.714-38.857 1.714-52 0-93.143-10.286-145.143-20.571l-144.571 72.571 41.143-124.571c-103.429-72.571-165.714-166.286-165.714-280 0-197.143 186.286-352 414.286-352 203.429 0 382.286 124 417.714 290.857zM1170.286 646.857c0 93.143-61.714 176-145.143 238.286l31.429 103.429-113.714-62.286c-41.714 10.286-83.429 21.143-124.571 21.143-197.143 0-352-134.857-352-300.571s154.857-300.571 352-300.571c186.286 0 352 134.857 352 300.571z"],"attrs":[{}],"width":1170,"isMulticolor":false,"isMulticolor2":false,"tags":["wechat","weixin"],"grid":14},"attrs":[{}],"properties":{"order":5,"id":0,"name":"wechat","prevSize":28,"code":59651},"setIdx":5,"setId":3,"iconIdx":0}],"height":1024,"metadata":{"name":"icomoon"},"preferences":{"showGlyphs":true,"showCodes":true,"showQuickUse":true,"showQuickUse2":true,"showSVGs":true,"fontPref":{"prefix":"icon-","metadata":{"fontFamily":"icomoon"},"metrics":{"emSize":1024,"baseline":6.25,"whitespace":50},"embed":false},"imagePref":{"prefix":"icon-","png":true,"useClassSelector":true,"color":4473924,"bgColor":16777215},"historySize":100}} \ No newline at end of file diff --git a/yilia/js/jquery.qrcode.js b/yilia/js/jquery.qrcode.js new file mode 100644 index 0000000..ff33366 --- /dev/null +++ b/yilia/js/jquery.qrcode.js @@ -0,0 +1,45 @@ +/* + * Solo - A small and beautiful blogging system written in Java. + * Copyright (c) 2010-2019, b3log.org & hacpai.com + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ +(function(r){r.fn.qrcode=function(h){var s;function u(a){this.mode=s;this.data=a}function o(a,c){this.typeNumber=a;this.errorCorrectLevel=c;this.modules=null;this.moduleCount=0;this.dataCache=null;this.dataList=[]}function q(a,c){if(void 0==a.length)throw Error(a.length+"/"+c);for(var d=0;da||this.moduleCount<=a||0>c||this.moduleCount<=c)throw Error(a+","+c);return this.modules[a][c]},getModuleCount:function(){return this.moduleCount},make:function(){if(1>this.typeNumber){for(var a=1,a=1;40>a;a++){for(var c=p.getRSBlocks(a,this.errorCorrectLevel),d=new t,b=0,e=0;e=d;d++)if(!(-1>=a+d||this.moduleCount<=a+d))for(var b=-1;7>=b;b++)-1>=c+b||this.moduleCount<=c+b||(this.modules[a+d][c+b]= +0<=d&&6>=d&&(0==b||6==b)||0<=b&&6>=b&&(0==d||6==d)||2<=d&&4>=d&&2<=b&&4>=b?!0:!1)},getBestMaskPattern:function(){for(var a=0,c=0,d=0;8>d;d++){this.makeImpl(!0,d);var b=j.getLostPoint(this);if(0==d||a>b)a=b,c=d}return c},createMovieClip:function(a,c,d){a=a.createEmptyMovieClip(c,d);this.make();for(c=0;c=f;f++)for(var i=-2;2>=i;i++)this.modules[b+f][e+i]=-2==f||2==f||-2==i||2==i||0==f&&0==i?!0:!1}},setupTypeNumber:function(a){for(var c= +j.getBCHTypeNumber(this.typeNumber),d=0;18>d;d++){var b=!a&&1==(c>>d&1);this.modules[Math.floor(d/3)][d%3+this.moduleCount-8-3]=b}for(d=0;18>d;d++)b=!a&&1==(c>>d&1),this.modules[d%3+this.moduleCount-8-3][Math.floor(d/3)]=b},setupTypeInfo:function(a,c){for(var d=j.getBCHTypeInfo(this.errorCorrectLevel<<3|c),b=0;15>b;b++){var e=!a&&1==(d>>b&1);6>b?this.modules[b][8]=e:8>b?this.modules[b+1][8]=e:this.modules[this.moduleCount-15+b][8]=e}for(b=0;15>b;b++)e=!a&&1==(d>>b&1),8>b?this.modules[8][this.moduleCount- +b-1]=e:9>b?this.modules[8][15-b-1+1]=e:this.modules[8][15-b-1]=e;this.modules[this.moduleCount-8][8]=!a},mapData:function(a,c){for(var d=-1,b=this.moduleCount-1,e=7,f=0,i=this.moduleCount-1;0g;g++)if(null==this.modules[b][i-g]){var n=!1;f>>e&1));j.getMask(c,b,i-g)&&(n=!n);this.modules[b][i-g]=n;e--; -1==e&&(f++,e=7)}b+=d;if(0>b||this.moduleCount<=b){b-=d;d=-d;break}}}};o.PAD0=236;o.PAD1=17;o.createData=function(a,c,d){for(var c=p.getRSBlocks(a, +c),b=new t,e=0;e8*a)throw Error("code length overflow. ("+b.getLengthInBits()+">"+8*a+")");for(b.getLengthInBits()+4<=8*a&&b.put(0,4);0!=b.getLengthInBits()%8;)b.putBit(!1);for(;!(b.getLengthInBits()>=8*a);){b.put(o.PAD0,8);if(b.getLengthInBits()>=8*a)break;b.put(o.PAD1,8)}return o.createBytes(b,c)};o.createBytes=function(a,c){for(var d= +0,b=0,e=0,f=Array(c.length),i=Array(c.length),g=0;g>>=1;return c},getPatternPosition:function(a){return j.PATTERN_POSITION_TABLE[a-1]},getMask:function(a,c,d){switch(a){case 0:return 0==(c+d)%2;case 1:return 0==c%2;case 2:return 0==d%3;case 3:return 0==(c+d)%3;case 4:return 0==(Math.floor(c/2)+Math.floor(d/3))%2;case 5:return 0==c*d%2+c*d%3;case 6:return 0==(c*d%2+c*d%3)%2;case 7:return 0==(c*d%3+(c+d)%2)%2;default:throw Error("bad maskPattern:"+ +a);}},getErrorCorrectPolynomial:function(a){for(var c=new q([1],0),d=0;dc)switch(a){case 1:return 10;case 2:return 9;case s:return 8;case 8:return 8;default:throw Error("mode:"+a);}else if(27>c)switch(a){case 1:return 12;case 2:return 11;case s:return 16;case 8:return 10;default:throw Error("mode:"+a);}else if(41>c)switch(a){case 1:return 14;case 2:return 13;case s:return 16;case 8:return 12;default:throw Error("mode:"+ +a);}else throw Error("type:"+c);},getLostPoint:function(a){for(var c=a.getModuleCount(),d=0,b=0;b=g;g++)if(!(0>b+g||c<=b+g))for(var h=-1;1>=h;h++)0>e+h||c<=e+h||0==g&&0==h||i==a.isDark(b+g,e+h)&&f++;5a)throw Error("glog("+a+")");return l.LOG_TABLE[a]},gexp:function(a){for(;0>a;)a+=255;for(;256<=a;)a-=255;return l.EXP_TABLE[a]},EXP_TABLE:Array(256), +LOG_TABLE:Array(256)},m=0;8>m;m++)l.EXP_TABLE[m]=1<m;m++)l.EXP_TABLE[m]=l.EXP_TABLE[m-4]^l.EXP_TABLE[m-5]^l.EXP_TABLE[m-6]^l.EXP_TABLE[m-8];for(m=0;255>m;m++)l.LOG_TABLE[l.EXP_TABLE[m]]=m;q.prototype={get:function(a){return this.num[a]},getLength:function(){return this.num.length},multiply:function(a){for(var c=Array(this.getLength()+a.getLength()-1),d=0;d +this.getLength()-a.getLength())return this;for(var c=l.glog(this.get(0))-l.glog(a.get(0)),d=Array(this.getLength()),b=0;b>>7-a%8&1)},put:function(a,c){for(var d=0;d>>c-d-1&1))},getLengthInBits:function(){return this.length},putBit:function(a){var c=Math.floor(this.length/8);this.buffer.length<=c&&this.buffer.push(0);a&&(this.buffer[c]|=128>>>this.length%8);this.length++}};"string"===typeof h&&(h={text:h});h=r.extend({},{render:"canvas",width:256,height:256,typeNumber:-1, +correctLevel:2,background:"#ffffff",foreground:"#000000"},h);return this.each(function(){var a;if("canvas"==h.render){a=new o(h.typeNumber,h.correctLevel);a.addData(h.text);a.make();var c=document.createElement("canvas");c.width=h.width;c.height=h.height;for(var d=c.getContext("2d"),b=h.width/a.getModuleCount(),e=h.height/a.getModuleCount(),f=0;f").css("width",h.width+"px").css("height",h.height+"px").css("border","0px").css("border-collapse","collapse").css("background-color",h.background);d=h.width/a.getModuleCount();b=h.height/a.getModuleCount();for(e=0;e").css("height",b+"px").appendTo(c);for(i=0;i").css("width", +d+"px").css("background-color",a.isDark(e,i)?h.foreground:h.background).appendTo(f)}}a=c;jQuery(a).appendTo(this)})}})(jQuery); diff --git a/yilia/js/jquery.qrcode.min.js b/yilia/js/jquery.qrcode.min.js new file mode 100644 index 0000000..fb9e98a --- /dev/null +++ b/yilia/js/jquery.qrcode.min.js @@ -0,0 +1,18 @@ +/* + * Solo - A small and beautiful blogging system written in Java. + * Copyright (c) 2010-2019, b3log.org & hacpai.com + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ +!function(c){c.fn.qrcode=function(h){var r;function e(t){this.mode=r,this.data=t}function l(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}function g(t,e){if(null==t.length)throw Error(t.length+"/"+e);for(var r=0;r>r&1);this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=o}for(r=0;r<18;r++)o=!t&&1==(e>>r&1),this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=o},setupTypeInfo:function(t,e){for(var r=d.getBCHTypeInfo(this.errorCorrectLevel<<3|e),o=0;o<15;o++){var n=!t&&1==(r>>o&1);o<6?this.modules[o][8]=n:o<8?this.modules[o+1][8]=n:this.modules[this.moduleCount-15+o][8]=n}for(o=0;o<15;o++)n=!t&&1==(r>>o&1),o<8?this.modules[8][this.moduleCount-o-1]=n:o<9?this.modules[8][15-o-1+1]=n:this.modules[8][15-o-1]=n;this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var r=-1,o=this.moduleCount-1,n=7,i=0,s=this.moduleCount-1;0>>n&1)),d.getMask(e,o,s-u)&&(a=!a),this.modules[o][s-u]=a,-1==--n&&(i++,n=7)}if((o+=r)<0||this.moduleCount<=o){o-=r,r=-r;break}}}},l.PAD0=236,l.PAD1=17,l.createData=function(t,e,r){e=f.getRSBlocks(t,e);for(var o=new s,n=0;n8*t)throw Error("code length overflow. ("+o.getLengthInBits()+">"+8*t+")");for(o.getLengthInBits()+4<=8*t&&o.put(0,4);0!=o.getLengthInBits()%8;)o.putBit(!1);for(;!(o.getLengthInBits()>=8*t)&&(o.put(l.PAD0,8),!(o.getLengthInBits()>=8*t));)o.put(l.PAD1,8);return l.createBytes(o,e)},l.createBytes=function(t,e){for(var r=0,o=0,n=0,i=Array(e.length),s=Array(e.length),u=0;u>>=1;return e},getPatternPosition:function(t){return d.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,r){switch(t){case 0:return 0==(e+r)%2;case 1:return 0==e%2;case 2:return 0==r%3;case 3:return 0==(e+r)%3;case 4:return 0==(Math.floor(e/2)+Math.floor(r/3))%2;case 5:return 0==e*r%2+e*r%3;case 6:return 0==(e*r%2+e*r%3)%2;case 7:return 0==(e*r%3+(e+r)%2)%2;default:throw Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new g([1],0),r=0;r>>7-t%8&1)},put:function(t,e){for(var r=0;r>>e-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},"string"==typeof h&&(h={text:h}),h=c.extend({},{render:"canvas",width:256,height:256,typeNumber:-1,correctLevel:2,background:"#ffffff",foreground:"#000000"},h),this.each(function(){var t;if("canvas"==h.render){(t=new l(h.typeNumber,h.correctLevel)).addData(h.text),t.make();var e=document.createElement("canvas");e.width=h.width,e.height=h.height;for(var r=e.getContext("2d"),o=h.width/t.getModuleCount(),n=h.height/t.getModuleCount(),i=0;i").css("width",h.width+"px").css("height",h.height+"px").css("border","0px").css("border-collapse","collapse").css("background-color",h.background),r=h.width/t.getModuleCount(),o=h.height/t.getModuleCount(),n=0;n").css("height",o+"px").appendTo(e),s=0;s").css("width",r+"px").css("background-color",t.isDark(n,s)?h.foreground:h.background).appendTo(i);t=e,jQuery(t).appendTo(this)})}}(jQuery); \ No newline at end of file diff --git a/yilia/js/yilia.js b/yilia/js/yilia.js index 8b65537..c3be315 100644 --- a/yilia/js/yilia.js +++ b/yilia/js/yilia.js @@ -19,7 +19,7 @@ * @fileoverview util and every page should be used. * * @author Liyuan Li - * @version 1.2.0.0, Nov 3, 2015 + * @version 1.3.0.0, Feb 27, 2019 */ /** @@ -75,20 +75,53 @@ var Yilia = { }); }, share: function () { - $(".share span").click(function () { - var key = $(this).data("type"); - var title = encodeURIComponent($("title").text()), - url = $(".post-title a").attr('href') ? $(".post-title a").attr('href') : location, - pic = $(".post-content img:eq(0)").attr("src"); - var urls = {}; - urls.tencent = "http://share.v.t.qq.com/index.php?c=share&a=index&title=" + title + - "&url=" + url + "&pic=" + pic; - urls.weibo = "http://v.t.sina.com.cn/share/share.php?title=" + - title + "&url=" + url + "&pic=" + pic; - urls.google = "https://plus.google.com/share?url=" + url; - urls.twitter = "https://twitter.com/intent/tweet?status=" + title + " " + url; - window.open(urls[key], "_blank", "top=100,left=200,width=648,height=618"); - }); + var $this = $('.share .fn-right') + var $qrCode = $this.find('.icon-wechat') + var shareURL = $qrCode.data('url') + var avatarURL = $qrCode.data('avatar') + var title = encodeURIComponent($qrCode.data('title') + ' - ' + + $qrCode.data('blogtitle')), + url = encodeURIComponent(shareURL) + + var urls = {} + urls.weibo = 'http://v.t.sina.com.cn/share/share.php?title=' + + title + '&url=' + url + '&pic=' + avatarURL + urls.qqz = 'https://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=' + + url + '&sharesource=qzone&title=' + title + '&pics=' + avatarURL + urls.twitter = 'https://twitter.com/intent/tweet?status=' + title + ' ' + + url + + $this.find('span').click(function () { + var key = $(this).data('type') + + if (!key) { + return + } + + if (key === 'wechat') { + if ($qrCode.find('canvas').length === 0) { + $.ajax({ + method: 'GET', + url: latkeConfig.staticServePath + + '/skins/yilia/js/jquery.qrcode.min.js', + dataType: 'script', + cache: true, + success: function () { + $qrCode.qrcode({ + width: 128, + height: 128, + text: shareURL, + }) + }, + }) + } else { + $qrCode.find('canvas').slideToggle() + } + return false + } + + window.open(urls[key], '_blank', 'top=100,left=200,width=648,height=618') + }) } }; diff --git a/yilia/page.ftl b/yilia/page.ftl index 0652d13..27633e3 100644 --- a/yilia/page.ftl +++ b/yilia/page.ftl @@ -37,10 +37,15 @@
- + - +
@@ -48,7 +53,9 @@ <#include "footer.ftl"> - <@comment_script oId=page.oId commentable=page.commentable> + <@comment_script oId=page.oId commentable=page.commentable> + Yilia.share() +