diff --git a/skins/5styles/article.ftl b/skins/5styles/article.ftl index c5b08f0..b87b9a6 100644 --- a/skins/5styles/article.ftl +++ b/skins/5styles/article.ftl @@ -70,7 +70,7 @@ -
+
${article.articleContent} <#if "" != article.articleSign.signHTML?trim>
diff --git a/skins/5styles/css/base.css b/skins/5styles/css/base.css index d3440f0..5db5577 100644 --- a/skins/5styles/css/base.css +++ b/skins/5styles/css/base.css @@ -1,18 +1 @@ -/** - * 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 . - */ -.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 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:0.15em;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(252,41,41,0.12);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}body{margin:0;padding:0;font:Verdana,Arial,Helvetica,sans-serif;font-size:12px;color:#585858;background:#545454}h1,h2,h3{margin-top:0px}h1{font-size:2.4em}h2{font-size:1.6em}h3{font-size:1.4em}p,ol,ul{margin:0 0 10px 20px;line-height:20px}img{border:none}a{color:#27789b;text-decoration:none;line-height:22px}a:hover{color:#442494}.center{text-align:center}.clear{clear:both;font-size:0px;height:0px}#main{width:100%}#wrap{background-color:#f8f8f8}#top{background-image:linear-gradient(top, #fff, #E5E5E5);background-image:-moz-linear-gradient(top, #fff, #E5E5E5);background-image:-ms-linear-gradient(top, #fff, #E5E5E5);background-image:-o-linear-gradient(top, #fff, #E5E5E5);background-image:-webkit-gradient(linear, left top, left bottom, from(#fff), to(#E5E5E5));filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF',endColorstr='#E5E5E5');border-bottom:1px solid #E5E5E5;height:26px;line-height:26px}#top a:hover,#top a.hover{background-color:#EEF2FA;border-left-color:#707070;border-radius:0 13px 13px 0;margin:0px;line-height:26px}#top a,#top span span{border-right:1px solid #D9D9D9;color:#4C4C4C;float:left;line-height:14px;margin:6px 0;padding:0 6px;text-decoration:none;text-shadow:0 -1px 0 white;font-weight:normal}.right{float:right}.left{float:left}.article-relative{line-height:22px;margin-top:24px}.article-relative h4{font-size:12px}.article-relative ul{margin:0 0 10px 10px}.article-relative li{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#pagenavi{padding:20px 0 10px}#pagenavi span{font-weight:bold}#pagenavi span,#pagenavi a{margin:0 4px;padding:2px 7px;border:1px solid #666;border-radius:3px}#pagenavi a:hover{background:#666;color:#f0f0f0}#pagenavi em{display:none}.breakline{word-break:break-all;word-wrap:break-word}.shortline{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#header{margin:0;padding:0;height:69px;background:url(../images/header-bg.gif) repeat-x;text-decoration:none}#header-left{float:left;margin:0px;padding:0px}#header h1{float:left;margin:0;padding:21px 0 20px 20px;font-size:24px}#header h1 a{color:#72d4ff;text-decoration:none}.description{float:left;margin:33px 0 0 10px;padding:0px;color:#e0e0e0}#header-right{float:right;margin:0px;padding:0}.layout{margin:0px 10px 0 auto;padding:2px 0 0 54px;width:80px;height:19px;background:url(../images/style.gif) no-repeat 0px 0px}.layout span{width:10px;height:10px;float:left;margin:3px 2px 0 2px;cursor:pointer}.themes1,.themes2,.themes3,.themes4,.themes5,.post .post-tltle a:hover,.post-comments,.post-date,.post-views,.post-cat,.post-author,.post-tag,#to-top,#footer-right a:hover,.navigation-top span,#sidebar ul li ul li,#sidebar ul li ul li:hover,#sidebar .comms li span,#sidebar .comms li span:hover{background-image:url(../images/icons.gif);background-repeat:no-repeat}#sidebar ul li,.navigation-top,.postmetadata{background-image:url(../images/line.gif);background-repeat:repeat-x}.themes5{background-position:-7px -7px}.themes4{background-position:-7px -31px}.themes3{background-position:-7px -55px}.themes2{background-position:-7px -79px}.themes1{background-position:-7px -103px}#header-navi{float:right;margin:14px 0 0 0;padding:0px}#header-navi li{margin:0 5px;padding:0;display:inline;line-height:24px;height:24px}#header-navi li a{color:#d8d8d8}#header-navi li.selected a,#header li a:hover{color:#f2f2f2;background:url(../images/menu-li.gif) no-repeat bottom center;padding:0px 0 4px 0}.navigation-top{margin:2px 0 0 0;line-height:30px;background-position:bottom}.navigation-top span{margin:0 0 0 15px;padding:0 0 0 20px;background-position:-7px -322px}.post{margin:5px 20px 15px 20px;padding:0 0px 0 0}.post .post-tltle{margin:10px 0 0 0;padding:2px 0;border-bottom:1px dotted #c1c1c1;font-size:1.6em;line-height:36px}.post .post-tltle a:hover{background-position:right -291px;padding:0 43px 0 0px}.postmetadata-top{margin:0;padding:0;line-height:22px;font-size:11px}.post-comments{background-position:-7px -199px;padding:0 0 0 13px;margin:0 0 0 10px}.post-date{background-position:-7px -222px;padding:0 0 0 13px}.post-views{margin:0 0 0 10px;background-position:-7px -246px;padding:0 0 0 13px}.postmetadata{margin:0px;padding:0 0 4px 0;line-height:24px;background-position:bottom}.post-cat{margin:0 10px 0 0;background-position:-7px -152px;padding:0 0 0 13px}.post-author{margin:0 0 0 10px;background-position:-7px -269px;padding:0 0 0 13px}.post-tag{margin:0 10px 0 0;background-position:-7px -125px;padding:0 0 0 13px}.content-reset{margin:8px 0;padding:0px;line-height:22px;white-space:normal;overflow:hidden;font-size:12px}.navigation{margin:5px 15px 5px 15px;text-align:center;display:block}#sidebar ul{margin:0;padding:0;list-style:none}#sidebar ul li{padding:5px 5px 5px 5px;background-position:bottom}#sidebar ul li h3{margin:0px;padding:0;font-size:14px;font-weight:normal;color:#2cacda;line-height:28px}#sidebar ul li ul{margin:0px;padding:0}#sidebar .slist li{margin:0px 0;padding:0 0 0 0px;line-height:22px;background-position:-7px -387px}#sidebar .slist li:hover{background-position:-7px -411px}#sidebar ul li ul li a{padding:0 0 0 15px;color:#666666}#sidebar ul li ul li a:hover{color:#a165f1}#sidebar .side-cat li{float:left;width:50%}#sidebar .side-cat{display:block}#sidebar .side-cat span{float:left;line-height:24px;white-space:nowrap;padding:0 5px}#sidebar .side-cat span:hover,#sidebar .side-cat span a:hover{background:#72d4ff;color:#fff}#sidebar .comms li{background:none;padding:0 0}#sidebar .comms li:hover{background:none}#sidebar .arrow a{padding:0 0}#sidebar .arrow{padding:0 0 0 13px;background-position:-7px -393px}#sidebar .arrow:hover{background-position:-7px -417px;color:#85bf73}#sidebar #searchform{text-align:left}#searchform{margin:10px 0 0 0;padding:0}#searchform #s{margin:0;padding:1px 0 0 2px;width:185px;background:white;border:1px solid #CBD8E5;line-height:16px}#searchsubmit{margin:0;padding:2px 0 0 0;width:54px;height:18px;border:none;cursor:hand}#footer{clear:both;margin:0;padding:0;background:url(../images/foot-bg.gif) repeat-x;height:70px}#footer-no{float:left;margin:0;padding:0;background:url(../images/foot-wp.gif) no-repeat 0 0;height:70px;width:73px}#footer-link{float:left;margin:20px 0 0 20px;color:#d8d8d8;display:inline}#footer-link p{margin:0px;padding:0px;line-height:18px}#footer-link a{color:#85bf73;font:Arial,Helvetica,sans-serif}#footer-link a:hover{color:#FFFF99}#footer-right a{width:31px;height:52px}#to-top{margin:10px 30px 0 0;float:right;width:31px;height:52px;background-position:-8px -480px}#footer-right a{width:31px;height:52px}#footer-right a:hover{background-position:-8px -529px}.comments{border-bottom:1px solid #CCCCCC;border-top:1px solid #CCCCCC;margin:15px 0px;padding:0 15px 15px;position:relative}.comment-title{background-color:#E3E9FF;border-top:1px solid #3366CC;padding:3px 12px 3px 12px;position:relative}.comment-body-ref{background-color:#FFFFFF;filter:alpha(opacity=90);left:217px;opacity:0.9;padding:6px;position:absolute;width:520px;z-index:10}.comment-body{margin-top:15px}.comment-author{float:left;text-align:center;width:81px}.comment-author div{background:url("../images/commentpoint.png") no-repeat scroll 100% 33% transparent;margin-top:10px;padding-right:14px}.comment-author img{border:1px solid #999999;height:32px;padding:1px;width:32px}.comment-author a{font-weight:bold;margin-right:14px}.comment-info{background:url("../images/comment.gif") no-repeat scroll 0 0 #EDEFF0;font-size:12px;padding:10px 15px 0;width:75%}.comment-content{background:url("../images/comment.gif") no-repeat scroll 100% 100% transparent;font-size:12px;line-height:145%;margin:0 -15px;overflow:hidden;padding:9px 15px 10px;word-wrap:break-word}.comment-form{margin:15px 0px;padding:0 35px 15px;position:relative}.comment-form img{cursor:pointer}.comment-form input,.comment-form textarea{background:url("../images/textfield.gif") repeat-x scroll 50% 0 #fff;border:1px solid #A6A6A6;color:#555555;font-family:Helvetica,Arial,sans-serif;height:16px;outline:none;padding:2px 1px;width:200px}.comment-form textarea{font-size:12px;height:auto;width:100%}.comment-form button{background:none repeat scroll 0 0 #B4D666;border-color:#B4D666 #81B840 #81B840 #B4D666;border-radius:0px;border-style:solid;border-width:1px;color:#2970A6;font-size:12px;height:22px;line-height:22px;padding:0px 6px;background-color:#ffffff}.comment-form button:hover{background:none repeat scroll 0 0 #98C64C;border-color:#76B33A #98C64C #98C64C #76B33A;color:#074A7E}.em-span{line-height:24px;float:left}.em-br{line-height:24px} +html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;height:100%}body{margin:0;font-family:"Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;font-size:14px;background-color:#fff;-webkit-font-smoothing:antialiased;-webkit-overflow-scrolling:touch}::-moz-selection{text-shadow:none;background:rgba(65,131,196,0.4)}::selection{text-shadow:none;background:rgba(66,133,244,0.4)}ul,ol{margin:0;padding:0}h1,h2,h3,h4,h5,h6,dl,dd,p{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none}a{outline:0;text-decoration:none}a:hover{text-decoration:underline}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{max-width:100%;vertical-align:middle;border:0;height:auto;-ms-interpolation-mode:bicubic;overflow:hidden;font-size:12px}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;font-family:"Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;outline:none}button,input{line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}input[type="search"]{box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}svg{fill:currentColor;display:inline-block;stroke-width:0;stroke:currentColor;width:14px;height:14px}blockquote{margin:0}@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;overflow:hidden}.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;color:#fff;font-size:12px;line-height:14px}.vditor-upload ul{margin:0}.vditor-upload--tip{height:auto;opacity:1 !important}.vditor-upload--tip .vditor-upload__close{display:block}.vditor-upload__close{display:none;position:absolute;right:5px;cursor:pointer;padding:5px;top:0}.vditor-upload__progress{height:100%;background-color:rgba(66,133,244,0.8);transition:all .15s ease-in-out;padding:5px;box-sizing:border-box}.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}.vditor-reset{font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;word-wrap:break-word;overflow:auto;line-height:1.65;font-size:16px;word-break:break-word}.vditor-reset ul,.vditor-reset ol{padding-left:2em;margin-top:0;margin-bottom:16px}.vditor-reset li{margin-top:0.25em}.vditor-reset audio{max-width:100%}.vditor-reset video{max-height:90vh}.vditor-reset img.emoji{cursor:auto;max-width:20px;vertical-align:top}.vditor-reset h1,.vditor-reset h2,.vditor-reset h3,.vditor-reset h4,.vditor-reset h5,.vditor-reset h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.vditor-reset h1{padding-bottom:0.3em;font-size:1.7em;border-bottom:1px solid #eee}.vditor-reset h2{padding-bottom:0.3em;font-size:1.5em;border-bottom:1px solid #eee}.vditor-reset h3{font-size:1.25em}.vditor-reset h4{font-size:1em}.vditor-reset h5{font-size:0.875em}.vditor-reset h6{font-size:0.85em}.vditor-reset hr{height:0.15em;padding:0;margin:24px 0;background-color:#e7e7e7;border:0}.vditor-reset p{margin-top:0;margin-bottom:16px}.vditor-reset blockquote{padding:0 1em;color:#777;border-left:0.25em solid #ddd;margin:0 0 16px 0}.vditor-reset blockquote p{margin:0}.vditor-reset ins>iframe{border:0}.vditor-reset iframe{border:1px solid #d1d5da}.vditor-reset table{width:100%;border:1px solid #dedede;margin:15px auto;border-collapse:collapse;empty-cells:show}.vditor-reset thead{text-align:center}.vditor-reset td,.vditor-reset th{height:35px;border:1px solid #dedede;padding:0 10px}.vditor-reset th{font-weight:bold;text-align:center !important;background:rgba(158,188,226,0.2)}.vditor-reset tbody tr:nth-child(2n){background:rgba(158,188,226,0.12)}.vditor-reset tr:hover{background:#efefef}.vditor-reset code{padding:0.2em 0.4em;margin:0;font-size:85%;background-color:rgba(27,31,35,0.05);border-radius:3px;font-family:mononoki,Consolas,"Liberation Mono",Menlo,Courier,monospace;word-break:break-word}.vditor-reset pre>code{padding:0.5em;background-color:rgba(0,0,0,0.04);background-image:url("https://cdn.jsdelivr.net/npm/vditor@1.1.2/src/assets/images/code-bg.png");background-size:20px 20px;border-radius:5px;display:block;overflow:auto}.vditor-reset pre:hover div.vditor-copy{display:block}.vditor-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 #d1d5da;border-bottom-color:#bbb;border-radius:3px;box-shadow:inset 0 -1px 0 #bbb}.vditor-reset summary{cursor:pointer}.vditor-reset summary:focus{outline:none}.vditor-reset svg{height:auto;width:auto}.vditor-task{list-style:none;margin-left:-1.4em;display:flex;align-items:center}.vditor-task input{margin-right:5px}.vditor-copy{position:relative;display:none}.vditor-copy textarea{position:absolute;top:-100000px}.vditor-copy span{cursor:pointer;position:absolute;right:0.5em;top:0.5em;height:20px;width:20px}.vditor-copy svg{height:20px;width:20px}body{margin:0;padding:0;font:Verdana,Arial,Helvetica,sans-serif;font-size:12px;color:#585858;background:#545454}h1,h2,h3{margin-top:0px}h1{font-size:2.4em}h2{font-size:1.6em}h3{font-size:1.4em}p,ol,ul{margin:0 0 10px 20px;line-height:20px}img{border:none}a{color:#27789b;text-decoration:none;line-height:22px}a:hover{color:#442494}.center{text-align:center}.clear{clear:both;font-size:0px;height:0px}#main{width:100%}#wrap{background-color:#f8f8f8}#top{background-image:linear-gradient(top, #fff, #E5E5E5);background-image:-moz-linear-gradient(top, #fff, #E5E5E5);background-image:-ms-linear-gradient(top, #fff, #E5E5E5);background-image:-o-linear-gradient(top, #fff, #E5E5E5);background-image:-webkit-gradient(linear, left top, left bottom, from(#fff), to(#E5E5E5));filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF',endColorstr='#E5E5E5');border-bottom:1px solid #E5E5E5;height:26px;line-height:26px}#top a:hover,#top a.hover{background-color:#EEF2FA;border-left-color:#707070;border-radius:0 13px 13px 0;margin:0px;line-height:26px}#top a,#top span span{border-right:1px solid #D9D9D9;color:#4C4C4C;float:left;line-height:14px;margin:6px 0;padding:0 6px;text-decoration:none;text-shadow:0 -1px 0 white;font-weight:normal}.right{float:right}.left{float:left}.article-relative{line-height:22px;margin-top:24px}.article-relative h4{font-size:12px}.article-relative ul{margin:0 0 10px 10px}.article-relative li{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#pagenavi{padding:20px 0 10px}#pagenavi span{font-weight:bold}#pagenavi span,#pagenavi a{margin:0 4px;padding:2px 7px;border:1px solid #666;border-radius:3px}#pagenavi a:hover{background:#666;color:#f0f0f0}#pagenavi em{display:none}.breakline{word-break:break-all;word-wrap:break-word}.shortline{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#header{margin:0;padding:0;height:69px;background:url(../images/header-bg.gif) repeat-x;text-decoration:none}#header-left{float:left;margin:0px;padding:0px}#header h1{float:left;margin:0;padding:21px 0 20px 20px;font-size:24px}#header h1 a{color:#72d4ff;text-decoration:none}.description{float:left;margin:33px 0 0 10px;padding:0px;color:#e0e0e0}#header-right{float:right;margin:0px;padding:0}.layout{margin:0px 10px 0 auto;padding:2px 0 0 54px;width:80px;height:19px;background:url(../images/style.gif) no-repeat 0px 0px}.layout span{width:10px;height:10px;float:left;margin:3px 2px 0 2px;cursor:pointer}.themes1,.themes2,.themes3,.themes4,.themes5,.post .post-tltle a:hover,.post-comments,.post-date,.post-views,.post-cat,.post-author,.post-tag,#to-top,#footer-right a:hover,.navigation-top span,#sidebar ul li ul li,#sidebar ul li ul li:hover,#sidebar .comms li span,#sidebar .comms li span:hover{background-image:url(../images/icons.gif);background-repeat:no-repeat}#sidebar ul li,.navigation-top,.postmetadata{background-image:url(../images/line.gif);background-repeat:repeat-x}.themes5{background-position:-7px -7px}.themes4{background-position:-7px -31px}.themes3{background-position:-7px -55px}.themes2{background-position:-7px -79px}.themes1{background-position:-7px -103px}#header-navi{float:right;margin:14px 0 0 0;padding:0px}#header-navi li{margin:0 5px;padding:0;display:inline;line-height:24px;height:24px}#header-navi li a{color:#d8d8d8}#header-navi li.selected a,#header li a:hover{color:#f2f2f2;background:url(../images/menu-li.gif) no-repeat bottom center;padding:0px 0 4px 0}.navigation-top{margin:2px 0 0 0;line-height:30px;background-position:bottom}.navigation-top span{margin:0 0 0 15px;padding:0 0 0 20px;background-position:-7px -322px}.post{margin:5px 20px 15px 20px;padding:0 0px 0 0}.post .post-tltle{margin:10px 0 0 0;padding:2px 0;border-bottom:1px dotted #c1c1c1;font-size:1.6em;line-height:36px}.post .post-tltle a:hover{background-position:right -291px;padding:0 43px 0 0px}.postmetadata-top{margin:0;padding:0;line-height:22px;font-size:11px}.post-comments{background-position:-7px -199px;padding:0 0 0 13px;margin:0 0 0 10px}.post-date{background-position:-7px -222px;padding:0 0 0 13px}.post-views{margin:0 0 0 10px;background-position:-7px -246px;padding:0 0 0 13px}.postmetadata{margin:0px;padding:0 0 4px 0;line-height:24px;background-position:bottom}.post-cat{margin:0 10px 0 0;background-position:-7px -152px;padding:0 0 0 13px}.post-author{margin:0 0 0 10px;background-position:-7px -269px;padding:0 0 0 13px}.post-tag{margin:0 10px 0 0;background-position:-7px -125px;padding:0 0 0 13px}.vditor-reset{margin:8px 0;padding:0px;line-height:22px;white-space:normal;overflow:hidden;font-size:12px}.navigation{margin:5px 15px 5px 15px;text-align:center;display:block}#sidebar ul{margin:0;padding:0;list-style:none}#sidebar ul li{padding:5px 5px 5px 5px;background-position:bottom}#sidebar ul li h3{margin:0px;padding:0;font-size:14px;font-weight:normal;color:#2cacda;line-height:28px}#sidebar ul li ul{margin:0px;padding:0}#sidebar .slist li{margin:0px 0;padding:0 0 0 0px;line-height:22px;background-position:-7px -387px}#sidebar .slist li:hover{background-position:-7px -411px}#sidebar ul li ul li a{padding:0 0 0 15px;color:#666666}#sidebar ul li ul li a:hover{color:#a165f1}#sidebar .side-cat li{float:left;width:50%}#sidebar .side-cat{display:block}#sidebar .side-cat span{float:left;line-height:24px;white-space:nowrap;padding:0 5px}#sidebar .side-cat span:hover,#sidebar .side-cat span a:hover{background:#72d4ff;color:#fff}#sidebar .comms li{background:none;padding:0 0}#sidebar .comms li:hover{background:none}#sidebar .arrow a{padding:0 0}#sidebar .arrow{padding:0 0 0 13px;background-position:-7px -393px}#sidebar .arrow:hover{background-position:-7px -417px;color:#85bf73}#sidebar #searchform{text-align:left}#searchform{margin:10px 0 0 0;padding:0}#searchform #s{margin:0;padding:1px 0 0 2px;width:185px;background:white;border:1px solid #CBD8E5;line-height:16px}#searchsubmit{margin:0;padding:2px 0 0 0;width:54px;height:18px;border:none;cursor:hand}#footer{clear:both;margin:0;padding:0;background:url(../images/foot-bg.gif) repeat-x;height:70px}#footer-no{float:left;margin:0;padding:0;background:url(../images/foot-wp.gif) no-repeat 0 0;height:70px;width:73px}#footer-link{float:left;margin:20px 0 0 20px;color:#d8d8d8;display:inline}#footer-link p{margin:0px;padding:0px;line-height:18px}#footer-link a{color:#85bf73;font:Arial,Helvetica,sans-serif}#footer-link a:hover{color:#FFFF99}#footer-right a{width:31px;height:52px}#to-top{margin:10px 30px 0 0;float:right;width:31px;height:52px;background-position:-8px -480px}#footer-right a{width:31px;height:52px}#footer-right a:hover{background-position:-8px -529px}.comments{border-bottom:1px solid #CCCCCC;border-top:1px solid #CCCCCC;margin:15px 0px;padding:0 15px 15px;position:relative}.comment-title{background-color:#E3E9FF;border-top:1px solid #3366CC;padding:3px 12px 3px 12px;position:relative}.comment-body-ref{background-color:#FFFFFF;filter:alpha(opacity=90);left:217px;opacity:0.9;padding:6px;position:absolute;width:520px;z-index:10}.comment-body{margin-top:15px}.comment-author{float:left;text-align:center;width:81px}.comment-author div{background:url("../images/commentpoint.png") no-repeat scroll 100% 33% transparent;margin-top:10px;padding-right:14px}.comment-author img{border:1px solid #999999;height:32px;padding:1px;width:32px}.comment-author a{font-weight:bold;margin-right:14px}.comment-info{background:url("../images/comment.gif") no-repeat scroll 0 0 #EDEFF0;font-size:12px;padding:10px 15px 0;width:75%}.comment-content{background:url("../images/comment.gif") no-repeat scroll 100% 100% transparent;font-size:12px;line-height:145%;margin:0 -15px;overflow:hidden;padding:9px 15px 10px;word-wrap:break-word}.comment-form{margin:15px 0px;padding:0 35px 15px;position:relative}.comment-form img{cursor:pointer}.comment-form input,.comment-form textarea{background:url("../images/textfield.gif") repeat-x scroll 50% 0 #fff;border:1px solid #A6A6A6;color:#555555;font-family:Helvetica,Arial,sans-serif;height:16px;outline:none;padding:2px 1px;width:200px}.comment-form textarea{font-size:12px;height:auto;width:100%}.comment-form button{background:none repeat scroll 0 0 #B4D666;border-color:#B4D666 #81B840 #81B840 #B4D666;border-radius:0px;border-style:solid;border-width:1px;color:#2970A6;font-size:12px;height:22px;line-height:22px;padding:0px 6px;background-color:#ffffff}.comment-form button:hover{background:none repeat scroll 0 0 #98C64C;border-color:#76B33A #98C64C #98C64C #76B33A;color:#074A7E}.em-span{line-height:24px;float:left}.em-br{line-height:24px} diff --git a/skins/5styles/css/base.scss b/skins/5styles/css/base.scss index 4e385ed..c93759a 100644 --- a/skins/5styles/css/base.scss +++ b/skins/5styles/css/base.scss @@ -16,8 +16,8 @@ * along with this program. If not, see . */ @charset "utf-8"; - -@import "../../../scss/reset-content"; +@import "../../../scss/reset"; +@import "vditor/src/assets/scss/classic"; body { margin:0; padding:0; @@ -299,7 +299,7 @@ a:hover { background-position:-7px -125px; padding:0 0 0 13px; } -.content-reset { +.vditor-reset { margin:8px 0; padding:0px; line-height:22px; diff --git a/skins/5styles/footer.ftl b/skins/5styles/footer.ftl index 3c85300..17fd6ec 100644 --- a/skins/5styles/footer.ftl +++ b/skins/5styles/footer.ftl @@ -44,27 +44,14 @@ }; var Label = { + "markedAvailable": ${markedAvailable?c}, + "hljsStyle": "atom-one-light", + "langLabel": "${langLabel}", "clearAllCacheLabel": "${clearAllCacheLabel}", "clearCacheLabel": "${clearCacheLabel}", "adminLabel": "${adminLabel}", "logoutLabel": "${logoutLabel}", "skinDirName": "${skinDirName}", - "loginLabel": "${loginLabel}", - "em00Label": "${em00Label}", - "em01Label": "${em01Label}", - "em02Label": "${em02Label}", - "em03Label": "${em03Label}", - "em04Label": "${em04Label}", - "em05Label": "${em05Label}", - "em06Label": "${em06Label}", - "em07Label": "${em07Label}", - "em08Label": "${em08Label}", - "em09Label": "${em09Label}", - "em10Label": "${em10Label}", - "em11Label": "${em11Label}", - "em12Label": "${em12Label}", - "em13Label": "${em13Label}", - "em14Label": "${em14Label}" }; $(document).ready(function () { diff --git a/skins/5styles/js/5styles.min.js b/skins/5styles/js/5styles.min.js index b82312b..5a144d3 100644 --- a/skins/5styles/js/5styles.min.js +++ b/skins/5styles/js/5styles.min.js @@ -1,18 +1 @@ -/* - * 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 writeCookie(e,t){exp=new Date,exp.setTime(exp.getTime()+2592e6),document.cookie=e+"="+escape(t)+"; expires="+exp.toGMTString()+"; path=/",document.cookie.replace("stylesheet=css0","stylesheet="+t)}function readCookie(e){var t;return t=e+"=",offset=document.cookie.indexOf(t),-1!=offset?(offset+=t.length,end=document.cookie.indexOf(";",offset),-1==end&&(end=document.cookie.length),unescape(document.cookie.substring(offset,end))):""}function setStyleSheet(e){for(var t=document.getElementsByTagName("link"),o=0,n=0;n
-
+
${comment.commentContent}
diff --git a/skins/5styles/page.ftl b/skins/5styles/page.ftl index 8bfa6f9..e5beadb 100644 --- a/skins/5styles/page.ftl +++ b/skins/5styles/page.ftl @@ -43,7 +43,7 @@

${page.pageTitle}

-
+
${page.pageContent}
diff --git a/skins/Coda/article.ftl b/skins/Coda/article.ftl index cd0f539..b79a664 100644 --- a/skins/Coda/article.ftl +++ b/skins/Coda/article.ftl @@ -88,7 +88,7 @@ -
+
${article.articleContent} -
+
-
+
${article.articleContent} <#if "" != article.articleSign.signHTML?trim>
diff --git a/skins/Dot-B/css/base.css b/skins/Dot-B/css/base.css index 3e50512..edea912 100644 --- a/skins/Dot-B/css/base.css +++ b/skins/Dot-B/css/base.css @@ -1,18 +1 @@ -/** - * 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 . - */ -.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 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:0.15em;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(252,41,41,0.12);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}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;font-size:100%;vertical-align:baseline;margin:0;padding:0}:focus{outline:0}body{font:13px/18px Tahoma,Arial,Helvetica,sans-serif;color:#555;line-height:1}#body{background:url("../images/body-bg.png") repeat scroll center top transparent}.clear{clear:both}a img{border:none}a,a:visited{text-decoration:none;color:#06c;outline:none}a:hover{text-decoration:none;color:#bd0800}p{line-height:1.6em;margin:0 0 1em}h1,h2,h3,h4,h5,h6{clear:both}hr{background-color:#CCC;border:0 none;height:1px;margin-bottom:1.625em}ul{list-style-type:none;line-height:100%}ul li{line-height:16px;list-style:none}ol{margin:0 20px 1em}ol li{line-height:normal;padding:0 0 5px}dl{margin:0 1.625em}dt{font-weight:bold}dd{margin-bottom:1.625em}strong{font-weight:bold}cite,em,i{font-style:italic}form,table,input,textarea,dl,dt,dd{outline:none}#calendar_wrap table{border:thick dashed #E3E3E3;border-collapse:collapse;width:100%}blockquote{background:none repeat scroll 0 0 #EEE;padding:2px 6px;border-color:#999;border-style:solid;border-width:0 0 0 2px;margin:0 10px 1em}blockquote:hover{border-color:#06c}pre{background:none no-repeat scroll 0 -664px #EAEAEA;border:1px solid #999;color:#333;display:block;line-height:120%;overflow:auto;margin:0 10px 1em;padding:10px 10px 10px 20px}h1,h2,h3,h4,h5,h6{color:#333;line-height:1.1em;margin:0.3em 0;padding:0}h1,h2{font-weight:normal}h3,h4,h5,h6{font-weight:bold}h1{font-size:200%}h2{font-size:183%}h3{font-size:166%}h4{font-size:150%}h5{font-size:133%}h6{font-size:116%}dl{margin:0 1.625em}dt{font-weight:bold}dd{margin-bottom:1.625em}cite,em,i{font-style:italic}code,kbd{font:13px Monaco,Consolas,"Andale Mono","DejaVu Sans Mono",monospace}abbr,acronym,dfn{border-bottom:thin dotted;cursor:help;cursor:help}address{display:block;margin:0 0 1.625em}ins{background:none repeat scroll 0 0 #FFF9C0;text-decoration:none}sup,sub{font-size:10px;height:0;line-height:1;position:relative;vertical-align:baseline}sup{bottom:1ex}sub{top:0.5ex}.left{float:left}.right{float:right}#top_bar,#bottom-bar,#rss,.menu-mark,.menu-mark2,.post_info_date,.post_info_author,.post_info_cat,.post_info_edit,.post_title_h2,.post_meta,.previous_post,.next_post,#comments-title,#sidebar ul li ul li,#header_search_area,#reply-title,pre{background-image:url("../images/all.png")}#top_bar{background-position:0 -632px;height:4px;font-size:0;width:20%;background-color:#F1F1F1}#bottom-bar{background-position:0 -639px;height:4px;font-size:0;background-color:#F1F1F1}#wrapper{background:none repeat scroll 0 0 #F1F1F1;width:960px;margin:0 auto}#header{background:none repeat scroll 0 0 #F1F1F1;border-left:1px solid #E8E8E8;border-right:1px solid #E8E8E8}#header #logo{display:inline;float:left;margin:20px 10px}#header #logo a,#header #logo a:visited{font-size:32px;color:#06c;line-height:32px}#header #logo a:hover{color:#2089cc}#header #description{color:#888;font-size:13px;font-weight:400;line-height:13px;margin-top:7px}#header #header_meta{float:right;display:inline}#header #header_search_area{background-position:-125px 0;float:left;height:20px;position:relative;width:155px;margin:0 91px 0 0;padding:23px 0 0 45px}#searchform #s{border-bottom:1px dashed;border-left:none;border-right:none;border-top:none;background:none repeat scroll 0 0 transparent;color:#BBB;display:inline;height:19px;position:absolute;width:65%;margin:2px}#searchform #searchsubmit{height:16px;position:absolute;right:0;text-indent:-9999px;width:13px;display:none;margin:2px}#header #rss{background-position:0 0;float:left;text-indent:-9999px;height:45px;width:48px;margin:7px 10px 0 0;line-height:45px}#header #rss:hover{background-position:-58px 0;float:left;text-indent:-9999px;height:45px;width:48px;margin:7px 10px 0 0;line-height:45px}#header #social{float:right;margin-right:20px}.facebook a,.twitter a,.flickr a,.delicious a,.gplus a,.picasa a,.tencent a,.sina a,.rss a,.facebook1 a,.twitter1 a{display:inline;float:left;height:32px;width:32px;text-indent:-9999px;margin:3px 2px 2px 2px;background-image:url("../images/all.png")}#header #social ul li{display:inline}.facebook a{background-position:0 -88px}.facebook a:hover{background-position:0 -48px}.twitter a{background-position:-48px -88px}.twitter a:hover{background-position:-48px -48px}.flickr a{background-position:-96px -88px}.flickr a:hover{background-position:-96px -48px}.delicious a{background-position:-144px -88px}.delicious a:hover{background-position:-144px -48px}.gplus a{background-position:-192px -88px}.gplus a:hover{background-position:-192px -48px}.picasa a{background-position:-240px -88px}.picasa a:hover{background-position:-240px -48px}.tencent a{background-position:-289px -87px}.tencent a:hover{background-position:-289px -48px}.sina a{background-position:-476px -87px}.sina a:hover{background-position:-476px -48px}.rss a{background-position:-336px -88px}.rss a:hover{background-position:-336px -48px}.facebook1 a{background-position:-384px -88px}.facebook1 a:hover{background-position:-384px -48px}.twitter1 a{background-position:-432px -88px}.twitter1 a:hover{background-position:-432px -48px}.header_menu{border-bottom:1px solid #CCC;border-top:2px dashed #CCC;clear:both;height:36px;padding:0 10px}.header_menu ul{list-style:none;float:left;margin:0;padding:0}.header_menu ul li{float:left;position:relative;margin:0;padding:0 15px 0 0;border-bottom:1px solid #CCC}.header_menu ul li a{color:#555;display:block;text-decoration:none;float:left;padding:10px 5px;cursor:pointer}.header_menu ul li a:hover{color:#06c}.header_menu .menu-mark{background-position:-721px -14px;float:left;height:16px;width:10px;margin:13px 0 7px}.header_menu .menu-mark2{background-position:-893px -14px;float:left;height:16px;width:10px;margin:13px 0 7px}.header_menu ul li span.subhover{background-position:center bottom;cursor:pointer}.header_menu ul li ul{list-style:none;position:absolute;left:0;top:36px;background:#F1F1F1;display:none;float:left;margin:0;padding:0;z-index:999}.header_menu ul li ul li{border-bottom:1px solid #ccc;border-left:1px solid #ccc;border-right:1px solid #ccc;clear:both;width:170px;margin:0;padding:0}.header_menu ul ul ul{left:100%;top:-1px}.header_menu ul ul li:first-child{border-top:1px solid #ccc}#main{background:none repeat scroll 0 0 #F1F1F1;border-left:1px solid #E8E8E8;border-right:1px solid #E8E8E8;clear:both;padding:5px 0 0}#content{border-right:4px dashed #FFF;display:inline;float:left;width:680px}.page-title{margin:2px;text-align:center}.post_title_h2,#reply-title{background-position:-60px -125px;color:#555;font-size:15px;font-weight:400;text-indent:4px;margin:0;padding:4px 0;line-height:20px}.post{margin-top:10px}.post_content{line-height:20px;margin:10px}.post_content table{border-bottom:1px solid #DDD;margin:0 0 1.625em;width:100%}.post_content th{color:#666;font-size:10px;font-weight:500;letter-spacing:0.1em;line-height:2.6em;text-transform:uppercase}.post_content td{border-top:1px solid #DDD;padding:6px 10px 6px 0}.post_content #s{width:75%}.post_content ul,.post_content ol{margin:0 0 1em 2em}.post_content ul{list-style:square outside none}.post_content ol{list-style-type:decimal}.post_title_h2 a,.post_title_h2 a:visited{color:#555;display:inline-block}.post_info_top{color:#999;margin:0 10px;overflow:hidden}.post_info{overflow:hidden;margin:0 6px}.post_info_date{background-position:-24px -175px;display:block;padding:0 0 0 10px;margin:0 6px 0 0;line-height:17px;float:left}.post_info_author{background-position:-20px -187px;display:block;margin:0 6px 0 0;padding:0 0 0 10px;line-height:17px;float:left}.post_info_cat{background-position:-8px -225px;display:block;margin:0 6px 0 0;padding:0 0 0 10px;line-height:17px;float:left}.post_info_edit{background-position:-3px -239px;display:block;margin:0 6px 0 0;padding:0 0 0 10px;line-height:17px;float:left}.post_info_bootom{overflow:hidden;clear:both;margin:10px 0 10px -7px;padding:0 0 0 7px}.single .post_meta{height:auto}.single .post_meta li{margin-top:2px}.post_meta{float:left;width:550px;display:inline;background-position:right -441px;overflow:hidden;height:19px;margin:0 0 0 -7px;padding:0 0 0 7px}.post_meta ul{margin:0;line-height:100%}.post_meta li{float:left;position:relative;background:url("../images/tag.png") no-repeat scroll transparent;margin-left:-7px;background-position:-12px 0;padding:0 0 0 7px}.post_meta li:hover{background:url("../images/tag.png") no-repeat scroll -12px -103px transparent}.post_meta ul li a{background:url("../images/tag.png") no-repeat scroll 100% -50px #b6b6b6;color:#FFF;display:block;float:left;height:19px;line-height:19px;overflow:hidden;padding:0 14px 0 5px}.post_meta ul li:hover a,.post_meta ul li a:hover{color:#FFF;background-color:#7ea6dd;background-position:100% -153px}.post_readmore{height:17px;line-height:17px;display:inline;margin:0 0 0 6px}#sidebar{display:inline;float:right;width:260px;margin:6px 6px 6px 8px;padding:0}#sidebar a{color:#666;line-height:19px}#sidebar a:hover{color:#06C}#sidebar ul li ul li{background-position:-32px -163px;color:#666;font-size:12px;margin-left:5px;padding-left:10px;line-height:17px}#sidebar ul li ul li a{font-style:normal}#sidebar ul li ul li:hover{background-position:-38px -149px;color:#06C}#sidebar li{line-height:100%;margin:0 0 1em;list-style:none}#sidebar li li{line-height:19px;margin:0 0 4px}#sidebar li li:hover{background-position:0 -204px}.widget_title{color:#777;background-color:#EEE;border-left:2px solid #999;font-size:13px;font-weight:bolder;line-height:100%;margin:0 0 0.7em;padding:5px}.widget_title:hover{background-color:#EEE;border-left:2px solid #06c}.post-nav{overflow:hidden;margin-top:10px;clear:both}.post-nav .previous_post{font-family:Microsoft YaHei;font-style:italic;color:#888;background-position:0 -316px;float:left;height:19px;display:block;overflow:hidden;margin:0 0 0 6px;padding:0 10px 0 13px}.post-nav .next_post{font-family:Microsoft YaHei;font-style:italic;color:#888;background-position:right -315px;float:right;height:19px;display:block;overflow:hidden;margin:0 6px 0 0;padding:0 17px 0 0}#footer{border-top:2px dashed #CCC;background:none repeat scroll 0 0 #F1F1F1;border-left:1px solid #E8E8E8;border-right:1px solid #E8E8E8;height:50px}#copyright{color:#888;float:left;display:inline;margin:10px 0 0 20px;padding:0}#copyright li{float:left;display:inline;font-size:13px;margin:0 10px 0 0;padding:3px 0 5px 13px}#site-info{margin-bottom:5px}#site-generator a{color:#777}#return_top{float:right;margin:20px 55px 0 0}#wp-calendar{width:100%;font-size:13px;margin:0 auto}#wp-calendar th,#wp-calendar td{line-height:150%;text-align:center}#wp-calendar td a,#wp-calendar td a:visited{color:#06C;display:block}#wp-calendar caption{display:none;padding:8px 0}#wp-calendar #prev a:hover,#wp-calendar #next a:hover,#side_middle #wp-calendar #prev a:hover,#side_middle #wp-calendar #next a:hover{text-decoration:underline;color:#2089cc}#wp-calendar td#today{color:#555;background-color:#DDD}#wp-calendar tbody a{background-color:#eee}#wp-calendar tbody a:hover{background-color:#e7e7e7}#comments{margin-top:30px;position:relative}.comment-content table{border-bottom:1px solid #DDD;margin:0 0 1.625em;width:100%}.comment-content th{color:#666;font-size:10px;font-weight:500;letter-spacing:0.1em;line-height:2.6em;text-transform:uppercase}.comment-content td{border-top:1px solid #DDD;padding:6px 10px 6px 0}.comment-content ul,.comment-content ol{margin:0 0 1em 2em}.comment-content ul{list-style:square outside none}.comment-content ul li{list-style:square outside none !important;margin:0 !important;padding:0}.comment-content ol{list-style-type:decimal}.comment-content ol li{list-style-type:decimal !important;margin:0 !important;padding:0}#thecomments{margin-right:20px;width:640px}#comments-title{background-position:0 -421px;font-size:14px;font-weight:700;text-align:center;margin:5px 20px 20px;padding:5px 0}#comments-title span{background:#f1f1f1;color:#888;padding:0 4px}#comments-title span a{color:#888}ol.commentlist li{position:relative;list-style:none;padding-bottom:4px;margin:0 0 5px}ol.commentlist li .by-post-author div.vcard img.avatar{position:absolute;right:0;float:right;border:1px dashed #ddd;margin-top:-4px}ol.commentlist li .by-post-author div.vcard cite.fn{float:right;margin:0 50px 0 0}ol.commentlist li .by-post-author span.comment-meta{position:absolute;right:48px;top:20px;left:auto}ol.commentlist li .by-post-author p{padding:3px 0 3px 44px}ol.commentlist li .by-post-author div.reply,ol .commentlist li .atclass{right:auto;left:0;top:5px}ol.commentlist li .by-post-author div.comment-author{height:18px}ol.commentlist li div.comment-author{height:20px;border-bottom:3px dashed #DDD;margin-bottom:4px}ol.commentlist li div.vcard img.avatar{background:none repeat scroll 0 0 #FFF;height:40px;position:absolute;border-color:#CCC;border-style:solid;border-width:1px;padding:1px}ol.commentlist li div.vcard cite.fn{margin-left:50px;font-style:normal;font-size:14px;font-weight:700}ol.commentlist li div.vcard span.says{position:absolute;text-indent:-9999em}ol.commentlist li span.comment-meta{color:#aaa;font-size:12px;left:55px;margin-left:5px;top:25px}ol.commentlist li p{padding:0 50px 5px 55px}ol.commentlist li.pingback p{margin:0;padding:0 10px 5px}ol.commentlist li div.reply,ol .commentlist li .atclass{background:none repeat scroll 0 0 #FFF;border:2px dashed #DDD;position:absolute;right:0;top:8px;font-size:12px;padding:2px}ol.commentlist li.comment-body-ref{background-color:#F1F1F1;border-bottom:medium none;left:110px;padding-bottom:0;position:absolute;width:530px}ol.commentlist li.comment-body-ref .comment-author{overflow:hidden;display:block;height:16px;border:none;border-bottom:1px dashed #DDD}ol.commentlist li.comment-body-ref div.vcard img.avatar{position:absolute;right:0;float:right;border:1px dashed #ddd;height:24px;margin-top:2px;width:24px}ol.commentlist li.comment-body-ref .fn{margin-left:10px;float:right;margin-right:32px}ol.commentlist li.comment-body-ref .fn a{color:#555}ol.commentlist li.comment-body-ref span.comment-meta{position:absolute;right:31px;top:16px;left:auto}ol.commentlist li.comment-body-ref div.comment-content{padding-top:5px}ol.commentlist li.comment-body-ref div.reply{left:-17px;right:auto;top:5px}ol.commentlist li ul.children li div#comments{margin-top:15px}ol.commentlist li ul.children .by-post-author div.reply,ol .commentlist li .atclass{right:auto;left:-17px;top:5px}ol.commentlist li ul.children div.vcard img.avatar{position:absolute;right:auto;float:none;border:1px dashed #ddd;height:24px;margin-top:-1px;width:24px}ol.commentlist li ul.children div.vcard cite.fn{float:none;margin-left:35px}ol.commentlist li ul.children span.comment-meta{float:none;left:38px;top:18px}#respond{margin:20px 20px 20px 55px}#respond h2{font-size:18px;font-weight:700;margin-bottom:10px}#respond a#cancel-comment-reply-link{font-size:12px;color:#920017}#respond a#cancel-comment-reply-link:hover{color:#FF4E00}#respond #reply-title{line-height:20px;padding:4px}#commentForm,#replyForm{margin:0;padding:0}#replyForm{margin-top:10px}#commentForm p,#replyForm p{overflow:hidden;margin:0 0 10px;padding:0;clear:both}#commentForm textarea,#commentForm input,#replyForm textarea,#replyForm input{height:16px;float:left;border:1px dashed #DDD;margin-right:5px;color:#333;padding:3px}#commentForm textarea:hover,#commentForm input:hover,#replyForm textarea:hover,#replyForm input:hover{border:1px dashed #bbb}#commentForm textarea,#replyForm textarea{height:130px;font-size:100%}#commentForm .form-allowed-tags,#replyForm .form-allowed-tags{color:#888;font-size:12px;line-height:1.2em}#comment{width:330px;margin:0 10px 0 0}#submitCommentButton,#submitCommentButtonReply{background-color:#888;border:medium none;color:#DDD;padding:2px 5px}#submitCommentButton:hover,#submitCommentButtonReply:hover{background-color:#666}ol.pingslist h3{font-weight:700;margin-bottom:10px;border-bottom:1px solid #CCC;color:#555;padding:3px 0}ol.pingslist{list-style-type:none;margin:5px 20px 15px}ol.pingslist li{color:#AAA;margin:0}ol.pingslist a{color:#555;outline:medium none;text-decoration:none}#pings-title{font-size:14px;font-weight:700;margin:5px;padding:5px 0;color:#888}.page_navi{text-align:center;margin:20px}.page_navi li{line-height:0;display:inline;font-size:13px}.page_navi a{border:2px dashed #DDD;color:#AAA;line-height:30px;padding:1px 4px}.page_navi a:hover{color:#2089CC;background-color:#e9e9e9;border:2px dashed #AAA}.floor{float:left;margin:0 5px 0 0}#microblog{height:52px;line-height:18px;overflow:hidden}#microblog li{height:40px;margin:10px 0}img.size-auto,img.size-full,img.size-large,img.size-medium,.attachment img{height:auto;max-width:100%}.alignleft,img.alignleft{display:inline;float:left;margin-right:24px;margin-top:4px}.alignright,img.alignright{display:inline;float:right;margin-left:24px;margin-top:4px}.aligncenter,img.aligncenter{clear:both;display:block;margin-left:auto;margin-right:auto}img.alignleft,img.alignright,img.aligncenter{margin-bottom:12px}.wp-caption{background:none repeat scroll 0 0 #FFF;line-height:18px;margin-bottom:20px;max-width:632px !important;text-align:center;padding:4px}.wp-caption img{padding:0}.wp-caption p.wp-caption-text{color:#888;font-size:12px;margin:5px}.gallery{margin:0 auto 18px}.gallery .gallery-item{float:left;margin-top:0;text-align:center;width:33%}.gallery-columns-2 .gallery-item{width:50%}.gallery-columns-4 .gallery-item{width:25%}.gallery img{border:10px solid #CFCFCF}.gallery-columns-2 .attachment-medium{height:auto;max-width:92%}.gallery-columns-4 .attachment-thumbnail{height:auto;max-width:84%}.gallery .gallery-caption{color:#888;font-size:12px;margin:0 0 12px}.navigation{text-align:center;color:#888;font-size:12px;line-height:18px;overflow:hidden}.navigation a{border:2px dashed #DDD;color:#AAA;line-height:30px;padding:1px 4px}.navigation a:hover{background-color:#E9E9E9;border:2px dashed #AAA;color:#2089CC}.nav-previous{float:left;width:50%}.nav-next{float:right;text-align:right;width:50%}#nav-above{display:none;margin:0 0 18px}.paged #nav-above,.single #nav-above{display:block}#nav-below{margin:-18px 0 0}.page-link{clear:both;color:#000;font-weight:700;word-spacing:0.5em;margin:0 0 22px}.page-link a:link,.page-link a:visited{border:2px dashed #DDD;color:#AAA;line-height:30px;padding:1px 4px}.home .sticky .page-link a{background:none repeat scroll 0 0 #D9E8F7}.page-link a:active,.page-link a:hover{background-color:#E9E9E9;border:2px dashed #AAA;color:#2089CC}object,#content .attachment img{display:block;margin:0 auto}#header #header_right,.post_info_comments{float:right}.post_title_h2 a:hover,#wp-calendar td a:hover{color:#BD0800}.post_info_top a,ol.commentlist li div.reply a,ol.commentlist li .atclass a,#respond .comment-notes{color:#999}.post_info_top a:hover,#footer a:hover,ol.commentlist li div.vcard cite.fn a.url{color:#06c}#footer a,#wp-calendar th,ol.commentlist li div.vcard cite.fn a.url:hover{color:#555}ol.commentlist li span.comment-meta a,.page-numbers dots{color:#AAA}ol.commentlist li span.comment-meta a:hover,ol.commentlist li div.reply a:hover,ol.commentlist li .atclass a:hover{color:#222}ol.commentlist li ul.children .by-post-author p,ol.commentlist li ul.children p{padding:3px 31px 3px 31px}#respond .comment-form-comment label,.gallery br+br{display:none}.gallery dl{margin:0}img.wp-smiley{background:none;margin:0;padding:0;border:none}.widget_calendar .widget_title{display:none}img[class*="align"],img[class*="wp-image-"]{height:auto}img.size-full{max-width:97.5%;width:auto}img.alignleft,img.alignright,img.aligncenter{margin-bottom:1.625em}p img,.wp-caption{margin-top:0.4em}.wp-caption{background:none repeat scroll 0 0 #fff;margin-bottom:1.625em;max-width:96%}.wp-caption img{display:block;margin:0 auto;max-width:98%}.wp-caption .wp-caption-text,.gallery-caption{color:#666;font-family:Georgia,serif;font-size:12px}.wp-caption .wp-caption-text{margin-bottom:0.6em;position:relative}.wp-caption .wp-caption-text:before{color:#666;font-size:14px;font-style:normal;font-weight:bold;left:10px;margin-right:5px;position:absolute;top:7px}#content .gallery{margin:0 auto 1.625em}#content .gallery a img{border:medium none}img#wpstats{display:block;margin:0 auto 1.625em}#content .gallery-columns-4 .gallery-item{padding-right:2%;width:23%}#content .gallery-columns-4 .gallery-item img{height:auto;width:100%}img[class*="align"],img[class*="wp-image-"],#content .gallery .gallery-icon img{background:#fff;padding:6px;border:1px solid #DDD}.wp-caption img{border-color:#DDD;border:none}a:focus img[class*="align"],a:hover img[class*="align"],a:active img[class*="align"],a:focus img[class*="wp-image-"],a:hover img[class*="wp-image-"],a:active img[class*="wp-image-"],#content .gallery .gallery-icon a:focus img,#content .gallery .gallery-icon a:hover img,#content .gallery .gallery-icon a:active img{background:none repeat scroll 0 0 #FFF;border-color:#DDD}.wp-caption a:focus img,.wp-caption a:active img,.wp-caption a:hover img{background:none repeat scroll 0 0 #FFF;border-color:#DDD}.post-password-required .entry-header .comments-link{margin:1.625em 0 0}.post-password-required input[type="password"]{margin:0.8125em 0}.post-password-required input[type="password"]:focus{background:none repeat scroll 0 0 #F7F7F7}.attachment-extra-featured-image{background:#FFF;border:1px solid #DDD;padding:4px}.post-password-required input[type="password"]{margin:0.8125em 0}input[type="text"],input[type="password"],textarea{border:1px solid #ccc;color:#888}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.em13,.em14{background-image:url("../images/emotions.png");float:left;height:24px;margin-right:10px;width:24px}#emotions span{cursor:pointer}.em01{background-position:-24px 0}.em02{background-position:-48px 0}.em03{background-position:-72px 0}.em04{background-position:-96px 0}.em05{background-position:0px -24px}.em06{background-position:-24px -24px}.em07{background-position:-48px -24px}.em08{background-position:-72px -24px}.em09{background-position:-96px -24px}.em10{background-position:0 -48px}.em11{background-position:-24px -48px}.em12{background-position:-48px -48px}.em13{background-position:-72px -48px}.em14{background-position:-96px -48px}.em-span{line-height:24px;float:left}.em-br{line-height:24px}.sign-htmml{background:#FDFDFD;border:5px solid #EEEEEE;padding:5px}#captcha,#captchaReply{margin-top:0;vertical-align:middle}.recentcomments{width:240px;display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:exllipsis;word-wrap:normal}#tags li{float:left;list-style:none;height:38px}#tags a:hover{text-shadow:0 0 2px}#tags a{color:#777;border-radius:3px 3px 3px 3px;box-shadow:1px 1px 3px #333;float:left;margin:3px 6px;padding:3px 12px}#tagsSide li a{float:left;line-height:20px;margin-right:7px;white-space:nowrap}.tags1{font-size:12px;color:#A1A1A1}.tags2{font-size:14px;color:#687F95}.tags3{font-size:16px;color:#4C6E90}.tags4{font-size:18px;color:#258}.tags5{font-size:20px}#tagsSide .tags2{font-size:14px}#tagsSide .tags3{font-size:16px}#tagsSide .tags4{font-size:18px}#tagsSide .tags5{font-size:20px} +html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;height:100%}body{margin:0;font-family:"Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;font-size:14px;background-color:#fff;-webkit-font-smoothing:antialiased;-webkit-overflow-scrolling:touch}::-moz-selection{text-shadow:none;background:rgba(65,131,196,0.4)}::selection{text-shadow:none;background:rgba(66,133,244,0.4)}ul,ol{margin:0;padding:0}h1,h2,h3,h4,h5,h6,dl,dd,p{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none}a{outline:0;text-decoration:none}a:hover{text-decoration:underline}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{max-width:100%;vertical-align:middle;border:0;height:auto;-ms-interpolation-mode:bicubic;overflow:hidden;font-size:12px}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;font-family:"Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;outline:none}button,input{line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}input[type="search"]{box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}svg{fill:currentColor;display:inline-block;stroke-width:0;stroke:currentColor;width:14px;height:14px}blockquote{margin:0}@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;overflow:hidden}.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;color:#fff;font-size:12px;line-height:14px}.vditor-upload ul{margin:0}.vditor-upload--tip{height:auto;opacity:1 !important}.vditor-upload--tip .vditor-upload__close{display:block}.vditor-upload__close{display:none;position:absolute;right:5px;cursor:pointer;padding:5px;top:0}.vditor-upload__progress{height:100%;background-color:rgba(66,133,244,0.8);transition:all .15s ease-in-out;padding:5px;box-sizing:border-box}.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}.vditor-reset{font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;word-wrap:break-word;overflow:auto;line-height:1.65;font-size:16px;word-break:break-word}.vditor-reset ul,.vditor-reset ol{padding-left:2em;margin-top:0;margin-bottom:16px}.vditor-reset li{margin-top:0.25em}.vditor-reset audio{max-width:100%}.vditor-reset video{max-height:90vh}.vditor-reset img.emoji{cursor:auto;max-width:20px;vertical-align:top}.vditor-reset h1,.vditor-reset h2,.vditor-reset h3,.vditor-reset h4,.vditor-reset h5,.vditor-reset h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.vditor-reset h1{padding-bottom:0.3em;font-size:1.7em;border-bottom:1px solid #eee}.vditor-reset h2{padding-bottom:0.3em;font-size:1.5em;border-bottom:1px solid #eee}.vditor-reset h3{font-size:1.25em}.vditor-reset h4{font-size:1em}.vditor-reset h5{font-size:0.875em}.vditor-reset h6{font-size:0.85em}.vditor-reset hr{height:0.15em;padding:0;margin:24px 0;background-color:#e7e7e7;border:0}.vditor-reset p{margin-top:0;margin-bottom:16px}.vditor-reset blockquote{padding:0 1em;color:#777;border-left:0.25em solid #ddd;margin:0 0 16px 0}.vditor-reset blockquote p{margin:0}.vditor-reset ins>iframe{border:0}.vditor-reset iframe{border:1px solid #d1d5da}.vditor-reset table{width:100%;border:1px solid #dedede;margin:15px auto;border-collapse:collapse;empty-cells:show}.vditor-reset thead{text-align:center}.vditor-reset td,.vditor-reset th{height:35px;border:1px solid #dedede;padding:0 10px}.vditor-reset th{font-weight:bold;text-align:center !important;background:rgba(158,188,226,0.2)}.vditor-reset tbody tr:nth-child(2n){background:rgba(158,188,226,0.12)}.vditor-reset tr:hover{background:#efefef}.vditor-reset code{padding:0.2em 0.4em;margin:0;font-size:85%;background-color:rgba(27,31,35,0.05);border-radius:3px;font-family:mononoki,Consolas,"Liberation Mono",Menlo,Courier,monospace;word-break:break-word}.vditor-reset pre>code{padding:0.5em;background-color:rgba(0,0,0,0.04);background-image:url("https://cdn.jsdelivr.net/npm/vditor@1.1.2/src/assets/images/code-bg.png");background-size:20px 20px;border-radius:5px;display:block;overflow:auto}.vditor-reset pre:hover div.vditor-copy{display:block}.vditor-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 #d1d5da;border-bottom-color:#bbb;border-radius:3px;box-shadow:inset 0 -1px 0 #bbb}.vditor-reset summary{cursor:pointer}.vditor-reset summary:focus{outline:none}.vditor-reset svg{height:auto;width:auto}.vditor-task{list-style:none;margin-left:-1.4em;display:flex;align-items:center}.vditor-task input{margin-right:5px}.vditor-copy{position:relative;display:none}.vditor-copy textarea{position:absolute;top:-100000px}.vditor-copy span{cursor:pointer;position:absolute;right:0.5em;top:0.5em;height:20px;width:20px}.vditor-copy svg{height:20px;width:20px}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;font-size:100%;vertical-align:baseline;margin:0;padding:0}:focus{outline:0}body{font:13px/18px Tahoma,Arial,Helvetica,sans-serif;color:#555;line-height:1}#body{background:url("../images/body-bg.png") repeat scroll center top transparent}.clear{clear:both}a img{border:none}a,a:visited{text-decoration:none;color:#06c;outline:none}a:hover{text-decoration:none;color:#bd0800}p{line-height:1.6em;margin:0 0 1em}h1,h2,h3,h4,h5,h6{clear:both}hr{background-color:#CCC;border:0 none;height:1px;margin-bottom:1.625em}ul{list-style-type:none;line-height:100%}ul li{line-height:16px;list-style:none}ol{margin:0 20px 1em}ol li{line-height:normal;padding:0 0 5px}dl{margin:0 1.625em}dt{font-weight:bold}dd{margin-bottom:1.625em}strong{font-weight:bold}cite,em,i{font-style:italic}form,table,input,textarea,dl,dt,dd{outline:none}#calendar_wrap table{border:thick dashed #E3E3E3;border-collapse:collapse;width:100%}blockquote{background:none repeat scroll 0 0 #EEE;padding:2px 6px;border-color:#999;border-style:solid;border-width:0 0 0 2px;margin:0 10px 1em}blockquote:hover{border-color:#06c}pre{background:none no-repeat scroll 0 -664px #EAEAEA;border:1px solid #999;color:#333;display:block;line-height:120%;overflow:auto;margin:0 10px 1em;padding:10px 10px 10px 20px}h1,h2,h3,h4,h5,h6{color:#333;line-height:1.1em;margin:0.3em 0;padding:0}h1,h2{font-weight:normal}h3,h4,h5,h6{font-weight:bold}h1{font-size:200%}h2{font-size:183%}h3{font-size:166%}h4{font-size:150%}h5{font-size:133%}h6{font-size:116%}dl{margin:0 1.625em}dt{font-weight:bold}dd{margin-bottom:1.625em}cite,em,i{font-style:italic}code,kbd{font:13px Monaco,Consolas,"Andale Mono","DejaVu Sans Mono",monospace}abbr,acronym,dfn{border-bottom:thin dotted;cursor:help;cursor:help}address{display:block;margin:0 0 1.625em}ins{background:none repeat scroll 0 0 #FFF9C0;text-decoration:none}sup,sub{font-size:10px;height:0;line-height:1;position:relative;vertical-align:baseline}sup{bottom:1ex}sub{top:0.5ex}.left{float:left}.right{float:right}#top_bar,#bottom-bar,#rss,.menu-mark,.menu-mark2,.post_info_date,.post_info_author,.post_info_cat,.post_info_edit,.post_title_h2,.post_meta,.previous_post,.next_post,#comments-title,#sidebar ul li ul li,#header_search_area,#reply-title,pre{background-image:url("../images/all.png")}#top_bar{background-position:0 -632px;height:4px;font-size:0;width:20%;background-color:#F1F1F1}#bottom-bar{background-position:0 -639px;height:4px;font-size:0;background-color:#F1F1F1}#wrapper{background:none repeat scroll 0 0 #F1F1F1;width:960px;margin:0 auto}#header{background:none repeat scroll 0 0 #F1F1F1;border-left:1px solid #E8E8E8;border-right:1px solid #E8E8E8}#header #logo{display:inline;float:left;margin:20px 10px}#header #logo a,#header #logo a:visited{font-size:32px;color:#06c;line-height:32px}#header #logo a:hover{color:#2089cc}#header #description{color:#888;font-size:13px;font-weight:400;line-height:13px;margin-top:7px}#header #header_meta{float:right;display:inline}#header #header_search_area{background-position:-125px 0;float:left;height:20px;position:relative;width:155px;margin:0 91px 0 0;padding:23px 0 0 45px}#searchform #s{border-bottom:1px dashed;border-left:none;border-right:none;border-top:none;background:none repeat scroll 0 0 transparent;color:#BBB;display:inline;height:19px;position:absolute;width:65%;margin:2px}#searchform #searchsubmit{height:16px;position:absolute;right:0;text-indent:-9999px;width:13px;display:none;margin:2px}#header #rss{background-position:0 0;float:left;text-indent:-9999px;height:45px;width:48px;margin:7px 10px 0 0;line-height:45px}#header #rss:hover{background-position:-58px 0;float:left;text-indent:-9999px;height:45px;width:48px;margin:7px 10px 0 0;line-height:45px}#header #social{float:right;margin-right:20px}.facebook a,.twitter a,.flickr a,.delicious a,.gplus a,.picasa a,.tencent a,.sina a,.rss a,.facebook1 a,.twitter1 a{display:inline;float:left;height:32px;width:32px;text-indent:-9999px;margin:3px 2px 2px 2px;background-image:url("../images/all.png")}#header #social ul li{display:inline}.facebook a{background-position:0 -88px}.facebook a:hover{background-position:0 -48px}.twitter a{background-position:-48px -88px}.twitter a:hover{background-position:-48px -48px}.flickr a{background-position:-96px -88px}.flickr a:hover{background-position:-96px -48px}.delicious a{background-position:-144px -88px}.delicious a:hover{background-position:-144px -48px}.gplus a{background-position:-192px -88px}.gplus a:hover{background-position:-192px -48px}.picasa a{background-position:-240px -88px}.picasa a:hover{background-position:-240px -48px}.tencent a{background-position:-289px -87px}.tencent a:hover{background-position:-289px -48px}.sina a{background-position:-476px -87px}.sina a:hover{background-position:-476px -48px}.rss a{background-position:-336px -88px}.rss a:hover{background-position:-336px -48px}.facebook1 a{background-position:-384px -88px}.facebook1 a:hover{background-position:-384px -48px}.twitter1 a{background-position:-432px -88px}.twitter1 a:hover{background-position:-432px -48px}.header_menu{border-bottom:1px solid #CCC;border-top:2px dashed #CCC;clear:both;height:36px;padding:0 10px}.header_menu ul{list-style:none;float:left;margin:0;padding:0}.header_menu ul li{float:left;position:relative;margin:0;padding:0 15px 0 0;border-bottom:1px solid #CCC}.header_menu ul li a{color:#555;display:block;text-decoration:none;float:left;padding:10px 5px;cursor:pointer}.header_menu ul li a:hover{color:#06c}.header_menu .menu-mark{background-position:-721px -14px;float:left;height:16px;width:10px;margin:13px 0 7px}.header_menu .menu-mark2{background-position:-893px -14px;float:left;height:16px;width:10px;margin:13px 0 7px}.header_menu ul li span.subhover{background-position:center bottom;cursor:pointer}.header_menu ul li ul{list-style:none;position:absolute;left:0;top:36px;background:#F1F1F1;display:none;float:left;margin:0;padding:0;z-index:999}.header_menu ul li ul li{border-bottom:1px solid #ccc;border-left:1px solid #ccc;border-right:1px solid #ccc;clear:both;width:170px;margin:0;padding:0}.header_menu ul ul ul{left:100%;top:-1px}.header_menu ul ul li:first-child{border-top:1px solid #ccc}#main{background:none repeat scroll 0 0 #F1F1F1;border-left:1px solid #E8E8E8;border-right:1px solid #E8E8E8;clear:both;padding:5px 0 0}#content{border-right:4px dashed #FFF;display:inline;float:left;width:680px}.page-title{margin:2px;text-align:center}.post_title_h2,#reply-title{background-position:-60px -125px;color:#555;font-size:15px;font-weight:400;text-indent:4px;margin:0;padding:4px 0;line-height:20px}.post{margin-top:10px}.post_content{line-height:20px;margin:10px}.post_content table{border-bottom:1px solid #DDD;margin:0 0 1.625em;width:100%}.post_content th{color:#666;font-size:10px;font-weight:500;letter-spacing:0.1em;line-height:2.6em;text-transform:uppercase}.post_content td{border-top:1px solid #DDD;padding:6px 10px 6px 0}.post_content #s{width:75%}.post_content ul,.post_content ol{margin:0 0 1em 2em}.post_content ul{list-style:square outside none}.post_content ol{list-style-type:decimal}.post_title_h2 a,.post_title_h2 a:visited{color:#555;display:inline-block}.post_info_top{color:#999;margin:0 10px;overflow:hidden}.post_info{overflow:hidden;margin:0 6px}.post_info_date{background-position:-24px -175px;display:block;padding:0 0 0 10px;margin:0 6px 0 0;line-height:17px;float:left}.post_info_author{background-position:-20px -187px;display:block;margin:0 6px 0 0;padding:0 0 0 10px;line-height:17px;float:left}.post_info_cat{background-position:-8px -225px;display:block;margin:0 6px 0 0;padding:0 0 0 10px;line-height:17px;float:left}.post_info_edit{background-position:-3px -239px;display:block;margin:0 6px 0 0;padding:0 0 0 10px;line-height:17px;float:left}.post_info_bootom{overflow:hidden;clear:both;margin:10px 0 10px -7px;padding:0 0 0 7px}.single .post_meta{height:auto}.single .post_meta li{margin-top:2px}.post_meta{float:left;width:550px;display:inline;background-position:right -441px;overflow:hidden;height:19px;margin:0 0 0 -7px;padding:0 0 0 7px}.post_meta ul{margin:0;line-height:100%}.post_meta li{float:left;position:relative;background:url("../images/tag.png") no-repeat scroll transparent;margin-left:-7px;background-position:-12px 0;padding:0 0 0 7px}.post_meta li:hover{background:url("../images/tag.png") no-repeat scroll -12px -103px transparent}.post_meta ul li a{background:url("../images/tag.png") no-repeat scroll 100% -50px #b6b6b6;color:#FFF;display:block;float:left;height:19px;line-height:19px;overflow:hidden;padding:0 14px 0 5px}.post_meta ul li:hover a,.post_meta ul li a:hover{color:#FFF;background-color:#7ea6dd;background-position:100% -153px}.post_readmore{height:17px;line-height:17px;display:inline;margin:0 0 0 6px}#sidebar{display:inline;float:right;width:260px;margin:6px 6px 6px 8px;padding:0}#sidebar a{color:#666;line-height:19px}#sidebar a:hover{color:#06C}#sidebar ul li ul li{background-position:-32px -163px;color:#666;font-size:12px;margin-left:5px;padding-left:10px;line-height:17px}#sidebar ul li ul li a{font-style:normal}#sidebar ul li ul li:hover{background-position:-38px -149px;color:#06C}#sidebar li{line-height:100%;margin:0 0 1em;list-style:none}#sidebar li li{line-height:19px;margin:0 0 4px}#sidebar li li:hover{background-position:0 -204px}.widget_title{color:#777;background-color:#EEE;border-left:2px solid #999;font-size:13px;font-weight:bolder;line-height:100%;margin:0 0 0.7em;padding:5px}.widget_title:hover{background-color:#EEE;border-left:2px solid #06c}.post-nav{overflow:hidden;margin-top:10px;clear:both}.post-nav .previous_post{font-family:Microsoft YaHei;font-style:italic;color:#888;background-position:0 -316px;float:left;height:19px;display:block;overflow:hidden;margin:0 0 0 6px;padding:0 10px 0 13px}.post-nav .next_post{font-family:Microsoft YaHei;font-style:italic;color:#888;background-position:right -315px;float:right;height:19px;display:block;overflow:hidden;margin:0 6px 0 0;padding:0 17px 0 0}#footer{border-top:2px dashed #CCC;background:none repeat scroll 0 0 #F1F1F1;border-left:1px solid #E8E8E8;border-right:1px solid #E8E8E8;height:50px}#copyright{color:#888;float:left;display:inline;margin:10px 0 0 20px;padding:0}#copyright li{float:left;display:inline;font-size:13px;margin:0 10px 0 0;padding:3px 0 5px 13px}#site-info{margin-bottom:5px}#site-generator a{color:#777}#return_top{float:right;margin:20px 55px 0 0}#wp-calendar{width:100%;font-size:13px;margin:0 auto}#wp-calendar th,#wp-calendar td{line-height:150%;text-align:center}#wp-calendar td a,#wp-calendar td a:visited{color:#06C;display:block}#wp-calendar caption{display:none;padding:8px 0}#wp-calendar #prev a:hover,#wp-calendar #next a:hover,#side_middle #wp-calendar #prev a:hover,#side_middle #wp-calendar #next a:hover{text-decoration:underline;color:#2089cc}#wp-calendar td#today{color:#555;background-color:#DDD}#wp-calendar tbody a{background-color:#eee}#wp-calendar tbody a:hover{background-color:#e7e7e7}#comments{margin-top:30px;position:relative}.comment-content table{border-bottom:1px solid #DDD;margin:0 0 1.625em;width:100%}.comment-content th{color:#666;font-size:10px;font-weight:500;letter-spacing:0.1em;line-height:2.6em;text-transform:uppercase}.comment-content td{border-top:1px solid #DDD;padding:6px 10px 6px 0}.comment-content ul,.comment-content ol{margin:0 0 1em 2em}.comment-content ul{list-style:square outside none}.comment-content ul li{list-style:square outside none !important;margin:0 !important;padding:0}.comment-content ol{list-style-type:decimal}.comment-content ol li{list-style-type:decimal !important;margin:0 !important;padding:0}#thecomments{margin-right:20px;width:640px}#comments-title{background-position:0 -421px;font-size:14px;font-weight:700;text-align:center;margin:5px 20px 20px;padding:5px 0}#comments-title span{background:#f1f1f1;color:#888;padding:0 4px}#comments-title span a{color:#888}ol.commentlist li{position:relative;list-style:none;padding-bottom:4px;margin:0 0 5px}ol.commentlist li .by-post-author div.vcard img.avatar{position:absolute;right:0;float:right;border:1px dashed #ddd;margin-top:-4px}ol.commentlist li .by-post-author div.vcard cite.fn{float:right;margin:0 50px 0 0}ol.commentlist li .by-post-author span.comment-meta{position:absolute;right:48px;top:20px;left:auto}ol.commentlist li .by-post-author p{padding:3px 0 3px 44px}ol.commentlist li .by-post-author div.reply,ol .commentlist li .atclass{right:auto;left:0;top:5px}ol.commentlist li .by-post-author div.comment-author{height:18px}ol.commentlist li div.comment-author{height:20px;border-bottom:3px dashed #DDD;margin-bottom:4px}ol.commentlist li div.vcard img.avatar{background:none repeat scroll 0 0 #FFF;height:40px;position:absolute;border-color:#CCC;border-style:solid;border-width:1px;padding:1px}ol.commentlist li div.vcard cite.fn{margin-left:50px;font-style:normal;font-size:14px;font-weight:700}ol.commentlist li div.vcard span.says{position:absolute;text-indent:-9999em}ol.commentlist li span.comment-meta{color:#aaa;font-size:12px;left:55px;margin-left:5px;top:25px}ol.commentlist li p{padding:0 50px 5px 55px}ol.commentlist li.pingback p{margin:0;padding:0 10px 5px}ol.commentlist li div.reply,ol .commentlist li .atclass{background:none repeat scroll 0 0 #FFF;border:2px dashed #DDD;position:absolute;right:0;top:8px;font-size:12px;padding:2px}ol.commentlist li.comment-body-ref{background-color:#F1F1F1;border-bottom:medium none;left:110px;padding-bottom:0;position:absolute;width:530px}ol.commentlist li.comment-body-ref .comment-author{overflow:hidden;display:block;height:16px;border:none;border-bottom:1px dashed #DDD}ol.commentlist li.comment-body-ref div.vcard img.avatar{position:absolute;right:0;float:right;border:1px dashed #ddd;height:24px;margin-top:2px;width:24px}ol.commentlist li.comment-body-ref .fn{margin-left:10px;float:right;margin-right:32px}ol.commentlist li.comment-body-ref .fn a{color:#555}ol.commentlist li.comment-body-ref span.comment-meta{position:absolute;right:31px;top:16px;left:auto}ol.commentlist li.comment-body-ref div.comment-content{padding-top:5px}ol.commentlist li.comment-body-ref div.reply{left:-17px;right:auto;top:5px}ol.commentlist li ul.children li div#comments{margin-top:15px}ol.commentlist li ul.children .by-post-author div.reply,ol .commentlist li .atclass{right:auto;left:-17px;top:5px}ol.commentlist li ul.children div.vcard img.avatar{position:absolute;right:auto;float:none;border:1px dashed #ddd;height:24px;margin-top:-1px;width:24px}ol.commentlist li ul.children div.vcard cite.fn{float:none;margin-left:35px}ol.commentlist li ul.children span.comment-meta{float:none;left:38px;top:18px}#respond{margin:20px 20px 20px 55px}#respond h2{font-size:18px;font-weight:700;margin-bottom:10px}#respond a#cancel-comment-reply-link{font-size:12px;color:#920017}#respond a#cancel-comment-reply-link:hover{color:#FF4E00}#respond #reply-title{line-height:20px;padding:4px}#commentForm,#replyForm{margin:0;padding:0}#replyForm{margin-top:10px}#commentForm p,#replyForm p{overflow:hidden;margin:0 0 10px;padding:0;clear:both}#commentForm textarea,#commentForm input,#replyForm textarea,#replyForm input{height:16px;float:left;border:1px dashed #DDD;margin-right:5px;color:#333;padding:3px}#commentForm textarea:hover,#commentForm input:hover,#replyForm textarea:hover,#replyForm input:hover{border:1px dashed #bbb}#commentForm textarea,#replyForm textarea{height:130px;font-size:100%}#commentForm .form-allowed-tags,#replyForm .form-allowed-tags{color:#888;font-size:12px;line-height:1.2em}#comment{width:330px;margin:0 10px 0 0}#submitCommentButton,#submitCommentButtonReply{background-color:#888;border:medium none;color:#DDD;padding:2px 5px}#submitCommentButton:hover,#submitCommentButtonReply:hover{background-color:#666}ol.pingslist h3{font-weight:700;margin-bottom:10px;border-bottom:1px solid #CCC;color:#555;padding:3px 0}ol.pingslist{list-style-type:none;margin:5px 20px 15px}ol.pingslist li{color:#AAA;margin:0}ol.pingslist a{color:#555;outline:medium none;text-decoration:none}#pings-title{font-size:14px;font-weight:700;margin:5px;padding:5px 0;color:#888}.page_navi{text-align:center;margin:20px}.page_navi li{line-height:0;display:inline;font-size:13px}.page_navi a{border:2px dashed #DDD;color:#AAA;line-height:30px;padding:1px 4px}.page_navi a:hover{color:#2089CC;background-color:#e9e9e9;border:2px dashed #AAA}.floor{float:left;margin:0 5px 0 0}#microblog{height:52px;line-height:18px;overflow:hidden}#microblog li{height:40px;margin:10px 0}img.size-auto,img.size-full,img.size-large,img.size-medium,.attachment img{height:auto;max-width:100%}.alignleft,img.alignleft{display:inline;float:left;margin-right:24px;margin-top:4px}.alignright,img.alignright{display:inline;float:right;margin-left:24px;margin-top:4px}.aligncenter,img.aligncenter{clear:both;display:block;margin-left:auto;margin-right:auto}img.alignleft,img.alignright,img.aligncenter{margin-bottom:12px}.wp-caption{background:none repeat scroll 0 0 #FFF;line-height:18px;margin-bottom:20px;max-width:632px !important;text-align:center;padding:4px}.wp-caption img{padding:0}.wp-caption p.wp-caption-text{color:#888;font-size:12px;margin:5px}.gallery{margin:0 auto 18px}.gallery .gallery-item{float:left;margin-top:0;text-align:center;width:33%}.gallery-columns-2 .gallery-item{width:50%}.gallery-columns-4 .gallery-item{width:25%}.gallery img{border:10px solid #CFCFCF}.gallery-columns-2 .attachment-medium{height:auto;max-width:92%}.gallery-columns-4 .attachment-thumbnail{height:auto;max-width:84%}.gallery .gallery-caption{color:#888;font-size:12px;margin:0 0 12px}.navigation{text-align:center;color:#888;font-size:12px;line-height:18px;overflow:hidden}.navigation a{border:2px dashed #DDD;color:#AAA;line-height:30px;padding:1px 4px}.navigation a:hover{background-color:#E9E9E9;border:2px dashed #AAA;color:#2089CC}.nav-previous{float:left;width:50%}.nav-next{float:right;text-align:right;width:50%}#nav-above{display:none;margin:0 0 18px}.paged #nav-above,.single #nav-above{display:block}#nav-below{margin:-18px 0 0}.page-link{clear:both;color:#000;font-weight:700;word-spacing:0.5em;margin:0 0 22px}.page-link a:link,.page-link a:visited{border:2px dashed #DDD;color:#AAA;line-height:30px;padding:1px 4px}.home .sticky .page-link a{background:none repeat scroll 0 0 #D9E8F7}.page-link a:active,.page-link a:hover{background-color:#E9E9E9;border:2px dashed #AAA;color:#2089CC}object,#content .attachment img{display:block;margin:0 auto}#header #header_right,.post_info_comments{float:right}.post_title_h2 a:hover,#wp-calendar td a:hover{color:#BD0800}.post_info_top a,ol.commentlist li div.reply a,ol.commentlist li .atclass a,#respond .comment-notes{color:#999}.post_info_top a:hover,#footer a:hover,ol.commentlist li div.vcard cite.fn a.url{color:#06c}#footer a,#wp-calendar th,ol.commentlist li div.vcard cite.fn a.url:hover{color:#555}ol.commentlist li span.comment-meta a,.page-numbers dots{color:#AAA}ol.commentlist li span.comment-meta a:hover,ol.commentlist li div.reply a:hover,ol.commentlist li .atclass a:hover{color:#222}ol.commentlist li ul.children .by-post-author p,ol.commentlist li ul.children p{padding:3px 31px 3px 31px}#respond .comment-form-comment label,.gallery br+br{display:none}.gallery dl{margin:0}img.wp-smiley{background:none;margin:0;padding:0;border:none}.widget_calendar .widget_title{display:none}img[class*="align"],img[class*="wp-image-"]{height:auto}img.size-full{max-width:97.5%;width:auto}img.alignleft,img.alignright,img.aligncenter{margin-bottom:1.625em}p img,.wp-caption{margin-top:0.4em}.wp-caption{background:none repeat scroll 0 0 #fff;margin-bottom:1.625em;max-width:96%}.wp-caption img{display:block;margin:0 auto;max-width:98%}.wp-caption .wp-caption-text,.gallery-caption{color:#666;font-family:Georgia,serif;font-size:12px}.wp-caption .wp-caption-text{margin-bottom:0.6em;position:relative}.wp-caption .wp-caption-text:before{color:#666;font-size:14px;font-style:normal;font-weight:bold;left:10px;margin-right:5px;position:absolute;top:7px}#content .gallery{margin:0 auto 1.625em}#content .gallery a img{border:medium none}img#wpstats{display:block;margin:0 auto 1.625em}#content .gallery-columns-4 .gallery-item{padding-right:2%;width:23%}#content .gallery-columns-4 .gallery-item img{height:auto;width:100%}img[class*="align"],img[class*="wp-image-"],#content .gallery .gallery-icon img{background:#fff;padding:6px;border:1px solid #DDD}.wp-caption img{border-color:#DDD;border:none}a:focus img[class*="align"],a:hover img[class*="align"],a:active img[class*="align"],a:focus img[class*="wp-image-"],a:hover img[class*="wp-image-"],a:active img[class*="wp-image-"],#content .gallery .gallery-icon a:focus img,#content .gallery .gallery-icon a:hover img,#content .gallery .gallery-icon a:active img{background:none repeat scroll 0 0 #FFF;border-color:#DDD}.wp-caption a:focus img,.wp-caption a:active img,.wp-caption a:hover img{background:none repeat scroll 0 0 #FFF;border-color:#DDD}.post-password-required .entry-header .comments-link{margin:1.625em 0 0}.post-password-required input[type="password"]{margin:0.8125em 0}.post-password-required input[type="password"]:focus{background:none repeat scroll 0 0 #F7F7F7}.attachment-extra-featured-image{background:#FFF;border:1px solid #DDD;padding:4px}.post-password-required input[type="password"]{margin:0.8125em 0}input[type="text"],input[type="password"],textarea{border:1px solid #ccc;color:#888}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.em13,.em14{background-image:url("../images/emotions.png");float:left;height:24px;margin-right:10px;width:24px}#emotions span{cursor:pointer}.em01{background-position:-24px 0}.em02{background-position:-48px 0}.em03{background-position:-72px 0}.em04{background-position:-96px 0}.em05{background-position:0px -24px}.em06{background-position:-24px -24px}.em07{background-position:-48px -24px}.em08{background-position:-72px -24px}.em09{background-position:-96px -24px}.em10{background-position:0 -48px}.em11{background-position:-24px -48px}.em12{background-position:-48px -48px}.em13{background-position:-72px -48px}.em14{background-position:-96px -48px}.em-span{line-height:24px;float:left}.em-br{line-height:24px}.sign-htmml{background:#FDFDFD;border:5px solid #EEEEEE;padding:5px}#captcha,#captchaReply{margin-top:0;vertical-align:middle}.recentcomments{width:240px;display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:exllipsis;word-wrap:normal}#tags li{float:left;list-style:none;height:38px}#tags a:hover{text-shadow:0 0 2px}#tags a{color:#777;border-radius:3px 3px 3px 3px;box-shadow:1px 1px 3px #333;float:left;margin:3px 6px;padding:3px 12px}#tagsSide li a{float:left;line-height:20px;margin-right:7px;white-space:nowrap}.tags1{font-size:12px;color:#A1A1A1}.tags2{font-size:14px;color:#687F95}.tags3{font-size:16px;color:#4C6E90}.tags4{font-size:18px;color:#258}.tags5{font-size:20px}#tagsSide .tags2{font-size:14px}#tagsSide .tags3{font-size:16px}#tagsSide .tags4{font-size:18px}#tagsSide .tags5{font-size:20px} diff --git a/skins/Dot-B/css/base.scss b/skins/Dot-B/css/base.scss index 9c96afa..e7a77fa 100644 --- a/skins/Dot-B/css/base.scss +++ b/skins/Dot-B/css/base.scss @@ -26,8 +26,9 @@ License: GNU General Public License, v3 (or newer) License URI: http://www.opensource.org/licenses/gpl-3.0.html Tags: two-columns, gray, white, fixed-width, custom-header, custom-background, custom-menu, threaded-comments, custom-colors, theme-options, threaded-comments, translation-ready, right-sidebar, light */ -@import "../../../scss/reset-content"; /* CSS Reset */ +@import "../../../scss/reset"; +@import "vditor/src/assets/scss/classic"; html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td{border:0; font-size:100%; vertical-align:baseline; margin:0; padding:0} :focus{outline:0} body{font:13px/18px Tahoma,Arial,Helvetica,sans-serif; color:#555; line-height:1} diff --git a/skins/Dot-B/footer.ftl b/skins/Dot-B/footer.ftl index 96b0278..10d153d 100644 --- a/skins/Dot-B/footer.ftl +++ b/skins/Dot-B/footer.ftl @@ -40,27 +40,14 @@ var latkeConfig = { }; var Label =({ + "markedAvailable": ${markedAvailable?c}, + "hljsStyle": "atom-one-light", + "langLabel": "${langLabel}", "clearAllCacheLabel": "${clearAllCacheLabel}", "clearCacheLabel": "${clearCacheLabel}", "adminLabel": "${adminLabel}", "logoutLabel": "${logoutLabel}", - "skinDirName": "${skinDirName}", - "loginLabel": "${loginLabel}", - "em00Label": "${em00Label}", - "em01Label": "${em01Label}", - "em02Label": "${em02Label}", - "em03Label": "${em03Label}", - "em04Label": "${em04Label}", - "em05Label": "${em05Label}", - "em06Label": "${em06Label}", - "em07Label": "${em07Label}", - "em08Label": "${em08Label}", - "em09Label": "${em09Label}", - "em10Label": "${em10Label}", - "em11Label": "${em11Label}", - "em12Label": "${em12Label}", - "em13Label": "${em13Label}", - "em14Label": "${em14Label}" + "skinDirName": "${skinDirName}" }); $(document).ready(function () { diff --git a/skins/Dot-B/js/all.min.js b/skins/Dot-B/js/all.min.js index 60cb31e..d73c479 100644 --- a/skins/Dot-B/js/all.min.js +++ b/skins/Dot-B/js/all.min.js @@ -1,18 +1 @@ -/* - * 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 . - */ jQuery("ul.sub-menu:not(.sub-menu .sub-menu)").parent().append(''),jQuery("ul.children:not(.children .children)").parent().append(''),jQuery("ul.sub-menu ul.sub-menu:not(.sub-menu .sub-menu .sub-menu)").parent().append(''),jQuery("ul.children ul.children:not(.children .children .children)").parent().append('');var mouseover_tid=[],mouseout_tid=[];jQuery(".header_menu ul > li").each(function(t){jQuery(this).hover(function(){var e=this;clearTimeout(mouseout_tid[t]),mouseover_tid[t]=setTimeout(function(){jQuery(e).find("ul:eq(0)").slideDown("fast")},200)},function(){var e=this;clearTimeout(mouseover_tid[t]),mouseout_tid[t]=setTimeout(function(){jQuery(e).find("ul:eq(0)").slideUp("fast")},200)})}),jQuery(document).ready(function(){$("#colorfultagcloud a").each(function(e){this.style.color=function(){for(var e,t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"],u="#",n=0;n<6;n++)e=Math.round(15*Math.random()),u+=t[e];return u}()}),jQuery("#top_bar").animate({width:"100%"},{queue:!1,duration:5e3}),jQuery("#s").mouseover(function(){jQuery(this).focus().val([""])}),jQuery(".post_meta li,body a:not(.post_meta li a)").hover(function(){jQuery(this).is(":animated")||jQuery(this).animate({opacity:".7"},220).animate({opacity:"1"},180)}),jQuery(function(){jQuery("a[href=#]").click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var e=jQuery(this.hash);if((e=e.length&&e||jQuery("[name="+this.hash.slice(1)+"]")).length){var t=e.offset().top-100;return jQuery("html,body").animate({scrollTop:t},1e3),!1}}})}),jQuery("#return_top").hide(),jQuery(function(){jQuery(window).scroll(function(){100 .widget-container").slideUp("1500").eq(jQuery("#tab-title span").index(this)).slideDown("1500")})}); \ No newline at end of file diff --git a/skins/Dot-B/macro-comments.ftl b/skins/Dot-B/macro-comments.ftl index ae47c10..6137e04 100644 --- a/skins/Dot-B/macro-comments.ftl +++ b/skins/Dot-B/macro-comments.ftl @@ -39,7 +39,7 @@ #
-
+

<#if comment.isReply> @

-
+
${page.pageContent}
diff --git a/skins/Shawn/article.ftl b/skins/Shawn/article.ftl index f264080..02b9812 100644 --- a/skins/Shawn/article.ftl +++ b/skins/Shawn/article.ftl @@ -60,7 +60,7 @@
-
+
${article.articleContent}
<#if "" != article.articleSign.signHTML?trim> diff --git a/skins/Shawn/css/base.css b/skins/Shawn/css/base.css index 6b51f6a..613b919 100644 --- a/skins/Shawn/css/base.css +++ b/skins/Shawn/css/base.css @@ -1,18 +1 @@ -/** - * 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 . - */ -.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 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:0.15em;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(252,41,41,0.12);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}*{margin:0;padding:0}img,fieldset,.reply input.text,.friendly input.text,.reply textarea{border:none}fieldset input{padding:3px}ul,li{list-style:none}body{text-align:left}h1,h3,.timeta,.navigation,#postail,.rssfeed img,.comstyle,.cmntcnt,.linkpage ul li.categories ul li,.linkpage ul li.arcmon ul li,.linkpage ul li.arctag ul li,.notfound p{text-align:center}blockquote{background:url(../images/quote.png) no-repeat 20px 0;color:#666;padding:0 0 0 25px}table{border:0px;border-collapse:collapse;border-color:gray}code{font:12px Consolas;color:#666;border:1px dashed #ccc;background:#f9f9f9;line-height:1.8;margin:5px 0;max-width:480px}code.small{font:bold 10px Georgia}.right{float:right}.clear{background-color:transparent;border:0;clear:both;display:block;font-size:0;height:0;line-height:0;overflow:hidden}#top{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#E5E5E5');height:30px;line-height:30px;margin:-40px 0px 20px 0px}#top a,#top span span{border-right:1px solid #D9D9D9;color:#4C4C4C;float:left;line-height:14px;margin:6px 0;padding:0 6px;font-weight:normal;TEXT-DECORATION:none}#top a:hover,#top a.hover{background-color:transparent;border-left-color:#707070;border-radius:0 13px 13px 0;margin:0;line-height:30px}#loading,#footer .b2t,#footer .g2b,.nav li.patharrow{background-repeat:no-repeat;background-position:center center}p span.tips,.commentlist li.backward,div.aflow,.linkpage ul li ul li:hover,#loading{background-color:#EBFBEB;border:2px solid #D7F6D7}body{font:12px Tahoma,Verdana,Arial,helvetica,sans-serif;color:#333;background:#707070 url(../images/background.png) repeat-x;margin:40px 0}#loading{z-index:3;position:fixed;left:50%;top:13px;height:23px;width:113px;margin-left:-440px;top:13px;background-image:url(../images/loading.gif)}a,.trackpings li span a:hover{color:#484848;text-decoration:underline}a{text-decoration:none}a:hover{color:#6CC}strong,h2,.commentlist li cite,.reply label,.reply button,.contact span,.nav li a,.trackpings li span a{font-weight:700}a:hover,.post .timeta a,#content .post h3 a,#content .related a,#postail a,#sidebar a,.cmntcnt a,cite a,.trackpings li span a,.linkpage ul li ul li a,.nav li a,.post .entry p a{text-decoration:none}hr,#header .submit,#headerf,.meta,.backward .cmntcnt{display:none}#header #discription,#header #title a{text-indent:-10000em}.post .entry p a{color:#666;font-weight:bold;margin:0 2px;border-bottom:2px dotted #999;padding:0 0 1px}.post .entry p a:hover{border-bottom:2px solid #999}#page{background:#fff;width:880px;text-align:left;margin:40px auto 0;border:1px solid #aaa}#header{height:110px;width:880px;background:url(../images/nav.png) repeat-x}#content{width:644px;float:left}#sidebar{float:right;width:235px;border:1px solid #c2c2c2;border-right:none;border-top:none;padding:0 0 20px;word-wrap:break-word;overflow:hidden}.commentsli{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:exllipsis;word-wrap:normal;width:190px}#footer{background:#444;padding:10px;margin:0 auto;color:#fff;font:bold 10px Verdana}#footer a{text-decoration:none}#footertext{font-family:"Microsoft Jhenghei";text-align:center}#header p#title a,#header h1#title a{background:url(../images/images.gif) no-repeat 0px -32px;width:174px;height:47px;margin:23px 0 20px 26px;float:left}#header h1#title a:hover,#header p#title a:hover{background-position:0 -79px}#footer form{top:59px;right:20px;position:absolute}.nav{float:right;clear:both;margin:-117px 0 0 220px;line-height:20px}.nav li{float:left;margin:0 4px;z-index:2;line-height:220%;border:1px solid #aaa;border-bottom:none;border-radius:6px 6px 0px 0px}.nav li:hover{background-color:#eee}.nav li a{color:#999;padding:5px 10px}.nav li a:hover{color:#666}#cse-search-box input.text{width:182px}#content .post{margin:0 0 40px;padding:0 39px}#content .post h1,#content .post h3{font:bold 18px "Microsoft JhengHei";letter-spacing:1px;line-height:180%}#content .post .index h3{font-size:16px;margin-left:-20px;letter-spacing:.5px}.post .index p a:hover{text-decoration:underline}#content .post h3{text-align:left}.index h3 a{padding:0 0 0 20px}.post .timeta,.post small{font:bold 10px Verdana;color:#666}.post .timeta a:hover,.post small a:hover{color:#4A551C;text-decoration:underline}.post .timeta{padding:3px 0;border-top:1px solid #aaa;margin:0 90px;height:18px;background:#fff}.post .index .timeta{margin:0 0 0 330px}.post abbr{color:#333;cursor:n-resize;font-size:12px}.post .entry{font-size:13px;line-height:180%}.post .entry p{margin:10px 0 18px;text-indent:26px}.post .index .entry p{margin:10px 0;text-indent:0}.post .entry ul li{text-indent:26px;list-style:disc inside}.post .entry ul{margin:10px 0 18px}.post p.left img,.post p.right img{vertical-align:middle;padding-right:5px;margin:5px 0}.post p.left{float:left}.post p.right{float:right}#postail{font:italic bold 11px Verdana;background:url(../images/misc.png) repeat-x;padding:5px;border:2px solid #eee;line-height:180%}.index{padding:0 20px;margin:15px 0 0}#sidebar ul li{padding:0 20px}#sidebar ul li.rssfeed{margin:0 20px 10px}#sidebar .rssfeed img{vertical-align:middle}#sidebar ul{color:#666;margin:0 0 18px}.side{font:bold 16px "Microsoft Jhenghei";color:#555;line-height:38px;display:inline}#sidebar ul li ul,#page,#sidebar ul li ul li,.commentlist,.commentlist li,.wp-smiley{position:relative}#sidebar ul li ul li{padding:4px 6px;overflow:hidden;z-index:2}#sidebar a{line-height:20px;color:#333;font-family:Tahoma;word-wrap:break-word}div.aflow{z-index:1;position:absolute;-moz-border-radius:7px;-webkit-border-radius:7px;border-radius:7px}a.ad{float:right;margin:10px 40px 0 0}.comstyle{margin:0 0 20px;font:small-caps bold 16px Verdana;letter-spacing:2px}ul.trackpings{margin:30px 50px 40px 0}.comstyle span{color:#FF8080}.cmntcnt{font:italic 32px georgia;left:-65px;position:absolute;top:0;display:block;line-height:50px;width:60px;height:50px}.commentlist{padding:0 0 40px 0}.commentlist .alt{border-top:1px solid #D1D9B4;border-left:1px solid #D1D9B4}.commentlist .altline{border-top:1px solid #D1D9B4;border-right:1px solid #D1D9B4}.commentlist li{margin:0 40px 0 85px;padding:10px}.commentlist li .list{margin:0 5px}.commentlist li img.gravatar{padding:2px 5px;background:url(../images/images.gif) no-repeat -93px -133px}.commentlist li cite{font-size:12px;color:#666;padding:15px 5px;float:right;font-style:normal;line-height:20px}.commentlist li small{font-size:12px;margin-bottom:10px;color:#999;font-weight:400}.commentlist li .list p{font-size:13px;line-height:1.8;padding:10px 10px 0}.trackpings li{line-height:18px;overflow:hidden;margin:15px 0 0;padding:15px 15px 15px 70px;border:1px solid #ddd;border-left:none;background:#f8f8f8}.trackpings li span{line-height:23px}.trackpings li span a{color:#555}.reply{margin:10px 0 0 85px;background:url(../images/bstar.gif) no-repeat;position:relative}.reply input.text{width:200px;border-bottom:1px solid #ccc;color:#666;background:transparent}.reply input.text:focus{border-bottom:1px solid #999}.reply input,.reply textarea{font-size:1.2em}.reply label{font-size:14px;display:inline-block;line-height:16px;width:50px;color:#333;font-style:italic;margin:0 0 0 10px}.reply textarea{background:url(../images/underline.gif);width:492px;height:160px;padding:0 3px;line-height:22px;overflow:auto;margin:-5px 0 0}#replyForm{margin:10px 0 0 10px}.reply p{color:#666;margin:0 0 14px}.reply p.smilies{width:140px;float:right;margin:15px 65px 20px 0;cursor:pointer}p.smilies img{padding:2px}.reply button{cursor:pointer;border:2px solid #999;background:#f8f8f8;color:#888;font-size:12px;padding:0 3px;height:28px}.reply button:hover{background:#eee}.commentlist li.backward{position:absolute;z-index:5;padding:5px 10px;width:450px}img.atreply{display:none;cursor:pointer;float:left;margin-right:5px}span.tips{padding:1px 4px;position:absolute;font-size:12px;margin-top:-4px;display:none}ul.endnotes{margin:30px 50px 40px 0;padding:20px 0 20px 80px;border:1px solid #ddd;border-left:none;background:#f8f8f8;line-height:240%;font-size:13px}ul.endnotes li{list-style:circle outside}.linkpage{clear:both;margin:0;padding:0 40px}#content h2.pagetitle{margin:0 20px;color:#999}#content h2{font-size:15px;letter-spacing:-1px;background:url(../images/posttitle.png) no-repeat 0 25px;margin:6px 0;padding:0 0 15px}.linkpage ul li{list-style-type:none;display:block;width:100%;float:left;margin:0 0 10px;padding:0}.linkpage ul li ul li{width:49%;float:left;line-height:28px;margin:0;border:2px solid transparent}.linkpage ul li ul li img{width:16px;height:16px;padding:7px 3px 7px 5px;float:left}.linkpage ul li ul li a{line-height:30px}.linkpage ul li.arcmon ul li{width:19%}.linkpage ul li.arctag ul li{width:32.5%}.linkpage ul li.arcmon ul li a,.linkpage ul li.arctag ul li a{padding-left:0}.fanfou_statuses ul li{text-indent:0;margin:0 0 15px;padding:2px 9px}#cse-search-results{padding:10px 0 0 30px}.contact span{font-size:16px;color:#999;background:#f8f8f8;padding:2px 5px}#footer p{line-height:12px;padding:9px;text-align:center}#footer a{color:#eee}#footer a:hover{color:#f9f9f9}#footer .b2t,#footer .g2b{z-index:2;position:fixed;bottom:20%;left:10px;cursor:pointer;width:38px;height:68px}#footer div.b2t{background:url(../images/images.gif) no-repeat -48px -133px}#footer div.g2b{background:url(../images/images.gif) no-repeat 0px -133px;top:80% !important;bottom:auto}.navigation{margin:0 0 25px}.navigation .index{margin:50px 0 0}.wp-pagenavi a,.wp-pagenavi a:link{padding:2px 7px 2px 7px;margin:2px;text-decoration:none;border:1px solid #dddfde;color:#97A0A9;background-color:#f2f4f3}.wp-pagenavi a:hover{border:1px solid #d1d2d3;color:#7B8691;background-color:#fff}.wp-pagenavi a:active{padding:2px 7px 2px 7px;margin:2px;text-decoration:none;border:1px solid #dddfde;color:#97A0A9;background-color:#f2f4f3}.wp-pagenavi span.pages{padding:2px 4px 2px 4px;font-weight:bold;margin:2px;color:#69b2e1;border:1px solid #bae4fe;background-color:#e7f5fe}.wp-pagenavi span.current{padding:2px 7px 2px 7px;margin:2px;font-weight:bold;border:1px solid #bae4fe;color:#69b2e1;background-color:#e7f5fe}.wp-pagenavi span.extend{margin:5px;color:#69b2e1}#postail a{background:none}.nav li.patharrow{border:none;background-image:url(../images/pathnext.gif);text-indent:-9999em;width:18px;margin:0 2px}.nav li.patharrow:hover{background-color:transparent}li.current_page_item{background:#eee}.entry p.code{text-indent:0;margin:10px 26px 18px;background:#f8f8f8;border:1px dashed #ccc;padding:5px 10px;font:12px "Lucida Console";color:#666;line-height:180%}.advise{display:none;left:216px;width:400px;padding:10px;position:absolute;top:22px;background:url(../images/dotb.png);color:#eee}.advise a{color:#fff;font-weight:bold}.twitter{position:absolute;height:24px;width:142px;background:url(../images/images.gif) no-repeat 1px -2px;top:-25px;left:0;cursor:pointer}.xmas{background:url(../images/xmas.png);height:83px;width:80px;position:absolute;left:-54px;top:50px}#share{position:relative;width:180px;min-height:40px;float:right;background:url(../images/images2.gif) no-repeat 0px -252px}#share ul{width:180px;height:207px;background:url(../images/images2.gif) no-repeat 0px 0px;position:absolute;top:-9999px;left:0;margin:0}#share ul li{float:left;width:80px;margin:26px 0 -5px 5px;cursor:pointer;text-indent:-9999em;list-style:none}#ajax_comments_wrapper{margin-top:60px}.authorgra{display:none}.authorgra img{margin:15px 0 2px 20px;border:3px double #ccc;float:left}.authorgra span{float:left;margin:44px 0 0 20px;color:#666}#content .post .entry h3{font-size:15px;font-weight:400}#content .post .entry em{font-style:italic;font-weight:400;padding:0 3px;color:#222}#content .post .entry ol{margin:0 40px}#content .post .entry ol li{list-style:decimal outside}#adsensefirst,#adsenselast{max-width:600px;max-height:60px;text-align:left;border:#AAA outset 1px;padding-left:15px;padding-right:30px;background:url(../images/ad.png) 0px 4px no-repeat}#relatedclick{margin:3px 220px 10px 0;padding:3px;text-align:left;border-top:1px solid #DDD;border-left:none;border-right:1px solid #DDD;border-bottom:1px solid #DDD;color:inherit;background:#f8f8f8;line-height:240%;font-size:13px}#relatedul{padding:10px 0 10px 80px;border-bottom:1px solid #DDD;line-height:200%;font-size:13px}#tags{list-style:none}#tags li{float:left;list-style:none;height:38px}#tags a:hover{text-shadow:0 0 2px #555555}#tags a{border-radius:3px 3px 3px 3px;box-shadow:1px 1px 3px #555555;float:left;margin:3px 6px;padding:3px 12px;text-decoration:none}#tags .tags1{font-size:12px;font-weight:normal}#tags .tags2{font-size:14px;font-weight:normal}#tags .tags3{font-size:16px;font-weight:normal}#tags .tags4{font-size:18px;font-weight:bold}#tags .tags5{font-size:20px;font-weight:bold}.article-body img{max-width:100%} +html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;height:100%}body{margin:0;font-family:"Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;font-size:14px;background-color:#fff;-webkit-font-smoothing:antialiased;-webkit-overflow-scrolling:touch}::-moz-selection{text-shadow:none;background:rgba(65,131,196,0.4)}::selection{text-shadow:none;background:rgba(66,133,244,0.4)}ul,ol{margin:0;padding:0}h1,h2,h3,h4,h5,h6,dl,dd,p{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none}a{outline:0;text-decoration:none}a:hover{text-decoration:underline}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{max-width:100%;vertical-align:middle;border:0;height:auto;-ms-interpolation-mode:bicubic;overflow:hidden;font-size:12px}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;font-family:"Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;outline:none}button,input{line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}input[type="search"]{box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}svg{fill:currentColor;display:inline-block;stroke-width:0;stroke:currentColor;width:14px;height:14px}blockquote{margin:0}@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;overflow:hidden}.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;color:#fff;font-size:12px;line-height:14px}.vditor-upload ul{margin:0}.vditor-upload--tip{height:auto;opacity:1 !important}.vditor-upload--tip .vditor-upload__close{display:block}.vditor-upload__close{display:none;position:absolute;right:5px;cursor:pointer;padding:5px;top:0}.vditor-upload__progress{height:100%;background-color:rgba(66,133,244,0.8);transition:all .15s ease-in-out;padding:5px;box-sizing:border-box}.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}.vditor-reset{font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;word-wrap:break-word;overflow:auto;line-height:1.65;font-size:16px;word-break:break-word}.vditor-reset ul,.vditor-reset ol{padding-left:2em;margin-top:0;margin-bottom:16px}.vditor-reset li{margin-top:0.25em}.vditor-reset audio{max-width:100%}.vditor-reset video{max-height:90vh}.vditor-reset img.emoji{cursor:auto;max-width:20px;vertical-align:top}.vditor-reset h1,.vditor-reset h2,.vditor-reset h3,.vditor-reset h4,.vditor-reset h5,.vditor-reset h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.vditor-reset h1{padding-bottom:0.3em;font-size:1.7em;border-bottom:1px solid #eee}.vditor-reset h2{padding-bottom:0.3em;font-size:1.5em;border-bottom:1px solid #eee}.vditor-reset h3{font-size:1.25em}.vditor-reset h4{font-size:1em}.vditor-reset h5{font-size:0.875em}.vditor-reset h6{font-size:0.85em}.vditor-reset hr{height:0.15em;padding:0;margin:24px 0;background-color:#e7e7e7;border:0}.vditor-reset p{margin-top:0;margin-bottom:16px}.vditor-reset blockquote{padding:0 1em;color:#777;border-left:0.25em solid #ddd;margin:0 0 16px 0}.vditor-reset blockquote p{margin:0}.vditor-reset ins>iframe{border:0}.vditor-reset iframe{border:1px solid #d1d5da}.vditor-reset table{width:100%;border:1px solid #dedede;margin:15px auto;border-collapse:collapse;empty-cells:show}.vditor-reset thead{text-align:center}.vditor-reset td,.vditor-reset th{height:35px;border:1px solid #dedede;padding:0 10px}.vditor-reset th{font-weight:bold;text-align:center !important;background:rgba(158,188,226,0.2)}.vditor-reset tbody tr:nth-child(2n){background:rgba(158,188,226,0.12)}.vditor-reset tr:hover{background:#efefef}.vditor-reset code{padding:0.2em 0.4em;margin:0;font-size:85%;background-color:rgba(27,31,35,0.05);border-radius:3px;font-family:mononoki,Consolas,"Liberation Mono",Menlo,Courier,monospace;word-break:break-word}.vditor-reset pre>code{padding:0.5em;background-color:rgba(0,0,0,0.04);background-image:url("https://cdn.jsdelivr.net/npm/vditor@1.1.2/src/assets/images/code-bg.png");background-size:20px 20px;border-radius:5px;display:block;overflow:auto}.vditor-reset pre:hover div.vditor-copy{display:block}.vditor-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 #d1d5da;border-bottom-color:#bbb;border-radius:3px;box-shadow:inset 0 -1px 0 #bbb}.vditor-reset summary{cursor:pointer}.vditor-reset summary:focus{outline:none}.vditor-reset svg{height:auto;width:auto}.vditor-task{list-style:none;margin-left:-1.4em;display:flex;align-items:center}.vditor-task input{margin-right:5px}.vditor-copy{position:relative;display:none}.vditor-copy textarea{position:absolute;top:-100000px}.vditor-copy span{cursor:pointer;position:absolute;right:0.5em;top:0.5em;height:20px;width:20px}.vditor-copy svg{height:20px;width:20px}*{margin:0;padding:0}img,fieldset,.reply input.text,.friendly input.text,.reply textarea{border:none}fieldset input{padding:3px}ul,li{list-style:none}body{text-align:left}h1,h3,.timeta,.navigation,#postail,.rssfeed img,.comstyle,.cmntcnt,.linkpage ul li.categories ul li,.linkpage ul li.arcmon ul li,.linkpage ul li.arctag ul li,.notfound p{text-align:center}blockquote{background:url(../images/quote.png) no-repeat 20px 0;color:#666;padding:0 0 0 25px}table{border:0px;border-collapse:collapse;border-color:gray}code{font:12px Consolas;color:#666;border:1px dashed #ccc;background:#f9f9f9;line-height:1.8;margin:5px 0;max-width:480px}code.small{font:bold 10px Georgia}.right{float:right}.clear{background-color:transparent;border:0;clear:both;display:block;font-size:0;height:0;line-height:0;overflow:hidden}#top{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#E5E5E5');height:30px;line-height:30px;margin:-40px 0px 20px 0px}#top a,#top span span{border-right:1px solid #D9D9D9;color:#4C4C4C;float:left;line-height:14px;margin:6px 0;padding:0 6px;font-weight:normal;TEXT-DECORATION:none}#top a:hover,#top a.hover{background-color:transparent;border-left-color:#707070;border-radius:0 13px 13px 0;margin:0;line-height:30px}#loading,#footer .b2t,#footer .g2b,.nav li.patharrow{background-repeat:no-repeat;background-position:center center}p span.tips,.commentlist li.backward,div.aflow,.linkpage ul li ul li:hover,#loading{background-color:#EBFBEB;border:2px solid #D7F6D7}body{font:12px Tahoma,Verdana,Arial,helvetica,sans-serif;color:#333;background:#707070 url(../images/background.png) repeat-x;margin:40px 0}#loading{z-index:3;position:fixed;left:50%;top:13px;height:23px;width:113px;margin-left:-440px;top:13px;background-image:url(../images/loading.gif)}a,.trackpings li span a:hover{color:#484848;text-decoration:underline}a{text-decoration:none}a:hover{color:#6CC}strong,h2,.commentlist li cite,.reply label,.reply button,.contact span,.nav li a,.trackpings li span a{font-weight:700}a:hover,.post .timeta a,#content .post h3 a,#content .related a,#postail a,#sidebar a,.cmntcnt a,cite a,.trackpings li span a,.linkpage ul li ul li a,.nav li a,.post .entry p a{text-decoration:none}hr,#header .submit,#headerf,.meta,.backward .cmntcnt{display:none}#header #discription,#header #title a{text-indent:-10000em}.post .entry p a{color:#666;font-weight:bold;margin:0 2px;border-bottom:2px dotted #999;padding:0 0 1px}.post .entry p a:hover{border-bottom:2px solid #999}#page{background:#fff;width:880px;text-align:left;margin:40px auto 0;border:1px solid #aaa}#header{height:110px;width:880px;background:url(../images/nav.png) repeat-x}#content{width:644px;float:left}#sidebar{float:right;width:235px;border:1px solid #c2c2c2;border-right:none;border-top:none;padding:0 0 20px;word-wrap:break-word;overflow:hidden}.commentsli{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:exllipsis;word-wrap:normal;width:190px}#footer{background:#444;padding:10px;margin:0 auto;color:#fff;font:bold 10px Verdana}#footer a{text-decoration:none}#footertext{font-family:"Microsoft Jhenghei";text-align:center}#header p#title a,#header h1#title a{background:url(../images/images.gif) no-repeat 0px -32px;width:174px;height:47px;margin:23px 0 20px 26px;float:left}#header h1#title a:hover,#header p#title a:hover{background-position:0 -79px}#footer form{top:59px;right:20px;position:absolute}.nav{float:right;clear:both;margin:-117px 0 0 220px;line-height:20px}.nav li{float:left;margin:0 4px;z-index:2;line-height:220%;border:1px solid #aaa;border-bottom:none;border-radius:6px 6px 0px 0px}.nav li:hover{background-color:#eee}.nav li a{color:#999;padding:5px 10px}.nav li a:hover{color:#666}#cse-search-box input.text{width:182px}#content .post{margin:0 0 40px;padding:0 39px}#content .post h1,#content .post h3{font:bold 18px "Microsoft JhengHei";letter-spacing:1px;line-height:180%}#content .post .index h3{font-size:16px;margin-left:-20px;letter-spacing:.5px}.post .index p a:hover{text-decoration:underline}#content .post h3{text-align:left}.index h3 a{padding:0 0 0 20px}.post .timeta,.post small{font:bold 10px Verdana;color:#666}.post .timeta a:hover,.post small a:hover{color:#4A551C;text-decoration:underline}.post .timeta{padding:3px 0;border-top:1px solid #aaa;margin:0 90px;height:18px;background:#fff}.post .index .timeta{margin:0 0 0 330px}.post abbr{color:#333;cursor:n-resize;font-size:12px}.post .entry{font-size:13px;line-height:180%}.post .entry p{margin:10px 0 18px;text-indent:26px}.post .index .entry p{margin:10px 0;text-indent:0}.post .entry ul li{text-indent:26px;list-style:disc inside}.post .entry ul{margin:10px 0 18px}.post p.left img,.post p.right img{vertical-align:middle;padding-right:5px;margin:5px 0}.post p.left{float:left}.post p.right{float:right}#postail{font:italic bold 11px Verdana;background:url(../images/misc.png) repeat-x;padding:5px;border:2px solid #eee;line-height:180%}.index{padding:0 20px;margin:15px 0 0}#sidebar ul li{padding:0 20px}#sidebar ul li.rssfeed{margin:0 20px 10px}#sidebar .rssfeed img{vertical-align:middle}#sidebar ul{color:#666;margin:0 0 18px}.side{font:bold 16px "Microsoft Jhenghei";color:#555;line-height:38px;display:inline}#sidebar ul li ul,#page,#sidebar ul li ul li,.commentlist,.commentlist li,.wp-smiley{position:relative}#sidebar ul li ul li{padding:4px 6px;overflow:hidden;z-index:2}#sidebar a{line-height:20px;color:#333;font-family:Tahoma;word-wrap:break-word}div.aflow{z-index:1;position:absolute;-moz-border-radius:7px;-webkit-border-radius:7px;border-radius:7px}a.ad{float:right;margin:10px 40px 0 0}.comstyle{margin:0 0 20px;font:small-caps bold 16px Verdana;letter-spacing:2px}ul.trackpings{margin:30px 50px 40px 0}.comstyle span{color:#FF8080}.cmntcnt{font:italic 32px georgia;left:-65px;position:absolute;top:0;display:block;line-height:50px;width:60px;height:50px}.commentlist{padding:0 0 40px 0}.commentlist .alt{border-top:1px solid #D1D9B4;border-left:1px solid #D1D9B4}.commentlist .altline{border-top:1px solid #D1D9B4;border-right:1px solid #D1D9B4}.commentlist li{margin:0 40px 0 85px;padding:10px}.commentlist li .list{margin:0 5px}.commentlist li img.gravatar{padding:2px 5px;background:url(../images/images.gif) no-repeat -93px -133px}.commentlist li cite{font-size:12px;color:#666;padding:15px 5px;float:right;font-style:normal;line-height:20px}.commentlist li small{font-size:12px;margin-bottom:10px;color:#999;font-weight:400}.commentlist li .list p{font-size:13px;line-height:1.8;padding:10px 10px 0}.trackpings li{line-height:18px;overflow:hidden;margin:15px 0 0;padding:15px 15px 15px 70px;border:1px solid #ddd;border-left:none;background:#f8f8f8}.trackpings li span{line-height:23px}.trackpings li span a{color:#555}.reply{margin:10px 0 0 85px;background:url(../images/bstar.gif) no-repeat;position:relative}.reply input.text{width:200px;border-bottom:1px solid #ccc;color:#666;background:transparent}.reply input.text:focus{border-bottom:1px solid #999}.reply input,.reply textarea{font-size:1.2em}.reply label{font-size:14px;display:inline-block;line-height:16px;width:50px;color:#333;font-style:italic;margin:0 0 0 10px}.reply textarea{background:url(../images/underline.gif);width:492px;height:160px;padding:0 3px;line-height:22px;overflow:auto;margin:-5px 0 0}#replyForm{margin:10px 0 0 10px}.reply p{color:#666;margin:0 0 14px}.reply p.smilies{width:140px;float:right;margin:15px 65px 20px 0;cursor:pointer}p.smilies img{padding:2px}.reply button{cursor:pointer;border:2px solid #999;background:#f8f8f8;color:#888;font-size:12px;padding:0 3px;height:28px}.reply button:hover{background:#eee}.commentlist li.backward{position:absolute;z-index:5;padding:5px 10px;width:450px}img.atreply{display:none;cursor:pointer;float:left;margin-right:5px}span.tips{padding:1px 4px;position:absolute;font-size:12px;margin-top:-4px;display:none}ul.endnotes{margin:30px 50px 40px 0;padding:20px 0 20px 80px;border:1px solid #ddd;border-left:none;background:#f8f8f8;line-height:240%;font-size:13px}ul.endnotes li{list-style:circle outside}.linkpage{clear:both;margin:0;padding:0 40px}#content h2.pagetitle{margin:0 20px;color:#999}#content h2{font-size:15px;letter-spacing:-1px;background:url(../images/posttitle.png) no-repeat 0 25px;margin:6px 0;padding:0 0 15px}.linkpage ul li{list-style-type:none;display:block;width:100%;float:left;margin:0 0 10px;padding:0}.linkpage ul li ul li{width:49%;float:left;line-height:28px;margin:0;border:2px solid transparent}.linkpage ul li ul li img{width:16px;height:16px;padding:7px 3px 7px 5px;float:left}.linkpage ul li ul li a{line-height:30px}.linkpage ul li.arcmon ul li{width:19%}.linkpage ul li.arctag ul li{width:32.5%}.linkpage ul li.arcmon ul li a,.linkpage ul li.arctag ul li a{padding-left:0}.fanfou_statuses ul li{text-indent:0;margin:0 0 15px;padding:2px 9px}#cse-search-results{padding:10px 0 0 30px}.contact span{font-size:16px;color:#999;background:#f8f8f8;padding:2px 5px}#footer p{line-height:12px;padding:9px;text-align:center}#footer a{color:#eee}#footer a:hover{color:#f9f9f9}#footer .b2t,#footer .g2b{z-index:2;position:fixed;bottom:20%;left:10px;cursor:pointer;width:38px;height:68px}#footer div.b2t{background:url(../images/images.gif) no-repeat -48px -133px}#footer div.g2b{background:url(../images/images.gif) no-repeat 0px -133px;top:80% !important;bottom:auto}.navigation{margin:0 0 25px}.navigation .index{margin:50px 0 0}.wp-pagenavi a,.wp-pagenavi a:link{padding:2px 7px 2px 7px;margin:2px;text-decoration:none;border:1px solid #dddfde;color:#97A0A9;background-color:#f2f4f3}.wp-pagenavi a:hover{border:1px solid #d1d2d3;color:#7B8691;background-color:#fff}.wp-pagenavi a:active{padding:2px 7px 2px 7px;margin:2px;text-decoration:none;border:1px solid #dddfde;color:#97A0A9;background-color:#f2f4f3}.wp-pagenavi span.pages{padding:2px 4px 2px 4px;font-weight:bold;margin:2px;color:#69b2e1;border:1px solid #bae4fe;background-color:#e7f5fe}.wp-pagenavi span.current{padding:2px 7px 2px 7px;margin:2px;font-weight:bold;border:1px solid #bae4fe;color:#69b2e1;background-color:#e7f5fe}.wp-pagenavi span.extend{margin:5px;color:#69b2e1}#postail a{background:none}.nav li.patharrow{border:none;background-image:url(../images/pathnext.gif);text-indent:-9999em;width:18px;margin:0 2px}.nav li.patharrow:hover{background-color:transparent}li.current_page_item{background:#eee}.entry p.code{text-indent:0;margin:10px 26px 18px;background:#f8f8f8;border:1px dashed #ccc;padding:5px 10px;font:12px "Lucida Console";color:#666;line-height:180%}.advise{display:none;left:216px;width:400px;padding:10px;position:absolute;top:22px;background:url(../images/dotb.png);color:#eee}.advise a{color:#fff;font-weight:bold}.twitter{position:absolute;height:24px;width:142px;background:url(../images/images.gif) no-repeat 1px -2px;top:-25px;left:0;cursor:pointer}.xmas{background:url(../images/xmas.png);height:83px;width:80px;position:absolute;left:-54px;top:50px}#share{position:relative;width:180px;min-height:40px;float:right;background:url(../images/images2.gif) no-repeat 0px -252px}#share ul{width:180px;height:207px;background:url(../images/images2.gif) no-repeat 0px 0px;position:absolute;top:-9999px;left:0;margin:0}#share ul li{float:left;width:80px;margin:26px 0 -5px 5px;cursor:pointer;text-indent:-9999em;list-style:none}#ajax_comments_wrapper{margin-top:60px}.authorgra{display:none}.authorgra img{margin:15px 0 2px 20px;border:3px double #ccc;float:left}.authorgra span{float:left;margin:44px 0 0 20px;color:#666}#content .post .entry h3{font-size:15px;font-weight:400}#content .post .entry em{font-style:italic;font-weight:400;padding:0 3px;color:#222}#content .post .entry ol{margin:0 40px}#content .post .entry ol li{list-style:decimal outside}#adsensefirst,#adsenselast{max-width:600px;max-height:60px;text-align:left;border:#AAA outset 1px;padding-left:15px;padding-right:30px;background:url(../images/ad.png) 0px 4px no-repeat}#relatedclick{margin:3px 220px 10px 0;padding:3px;text-align:left;border-top:1px solid #DDD;border-left:none;border-right:1px solid #DDD;border-bottom:1px solid #DDD;color:inherit;background:#f8f8f8;line-height:240%;font-size:13px}#relatedul{padding:10px 0 10px 80px;border-bottom:1px solid #DDD;line-height:200%;font-size:13px}#tags{list-style:none}#tags li{float:left;list-style:none;height:38px}#tags a:hover{text-shadow:0 0 2px #555555}#tags a{border-radius:3px 3px 3px 3px;box-shadow:1px 1px 3px #555555;float:left;margin:3px 6px;padding:3px 12px;text-decoration:none}#tags .tags1{font-size:12px;font-weight:normal}#tags .tags2{font-size:14px;font-weight:normal}#tags .tags3{font-size:16px;font-weight:normal}#tags .tags4{font-size:18px;font-weight:bold}#tags .tags5{font-size:20px;font-weight:bold}.article-body img{max-width:100%} diff --git a/skins/Shawn/css/base.scss b/skins/Shawn/css/base.scss index 230fbf1..8b36cd8 100644 --- a/skins/Shawn/css/base.scss +++ b/skins/Shawn/css/base.scss @@ -15,8 +15,8 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ - -@import "../../../scss/reset-content"; +@import "../../../scss/reset"; +@import "vditor/src/assets/scss/classic"; * {margin:0;padding:0;} img, diff --git a/skins/Shawn/footer.ftl b/skins/Shawn/footer.ftl index 820b2ed..105748c 100644 --- a/skins/Shawn/footer.ftl +++ b/skins/Shawn/footer.ftl @@ -50,27 +50,14 @@ }; var Label = { + "markedAvailable": ${markedAvailable?c}, + "hljsStyle": "atom-one-light", + "langLabel": "${langLabel}", "clearAllCacheLabel": "${clearAllCacheLabel}", "clearCacheLabel": "${clearCacheLabel}", "adminLabel": "${adminLabel}", "logoutLabel": "${logoutLabel}", "skinDirName": "${skinDirName}", - "loginLabel": "${loginLabel}", - "em00Label": "${em00Label}", - "em01Label": "${em01Label}", - "em02Label": "${em02Label}", - "em03Label": "${em03Label}", - "em04Label": "${em04Label}", - "em05Label": "${em05Label}", - "em06Label": "${em06Label}", - "em07Label": "${em07Label}", - "em08Label": "${em08Label}", - "em09Label": "${em09Label}", - "em10Label": "${em10Label}", - "em11Label": "${em11Label}", - "em12Label": "${em12Label}", - "em13Label": "${em13Label}", - "em14Label": "${em14Label}" }; $(document).ready(function () { diff --git a/skins/Shawn/js/core.min.js b/skins/Shawn/js/core.min.js index 633f682..3990c7a 100644 --- a/skins/Shawn/js/core.min.js +++ b/skins/Shawn/js/core.min.js @@ -1,18 +1 @@ -/* - * 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 hidetoolbar(){$("#wgToolBar").slideUp(600,function(){$("#showtoolbar").slideDown(600)})}function showtoolbar(){$("#showtoolbar").slideUp(600,function(){$("#wgToolBar").slideDown(600)})}$("#share ul").css({display:"none",top:"-225px",opacity:"0"}),$(".commentlist li cite a,.outter a").attr("href",function(){var e="{{blog.domain}}".substring(0,7)+"";return this.href.replace(e,"")}),$(".commentlist li cite a[href='http://']").each(function(){$(this).replaceWith(""+$(this).text()+"")}),$(document).ready(function(){if($("#header-navi li").each(function(e){if(e<$("#header-navi li").length){var t=$(this),n=window.location.pathname+window.location.search;if(0===e&&"/"===n)return void t.addClass("current_page_item");-1(Edit)'),$(".infoeditor").toggle(function(){$(".friendly").fadeIn(),$(".authorgra").css("display","none")},function(){$(".friendly").css("display","none"),$(".authorgra").fadeIn()})}$(".twitter").click(function(){return window.open("http://twitter.com/ansenorg"),!1}),Util.setTopBar()});var showRelatedul=function(e,t,n){var a=$("#relatedul");a.hasClass("hidden")?(""===$("#randomArticles").html()&&(page.loadRandomArticles(),page.loadRelevantArticles(e,t),0!==page.tips.externalRelevantArticlesDisplayCount&&page.loadExternalRelevantArticles(n)),a.slideDown().removeClass("hidden")):a.slideUp().addClass("hidden")},common=new Common; \ No newline at end of file diff --git a/skins/Shawn/js/ed.min.js b/skins/Shawn/js/ed.min.js index 4d00f8e..acd30b9 100644 --- a/skins/Shawn/js/ed.min.js +++ b/skins/Shawn/js/ed.min.js @@ -1,18 +1 @@ -/* - * 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 get_check_area(e){1==e?($("#check").load("/checkcode/"),$("#checkarea").show()):2==e&&($("#check").html(""),$("#checkarea").show())}function reloadCheckImage(){document.getElementById("checkimg").src+="?"}function showinfo(e){window.alert(e)}function add_comment(e){comment=$(e),loadjs?($("#comments").prepend(comment),comment.animate({backgroundColor:"#fbc7c7"},"slow").animate({backgroundColor:"white"},"slow")):($("#comments").prepend(comment).show(),$.getScript("http://dev.jquery.com/view/trunk/plugins/color/jquery.color.js",function(){comment.animate({backgroundColor:"#fbc7c7"},"slow").animate({backgroundColor:"white"},"slow"),loadjs=!0}))}jQuery(document).ready(function(){$(".commentlist li:even").addClass("alt"),$(".commentlist li:odd").addClass("altline"),loadjs=!1}); \ No newline at end of file diff --git a/skins/Shawn/js/javascription.min.js b/skins/Shawn/js/javascription.min.js index 93cee85..e5e0a67 100644 --- a/skins/Shawn/js/javascription.min.js +++ b/skins/Shawn/js/javascription.min.js @@ -1,18 +1 @@ -/* - * 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 emoticon(e){var t;if(e=" "+e+" ",!document.getElementById("comment")||"textarea"!=document.getElementById("comment").type)return!1;if(t=document.getElementById("comment"),document.selection)t.focus(),sel=document.selection.createRange(),sel.text=e,t.focus();else if(t.selectionStart||"0"==t.selectionStart){var n=t.selectionStart,o=t.selectionEnd,i=o;t.value=t.value.substring(0,n)+e+t.value.substring(o,t.value.length),i+=e.length,t.focus(),t.selectionStart=i,t.selectionEnd=i}else t.value+=e,t.focus()}function ctrlEnter(e){var t=e||window.event;t.ctrlKey&&13==t.keyCode&&(document.getElementById("submitCommentButtonReply")?document.getElementById("submitCommentButtonReply").click():document.getElementById("submitCommentButton").click())}!function($){function clickHandler(e){var t=this.form;if("image"==(t.clk=this).type)if(null!=e.offsetX)t.clk_x=e.offsetX,t.clk_y=e.offsetY;else if("function"==typeof $.fn.offset){var n=$(this).offset();t.clk_x=e.pageX-n.left,t.clk_y=e.pageY-n.top}else t.clk_x=e.pageX-this.offsetLeft,t.clk_y=e.pageY-this.offsetTop;setTimeout(function(){t.clk=t.clk_x=t.clk_y=null},10)}function submitHandler(){var e=this.formPluginId,t=$.fn.ajaxForm.optionHash[e];return $(this).ajaxSubmit(t),!1}$.fn.ajaxSubmit=function(o){"function"==typeof o&&(o={success:o}),o=$.extend({url:this.attr("action")||window.location.toString(),type:this.attr("method")||"GET"},o||{});var p={};if($.event.trigger("form.pre.serialize",[this,o,p]),p.veto)return this;var a=this.formToArray(o.semantic);if(o.data)for(var n in o.data)a.push({name:n,value:o.data[n]});if(o.beforeSubmit&&!1===o.beforeSubmit(a,this,o))return this;if($.event.trigger("form.submit.validate",[a,this,o,p]),p.veto)return this;var q=$.param(a);"GET"==o.type.toUpperCase()?(o.url+=(0<=o.url.indexOf("?")?"&":"?")+q,o.data=null):o.data=q;var r=this,callbacks=[];if(o.resetForm&&callbacks.push(function(){r.resetForm()}),o.clearForm&&callbacks.push(function(){r.clearForm()}),!o.dataType&&o.target){var u=o.success||function(){};callbacks.push(function(e){this.evalScripts?$(o.target).attr("innerHTML",e).evalScripts().each(u,arguments):$(o.target).html(e).each(u,arguments)})}else o.success&&callbacks.push(o.success);o.success=function(e,t){for(var n=0,o=callbacks.length;n'),j=i[0],k=$.browser.opera&&window.opera.version()<9;($.browser.msie||k)&&(j.src='javascript:false;document.write("");'),i.css({position:"absolute",top:"-1000px",left:"-1000px"});var l={responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){}},g=f.global;g&&!$.active++&&$.event.trigger("ajaxStart"),g&&$.event.trigger("ajaxSend",[l,f]);var m=0,n=0;function cb(){if(!m++){j.detachEvent?j.detachEvent("onload",cb):j.removeEventListener("load",cb,!1);var a=!0;try{if(n)throw"timeout";var b,doc;if(doc=j.contentWindow?j.contentWindow.document:j.contentDocument?j.contentDocument:j.document,l.responseText=doc.body?doc.body.innerHTML:null,l.responseXML=doc.XMLDocument?doc.XMLDocument:doc,"json"==f.dataType||"script"==f.dataType){var c=doc.getElementsByTagName("textarea")[0];b=c?c.value:l.responseText,"json"==f.dataType?eval("data = "+b):$.globalEval(b)}else"xml"==f.dataType?(b=l.responseXML,b||null==l.responseText||(b=toXml(l.responseText))):b=l.responseText}catch(e){a=!1,$.handleError(f,l,"error",e)}a&&(f.success(b,"success"),g&&$.event.trigger("ajaxSuccess",[l,f])),g&&$.event.trigger("ajaxComplete",[l,f]),g&&!--$.active&&$.event.trigger("ajaxStop"),f.complete&&f.complete(l,a?"success":"error"),setTimeout(function(){i.remove(),l.responseXML=null},100)}}function toXml(e,t){return window.ActiveXObject?((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e)):t=(new DOMParser).parseFromString(e,"text/xml"),t&&t.documentElement&&"parsererror"!=t.documentElement.tagName?t:null}setTimeout(function(){var e=d.encoding?"encoding":"enctype",t=r.attr("target");r.attr({target:h,method:"POST",action:f.url}),d[e]="multipart/form-data",f.timeout&&setTimeout(function(){n=!0,cb()},f.timeout),i.appendTo("body"),j.attachEvent?j.attachEvent("onload",cb):j.addEventListener("load",cb,!1),d.submit(),r.attr("target",t)},10)}},$.fn.ajaxSubmit.counter=0,$.fn.ajaxForm=function(e){return this.ajaxFormUnbind().submit(submitHandler).each(function(){this.formPluginId=$.fn.ajaxForm.counter++,$.fn.ajaxForm.optionHash[this.formPluginId]=e,$(":submit,input:image",this).click(clickHandler)})},$.fn.ajaxForm.counter=1,$.fn.ajaxForm.optionHash={},$.fn.ajaxFormUnbind=function(){return this.unbind("submit",submitHandler),this.each(function(){$(":submit,input:image",this).unbind("click",clickHandler)})},$.fn.formToArray=function(e){var t=[];if(0==this.length)return t;var n=this[0],o=e?n.getElementsByTagName("*"):n.elements;if(!o)return t;for(var i=0,a=o.length;i 
").addClass(u.className).appendTo(n).css(o));var c={left:i.left-a.left-(r.outerWidth()-r.width())/2,top:i.top-a.top-(r.outerHeight()-r.height())/2};if(s)r.css(c).css(f).animate(o,{queue:!1,duration:u.toggleSpeed,easing:u.easing});else{var l=d.extend({},o,c);r.animate(l,{queue:!1,duration:u.moveSpeed,easing:u.easing})}d.isFunction(u.hoverEffect)&&r.queue(u.hoverEffect)},function(e){d("div."+u.className).animate(f,{queue:!1,duration:u.toggleSpeed,easing:u.easing,complete:function(){d(this).remove()}})})}})}(jQuery),$(".post #postail,.reply #submit").css({"-moz-border-radius":"7px","-webkit-border-radius":"7px","border-radius":"7px"}),$(".nav li").css({"-moz-border-radius-topright":"8px","-moz-border-radius-topleft":"8px"}),$(".entry p.code").css("word-break","break-all"),$(document).ready(function(){$("div.timeta,.rssfeed img,.twitter").hover(function(){$(this).fadeTo("fast","1")},function(){$(this).fadeTo("fast","0.7")}).fadeTo("normal","0.7");var e=$("#sidebar ul li ul li");$.browser.msie||e.hover(function(){$(this).fadeTo("fast","1")},function(){$(this).fadeTo("fast","0.7")}).fadeTo("normal","0.7"),(n=$("#footer .g2b,#footer .b2t")).hover(function(){$(this).fadeTo("fast","1")},function(){$(this).fadeTo("fast","0.2")}).fadeTo("normal","0.2"),$("a[rel!='nofollow']a[rel!='external'][target!='_blank']a[class!='nopopup']").click(function(){$("#loading").slideDown(),setTimeout(function(){$("#loading").fadeOut()},4e3)}),$("a[href*='#'],a[rel='external nofollow'],a[href='javascript:void(0)'],a[href='javascript:reset_captcha('')']").click(function(){$("#loading").fadeOut("slow")}),$(".post .entry p a:has(img)").css({background:"transparent",border:"none"}),$(".post .entry p:has(img[src*='yupoo'])").css({"text-indent":"0px","text-align":"center"}),$(".post .entry p:has(object)").css({"text-indent":"0px","text-align":"center",height:"344px",background:"url(/skins/Shawn/images/videobg.png) no-repeat center center",padding:"15px 0 19px"}),$("#sidebar ul:nth-child(even)").css("background","url(/skins/Shawn/images/sidelines.gif) no-repeat"),$("#sidebar ul li ul").css("background","none"),$(".contact a").click(function(){$(this).countdown({seconds:9}).css({border:"none","font-size":"16px",color:"red"}).unbind("click");var e=$(this).parent();setTimeout(function(){e.append("shawnrx@gmail.com"),$(".contact a").hide()},1e4)});var t=/^@/,n=/^#comment-/,o=$.browser.msie&&"6.0"==$.browser.version;$(".commentlist li .list p a").each(function(){$(this).text().match(t)&&$(this).attr("href").match(n)&&$(this).addClass("replybox").removeAttr("rel","nofollow")}),$(".replybox").hover(function(){$($(this).attr("href")).clone().hide().attr("id","").insertAfter($(this).parents("li")).addClass("backward").css({display:"block",opacity:"0"}).animate({marginTop:"-50px",opacity:"1"},500)},function(){$(".backward").animate({marginTop:"40px",opacity:"0"},500).hide(100,function(){$(this).remove()})}).mousemove(function(e){var t=$(".commentlist").offset();o?$(".backward").css({left:e.pageX-t.left-150,top:e.pageY-t.top+60}):$(".backward").css({left:e.pageX-t.left-60,top:e.pageY-t.top+60,"-moz-border-radius":"10px","-webkit-border-radius":"10px"})}),$(".reply input,.reply textarea").focus(function(){$(this).next("span").fadeIn("fast")}),$(".reply input,.reply textarea").blur(function(){$(this).next("span").fadeOut("fast")}),$("a[rel='nofollow'],a[rel='external'],a[rel='external nofollow']").click(function(){return window.open(this.href),!1}),$(".commentlist li").hover(function(){$(this).find(".atreply").css("display","block")},function(){$(this).find(".atreply").css("display","none")}),$.getScript("http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en-us"),$("#share").hover(function(){$("#share ul").css("display","block").animate({top:"-205px",opacity:"0.8"},500)},function(){$("#share ul").animate({top:"-225px",opacity:"0.1"},300),setTimeout(function(){$("#share ul").css("display","none")},310)}),$("#loading").fadeOut(1e3)}),$(function(e){e.easing.elasout=function(e,t,n,o,i){var a=1.70158,r=0,s=o;if(0==t)return n;if(1==(t/=i))return n+o;if(r||(r=.3*i),s.aflow{-moz-border-radius:7px;-webkit-border-radius:7px;border-radius:7px}.post .index p a:hover{text-decoration:underline}"),$.cookie=function(e,t,n){if(void 0===t){var o=null;if(document.cookie&&""!=document.cookie)for(var i=document.cookie.split(";"),a=0;a");return x.each(e.split(" "),function(){a.append(function(e,t,n,o,i,a){var r,s,c,l,u,f,d="position:absolute;";e?(r=-1.57,l=n,f=0,d+="top:-"+o+"px;"):(r=1.57,l=0,f=n,d+="bottom:-"+o+"px;"),t?(s=3.14,c=n,u=0,d+="left:-"+o+"px;"):(c=s=0,u=n,d+="right:-"+o+"px;");var p=x(""),h=p[0].getContext("2d");return h.beginPath(),h.lineWidth=2*o,h.arc(c,l,n,r,s,!(e^t)),h.strokeStyle=i,h.stroke(),h.lineWidth=0,h.lineTo(u,f),h.fillStyle=a,h.fill(),p}("t"==this[0],"l"==this[1],t,n,o,i))}),a}function g(e,t,n,o,i,a,r){return""}var v={corners:"tl tr bl br",radius:10,background:"white",borderWidth:0,fixIE:!0};x.extend(v,e||{});var b=function(e,t,n){var o=parseInt(e.css(t))||0;e.css(t,n+o)};return this.each(function(){var e=x(this),t=1*v.radius,n=1*(v.borderWidth||parseInt(e.css("borderTopWidth"))||0),o=v.background,i=v.borderColor;i=i||(0",x.each(x.trim(a).split(" "),function(){var e,t=1,n=1,o=0;"t"==this.charAt(0)?e="top:-"+s+"px;":(e="bottom:-"+s+"px;",n=r+1),"l"==this.charAt(1)?e+="left:-"+s+"px;":(e+="right:-"+s+"px; ",t=r,o=1),u+="
",u+="",u+=g(3*r,r+s,l,-r/2,t,n,o),0. - */ function showPageLink(e,a,t,s){var o=0;for(o=Math.max(1,a-1),1==a?(document.write("1st "),document.write("« ")):(document.write('1st "),document.write('« ")),6... "),o=Math.max(1,a-5);o"+o+" ");for(document.write(""+a+" "),o=a+1;o<=Math.min(t,a+5);o++)document.write('"+o+" ");o=Math.min(t,a+1),a+5... "),a==t?(document.write("» "),document.write("Last ")):(document.write(' »"),document.write('Last "))} \ No newline at end of file diff --git a/skins/Shawn/macro-comments.ftl b/skins/Shawn/macro-comments.ftl index 46fce3f..5ec2e6b 100644 --- a/skins/Shawn/macro-comments.ftl +++ b/skins/Shawn/macro-comments.ftl @@ -49,7 +49,7 @@
leehow
-
+

<#if comment.isReply> diff --git a/skins/Shawn/page.ftl b/skins/Shawn/page.ftl index 054560c..7180e93 100644 --- a/skins/Shawn/page.ftl +++ b/skins/Shawn/page.ftl @@ -36,7 +36,7 @@

-
+
${page.pageContent}
diff --git a/skins/bootstyle/article.ftl b/skins/bootstyle/article.ftl index 94e3794..920c442 100644 --- a/skins/bootstyle/article.ftl +++ b/skins/bootstyle/article.ftl @@ -64,7 +64,7 @@
-
+
${article.articleContent}
"),n.push('
'),n.push('
  • '),i.hasUpdated?n.push(Util.toDate(i.articleUpdateDate," yyyy-MM-dd HH:mm ")):n.push(Util.toDate(i.articleCreateDate," yyyy-MM-dd HH:mm ")),n.push('
  • '),n.push(' '),n.push(i.authorName),n.push(" "),n.push('
    "),n.push(i.articleAbstract),n.push('"),c.before(n.join(""))}e.paginationPageCount===currentPage?c.remove():c.text(h).css("background","")}})}; \ No newline at end of file diff --git a/skins/bootstyle/macro-comments.ftl b/skins/bootstyle/macro-comments.ftl index cd1b343..bf202f3 100644 --- a/skins/bootstyle/macro-comments.ftl +++ b/skins/bootstyle/macro-comments.ftl @@ -47,7 +47,7 @@ ${replyLabel} -
    +
    ${comment.commentContent}
    diff --git a/skins/bootstyle/page.ftl b/skins/bootstyle/page.ftl index 19e760a..5221ed1 100644 --- a/skins/bootstyle/page.ftl +++ b/skins/bootstyle/page.ftl @@ -33,7 +33,7 @@ <#include "header.ftl">
    -
    +
    ${page.pageContent}
    <@comments commentList=pageComments article=page> diff --git a/skins/community-bubbles/article-list.ftl b/skins/community-bubbles/article-list.ftl index fa5d687..adae3e5 100644 --- a/skins/community-bubbles/article-list.ftl +++ b/skins/community-bubbles/article-list.ftl @@ -61,7 +61,7 @@ -
    +
    ${article.articleAbstract}
    @@ -141,7 +141,7 @@ -
    +
    ${article.articleAbstract}
    diff --git a/skins/community-bubbles/article.ftl b/skins/community-bubbles/article.ftl index 4b39b65..9eb0f81 100644 --- a/skins/community-bubbles/article.ftl +++ b/skins/community-bubbles/article.ftl @@ -84,7 +84,7 @@ -
    +
    ${article.articleContent} <#if "" != article.articleSign.signHTML?trim>
    diff --git a/skins/community-bubbles/css/base.css b/skins/community-bubbles/css/base.css index 05498cd..9554fd4 100644 --- a/skins/community-bubbles/css/base.css +++ b/skins/community-bubbles/css/base.css @@ -1,18 +1 @@ -/** - * 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 . - */ -.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 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:0.15em;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(252,41,41,0.12);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}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;height:100%}body{margin:0;font-family:"Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;font-size:14px;background-color:#fff;-webkit-font-smoothing:antialiased;-webkit-overflow-scrolling:touch}::-moz-selection{text-shadow:none;background:rgba(65,131,196,0.4)}::selection{text-shadow:none;background:rgba(66,133,244,0.4)}ul,ol{margin:0;padding:0}h1,h2,h3,h4,h5,h6,dl,dd,p{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none}a{outline:0;text-decoration:none}a:hover{text-decoration:underline}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{max-width:100%;vertical-align:middle;border:0;height:auto;-ms-interpolation-mode:bicubic;overflow:hidden;font-size:12px}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;font-family:"Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;outline:none}button,input{line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}input[type="search"]{box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}svg{fill:currentColor;display:inline-block;stroke-width:0;stroke:currentColor;width:14px;height:14px}blockquote{margin:0}.clear:before,.clear:after{display:table;content:""}.clear:after{clear:both}.left{float:left}.right{float:right}.none{display:none}body{background-color:#EFEFEF;color:#555555;min-width:960px}.copyright{background:#E2E2E2;text-align:left;margin:20px 0;padding:3px 0 3px 10px;color:#333;font-size:9pt;line-height:22px;border-left:5px solid #797979}a,a:link{color:#000000;text-decoration:none}a:active,a:visited{color:#000000;text-decoration:none}a:hover{text-decoration:underline}.content{width:940px;margin:0 auto}.content>h2{margin:-20px 0 20px 0}.hr{background:url("../images/indentline-light.png") repeat-x scroll left top transparent;margin:20px 0 40px;clear:both;height:2px}.arrow-right{background:url("../images/icon.png") 0px -64px no-repeat;float:left;height:38px;width:14px}input[type='button']{border-radius:5px;box-shadow:0 1px 0 rgba(255,255,255,0.3) inset,0 0 2px rgba(255,255,255,0.3) inset,0 1px 2px rgba(0,0,0,0.29);background-color:#000000;background-image:linear-gradient(top, #333, #000);background-image:-moz-linear-gradient(top, #333, #000);background-image:-ms-linear-gradient(top, #333, #000);background-image:-o-linear-gradient(top, #333, #000);background-image:-webkit-gradient(linear, left top, left bottom, from(#333), to(#000));filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#000000');border:1px solid #000000;color:white;margin:15px 0 0 200px;padding:7px 13px;height:auto}input[type='button']:hover{background-color:#333333;background-image:linear-gradient(top, #333, #212121);background-image:-moz-linear-gradient(top, #333, #212121);background-image:-ms-linear-gradient(top, #333, #212121);background-image:-o-linear-gradient(top, #333, #212121);background-image:-webkit-gradient(linear, left top, left bottom, from(#333), to(#212121));filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#212121')}.minwidth20per{max-width:20%}.minwidth70per{max-width:70%}.marginBottom40{margin-bottom:40px}.header-user{background-color:#DEDEDE;padding-top:1px}.header-navi{background:url("../images/icon.png") 0px -130px repeat-x #333;margin-bottom:50px}a.header-title{color:#FFFFFF;text-decoration:none;line-height:49px;font:bold 35px/53px '微软雅黑,Arial,Helvetica'}.sub-title{color:#9BC4CE;margin-left:10px}.header-navi-main .tabs{list-style:none;height:57px}.header-navi-main .tab{float:left;font-size:16px;margin-left:1px;height:57px}.header-navi-main .tab:hover{background:url("../images/icon.png") repeat-x scroll 0 -130px #9BC4CE}#header-pages{position:relative}.header-navi-main .tab a{color:#FFFFFF;display:block;font-weight:bold;line-height:22px;padding:19px 16px 16px;text-decoration:none}#header-pages:hover .sub-tabs{left:0px;list-style:none;position:absolute;top:57px;display:block}.header-navi-main .sub-tab{background-color:#9BC4CE;border-bottom:1px solid #76A0AA;border-top:1px solid #B4D9E2;margin-left:0px}.header-navi-main .sub-tab a{min-width:98px;padding:0 16px;line-height:42px;font-size:14px}.header-navi-main .sub-tab:hover{background-color:#76A0AA}.article-header{color:#9F9F9F;float:left;font-size:12px;padding-top:15px;display:inline-block}.article-header ul{background-color:#333333;list-style:none;width:160px}.article-header ul li{background:url("../images/indentline.png") repeat-x scroll left bottom transparent;font-weight:bold;padding:7px 15px 8px;margin-left:0px}.article-header ul li a{color:#FFFFFF;display:block}.article-main{background-color:#FFFFFF;border-bottom:1px solid #E3E3E3;border-right:1px solid #E3E3E3;margin-right:20px;padding:20px 20px 0;overflow:hidden;display:inline-block}.article-main-right{background-color:#FFFFFF;border-bottom:1px solid #E3E3E3;border-left:1px solid #E3E3E3;border-right:none;margin-right:20px;padding:20px 20px 0;overflow:hidden;display:inline-block}.content-reset a{color:#075181}.content-reset a:hover{color:#68ADD5}.article-main h2.title{font:bold 30px Arial, Helvetica, sans-serif;margin:0 0 20px}.article-main h2.title sup{font-size:12px}.read-more a{background-color:#F2F2F2;color:#333333;font-size:12px;padding:8px 18px 8px 12px;margin:20px 0;float:left}.article-footer{width:200px;float:left}.article-footer h3{background:url("../images/indentline-light.png") repeat-x scroll left bottom transparent;font-size:17px;padding:25px 0 10px}.article-footer ul{list-style:none}.article-footer li{margin-left:0px;border-bottom:1px solid #E0E0E0;padding:8px 5px}.article-footer a{color:#888888;margin-bottom:2px;display:block}.pagination{background-color:#FFFFFF;border-right:1px solid #E3E3E3;border-bottom:1px solid #E3E3E3;margin:0 0 20px 0px;text-align:center;padding:12px 20px}.pagination a{color:#555555;padding:0 3px;text-decoration:none}.pagination a.selected{font-weight:bold}.pagination a:hover,.pagination a.selected{text-decoration:underline}.article-detail-body{width:716px;margin-right:0px}.article-detail-body .tags,#replyForm{margin:20px 0}.article-detail-footer{background-color:#FFFFFF;border-bottom:1px solid #E3E3E3;border-right:1px solid #E3E3E3;margin:40px 0 40px 181px;padding:20px;width:716px}.article-detail-footer>a{font-weight:bold}.article-relative{margin-top:20px;width:360px}.article-relative h4{font-size:14px;line-height:25px}.article-relative a{color:#555555;line-height:145%}#comments{background:url("../images/indentline-light.png") repeat-x scroll left top transparent;padding-top:30px;position:relative}#comments>div{margin-top:10px}#comments>div>img{height:80px;width:80px;margin:1px 10px 10px 0}#comments .comment-panel{background:none repeat scroll 0 0 #FFFFFF;border-bottom:1px solid #E3E3E3;border-right:1px solid #E3E3E3;padding:20px;width:798px;margin-bottom:10px;word-wrap:break-word;overflow:hidden}#comments .comment-top{margin-bottom:10px}#comments .comment-panel .reply{margin-top:20px}#comments .comment-panel .reply a{border-radius:5px;box-shadow:0 1px 0 rgba(255,255,255,0.3) inset,0 0 2px rgba(255,255,255,0.3) inset,0 1px 2px rgba(0,0,0,0.29);background-color:#EEEEEE;border:1px solid #888888;color:#555555;padding:2px 10px}#comments .comment-panel .reply a:hover{background-color:#E6E6E6;text-decoration:none}.comment-body-ref{position:absolute;border:1px solid #E3E3E3;background-color:#FFFFFF;padding:10px 0 0 10px;left:177px;opacity:0.9}#comments .comment-body-ref .comment-panel{border-width:0px;margin-bottom:0;width:620px;padding:10px}.comment-title{color:#333333;font-size:30px;margin:20px 0 15px 0;font-family:\5fae\8f6f\96c5\9ed1}.comment{margin-bottom:40px}.comment th{padding:10px 0px 10px 0;text-align:left}.comment input[type="text"],.comment textarea{outline:none;color:#666666;padding:10px 7px;background-color:#FFFFFF;font-family:Arial, Helvetica, sans-serif;width:723px;border:1px solid #DDDDDD;font-size:12px;height:16px;line-height:16px}.comment textarea{margin:10px 0;padding:7px;height:auto}.comment #captchaReply{margin-left:10px}#commentValidate,#commentValidateReply{width:240px}.header-notice{background:url("../images/indentline-light.png") repeat-x scroll left top #DEDEDE;padding:40px 0}.header-cnt{border:5px dashed blue}.notice-cnt{padding:15px;font-size:24px}.header-notice h4{background-color:#333333;color:#FFFFFF;float:left;font-size:17px;font-weight:bold;height:37px;line-height:37px;padding-left:15px;width:145px}.footer-secondary{background:url("../images/indentline-light.png") repeat-x scroll left top #DEDEDE;padding:40px 0}.footer-secondary h4,.article-date,.comment th span.comment-label{background-color:#333333;color:#FFFFFF;float:left;font-size:17px;font-weight:bold;height:37px;line-height:37px;padding-left:15px;width:145px}.most-view-count-articles,.recent-comments,.notice{float:left;width:700px;margin-left:65px;word-break:break-all;word-wrap:break-word}.most-view-count-articles a{font:18px 微软雅黑;margin-right:20px;font-weight:bold}.most-view-count-articles sup{font-size:12px;color:#555555;font-weight:normal;margin-right:3px}.recent-comments div{float:left;margin:0 25px 10px 0px;text-align:center;width:91px}.recent-comments div a{display:block;line-height:22px}.recent-comments img,#comments>div>img{background-color:#FFFFFF;border-bottom:1px solid #C2C2C2;border-right:1px solid #C2C2C2;padding:8px 7px 7px 8px;width:75px;height:75px}.recent-comments img:hover,#comments>div>img:hover{border-color:#5A5A5A}.footer-widgets{background:url("../images/indentline-light.png") repeat-x scroll left top transparent;padding:40px 0}.footer-block{margin-right:20px;width:220px}.footer-block h4{font:bold 18px 微软雅黑;color:#000000;height:25px;padding:0 0 15px;background:url("../images/indentline.png") repeat-x scroll left bottom transparent}.footer-block ul{list-style:none}.footer-block li{margin-left:0px;height:30px;padding-left:10px;background:url("../images/indentline-light.png") repeat-x scroll left bottom transparent}.footer-block li.mostUsedTags a{padding-left:20px}.footer-block li img{cursor:pointer;height:16px;left:0px;position:relative;top:-20px;width:16px}.footer-block li a{color:#555555;display:block;height:19px;line-height:19px;overflow:hidden;padding:6px 0 1px 0px}.footer-block li sup{float:left;margin:5px 3px 0 0;top:6px}.footer-block li:hover{background:url("../images/icon.png") repeat-x 0px -34px}.footer{background:url("../images/indentline-light.png") repeat-x scroll left top #DEDEDE;text-align:left;padding:10px}.footer .content{line-height:22px}.footer a{color:#000000}.footer .goTop{background:url("../images/icon.png") no-repeat -12px -64px;cursor:pointer;padding-left:15px;height:17px;line-height:17px}.error-msg{color:#333333;font-weight:bold}.error-footer{bottom:0;position:fixed;width:100%}.error-panel{background-color:#FFFFFF;border-bottom:1px solid #E3E3E3;border-right:1px solid #E3E3E3;margin-bottom:50px;padding:20px}.error-panel h2{font:bold 30px/24px;margin:0 0 20px}.read-more-icon,.arrow-dowm-icon,.tag-icon,.atom-icon,.up-icon,.down-icon{background-image:url("../images/icon.png");background-repeat:no-repeat;float:left}.read-more-icon{background-position:0 -22px;height:12px;margin:2px 0 0 6px;width:12px}.arrow-dowm-icon{background-position:-13px -22px;height:13px;margin:8px 0 0 6px;width:13px;cursor:pointer}.tag-icon{background-position:0px -102px;margin-right:6px;height:16px;width:16px}.atom-icon{height:22px;margin-left:6px;width:22px}.up-icon{background-position:-11px -118px;height:12px;margin:6px 0 0 10px;width:11px;cursor:pointer}.down-icon{background-position:0 -118px;height:12px;margin:6px 0 0 10px;width:11px;cursor:pointer}.star-current-icon,.star-icon,.moon-icon,.moon-current-icon{height:58px;width:64px;background-image:url("../images/author-header.png");float:right;white-space:normal;text-align:center;word-break:break-all;padding-top:6px;word-wrap:break-word;font-weight:bold}.star-current-icon{background-position:0px -64px}a.star-current-icon{color:#333333}.star-icon{background-position:0 -192px}a.star-icon{color:orange}.moon-icon{float:right;margin-top:4px}.moon-current-icon{float:right;background-position:0 -128px;margin:1px 0 3px 0}#tagsPanel a.tagPanel:hover{border:1px dashed}#tagsPanel a.tagPanel{border:1px solid;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;margin:3px;cursor:pointer;float:left} +html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;height:100%}body{margin:0;font-family:"Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;font-size:14px;background-color:#fff;-webkit-font-smoothing:antialiased;-webkit-overflow-scrolling:touch}::-moz-selection{text-shadow:none;background:rgba(65,131,196,0.4)}::selection{text-shadow:none;background:rgba(66,133,244,0.4)}ul,ol{margin:0;padding:0}h1,h2,h3,h4,h5,h6,dl,dd,p{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none}a{outline:0;text-decoration:none}a:hover{text-decoration:underline}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{max-width:100%;vertical-align:middle;border:0;height:auto;-ms-interpolation-mode:bicubic;overflow:hidden;font-size:12px}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;font-family:"Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;outline:none}button,input{line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}input[type="search"]{box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}svg{fill:currentColor;display:inline-block;stroke-width:0;stroke:currentColor;width:14px;height:14px}blockquote{margin:0}@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;overflow:hidden}.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;color:#fff;font-size:12px;line-height:14px}.vditor-upload ul{margin:0}.vditor-upload--tip{height:auto;opacity:1 !important}.vditor-upload--tip .vditor-upload__close{display:block}.vditor-upload__close{display:none;position:absolute;right:5px;cursor:pointer;padding:5px;top:0}.vditor-upload__progress{height:100%;background-color:rgba(66,133,244,0.8);transition:all .15s ease-in-out;padding:5px;box-sizing:border-box}.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}.vditor-reset{font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;word-wrap:break-word;overflow:auto;line-height:1.65;font-size:16px;word-break:break-word}.vditor-reset ul,.vditor-reset ol{padding-left:2em;margin-top:0;margin-bottom:16px}.vditor-reset li{margin-top:0.25em}.vditor-reset audio{max-width:100%}.vditor-reset video{max-height:90vh}.vditor-reset img.emoji{cursor:auto;max-width:20px;vertical-align:top}.vditor-reset h1,.vditor-reset h2,.vditor-reset h3,.vditor-reset h4,.vditor-reset h5,.vditor-reset h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.vditor-reset h1{padding-bottom:0.3em;font-size:1.7em;border-bottom:1px solid #eee}.vditor-reset h2{padding-bottom:0.3em;font-size:1.5em;border-bottom:1px solid #eee}.vditor-reset h3{font-size:1.25em}.vditor-reset h4{font-size:1em}.vditor-reset h5{font-size:0.875em}.vditor-reset h6{font-size:0.85em}.vditor-reset hr{height:0.15em;padding:0;margin:24px 0;background-color:#e7e7e7;border:0}.vditor-reset p{margin-top:0;margin-bottom:16px}.vditor-reset blockquote{padding:0 1em;color:#777;border-left:0.25em solid #ddd;margin:0 0 16px 0}.vditor-reset blockquote p{margin:0}.vditor-reset ins>iframe{border:0}.vditor-reset iframe{border:1px solid #d1d5da}.vditor-reset table{width:100%;border:1px solid #dedede;margin:15px auto;border-collapse:collapse;empty-cells:show}.vditor-reset thead{text-align:center}.vditor-reset td,.vditor-reset th{height:35px;border:1px solid #dedede;padding:0 10px}.vditor-reset th{font-weight:bold;text-align:center !important;background:rgba(158,188,226,0.2)}.vditor-reset tbody tr:nth-child(2n){background:rgba(158,188,226,0.12)}.vditor-reset tr:hover{background:#efefef}.vditor-reset code{padding:0.2em 0.4em;margin:0;font-size:85%;background-color:rgba(27,31,35,0.05);border-radius:3px;font-family:mononoki,Consolas,"Liberation Mono",Menlo,Courier,monospace;word-break:break-word}.vditor-reset pre>code{padding:0.5em;background-color:rgba(0,0,0,0.04);background-image:url("https://cdn.jsdelivr.net/npm/vditor@1.1.2/src/assets/images/code-bg.png");background-size:20px 20px;border-radius:5px;display:block;overflow:auto}.vditor-reset pre:hover div.vditor-copy{display:block}.vditor-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 #d1d5da;border-bottom-color:#bbb;border-radius:3px;box-shadow:inset 0 -1px 0 #bbb}.vditor-reset summary{cursor:pointer}.vditor-reset summary:focus{outline:none}.vditor-reset svg{height:auto;width:auto}.vditor-task{list-style:none;margin-left:-1.4em;display:flex;align-items:center}.vditor-task input{margin-right:5px}.vditor-copy{position:relative;display:none}.vditor-copy textarea{position:absolute;top:-100000px}.vditor-copy span{cursor:pointer;position:absolute;right:0.5em;top:0.5em;height:20px;width:20px}.vditor-copy svg{height:20px;width:20px}.clear:before,.clear:after{display:table;content:""}.clear:after{clear:both}.left{float:left}.right{float:right}.none{display:none}body{background-color:#EFEFEF;color:#555555;min-width:960px}.copyright{background:#E2E2E2;text-align:left;margin:20px 0;padding:3px 0 3px 10px;color:#333;font-size:9pt;line-height:22px;border-left:5px solid #797979}a,a:link{color:#000000;text-decoration:none}a:active,a:visited{color:#000000;text-decoration:none}a:hover{text-decoration:underline}.content{width:940px;margin:0 auto}.content>h2{margin:-20px 0 20px 0}.hr{background:url("../images/indentline-light.png") repeat-x scroll left top transparent;margin:20px 0 40px;clear:both;height:2px}.arrow-right{background:url("../images/icon.png") 0px -64px no-repeat;float:left;height:38px;width:14px}input[type='button']{border-radius:5px;box-shadow:0 1px 0 rgba(255,255,255,0.3) inset,0 0 2px rgba(255,255,255,0.3) inset,0 1px 2px rgba(0,0,0,0.29);background-color:#000000;background-image:linear-gradient(top, #333, #000);background-image:-moz-linear-gradient(top, #333, #000);background-image:-ms-linear-gradient(top, #333, #000);background-image:-o-linear-gradient(top, #333, #000);background-image:-webkit-gradient(linear, left top, left bottom, from(#333), to(#000));filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#000000');border:1px solid #000000;color:white;margin:15px 0 0 200px;padding:7px 13px;height:auto}input[type='button']:hover{background-color:#333333;background-image:linear-gradient(top, #333, #212121);background-image:-moz-linear-gradient(top, #333, #212121);background-image:-ms-linear-gradient(top, #333, #212121);background-image:-o-linear-gradient(top, #333, #212121);background-image:-webkit-gradient(linear, left top, left bottom, from(#333), to(#212121));filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#212121')}.minwidth20per{max-width:20%}.minwidth70per{max-width:70%}.marginBottom40{margin-bottom:40px}.header-user{background-color:#DEDEDE;padding-top:1px}.header-navi{background:url("../images/icon.png") 0px -130px repeat-x #333;margin-bottom:50px}a.header-title{color:#FFFFFF;text-decoration:none;line-height:49px;font:bold 35px/53px '微软雅黑,Arial,Helvetica'}.sub-title{color:#9BC4CE;margin-left:10px}.header-navi-main .tabs{list-style:none;height:57px}.header-navi-main .tab{float:left;font-size:16px;margin-left:1px;height:57px}.header-navi-main .tab:hover{background:url("../images/icon.png") repeat-x scroll 0 -130px #9BC4CE}#header-pages{position:relative}.header-navi-main .tab a{color:#FFFFFF;display:block;font-weight:bold;line-height:22px;padding:19px 16px 16px;text-decoration:none}#header-pages:hover .sub-tabs{left:0px;list-style:none;position:absolute;top:57px;display:block}.header-navi-main .sub-tab{background-color:#9BC4CE;border-bottom:1px solid #76A0AA;border-top:1px solid #B4D9E2;margin-left:0px}.header-navi-main .sub-tab a{min-width:98px;padding:0 16px;line-height:42px;font-size:14px}.header-navi-main .sub-tab:hover{background-color:#76A0AA}.article-header{color:#9F9F9F;float:left;font-size:12px;padding-top:15px;display:inline-block}.article-header ul{background-color:#333333;list-style:none;width:160px}.article-header ul li{background:url("../images/indentline.png") repeat-x scroll left bottom transparent;font-weight:bold;padding:7px 15px 8px;margin-left:0px}.article-header ul li a{color:#FFFFFF;display:block}.article-main{background-color:#FFFFFF;border-bottom:1px solid #E3E3E3;border-right:1px solid #E3E3E3;margin-right:20px;padding:20px 20px 0;overflow:hidden;display:inline-block}.article-main-right{background-color:#FFFFFF;border-bottom:1px solid #E3E3E3;border-left:1px solid #E3E3E3;border-right:none;margin-right:20px;padding:20px 20px 0;overflow:hidden;display:inline-block}.vditor-reset a{color:#075181}.vditor-reset a:hover{color:#68ADD5}.article-main h2.title{font:bold 30px Arial, Helvetica, sans-serif;margin:0 0 20px}.article-main h2.title sup{font-size:12px}.read-more a{background-color:#F2F2F2;color:#333333;font-size:12px;padding:8px 18px 8px 12px;margin:20px 0;float:left}.article-footer{width:200px;float:left}.article-footer h3{background:url("../images/indentline-light.png") repeat-x scroll left bottom transparent;font-size:17px;padding:25px 0 10px}.article-footer ul{list-style:none}.article-footer li{margin-left:0px;border-bottom:1px solid #E0E0E0;padding:8px 5px}.article-footer a{color:#888888;margin-bottom:2px;display:block}.pagination{background-color:#FFFFFF;border-right:1px solid #E3E3E3;border-bottom:1px solid #E3E3E3;margin:0 0 20px 0px;text-align:center;padding:12px 20px}.pagination a{color:#555555;padding:0 3px;text-decoration:none}.pagination a.selected{font-weight:bold}.pagination a:hover,.pagination a.selected{text-decoration:underline}.article-detail-body{width:716px;margin-right:0px}.article-detail-body .tags,#replyForm{margin:20px 0}.article-detail-footer{background-color:#FFFFFF;border-bottom:1px solid #E3E3E3;border-right:1px solid #E3E3E3;margin:40px 0 40px 181px;padding:20px;width:716px}.article-detail-footer>a{font-weight:bold}.article-relative{margin-top:20px;width:360px}.article-relative h4{font-size:14px;line-height:25px}.article-relative a{color:#555555;line-height:145%}#comments{background:url("../images/indentline-light.png") repeat-x scroll left top transparent;padding-top:30px;position:relative}#comments>div{margin-top:10px}#comments>div>img{height:80px;width:80px;margin:1px 10px 10px 0}#comments .comment-panel{background:none repeat scroll 0 0 #FFFFFF;border-bottom:1px solid #E3E3E3;border-right:1px solid #E3E3E3;padding:20px;width:798px;margin-bottom:10px;word-wrap:break-word;overflow:hidden}#comments .comment-top{margin-bottom:10px}#comments .comment-panel .reply{margin-top:20px}#comments .comment-panel .reply a{border-radius:5px;box-shadow:0 1px 0 rgba(255,255,255,0.3) inset,0 0 2px rgba(255,255,255,0.3) inset,0 1px 2px rgba(0,0,0,0.29);background-color:#EEEEEE;border:1px solid #888888;color:#555555;padding:2px 10px}#comments .comment-panel .reply a:hover{background-color:#E6E6E6;text-decoration:none}.comment-body-ref{position:absolute;border:1px solid #E3E3E3;background-color:#FFFFFF;padding:10px 0 0 10px;left:177px;opacity:0.9}#comments .comment-body-ref .comment-panel{border-width:0px;margin-bottom:0;width:620px;padding:10px}.comment-title{color:#333333;font-size:30px;margin:20px 0 15px 0;font-family:\5fae\8f6f\96c5\9ed1}.comment{margin-bottom:40px}.comment th{padding:10px 0px 10px 0;text-align:left}.comment input[type="text"],.comment textarea{outline:none;color:#666666;padding:10px 7px;background-color:#FFFFFF;font-family:Arial, Helvetica, sans-serif;width:723px;border:1px solid #DDDDDD;font-size:12px;height:16px;line-height:16px}.comment textarea{margin:10px 0;padding:7px;height:auto}.comment #captchaReply{margin-left:10px}#commentValidate,#commentValidateReply{width:240px}.header-notice{background:url("../images/indentline-light.png") repeat-x scroll left top #DEDEDE;padding:40px 0}.header-cnt{border:5px dashed blue}.notice-cnt{padding:15px;font-size:24px}.header-notice h4{background-color:#333333;color:#FFFFFF;float:left;font-size:17px;font-weight:bold;height:37px;line-height:37px;padding-left:15px;width:145px}.footer-secondary{background:url("../images/indentline-light.png") repeat-x scroll left top #DEDEDE;padding:40px 0}.footer-secondary h4,.article-date,.comment th span.comment-label{background-color:#333333;color:#FFFFFF;float:left;font-size:17px;font-weight:bold;height:37px;line-height:37px;padding-left:15px;width:145px}.most-view-count-articles,.recent-comments,.notice{float:left;width:700px;margin-left:65px;word-break:break-all;word-wrap:break-word}.most-view-count-articles a{font:18px 微软雅黑;margin-right:20px;font-weight:bold}.most-view-count-articles sup{font-size:12px;color:#555555;font-weight:normal;margin-right:3px}.recent-comments div{float:left;margin:0 25px 10px 0px;text-align:center;width:91px}.recent-comments div a{display:block;line-height:22px}.recent-comments img,#comments>div>img{background-color:#FFFFFF;border-bottom:1px solid #C2C2C2;border-right:1px solid #C2C2C2;padding:8px 7px 7px 8px;width:75px;height:75px}.recent-comments img:hover,#comments>div>img:hover{border-color:#5A5A5A}.footer-widgets{background:url("../images/indentline-light.png") repeat-x scroll left top transparent;padding:40px 0}.footer-block{margin-right:20px;width:220px}.footer-block h4{font:bold 18px 微软雅黑;color:#000000;height:25px;padding:0 0 15px;background:url("../images/indentline.png") repeat-x scroll left bottom transparent}.footer-block ul{list-style:none}.footer-block li{margin-left:0px;height:30px;padding-left:10px;background:url("../images/indentline-light.png") repeat-x scroll left bottom transparent}.footer-block li.mostUsedTags a{padding-left:20px}.footer-block li img{cursor:pointer;height:16px;left:0px;position:relative;top:-20px;width:16px}.footer-block li a{color:#555555;display:block;height:19px;line-height:19px;overflow:hidden;padding:6px 0 1px 0px}.footer-block li sup{float:left;margin:5px 3px 0 0;top:6px}.footer-block li:hover{background:url("../images/icon.png") repeat-x 0px -34px}.footer{background:url("../images/indentline-light.png") repeat-x scroll left top #DEDEDE;text-align:left;padding:10px}.footer .content{line-height:22px}.footer a{color:#000000}.footer .goTop{background:url("../images/icon.png") no-repeat -12px -64px;cursor:pointer;padding-left:15px;height:17px;line-height:17px}.error-msg{color:#333333;font-weight:bold}.error-footer{bottom:0;position:fixed;width:100%}.error-panel{background-color:#FFFFFF;border-bottom:1px solid #E3E3E3;border-right:1px solid #E3E3E3;margin-bottom:50px;padding:20px}.error-panel h2{font:bold 30px/24px;margin:0 0 20px}.read-more-icon,.arrow-dowm-icon,.tag-icon,.atom-icon,.up-icon,.down-icon{background-image:url("../images/icon.png");background-repeat:no-repeat;float:left}.read-more-icon{background-position:0 -22px;height:12px;margin:2px 0 0 6px;width:12px}.arrow-dowm-icon{background-position:-13px -22px;height:13px;margin:8px 0 0 6px;width:13px;cursor:pointer}.tag-icon{background-position:0px -102px;margin-right:6px;height:16px;width:16px}.atom-icon{height:22px;margin-left:6px;width:22px}.up-icon{background-position:-11px -118px;height:12px;margin:6px 0 0 10px;width:11px;cursor:pointer}.down-icon{background-position:0 -118px;height:12px;margin:6px 0 0 10px;width:11px;cursor:pointer}.star-current-icon,.star-icon,.moon-icon,.moon-current-icon{height:58px;width:64px;background-image:url("../images/author-header.png");float:right;white-space:normal;text-align:center;word-break:break-all;padding-top:6px;word-wrap:break-word;font-weight:bold}.star-current-icon{background-position:0px -64px}a.star-current-icon{color:#333333}.star-icon{background-position:0 -192px}a.star-icon{color:orange}.moon-icon{float:right;margin-top:4px}.moon-current-icon{float:right;background-position:0 -128px;margin:1px 0 3px 0}#tagsPanel a.tagPanel:hover{border:1px dashed}#tagsPanel a.tagPanel{border:1px solid;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;margin:3px;cursor:pointer;float:left} diff --git a/skins/community-bubbles/css/base.scss b/skins/community-bubbles/css/base.scss index 1cdf540..6b6237f 100644 --- a/skins/community-bubbles/css/base.scss +++ b/skins/community-bubbles/css/base.scss @@ -16,9 +16,8 @@ * along with this program. If not, see . */ @charset "utf-8"; -@import "../../../scss/reset-content"; @import "../../../scss/reset"; - +@import "vditor/src/assets/scss/classic"; .clear:before, .clear:after { display: table; @@ -271,11 +270,11 @@ a.header-title { display: inline-block; } -.content-reset a { +.vditor-reset a { color: #075181; } -.content-reset a:hover { +.vditor-reset a:hover { color: #68ADD5; } diff --git a/skins/community-bubbles/footer.ftl b/skins/community-bubbles/footer.ftl index a07b474..768560b 100644 --- a/skins/community-bubbles/footer.ftl +++ b/skins/community-bubbles/footer.ftl @@ -60,28 +60,14 @@ }; var Label = { + "markedAvailable": ${markedAvailable?c}, + "hljsStyle": "atom-one-light", + "langLabel": "${langLabel}", "clearAllCacheLabel": "${clearAllCacheLabel}", "clearCacheLabel": "${clearCacheLabel}", "adminLabel": "${adminLabel}", - "logoutLabel": "${logoutLabel}", "skinDirName": "${skinDirName}", - "loginLabel": "${loginLabel}", - "loginLabel": "${loginLabel}", - "em00Label": "${em00Label}", - "em01Label": "${em01Label}", - "em02Label": "${em02Label}", - "em03Label": "${em03Label}", - "em04Label": "${em04Label}", - "em05Label": "${em05Label}", - "em06Label": "${em06Label}", - "em07Label": "${em07Label}", - "em08Label": "${em08Label}", - "em09Label": "${em09Label}", - "em10Label": "${em10Label}", - "em11Label": "${em11Label}", - "em12Label": "${em12Label}", - "em13Label": "${em13Label}", - "em14Label": "${em14Label}" + "logoutLabel": "${logoutLabel}", }, maxLength = parseInt("${mostCommentArticles?size}"); diff --git a/skins/community-bubbles/js/gravatar.min.js b/skins/community-bubbles/js/gravatar.min.js index 489bf95..0bc460a 100644 --- a/skins/community-bubbles/js/gravatar.min.js +++ b/skins/community-bubbles/js/gravatar.min.js @@ -1,18 +1 @@ -/* - * 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 getIcon(r){return"http://secure.gravatar.com/avatar/"+hex_md5(trim(r.toLowerCase()))+"?s=160&r=G"}function trim(r){return r.replace(/(^\s*)|(\s*$)/g,"")} \ No newline at end of file diff --git a/skins/community-bubbles/js/md5.min.js b/skins/community-bubbles/js/md5.min.js index 025128a..83263a9 100644 --- a/skins/community-bubbles/js/md5.min.js +++ b/skins/community-bubbles/js/md5.min.js @@ -1,18 +1 @@ -/* - * 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 . - */ var hexcase=0,b64pad="";function hex_md5(r){return rstr2hex(rstr_md5(str2rstr_utf8(r)))}function b64_md5(r){return rstr2b64(rstr_md5(str2rstr_utf8(r)))}function any_md5(r,t){return rstr2any(rstr_md5(str2rstr_utf8(r)),t)}function hex_hmac_md5(r,t){return rstr2hex(rstr_hmac_md5(str2rstr_utf8(r),str2rstr_utf8(t)))}function b64_hmac_md5(r,t){return rstr2b64(rstr_hmac_md5(str2rstr_utf8(r),str2rstr_utf8(t)))}function any_hmac_md5(r,t,d){return rstr2any(rstr_hmac_md5(str2rstr_utf8(r),str2rstr_utf8(t)),d)}function md5_vm_test(){return"900150983cd24fb0d6963f7d28e17f72"==hex_md5("abc").toLowerCase()}function rstr_md5(r){return binl2rstr(binl_md5(rstr2binl(r),8*r.length))}function rstr_hmac_md5(r,t){var d=rstr2binl(r);16>>4&15)+d.charAt(15&t);return n}function rstr2b64(r){for(var t="",d=r.length,n=0;n8*r.length?t+=b64pad:t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(_>>>6*(3-m)&63);return t}function rstr2any(r,t){var d,n,_,m,f,h=t.length,e=Array(Math.ceil(r.length/2));for(d=0;d>>6&31,128|63&t):t<=65535?n+=String.fromCharCode(224|t>>>12&15,128|t>>>6&63,128|63&t):t<=2097151&&(n+=String.fromCharCode(240|t>>>18&7,128|t>>>12&63,128|t>>>6&63,128|63&t));return n}function str2rstr_utf16le(r){for(var t="",d=0;d>>8&255);return t}function str2rstr_utf16be(r){for(var t="",d=0;d>>8&255,255&r.charCodeAt(d));return t}function rstr2binl(r){for(var t=Array(r.length>>2),d=0;d>5]|=(255&r.charCodeAt(d/8))<>5]>>>d%32&255);return t}function binl_md5(r,t){r[t>>5]|=128<>>9<<4)]=t;for(var d=1732584193,n=-271733879,_=-1732584194,m=271733878,f=0;f>16)+(t>>16)+(d>>16)<<16|65535&d}function bit_rol(r,t){return r<>>32-t} \ No newline at end of file diff --git a/skins/community-bubbles/macro-comments.ftl b/skins/community-bubbles/macro-comments.ftl index 0a96bd7..98f7de0 100644 --- a/skins/community-bubbles/macro-comments.ftl +++ b/skins/community-bubbles/macro-comments.ftl @@ -38,7 +38,7 @@ ${comment.commentDate?string("yyyy-MM-dd HH:mm:ss")}
    -
    +
    ${comment.commentContent}
    diff --git a/skins/community-bubbles/page.ftl b/skins/community-bubbles/page.ftl index 3a059e1..0da029a 100644 --- a/skins/community-bubbles/page.ftl +++ b/skins/community-bubbles/page.ftl @@ -34,7 +34,7 @@ <#include "header.ftl">
    -
    +
    ${page.pageContent}
    <@comments commentList=pageComments article=page> diff --git a/skins/dashu03/article-list.ftl b/skins/dashu03/article-list.ftl index b35ca12..d46ad99 100644 --- a/skins/dashu03/article-list.ftl +++ b/skins/dashu03/article-list.ftl @@ -46,7 +46,7 @@
    -
    +
    ${article.articleAbstract}
    diff --git a/skins/dashu03/article.ftl b/skins/dashu03/article.ftl index e596d21..0274731 100644 --- a/skins/dashu03/article.ftl +++ b/skins/dashu03/article.ftl @@ -97,7 +97,7 @@

    -
    +
    ${article.articleContent} <#if "" != article.articleSign.signHTML?trim>

    diff --git a/skins/dashu03/css/base.css b/skins/dashu03/css/base.css index 95a7859..2e32d81 100644 --- a/skins/dashu03/css/base.css +++ b/skins/dashu03/css/base.css @@ -1,18 +1 @@ -/** - * 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 . - */ -.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 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:0.15em;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(252,41,41,0.12);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}#comments{position:relative}.comment-header{float:left;background-color:#FFF;border:1px solid #DEDEDE;padding:2px;height:60px;width:60px}.comment-panel{float:left;line-height:16px;margin:0 0 20px 10px;min-height:64px;overflow:hidden;width:790px}.comment-body-ref{background-color:#FCFCFC;box-shadow:0 0 2px #D5D5D5;display:block;left:127px;padding:10px;opacity:0.9;filter:alpha(opacity=90);position:absolute}.comment-body-ref>.comment-header{border:0 none;float:right;height:48px;width:48px;padding:0}.comment-body-ref>.comment-panel{margin:0 20px 0 0;min-height:48px;width:650px}.comment-body-ref>.comment-panel>.right{display:none}.left{float:left}.right{float:right}.clear{background-color:transparent;border:0;clear:both;display:block;font-size:0;height:0;line-height:0;overflow:hidden}.none{display:none} +html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;height:100%}body{margin:0;font-family:"Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;font-size:14px;background-color:#fff;-webkit-font-smoothing:antialiased;-webkit-overflow-scrolling:touch}::-moz-selection{text-shadow:none;background:rgba(65,131,196,0.4)}::selection{text-shadow:none;background:rgba(66,133,244,0.4)}ul,ol{margin:0;padding:0}h1,h2,h3,h4,h5,h6,dl,dd,p{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none}a{outline:0;text-decoration:none}a:hover{text-decoration:underline}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{max-width:100%;vertical-align:middle;border:0;height:auto;-ms-interpolation-mode:bicubic;overflow:hidden;font-size:12px}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;font-family:"Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;outline:none}button,input{line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}input[type="search"]{box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}svg{fill:currentColor;display:inline-block;stroke-width:0;stroke:currentColor;width:14px;height:14px}blockquote{margin:0}@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;overflow:hidden}.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;color:#fff;font-size:12px;line-height:14px}.vditor-upload ul{margin:0}.vditor-upload--tip{height:auto;opacity:1 !important}.vditor-upload--tip .vditor-upload__close{display:block}.vditor-upload__close{display:none;position:absolute;right:5px;cursor:pointer;padding:5px;top:0}.vditor-upload__progress{height:100%;background-color:rgba(66,133,244,0.8);transition:all .15s ease-in-out;padding:5px;box-sizing:border-box}.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}.vditor-reset{font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;word-wrap:break-word;overflow:auto;line-height:1.65;font-size:16px;word-break:break-word}.vditor-reset ul,.vditor-reset ol{padding-left:2em;margin-top:0;margin-bottom:16px}.vditor-reset li{margin-top:0.25em}.vditor-reset audio{max-width:100%}.vditor-reset video{max-height:90vh}.vditor-reset img.emoji{cursor:auto;max-width:20px;vertical-align:top}.vditor-reset h1,.vditor-reset h2,.vditor-reset h3,.vditor-reset h4,.vditor-reset h5,.vditor-reset h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.vditor-reset h1{padding-bottom:0.3em;font-size:1.7em;border-bottom:1px solid #eee}.vditor-reset h2{padding-bottom:0.3em;font-size:1.5em;border-bottom:1px solid #eee}.vditor-reset h3{font-size:1.25em}.vditor-reset h4{font-size:1em}.vditor-reset h5{font-size:0.875em}.vditor-reset h6{font-size:0.85em}.vditor-reset hr{height:0.15em;padding:0;margin:24px 0;background-color:#e7e7e7;border:0}.vditor-reset p{margin-top:0;margin-bottom:16px}.vditor-reset blockquote{padding:0 1em;color:#777;border-left:0.25em solid #ddd;margin:0 0 16px 0}.vditor-reset blockquote p{margin:0}.vditor-reset ins>iframe{border:0}.vditor-reset iframe{border:1px solid #d1d5da}.vditor-reset table{width:100%;border:1px solid #dedede;margin:15px auto;border-collapse:collapse;empty-cells:show}.vditor-reset thead{text-align:center}.vditor-reset td,.vditor-reset th{height:35px;border:1px solid #dedede;padding:0 10px}.vditor-reset th{font-weight:bold;text-align:center !important;background:rgba(158,188,226,0.2)}.vditor-reset tbody tr:nth-child(2n){background:rgba(158,188,226,0.12)}.vditor-reset tr:hover{background:#efefef}.vditor-reset code{padding:0.2em 0.4em;margin:0;font-size:85%;background-color:rgba(27,31,35,0.05);border-radius:3px;font-family:mononoki,Consolas,"Liberation Mono",Menlo,Courier,monospace;word-break:break-word}.vditor-reset pre>code{padding:0.5em;background-color:rgba(0,0,0,0.04);background-image:url("https://cdn.jsdelivr.net/npm/vditor@1.1.2/src/assets/images/code-bg.png");background-size:20px 20px;border-radius:5px;display:block;overflow:auto}.vditor-reset pre:hover div.vditor-copy{display:block}.vditor-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 #d1d5da;border-bottom-color:#bbb;border-radius:3px;box-shadow:inset 0 -1px 0 #bbb}.vditor-reset summary{cursor:pointer}.vditor-reset summary:focus{outline:none}.vditor-reset svg{height:auto;width:auto}.vditor-task{list-style:none;margin-left:-1.4em;display:flex;align-items:center}.vditor-task input{margin-right:5px}.vditor-copy{position:relative;display:none}.vditor-copy textarea{position:absolute;top:-100000px}.vditor-copy span{cursor:pointer;position:absolute;right:0.5em;top:0.5em;height:20px;width:20px}.vditor-copy svg{height:20px;width:20px}#comments{position:relative}.comment-header{float:left;background-color:#FFF;border:1px solid #DEDEDE;padding:2px;height:60px;width:60px}.comment-panel{float:left;line-height:16px;margin:0 0 20px 10px;min-height:64px;overflow:hidden;width:790px}.comment-body-ref{background-color:#FCFCFC;box-shadow:0 0 2px #D5D5D5;display:block;left:127px;padding:10px;opacity:0.9;filter:alpha(opacity=90);position:absolute}.comment-body-ref>.comment-header{border:0 none;float:right;height:48px;width:48px;padding:0}.comment-body-ref>.comment-panel{margin:0 20px 0 0;min-height:48px;width:650px}.comment-body-ref>.comment-panel>.right{display:none}.left{float:left}.right{float:right}.clear{background-color:transparent;border:0;clear:both;display:block;font-size:0;height:0;line-height:0;overflow:hidden}.none{display:none} diff --git a/skins/dashu03/css/base.scss b/skins/dashu03/css/base.scss index 125b85e..0547021 100644 --- a/skins/dashu03/css/base.scss +++ b/skins/dashu03/css/base.scss @@ -15,7 +15,8 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -@import "../../../scss/reset-content"; +@import "../../../scss/reset"; +@import "vditor/src/assets/scss/classic"; #comments{position:relative;} .comment-header{float:left;background-color:#FFF;border:1px solid #DEDEDE;padding:2px;height:60px;width:60px;} .comment-panel{float:left;line-height:16px;margin:0 0 20px 10px;min-height:64px;overflow:hidden;width:790px;} diff --git a/skins/dashu03/footer.ftl b/skins/dashu03/footer.ftl index f83424d..a913739 100644 --- a/skins/dashu03/footer.ftl +++ b/skins/dashu03/footer.ftl @@ -70,6 +70,9 @@ var latkeConfig = { "staticServePath": "${staticServePath}" }; var Label = { + "markedAvailable": ${markedAvailable?c}, + "hljsStyle": "atom-one-light", + "langLabel": "${langLabel}", "tag1Label": "${tag1Label}", "viewLabel": "${viewLabel}", "commentLabel": "${commentLabel}", @@ -82,22 +85,6 @@ var Label = { "adminLabel": "${adminLabel}", "logoutLabel": "${logoutLabel}", "skinDirName": "${skinDirName}", - "loginLabel": "${loginLabel}", - "em00Label": "${em00Label}", - "em01Label": "${em01Label}", - "em02Label": "${em02Label}", - "em03Label": "${em03Label}", - "em04Label": "${em04Label}", - "em05Label": "${em05Label}", - "em06Label": "${em06Label}", - "em07Label": "${em07Label}", - "em08Label": "${em08Label}", - "em09Label": "${em09Label}", - "em10Label": "${em10Label}", - "em11Label": "${em11Label}", - "em12Label": "${em12Label}", - "em13Label": "${em13Label}", - "em14Label": "${em14Label}" }; diff --git a/skins/dashu03/js/bootstrap-alert.min.js b/skins/dashu03/js/bootstrap-alert.min.js index 4af307b..ba045a8 100644 --- a/skins/dashu03/js/bootstrap-alert.min.js +++ b/skins/dashu03/js/bootstrap-alert.min.js @@ -1,18 +1 @@ -/* - * 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(s){"use strict";var e='[data-dismiss="alert"]',r=function(t){s(t).on("click",e,this.close)};r.prototype.close=function(t){var e,a=s(this),r=a.attr("data-target");function n(){e.trigger("closed").remove()}r||(r=(r=a.attr("href"))&&r.replace(/.*(?=#[^\s]*$)/,"")),e=s(r),t&&t.preventDefault(),e.length||(e=a.hasClass("alert")?a:a.parent()),e.trigger(t=s.Event("close")),t.isDefaultPrevented()||(e.removeClass("in"),s.support.transition&&e.hasClass("fade")?e.on(s.support.transition.end,n):n())},s.fn.alert=function(a){return this.each(function(){var t=s(this),e=t.data("alert");e||t.data("alert",e=new r(this)),"string"==typeof a&&e[a].call(t)})},s.fn.alert.Constructor=r,s(document).on("click.alert.data-api",e,r.prototype.close)}(window.jQuery); \ No newline at end of file diff --git a/skins/dashu03/js/bootstrap-button.min.js b/skins/dashu03/js/bootstrap-button.min.js index a792b9a..4c4a3d4 100644 --- a/skins/dashu03/js/bootstrap-button.min.js +++ b/skins/dashu03/js/bootstrap-button.min.js @@ -1,18 +1 @@ -/* - * 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(a){"use strict";var s=function(t,e){this.$element=a(t),this.options=a.extend({},a.fn.button.defaults,e)};s.prototype.setState=function(t){var e="disabled",n=this.$element,o=n.data(),a=n.is("input")?"val":"html";t+="Text",o.resetText||n.data("resetText",n[a]()),n[a](o[t]||this.options[t]),setTimeout(function(){"loadingText"==t?n.addClass(e).attr(e,e):n.removeClass(e).removeAttr(e)},0)},s.prototype.toggle=function(){var t=this.$element.closest('[data-toggle="buttons-radio"]');t&&t.find(".active").removeClass("active"),this.$element.toggleClass("active")},a.fn.button=function(o){return this.each(function(){var t=a(this),e=t.data("button"),n="object"==typeof o&&o;e||t.data("button",e=new s(this,n)),"toggle"==o?e.toggle():o&&e.setState(o)})},a.fn.button.defaults={loadingText:"loading..."},a.fn.button.Constructor=s,a(document).on("click.button.data-api","[data-toggle^=button]",function(t){var e=a(t.target);e.hasClass("btn")||(e=e.closest(".btn")),e.button("toggle")})}(window.jQuery); \ No newline at end of file diff --git a/skins/dashu03/js/bootstrap-carousel.min.js b/skins/dashu03/js/bootstrap-carousel.min.js index 8c97fa2..ef90609 100644 --- a/skins/dashu03/js/bootstrap-carousel.min.js +++ b/skins/dashu03/js/bootstrap-carousel.min.js @@ -1,18 +1 @@ -/* - * 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(h){"use strict";var r=function(t,e){this.$element=h(t),this.options=e,this.options.slide&&this.slide(this.options.slide),"hover"==this.options.pause&&this.$element.on("mouseenter",h.proxy(this.pause,this)).on("mouseleave",h.proxy(this.cycle,this))};r.prototype={cycle:function(t){return t||(this.paused=!1),this.options.interval&&!this.paused&&(this.interval=setInterval(h.proxy(this.next,this),this.options.interval)),this},to:function(t){var e=this.$element.find(".item.active"),i=e.parent().children(),s=i.index(e),n=this;if(!(t>i.length-1||t<0))return this.sliding?this.$element.one("slid",function(){n.to(t)}):s==t?this.pause().cycle():this.slide(s. - */ !function(a){"use strict";var i=function(t,e){this.$element=a(t),this.options=a.extend({},a.fn.collapse.defaults,e),this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};i.prototype={constructor:i,dimension:function(){return this.$element.hasClass("width")?"width":"height"},show:function(){var t,e,s,n;if(!this.transitioning){if(t=this.dimension(),e=a.camelCase(["scroll",t].join("-")),(s=this.$parent&&this.$parent.find("> .accordion-group > .in"))&&s.length){if((n=s.data("collapse"))&&n.transitioning)return;s.collapse("hide"),n||s.data("collapse",null)}this.$element[t](0),this.transition("addClass",a.Event("show"),"shown"),a.support.transition&&this.$element[t](this.$element[0][e])}},hide:function(){var t;this.transitioning||(t=this.dimension(),this.reset(this.$element[t]()),this.transition("removeClass",a.Event("hide"),"hidden"),this.$element[t](0))},reset:function(t){var e=this.dimension();return this.$element.removeClass("collapse")[e](t||"auto")[0].offsetWidth,this.$element[null!==t?"addClass":"removeClass"]("collapse"),this},transition:function(t,e,s){var n=this,i=function(){"show"==e.type&&n.reset(),n.transitioning=0,n.$element.trigger(s)};this.$element.trigger(e),e.isDefaultPrevented()||(this.transitioning=1,this.$element[t]("in"),a.support.transition&&this.$element.hasClass("collapse")?this.$element.one(a.support.transition.end,i):i())},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}},a.fn.collapse=function(n){return this.each(function(){var t=a(this),e=t.data("collapse"),s="object"==typeof n&&n;e||t.data("collapse",e=new i(this,s)),"string"==typeof n&&e[n]()})},a.fn.collapse.defaults={toggle:!0},a.fn.collapse.Constructor=i,a(document).on("click.collapse.data-api","[data-toggle=collapse]",function(t){var e,s=a(this),n=s.attr("data-target")||t.preventDefault()||(e=s.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,""),i=a(n).data("collapse")?"toggle":s.data();s[a(n).hasClass("in")?"addClass":"removeClass"]("collapsed"),a(n).collapse(i)})}(window.jQuery); \ No newline at end of file diff --git a/skins/dashu03/js/bootstrap-dropdown.min.js b/skins/dashu03/js/bootstrap-dropdown.min.js index db5be5e..cd3cd78 100644 --- a/skins/dashu03/js/bootstrap-dropdown.min.js +++ b/skins/dashu03/js/bootstrap-dropdown.min.js @@ -1,18 +1 @@ -/* - * 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){"use strict";var o="[data-toggle=dropdown]",a=function(o){var t=r(o).on("click.dropdown.data-api",this.toggle);r("html").on("click.dropdown.data-api",function(){t.parent().removeClass("open")})};function d(){r(o).each(function(){i(r(this)).removeClass("open")})}function i(o){var t,n=o.attr("data-target");return n||(n=(n=o.attr("href"))&&/#/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,"")),(t=r(n)).length||(t=o.parent()),t}a.prototype={constructor:a,toggle:function(o){var t,n,a=r(this);if(!a.is(".disabled, :disabled"))return n=(t=i(a)).hasClass("open"),d(),n||(t.toggleClass("open"),a.focus()),!1},keydown:function(o){var t,n,a,d,e;if(/(38|40|27)/.test(o.keyCode)&&(t=r(this),o.preventDefault(),o.stopPropagation(),!t.is(".disabled, :disabled"))){if(!(d=(a=i(t)).hasClass("open"))||d&&27==o.keyCode)return t.click();(n=r("[role=menu] li:not(.divider) a",a)).length&&(e=n.index(n.filter(":focus")),38==o.keyCode&&0. - */ !function(n){"use strict";var s=function(t,e){this.options=e,this.$element=n(t).delegate('[data-dismiss="modal"]',"click.dismiss.modal",n.proxy(this.hide,this)),this.options.remote&&this.$element.find(".modal-body").load(this.options.remote)};s.prototype={constructor:s,toggle:function(){return this[this.isShown?"hide":"show"]()},show:function(){var e=this,t=n.Event("show");this.$element.trigger(t),this.isShown||t.isDefaultPrevented()||(this.isShown=!0,this.escape(),this.backdrop(function(){var t=n.support.transition&&e.$element.hasClass("fade");e.$element.parent().length||e.$element.appendTo(document.body),e.$element.show(),t&&e.$element[0].offsetWidth,e.$element.addClass("in").attr("aria-hidden",!1),e.enforceFocus(),t?e.$element.one(n.support.transition.end,function(){e.$element.focus().trigger("shown")}):e.$element.focus().trigger("shown")}))},hide:function(t){t&&t.preventDefault();t=n.Event("hide"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),n(document).off("focusin.modal"),this.$element.removeClass("in").attr("aria-hidden",!0),n.support.transition&&this.$element.hasClass("fade")?this.hideWithTransition():this.hideModal())},enforceFocus:function(){var e=this;n(document).on("focusin.modal",function(t){e.$element[0]===t.target||e.$element.has(t.target).length||e.$element.focus()})},escape:function(){var e=this;this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.modal",function(t){27==t.which&&e.hide()}):this.isShown||this.$element.off("keyup.dismiss.modal")},hideWithTransition:function(){var t=this,e=setTimeout(function(){t.$element.off(n.support.transition.end),t.hideModal()},500);this.$element.one(n.support.transition.end,function(){clearTimeout(e),t.hideModal()})},hideModal:function(t){this.$element.hide().trigger("hidden"),this.backdrop()},removeBackdrop:function(){this.$backdrop.remove(),this.$backdrop=null},backdrop:function(t){var e=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var o=n.support.transition&&e;this.$backdrop=n('

    ' + '
    ' + '
    ' + - '
    ' + + '
    ' + '
    ' + article.articleAbstract + '
    ' + @@ -290,7 +290,7 @@ var ease = { } // emotions - $(".content-reset").each(function () { + $(".vditor-reset").each(function () { this.innerHTML = Util.replaceEmString($(this).html()); }); } diff --git a/skins/dashu03/js/dashu03.min.js b/skins/dashu03/js/dashu03.min.js index 2c2cd9c..46bcf38 100644 --- a/skins/dashu03/js/dashu03.min.js +++ b/skins/dashu03/js/dashu03.min.js @@ -1,18 +1 @@ -/* - * 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 . - */ -var goTranslate=function(){window.open("http://translate.google.com/translate?sl=auto&tl=auto&u="+location.href)},getNextPage=function(){var c=$(".article-next");currentPage+=1;var e="/articles/";if(-1

    '+n.articleTitle+"",n.hasUpdated&&(a+=""+Label.updatedLabel+""),n.articlePutTop&&(a+=""+Label.topArticleLabel+""),a+='

    '+n.articleAbstract+'
    ',n.hasUpdated?a+=Util.toDate(n.articleUpdateDate,"yy-MM-dd HH:mm"):a+=Util.toDate(n.articleCreateDate,"yy-MM-dd HH:mm"),a+=' '+n.authorName+'
    '+Label.tag1Label+" ";for(var l=n.articleTags.split(","),o=0;o
    "}e.html(a);for(var o=$(".archives>div"),c=0,h=0,g=[],d=0;d=o.length);f++)o[d].style.left=310*f+"px",g[f]=0=s.headerH+t?(s.$nav.css("position","fixed"),s.$body.css("marginTop","55px")):(s.$nav.css("position","inherit"),s.$body.css("marginTop","0")),e>s.headerH){var a=$(window).height(),i=e+a-21;$("body").height()-58<=e+a&&(i=$(".footer").offset().top-21),$("#goTop").fadeIn("slow").css("top",i)}else $("#goTop").hide()})},setDynamic:function(){var e=$(".dynamic");if(!($(".dynamic").length<1)){var t=e.find(".side-comments"),a=e.find(".side-tags"),i=e.find(".side-most-comment"),s=e.find(".side-most-view");t.height()>a.height()?a.height(t.height()):t.height(a.height()),i.height()>s.height()?s.height(i.height()):i.height(s.height()),$(".content-reset").each(function(){this.innerHTML=Util.replaceEmString($(this).html())})}}};ease.getCurrentPage(),ease.initCommon(),ease.scrollEvent(),ease.setNavCurrent(),ease.initArchives(),ease.setDynamic(); \ No newline at end of file +var goTranslate=function(){window.open("http://translate.google.com/translate?sl=auto&tl=auto&u="+location.href)},getNextPage=function(){var c=$(".article-next");currentPage+=1;var e="/articles/";if(-1

    '+s.articleTitle+"",s.hasUpdated&&(a+=""+Label.updatedLabel+""),s.articlePutTop&&(a+=""+Label.topArticleLabel+""),a+='

    '+s.articleAbstract+'
    ',s.hasUpdated?a+=Util.toDate(s.articleUpdateDate,"yy-MM-dd HH:mm"):a+=Util.toDate(s.articleCreateDate,"yy-MM-dd HH:mm"),a+=' '+s.authorName+'
    '+Label.tag1Label+" ";for(var l=s.articleTags.split(","),o=0;o
    "}e.html(a);for(var o=$(".archives>div"),c=0,h=0,g=[],d=0;d=o.length);v++)o[d].style.left=310*v+"px",g[v]=0=r.headerH+t?(r.$nav.css("position","fixed"),r.$body.css("marginTop","55px")):(r.$nav.css("position","inherit"),r.$body.css("marginTop","0")),e>r.headerH){var a=$(window).height(),i=e+a-21;$("body").height()-58<=e+a&&(i=$(".footer").offset().top-21),$("#goTop").fadeIn("slow").css("top",i)}else $("#goTop").hide()})},setDynamic:function(){var e=$(".dynamic");if(!($(".dynamic").length<1)){var t=e.find(".side-comments"),a=e.find(".side-tags"),i=e.find(".side-most-comment"),r=e.find(".side-most-view");t.height()>a.height()?a.height(t.height()):t.height(a.height()),i.height()>r.height()?r.height(i.height()):i.height(r.height()),$(".vditor-reset").each(function(){this.innerHTML=Util.replaceEmString($(this).html())})}}};ease.getCurrentPage(),ease.initCommon(),ease.scrollEvent(),ease.setNavCurrent(),ease.initArchives(),ease.setDynamic(); \ No newline at end of file diff --git a/skins/dashu03/js/jquery.min.js b/skins/dashu03/js/jquery.min.js index ddd711b..9e61e94 100644 --- a/skins/dashu03/js/jquery.min.js +++ b/skins/dashu03/js/jquery.min.js @@ -1,18 +1 @@ -/* - * 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(m,C){function c(e,t,n){if(n===C&&1===e.nodeType){var r="data-"+t.replace(se,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:ae.test(n)?fe.parseJSON(n):n)}catch(e){}fe.data(e,t,n)}else n=C}return n}function u(e){var t;for(t in e)if(("data"!==t||!fe.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function s(){return!1}function n(){return!0}function i(e){return!e||!e.parentNode||11===e.parentNode.nodeType}function t(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function r(e,n,r){if(n=n||0,fe.isFunction(n))return fe.grep(e,function(e,t){return!!n.call(e,t,e)===r});if(n.nodeType)return fe.grep(e,function(e,t){return e===n===r});if("string"==typeof n){var t=fe.grep(e,function(e){return 1===e.nodeType});if(Ae.test(n))return fe.filter(n,t,!r);n=fe.filter(n,t)}return fe.grep(e,function(e,t){return 0<=fe.inArray(e,n)===r})}function y(e){var t=Fe.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function l(e,t){if(1===t.nodeType&&fe.hasData(e)){var n,r,i,o=fe._data(e),a=fe._data(t,o),s=o.events;if(s)for(n in delete a.handle,a.events={},s)for(r=0,i=s[n].length;r").appendTo(F.body),n=t.css("display");return t.remove(),"none"!==n&&""!==n||(Qe=F.body.appendChild(Qe||fe.extend(F.createElement("iframe"),{frameBorder:0,width:0,height:0})),Ke&&Qe.createElement||((Ke=(Qe.contentWindow||Qe.contentDocument).document).write(""),Ke.close()),t=Ke.body.appendChild(Ke.createElement(e)),n=Ge(t,"display"),F.body.removeChild(Qe)),st[e]=n}function g(n,e,r,i){var t;if(fe.isArray(e))fe.each(e,function(e,t){r||ht.test(n)?i(n,t):g(n+"["+("object"==typeof t?e:"")+"]",t,r,i)});else if(r||"object"!==fe.type(e))i(n,e);else for(t in e)g(n+"["+t+"]",e[t],r,i)}function w(s){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r,i=e.toLowerCase().split(U),o=0,a=i.length;if(fe.isFunction(t))for(;o)[^>]*$|#([\w\-]*)$)/,V=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,G=/^[\],:{}\s]*$/,Q=/(?:^|:|,)(?:\s*\[)+/g,K=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,Z=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,ee=/^-ms-/,te=/-([\da-z])/gi,ne=function(e,t){return(t+"").toUpperCase()},re=function(){F.addEventListener?(F.removeEventListener("DOMContentLoaded",re,!1),fe.ready()):"complete"===F.readyState&&(F.detachEvent("onreadystatechange",re),fe.ready())},ie={};fe.fn=fe.prototype={constructor:fe,init:function(e,t,n){var r,i,o;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if("string"!=typeof e)return fe.isFunction(e)?n.ready(e):(e.selector!==C&&(this.selector=e.selector,this.context=e.context),fe.makeArray(e,this));if(!(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&3<=e.length?[null,e,null]:J.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1])return o=(t=t instanceof fe?t[0]:t)&&t.nodeType?t.ownerDocument||t:F,e=fe.parseHTML(r[1],o,!0),V.test(r[1])&&fe.isPlainObject(t)&&this.attr.call(e,t,!0),fe.merge(this,e);if((i=F.getElementById(r[2]))&&i.parentNode){if(i.id!==r[2])return n.find(e);this.length=1,this[0]=i}return this.context=F,this.selector=e,this},selector:"",jquery:"1.8.1",length:0,size:function(){return this.length},toArray:function(){return P.call(this)},get:function(e){return null==e?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){var r=fe.merge(this.constructor(),e);return r.prevObject=this,r.context=this.context,"find"===t?r.selector=this.selector+(this.selector?" ":"")+n:t&&(r.selector=this.selector+"."+t+"("+n+")"),r},each:function(e,t){return fe.each(this,e,t)},ready:function(e){return fe.ready.promise().done(e),this},eq:function(e){return-1===(e=+e)?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(P.apply(this,arguments),"slice",P.call(arguments).join(","))},map:function(n){return this.pushStack(fe.map(this,function(e,t){return n.call(e,t,e)}))},end:function(){return this.prevObject||this.constructor(null)},push:B,sort:[].sort,splice:[].splice},fe.fn.init.prototype=fe.fn,fe.extend=fe.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[1]||{},s=2),"object"!=typeof a&&!fe.isFunction(a)&&(a={}),l===s&&(a=this,--s);s
    a",e=f.getElementsByTagName("*"),(t=f.getElementsByTagName("a")[0]).style.cssText="top:1px;float:left;opacity:.5",!e||!e.length||!t)return{};r=(n=F.createElement("select")).appendChild(F.createElement("option")),i=f.getElementsByTagName("input")[0],a={leadingWhitespace:3===f.firstChild.nodeType,tbody:!f.getElementsByTagName("tbody").length,htmlSerialize:!!f.getElementsByTagName("link").length,style:/top/.test(t.getAttribute("style")),hrefNormalized:"/a"===t.getAttribute("href"),opacity:/^0.5/.test(t.style.opacity),cssFloat:!!t.style.cssFloat,checkOn:"on"===i.value,optSelected:r.selected,getSetAttribute:"t"!==f.className,enctype:!!F.createElement("form").enctype,html5Clone:"<:nav>"!==F.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===F.compatMode,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},i.checked=!0,a.noCloneChecked=i.cloneNode(!0).checked,n.disabled=!0,a.optDisabled=!r.disabled;try{delete f.test}catch(e){a.deleteExpando=!1}if(!f.addEventListener&&f.attachEvent&&f.fireEvent&&(f.attachEvent("onclick",c=function(){a.noCloneEvent=!1}),f.cloneNode(!0).fireEvent("onclick"),f.detachEvent("onclick",c)),(i=F.createElement("input")).value="t",i.setAttribute("type","radio"),a.radioValue="t"===i.value,i.setAttribute("checked","checked"),i.setAttribute("name","t"),f.appendChild(i),(o=F.createDocumentFragment()).appendChild(f.lastChild),a.checkClone=o.cloneNode(!0).cloneNode(!0).lastChild.checked,a.appendChecked=i.checked,o.removeChild(i),o.appendChild(f),f.attachEvent)for(l in{submit:!0,change:!0,focusin:!0})(u=(s="on"+l)in f)||(f.setAttribute(s,"return;"),u="function"==typeof f[s]),a[l+"Bubbles"]=u;return fe(function(){var e,t,n,r,i="padding:0;margin:0;border:0;display:block;overflow:hidden;",o=F.getElementsByTagName("body")[0];o&&((e=F.createElement("div")).style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",o.insertBefore(e,o.firstChild),t=F.createElement("div"),e.appendChild(t),t.innerHTML="
    t
    ",(n=t.getElementsByTagName("td"))[0].style.cssText="padding:0;margin:0;border:0;display:none",u=0===n[0].offsetHeight,n[0].style.display="",n[1].style.display="none",a.reliableHiddenOffsets=u&&0===n[0].offsetHeight,t.innerHTML="",t.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",a.boxSizing=4===t.offsetWidth,a.doesNotIncludeMarginInBodyOffset=1!==o.offsetTop,m.getComputedStyle&&(a.pixelPosition="1%"!==(m.getComputedStyle(t,null)||{}).top,a.boxSizingReliable="4px"===(m.getComputedStyle(t,null)||{width:"4px"}).width,(r=F.createElement("div")).style.cssText=t.style.cssText=i,r.style.marginRight=r.style.width="0",t.style.width="1px",t.appendChild(r),a.reliableMarginRight=!parseFloat((m.getComputedStyle(r,null)||{}).marginRight)),void 0!==t.style.zoom&&(t.innerHTML="",t.style.cssText=i+"width:1px;padding:1px;display:inline;zoom:1",a.inlineBlockNeedsLayout=3===t.offsetWidth,t.style.display="block",t.style.overflow="visible",t.innerHTML="
    ",t.firstChild.style.width="5px",a.shrinkWrapBlocks=3!==t.offsetWidth,e.style.zoom=1),o.removeChild(e),e=t=n=r=null)}),o.removeChild(f),e=t=n=r=i=o=f=null,a}();var ae=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,se=/([A-Z])/g;fe.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(fe.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return!!(e=e.nodeType?fe.cache[e[fe.expando]]:e[fe.expando])&&!u(e)},data:function(e,t,n,r){if(fe.acceptData(e)){var i,o,a=fe.expando,s="string"==typeof t,l=e.nodeType,u=l?fe.cache:e,c=l?e[a]:e[a]&&a;if(c&&u[c]&&(r||u[c].data)||!s||n!==C)return c||(l?e[a]=c=fe.deletedIds.pop()||++fe.uuid:c=a),u[c]||(u[c]={},l||(u[c].toJSON=fe.noop)),"object"!=typeof t&&"function"!=typeof t||(r?u[c]=fe.extend(u[c],t):u[c].data=fe.extend(u[c].data,t)),i=u[c],r||(i.data||(i.data={}),i=i.data),n!==C&&(i[fe.camelCase(t)]=n),s?null==(o=i[t])&&(o=i[fe.camelCase(t)]):o=i,o}},removeData:function(e,t,n){if(fe.acceptData(e)){var r,i,o,a=e.nodeType,s=a?fe.cache:e,l=a?e[fe.expando]:fe.expando;if(s[l]){if(t&&(r=n?s[l]:s[l].data)){fe.isArray(t)||(t=t in r?[t]:(t=fe.camelCase(t))in r?[t]:t.split(" "));for(i=0,o=t.length;if&&g.push({elem:this,matches:c.slice(f)}),t=0;t":"")+e.replace(J,"$1"),g=W[S][h];if(g)return r?0:O.call(g,0);for(l=e,u=[],0,f=F.preFilter,p=F.filter;l;){for(s in i&&!(o=V.exec(l))||(o&&(l=l.slice(o[0].length),a.selector=c),u.push(a=[]),c="",d&&(l=" "+l)),i=!1,(o=G.exec(l))&&(c+=o[0],l=l.slice(o[0].length),i=a.push({part:o.pop().replace(J," "),string:o[0],captures:o})),p)(o=ie[s].exec(l))&&(!f[s]||(o=f[s](o,t,n)))&&(c+=o[0],l=l.slice(o[0].length),i=a.push({part:s,string:o.shift(),captures:o}));if(!i)break}return c&&(a.selector=c),r?l.length:l?L.error(e):O.call(W(h,u),0)}function a(i,e,t,n){var o=e.dir,a=M++;return i||(i=function(e){return e===t}),e.first?function(e){for(;e=e[o];)if(1===e.nodeType)return i(e)&&e}:n?function(e){for(;e=e[o];)if(1===e.nodeType&&i(e))return e}:function(e){for(var t,n=a+"."+y,r=n+"."+v;e=e[o];)if(1===e.nodeType){if((t=e[S])===r)return e.sizset;if("string"==typeof t&&0===t.indexOf(n)){if(e.sizset)return e}else{if(e[S]=r,i(e))return e.sizset=!0,e;e.sizset=!1}}}}function s(n,r){return n?function(e){var t=r(e);return t&&n(!0===t?e:t)}:r}function l(e,t,n){for(var r,i,o=0;r=e[o];o++)i=F.relative[r.part]?a(i,F.relative[r.part],t,n):s(i,F.filter[r.part].apply(null,r.captures.concat(t,n)));return i}function H(e,t,n,r){for(var i=0,o=t.length;iF.cacheLength&&delete n[r.shift()],n[e]=t},n)},P=B(),W=B(),R=B(),$="[\\x20\\t\\r\\n\\f]",I="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",z=I.replace("w","w#"),X="\\["+$+"*("+I+")"+$+"*(?:([*^$|!~]?=)"+$+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+z+")|)|)"+$+"*\\]",U=":("+I+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+X+")|[^:]|\\\\.)*|.*))\\)|)",Y=":(nth|eq|gt|lt|first|last|even|odd)(?:\\(((?:-\\d)?\\d*)\\)|)(?=[^-]|$)",J=new RegExp("^"+$+"+|((?:^|[^\\\\])(?:\\\\.)*)"+$+"+$","g"),V=new RegExp("^"+$+"*,"+$+"*"),G=new RegExp("^"+$+"*([\\x20\\t\\r\\n\\f>+~])"+$+"*"),Q=new RegExp(U),K=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,Z=/[\x20\t\r\n\f]*[+~]/,ee=/:not\($/,te=/h\d/i,ne=/input|select|textarea|button/i,re=/\\(?!\\)/g,ie={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),NAME:new RegExp("^\\[name=['\"]?("+I+")['\"]?\\]"),TAG:new RegExp("^("+I.replace("w","w*")+")"),ATTR:new RegExp("^"+X),PSEUDO:new RegExp("^"+U),CHILD:new RegExp("^:(only|nth|last|first)-child(?:\\("+$+"*(even|odd|(([+-]|)(\\d*)n|)"+$+"*(?:([+-]|)"+$+"*(\\d+)|))"+$+"*\\)|)","i"),POS:new RegExp(Y,"ig"),needsContext:new RegExp("^"+$+"*[>+~]|"+Y,"i")},oe=function(e){var t=A.createElement("div");try{return e(t)}catch(e){return!1}finally{t=null}},ae=oe(function(e){return e.appendChild(A.createComment("")),!e.getElementsByTagName("*").length}),se=oe(function(e){return e.innerHTML="",e.firstChild&&typeof e.firstChild.getAttribute!==k&&"#"===e.firstChild.getAttribute("href")}),le=oe(function(e){e.innerHTML="";var t=typeof e.lastChild.getAttribute("multiple");return"boolean"!==t&&"string"!==t}),ue=oe(function(e){return e.innerHTML="",!(!e.getElementsByClassName||!e.getElementsByClassName("e").length)&&(e.lastChild.className="e",2===e.getElementsByClassName("e").length)}),ce=oe(function(e){e.id=S+0,e.innerHTML="
    ",j.insertBefore(e,j.firstChild);var t=A.getElementsByName&&A.getElementsByName(S).length===2+A.getElementsByName(S+0).length;return r=!A.getElementById(S),j.removeChild(e),t});try{O.call(j.childNodes,0)[0].nodeType}catch(e){O=function(e){for(var t,n=[];t=this[e];e++)n.push(t);return n}}L.matches=function(e,t){return L(e,null,null,t)},L.matchesSelector=function(e,t){return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(re,""),e[3]=(e[4]||e[5]||"").replace(re,""),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1]?(e[2]||L.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*("even"===e[2]||"odd"===e[2])),e[4]=+(e[6]+e[7]||"odd"===e[2])):e[2]&&L.error(e[0]),e},PSEUDO:function(e,t,n){var r,i;return ie.CHILD.test(e[0])?null:(e[3]?e[2]=e[3]:(r=e[4])&&(Q.test(r)&&(i=m(r,t,n,!0))&&(i=r.indexOf(")",r.length-i)-r.length)&&(r=r.slice(0,i),e[0]=e[0].slice(0,i)),e[2]=r),e.slice(0,3))}},filter:{ID:r?function(t){return t=t.replace(re,""),function(e){return e.getAttribute("id")===t}}:function(n){return n=n.replace(re,""),function(e){var t=typeof e.getAttributeNode!==k&&e.getAttributeNode("id");return t&&t.value===n}},TAG:function(t){return"*"===t?function(){return!0}:(t=t.replace(re,"").toLowerCase(),function(e){return e.nodeName&&e.nodeName.toLowerCase()===t})},CLASS:function(e){var t=P[S][e];return t||(t=P(e,new RegExp("(^|"+$+")"+e+"("+$+"|$)"))),function(e){return t.test(e.className||typeof e.getAttribute!==k&&e.getAttribute("class")||"")}},ATTR:function(r,i,o){return i?function(e){var t=L.attr(e,r),n=t+"";if(null==t)return"!="===i;switch(i){case"=":return n===o;case"!=":return n!==o;case"^=":return o&&0===n.indexOf(o);case"*=":return o&&-1",e.querySelectorAll("[selected]").length||N.push("\\["+$+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||N.push(":checked")}),oe(function(e){e.innerHTML="

    ",e.querySelectorAll("[test^='']").length&&N.push("[*^$]="+$+"*(?:\"\"|'')"),e.innerHTML="",e.querySelectorAll(":enabled").length||N.push(":enabled",":disabled")}),N=N.length&&new RegExp(N.join("|")),u=function(e,t,n,r,i){if(!(r||i||N&&N.test(e)))if(9===t.nodeType)try{return _.apply(n,O.call(t.querySelectorAll(e),0)),n}catch(e){}else if(1===t.nodeType&&"object"!==t.nodeName.toLowerCase()){var o,a,s,l=t.getAttribute("id"),u=l||S,c=Z.test(e)&&t.parentNode||t;for(l?u=u.replace(w,"\\$&"):t.setAttribute("id",u),u="[id='"+u+"']",a=0,s=(o=m(e,t,i)).length;a]*)\/>/gi,qe=/<([\w:]+)/,Be=/]","i"),Ie=/^(?:checkbox|radio)$/,ze=/checked\s*(?:[^=]|=\s*.checked.)/i,Xe=/\/(java|ecma)script/i,Ue=/^\s*\s*$/g,Ye={option:[1,""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]},Je=y(F),Ve=Je.appendChild(F.createElement("div"));Ye.optgroup=Ye.option,Ye.tbody=Ye.tfoot=Ye.colgroup=Ye.caption=Ye.thead,Ye.th=Ye.td,fe.support.htmlSerialize||(Ye._default=[1,"X
    ","
    "]),fe.fn.extend({text:function(e){return fe.access(this,function(e){return e===C?fe.text(this):this.empty().append((this[0]&&this[0].ownerDocument||F).createTextNode(e))},null,e,arguments.length)},wrapAll:function(t){if(fe.isFunction(t))return this.each(function(e){fe(this).wrapAll(t.call(this,e))});if(this[0]){var e=fe(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(n){return fe.isFunction(n)?this.each(function(e){fe(this).wrapInner(n.call(this,e))}):this.each(function(){var e=fe(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=fe.isFunction(t);return this.each(function(e){fe(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){fe.nodeName(this,"body")||fe(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!i(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=fe.clean(arguments);return this.pushStack(fe.merge(e,this),"before",this.selector)}},after:function(){if(!i(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=fe.clean(arguments);return this.pushStack(fe.merge(this,e),"after",this.selector)}},remove:function(e,t){for(var n,r=0;null!=(n=this[r]);r++)e&&!fe.filter(e,[n]).length||(!t&&1===n.nodeType&&(fe.cleanData(n.getElementsByTagName("*")),fe.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)for(1===e.nodeType&&fe.cleanData(e.getElementsByTagName("*"));e.firstChild;)e.removeChild(e.firstChild);return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return fe.clone(this,e,t)})},html:function(e){return fe.access(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===C)return 1===t.nodeType?t.innerHTML.replace(Me,""):C;if("string"==typeof e&&!We.test(e)&&(fe.support.htmlSerialize||!$e.test(e))&&(fe.support.leadingWhitespace||!Oe.test(e))&&!Ye[(qe.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(_e,"<$1>");try{for(;n")?a=e.cloneNode(!0):(Ve.innerHTML=e.outerHTML,Ve.removeChild(a=Ve.firstChild)),!(fe.support.noCloneEvent&&fe.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||fe.isXMLDoc(e)))for(f(e,a),r=p(e),i=p(a),o=0;r[o];++o)i[o]&&f(r[o],i[o]);if(t&&(l(e,a),n))for(r=p(e),i=p(a),o=0;r[o];++o)l(r[o],i[o]);return r=i=null,a},clean:function(e,t,n,r){var i,o,a,s,l,u,c,f,p,d,h,g=t===F&&Je,m=[];for(t&&void 0!==t.createDocumentFragment||(t=F),i=0;null!=(a=e[i]);i++)if("number"==typeof a&&(a+=""),a){if("string"==typeof a)if(Pe.test(a)){for(g=g||y(t),c=t.createElement("div"),g.appendChild(c),a=a.replace(_e,"<$1>"),s=(qe.exec(a)||["",""])[1].toLowerCase(),u=(l=Ye[s]||Ye._default)[0],c.innerHTML=l[1]+a+l[2];u--;)c=c.lastChild;if(!fe.support.tbody)for(f=Be.test(a),o=(p="table"!==s||f?""!==l[1]||f?[]:c.childNodes:c.firstChild&&c.firstChild.childNodes).length-1;0<=o;--o)fe.nodeName(p[o],"tbody")&&!p[o].childNodes.length&&p[o].parentNode.removeChild(p[o]);!fe.support.leadingWhitespace&&Oe.test(a)&&c.insertBefore(t.createTextNode(Oe.exec(a)[0]),c.firstChild),a=c.childNodes,c.parentNode.removeChild(c)}else a=t.createTextNode(a);a.nodeType?m.push(a):fe.merge(m,a)}if(c&&(a=c=g=null),!fe.support.appendChecked)for(i=0;null!=(a=m[i]);i++)fe.nodeName(a,"input")?v(a):void 0!==a.getElementsByTagName&&fe.grep(a.getElementsByTagName("input"),v);if(n)for(d=function(e){if(!e.type||Xe.test(e.type))return r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e)},i=0;null!=(a=m[i]);i++)fe.nodeName(a,"script")&&d(a)||(n.appendChild(a),void 0!==a.getElementsByTagName&&(h=fe.grep(fe.merge([],a.getElementsByTagName("script")),d),m.splice.apply(m,[i+1,0].concat(h)),i+=h.length));return m},cleanData:function(e,t){for(var n,r,i,o,a=0,s=fe.expando,l=fe.cache,u=fe.support.deleteExpando,c=fe.event.special;null!=(i=e[a]);a++)if((t||fe.acceptData(i))&&(n=(r=i[s])&&l[r])){if(n.events)for(o in n.events)c[o]?fe.event.remove(i,o):fe.removeEvent(i,o,n.handle);l[r]&&(delete l[r],u?delete i[s]:i.removeAttribute?i.removeAttribute(s):i[s]=null,fe.deletedIds.push(r))}}}),fe.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},He={},(Le=fe.uaMatch(O.userAgent)).browser&&(He[Le.browser]=!0,He.version=Le.version),He.chrome?He.webkit=!0:He.webkit&&(He.safari=!0),fe.browser=He,fe.sub=function(){function n(e,t){return new n.fn.init(e,t)}fe.extend(!0,n,this),n.superclass=this,((n.fn=n.prototype=this()).constructor=n).sub=this.sub,n.fn.init=function(e,t){return t&&t instanceof fe&&!(t instanceof n)&&(t=n(t)),fe.fn.init.call(this,e,t,r)},n.fn.init.prototype=n.fn;var r=n(F);return n};var Ge,Qe,Ke,Ze=/alpha\([^)]*\)/i,et=/opacity=([^)]*)/,tt=/^(top|right|bottom|left)$/,nt=/^(none|table(?!-c[ea]).+)/,rt=/^margin/,it=new RegExp("^("+z+")(.*)$","i"),ot=new RegExp("^("+z+")(?!px)[a-z%]+$","i"),at=new RegExp("^([-+])=("+z+")","i"),st={},lt={position:"absolute",visibility:"hidden",display:"block"},ut={letterSpacing:0,fontWeight:400},ct=["Top","Right","Bottom","Left"],ft=["Webkit","O","Moz","ms"],pt=fe.fn.toggle;fe.fn.extend({css:function(e,t){return fe.access(this,function(e,t,n){return n!==C?fe.style(e,t,n):fe.css(e,t)},e,t,1)<[^<]*)*<\/script>/gi,kt=/([?&])_=[^&]*/,St=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,At=fe.fn.load,jt={},Dt={},Lt=["*/"]+["*"];try{vt=M.href}catch(e){(vt=F.createElement("a")).href="",vt=vt.href}bt=St.exec(vt.toLowerCase())||[],fe.fn.load=function(e,t,n){if("string"!=typeof e&&At)return At.apply(this,arguments);if(!this.length)return this;var r,i,o,a=this,s=e.indexOf(" ");return 0<=s&&(r=e.slice(s,e.length),e=e.slice(0,s)),fe.isFunction(t)?(n=t,t=C):t&&"object"==typeof t&&(i="POST"),fe.ajax({url:e,type:i,dataType:"html",data:t,complete:function(e,t){n&&a.each(n,o||[e.responseText,t,e])}}).done(function(e){o=arguments,a.html(r?fe("
    ").append(e.replace(Et,"")).find(r):e)}),this},fe.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){fe.fn[t]=function(e){return this.on(t,e)}}),fe.each(["get","post"],function(e,i){fe[i]=function(e,t,n,r){return fe.isFunction(t)&&(r=r||n,n=t,t=C),fe.ajax({type:i,url:e,data:t,success:n,dataType:r})}}),fe.extend({getScript:function(e,t){return fe.get(e,C,t,"script")},getJSON:function(e,t,n){return fe.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?T(e,fe.ajaxSettings):(t=e,e=fe.ajaxSettings),T(e,t),e},ajaxSettings:{url:vt,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/.test(bt[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Lt},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":m.String,"text html":!0,"text json":fe.parseJSON,"text xml":fe.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:w(jt),ajaxTransport:w(Dt),ajax:function(e,t){function n(e,t,n,r){var i,o,a,s,l,u=t;2!==w&&(w=2,d&&clearTimeout(d),p=C,f=r||"",T.readyState=0 -
    ${comment.commentContent}
    +
    ${comment.commentContent}
    diff --git a/skins/iMobile/article.ftl b/skins/iMobile/article.ftl index 206f6a9..bb4a843 100644 --- a/skins/iMobile/article.ftl +++ b/skins/iMobile/article.ftl @@ -59,7 +59,7 @@ Seves -
    +
    ${article.articleContent}<#--

    本文链接:${servePath}${article.articlePermalink}

    --> <#if "" != article.articleSign.signHTML?trim> diff --git a/skins/iMobile/css/base.css b/skins/iMobile/css/base.css index 66d652b..fa7341a 100644 --- a/skins/iMobile/css/base.css +++ b/skins/iMobile/css/base.css @@ -1,18 +1 @@ -/** - * 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 . - */ -.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 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:0.15em;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(252,41,41,0.12);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}/*!Copyright (c) 2010-2016, b3log.org & hacpai.com Licensed under the Apache License, Version 2.0 (the "License");*/body,html{height:100%;max-height:100%}body,dl,h1,h2,h3,h4,h5,h6,ol,p,ul{text-rendering:geometricPrecision}dl dd,dl dt{margin-bottom:1em}body,li li{margin:0}blockquote cite,dl dt{font-weight:700}.fn-left,dl dt{float:left}.form button,a,blockquote,.side .avatar{transition:all .3s ease}.classify li,.comments,.dynamic li,.side nav ul{list-style:none}html{font-size:16px;-webkit-tap-highlight-color:transparent}body{overflow-x:hidden;font-family:"Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;letter-spacing:.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;background-color:#eaeaea}a{text-decoration:none;color:#0099CC;outline:0;cursor:pointer}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}h1{letter-spacing:-2px;text-indent:-3px}h2{letter-spacing:-1px}img{max-width:100%}dl,ol,p,ul{-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}ol,ul{padding-left:3rem}ol ol,ol ul,ul ol,ul ul{padding-left:2em}dl dt{width:180px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}dl dd{margin-left:200px}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;padding:0 0 0 1.75em;border-left:5px solid}blockquote:hover{border-color:#a9a9a9}blockquote p{margin:.8em 0;font-size:.9em}blockquote small{display:inline-block;margin:.8em 0 .8em 1.5em;font-size:.9em;color:#CCC}blockquote small:before{content:"\2014 \00A0"}blockquote cite a{font-weight:400}mark{background-color:#fdffb6}code,tt{padding:1px 3px;font-family:Inconsolata, Consolas, "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;font-size:.9em;white-space:pre-wrap;border:1px solid #E3EDF3;background:#F7FAFB;border-radius:2px}pre{font-size:.9em;overflow-x:auto}pre code,pre tt{font-size:inherit;white-space:unset;background:0 0;border:none;padding:0}.fn-clear:after,.fn-clear:before{display:table;content:""}.fn-clear:after{clear:both}.fn-right{float:right}.fn-none,.hidden{display:none}#conoption{padding:0 10px}#conoption .fn-right.iconfont,#comments .fn-right>.iconfont,.side .toc-btn,.side .toc .close{font-size:24px}#commentForm{display:none;border-collapse:inherit;border:0}#commentForm td{padding:3px 0;border:0}@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:400;font-style:normal}[class*=" icon-"],[class^=icon-]{font-family:icomoon;speak:none;font-style:normal;font-weight:400;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;cursor:pointer}.form button,.form input,.form textarea{border:1px solid #CCC;background-color:#FAFAFA;padding:7px 8px;width:100%;box-sizing:border-box;outline:0;font-family:"Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif}.tags .tag,footer.footer{font-family:Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", "Microsoft Yahei", monospace}.form button{width:auto;vertical-align:bottom;cursor:pointer}.form button:hover{background-color:#a9a9a9;color:#FFF;box-shadow:0 0 0;border-color:#a9a9a9}.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 #a9a9a9}span.error-msg{padding:3px;font-size:14px;font-weight:bold}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.em13,.em14{background-image:url("../images/emotions/emotions.png");cursor:pointer;float:left;height:24px;margin-right:5px;width:24px;transition:all .2s ease-out;-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out;background-size:120px}#emotions span:hover{transform:scale(1.2) rotate(360deg);-webkit-transform:scale(1.2) rotate(360deg);-moz-transform:scale(1.2) rotate(360deg)}.em01{background-position:-24px 0}.em02{background-position:-48px 0}.em03{background-position:-72px 0}.em04{background-position:-96px 0}.em05{background-position:0 -24px}.em06{background-position:-24px -24px}.em07{background-position:-48px -24px}.em08{background-position:-72px -24px}.em09{background-position:-96px -24px}.em10{background-position:0 -48px}.em11{background-position:-24px -48px}.em12{background-position:-48px -48px}.em13{background-position:-72px -48px}.em14{background-position:-96px -48px}.side{position:fixed;background-color:#FFF;height:100%;width:330px}.side a,.side .mysites{color:#696969;font-size:30px}.side .toc a,.side nav a{font-size:14px}.side .toc a:hover,.side a:hover,.side .mysites:hover{color:#a9a9a9}.side .overlay{height:180px;background-color:#eee;position:absolute;opacity:.333;width:100%}.side .content{width:76%;text-align:center;margin:0 auto 0;position:relative;z-index:1}.side .toc,.side footer,main{position:absolute}.side .avatar{display:block;border:5px solid #fff;border-radius:50%;width:128px;height:128px;margin:25px auto 40px;transition:all .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}.side nav span.iconfont{font-size:24px;margin:0 5px}.side footer{bottom:15px;width:228px;text-align:center;left:50%;margin-left:-114px}.side footer>div{margin-bottom:10px}.side .toc-btn{float:right;padding:10px;display:none}.side .toc{transition:all .3s ease;height:100%;width:100%;top:0;left:0;z-index:10;overflow:auto;background:#5d5d5d}.side .toc li{padding:2px 0;border-bottom:1px solid #717171;border-top:1px solid #5d5d5d}.side .toc a{color:#e5e5e5;display:block}.side .b3-solo-list{padding:0;margin-top:40px}.abstract .b3-solo-list{display:none}.side .toc .close{color:#fff;float:right;padding:10px}main{right:0;min-height:100%;background:#eaeaea;left:330px;width:auto}article{margin:30px;border:1px solid #ddd;background:#fff;position:relative;transition:all .2s ease-in;visibility:hidden}.share span,.tags .avatar{transition:all .2s ease-out 0s}article.post,article.show{visibility:visible}::selection{color:#fff;background-color:#3498db}::-moz-selection{color:#fff;background-color:#3498db}::-webkit-selection{color:#fff;background-color:#3498db}.toc__panel--hide{transform:translate(-750px)}article.show,.side .toc{-webkit-animation:bounce .6s;animation:bounce .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)}}.tags .tag:hover,article .abstract a:hover,nav.pagination a.page-num:hover{opacity:.7}article header{border-left:5px solid;padding:15px 30px 15px 25px}article header:hover{border-color:#a9a9a9}article header h2{margin:0;font-size:24px}article header h2:not(.dynamic-title){padding-right:110px}article header a{color:#696969;margin-left:0;font-weight:300;line-height:35px}article header a:hover{color:#a9a9a9}article header sup{font-size:14px;font-weight:400;color:#999}article header sup .iconfont{font-size:26px}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;border-top:1px solid #ddd}.tags .avatar{width:20px;border-radius:10px;right:30px;position:absolute;bottom:25px}.share span{cursor:pointer}.share span:hover,.tags .avatar:hover{transform:rotate(360deg);color:#333}.tags .tag{color:#fff;font-size:10px;height:18px;line-height:18px;display:inline-block;padding:0 5px 0 10px;position:relative;border-radius:0 5px 5px 0;margin:5px 9px 5px 8px;background-color:#88acdb}.tags .tag:after,.tags .tag:before{content:" ";position:absolute}.tags .tag:before{width:0;height:0;top:0;left:-18px;border:9px solid transparent;border-right-color:#88acdb}.tags .tag:after{width:4px;height:4px;background-color:#fff;border-radius:4px;box-shadow:0 0 0 1px rgba(0,0,0,0.3);top:7px;left:2px}a.color1.tag{background:#999}a.color1.tag:before{border-right-color:#999}a.color2.tag{background:#ccc}a.color2.tag:before{border-right-color:#ccc}a.color3.tag{background:#666}a.color3.tag:before{border-right-color:#666}nav.pagination{text-align:center;margin-top:30px}nav.pagination .page-num{width:30px;height:30px;background:#4d4d4d;border-radius:50%;display:inline-block;color:#fff;line-height:30px;font-size:18px;margin:0 3px 30px}nav.pagination .page-num.current{background:#88acdb}nav.pagination .extend{font-size:24px;color:#4d4d4d;margin:0 5px;opacity:0}nav.pagination .extend:hover{color:#a9a9a9}nav.pagination:hover .extend{opacity:1}.post .tags .avatar,.side nav ul li.hide{bottom:inherit;margin-top:4px}.post section.tags{margin:0}.post header{padding-bottom:0}.post .share{padding:10px 0 0;margin-top:15px;font-size:22px}.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 .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;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;line-height:20px;text-shadow:0 1px #fff;opacity:.6;margin:0 30px 30px}footer.footer .icon-goup,#backBtm{position:fixed;bottom:85px;right:5px;-webkit-animation:upbounce 4s 2s infinite;animation:upbounce 4s 2s infinite;z-index:10;font-size:30px;cursor:pointer;color:#999;transition:all .3s ease}#backBtm{bottom:50px;display:none}footer.footer .icon-goup:hover,#backBtm: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%,100%,20%,50%,80%{-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{font-size:20px;float:left;margin:0 10px 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 .comments li:last-child{border-bottom-width:0}li.icontitle{font-size:26px;line-height:36px}.dynamic h2 li{float:left;margin:0 10px 20px 0}div.comment-content{overflow-wrap:break-word}table{width:100%;border-collapse:collapse;border:1px solid #ccc}table th,table td{border:1px solid #E6E6E6;padding:3px 5px;word-break:normal}table th{background:#F3F3F3}th,td{text-align:left}@media only screen and (max-width: 750px){select:focus,textarea:focus,input:focus{font-size:16px !important}.side,.side .avatar{position:relative}.side .avatar{margin:25px auto 50px}.side{height:400px;width:100%;background:#666 url("/images/bg.jpg") center -40px}.side .toc-btn{color:#000}main{position:initial}.side .content{margin-top:0;padding-top:50px}.side .overlay{height:100%;z-index:0}.side .content hgroup{margin:70px 0 10px}.side a{color:#fff}.side .subtitle{margin:0 auto;color:#ccc}.side nav{font-weight:bold}.side nav ul{color:#ccc}.side nav ul li.hide,.side footer{display:none}article{margin:10px}.comments{margin:20px 20px 0}footer.footer{text-align:center}footer.footer .fn-right{float:none;display:block}}@media only screen and (max-height: 480px){.side footer>div{display:none}}@media only screen and (max-height: 405px){.side nav{display:none}}@media only screen and (max-height: 350px){.side>footer{display:none}}a,b,i,p,h1,h2,h3,h4,h5,h6,td,th,li,div,sub,sup,span,time,footer,section{moz-user-select:-moz-none;-moz-user-select:none;-o-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}#hideinfo{padding:20px 40px;line-height:24px;background-color:#333;color:#fff;font-weight:300}#hideinfo a{color:#fff}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track-piece{background-color:#eee;-webkit-border-radius:3px}::-webkit-scrollbar-thumb{background-color:#999;outline:0;border:1px solid #999;-webkit-border-radius:3px}::-webkit-scrollbar-thumb:hover{background-color:#666} +html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;height:100%}body{margin:0;font-family:"Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;font-size:14px;background-color:#fff;-webkit-font-smoothing:antialiased;-webkit-overflow-scrolling:touch}::-moz-selection{text-shadow:none;background:rgba(65,131,196,0.4)}::selection{text-shadow:none;background:rgba(66,133,244,0.4)}ul,ol{margin:0;padding:0}h1,h2,h3,h4,h5,h6,dl,dd,p{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none}a{outline:0;text-decoration:none}a:hover{text-decoration:underline}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{max-width:100%;vertical-align:middle;border:0;height:auto;-ms-interpolation-mode:bicubic;overflow:hidden;font-size:12px}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;font-family:"Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;outline:none}button,input{line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}input[type="search"]{box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}svg{fill:currentColor;display:inline-block;stroke-width:0;stroke:currentColor;width:14px;height:14px}blockquote{margin:0}@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;overflow:hidden}.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;color:#fff;font-size:12px;line-height:14px}.vditor-upload ul{margin:0}.vditor-upload--tip{height:auto;opacity:1 !important}.vditor-upload--tip .vditor-upload__close{display:block}.vditor-upload__close{display:none;position:absolute;right:5px;cursor:pointer;padding:5px;top:0}.vditor-upload__progress{height:100%;background-color:rgba(66,133,244,0.8);transition:all .15s ease-in-out;padding:5px;box-sizing:border-box}.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}.vditor-reset{font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;word-wrap:break-word;overflow:auto;line-height:1.65;font-size:16px;word-break:break-word}.vditor-reset ul,.vditor-reset ol{padding-left:2em;margin-top:0;margin-bottom:16px}.vditor-reset li{margin-top:0.25em}.vditor-reset audio{max-width:100%}.vditor-reset video{max-height:90vh}.vditor-reset img.emoji{cursor:auto;max-width:20px;vertical-align:top}.vditor-reset h1,.vditor-reset h2,.vditor-reset h3,.vditor-reset h4,.vditor-reset h5,.vditor-reset h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.vditor-reset h1{padding-bottom:0.3em;font-size:1.7em;border-bottom:1px solid #eee}.vditor-reset h2{padding-bottom:0.3em;font-size:1.5em;border-bottom:1px solid #eee}.vditor-reset h3{font-size:1.25em}.vditor-reset h4{font-size:1em}.vditor-reset h5{font-size:0.875em}.vditor-reset h6{font-size:0.85em}.vditor-reset hr{height:0.15em;padding:0;margin:24px 0;background-color:#e7e7e7;border:0}.vditor-reset p{margin-top:0;margin-bottom:16px}.vditor-reset blockquote{padding:0 1em;color:#777;border-left:0.25em solid #ddd;margin:0 0 16px 0}.vditor-reset blockquote p{margin:0}.vditor-reset ins>iframe{border:0}.vditor-reset iframe{border:1px solid #d1d5da}.vditor-reset table{width:100%;border:1px solid #dedede;margin:15px auto;border-collapse:collapse;empty-cells:show}.vditor-reset thead{text-align:center}.vditor-reset td,.vditor-reset th{height:35px;border:1px solid #dedede;padding:0 10px}.vditor-reset th{font-weight:bold;text-align:center !important;background:rgba(158,188,226,0.2)}.vditor-reset tbody tr:nth-child(2n){background:rgba(158,188,226,0.12)}.vditor-reset tr:hover{background:#efefef}.vditor-reset code{padding:0.2em 0.4em;margin:0;font-size:85%;background-color:rgba(27,31,35,0.05);border-radius:3px;font-family:mononoki,Consolas,"Liberation Mono",Menlo,Courier,monospace;word-break:break-word}.vditor-reset pre>code{padding:0.5em;background-color:rgba(0,0,0,0.04);background-image:url("https://cdn.jsdelivr.net/npm/vditor@1.1.2/src/assets/images/code-bg.png");background-size:20px 20px;border-radius:5px;display:block;overflow:auto}.vditor-reset pre:hover div.vditor-copy{display:block}.vditor-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 #d1d5da;border-bottom-color:#bbb;border-radius:3px;box-shadow:inset 0 -1px 0 #bbb}.vditor-reset summary{cursor:pointer}.vditor-reset summary:focus{outline:none}.vditor-reset svg{height:auto;width:auto}.vditor-task{list-style:none;margin-left:-1.4em;display:flex;align-items:center}.vditor-task input{margin-right:5px}.vditor-copy{position:relative;display:none}.vditor-copy textarea{position:absolute;top:-100000px}.vditor-copy span{cursor:pointer;position:absolute;right:0.5em;top:0.5em;height:20px;width:20px}.vditor-copy svg{height:20px;width:20px}/*!Copyright (c) 2010-2016, b3log.org & hacpai.com Licensed under the Apache License, Version 2.0 (the "License");*/body,html{height:100%;max-height:100%}body,dl,h1,h2,h3,h4,h5,h6,ol,p,ul{text-rendering:geometricPrecision}dl dd,dl dt{margin-bottom:1em}body,li li{margin:0}blockquote cite,dl dt{font-weight:700}.fn-left,dl dt{float:left}.form button,a,blockquote,.side .avatar{transition:all .3s ease}.classify li,.comments,.dynamic li,.side nav ul{list-style:none}html{font-size:16px;-webkit-tap-highlight-color:transparent}body{overflow-x:hidden;font-family:"Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;letter-spacing:.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;background-color:#eaeaea}a{text-decoration:none;color:#0099CC;outline:0;cursor:pointer}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}h1{letter-spacing:-2px;text-indent:-3px}h2{letter-spacing:-1px}img{max-width:100%}dl,ol,p,ul{-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}ol,ul{padding-left:3rem}ol ol,ol ul,ul ol,ul ul{padding-left:2em}dl dt{width:180px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}dl dd{margin-left:200px}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;padding:0 0 0 1.75em;border-left:5px solid}blockquote:hover{border-color:#a9a9a9}blockquote p{margin:.8em 0;font-size:.9em}blockquote small{display:inline-block;margin:.8em 0 .8em 1.5em;font-size:.9em;color:#CCC}blockquote small:before{content:"\2014 \00A0"}blockquote cite a{font-weight:400}mark{background-color:#fdffb6}code,tt{padding:1px 3px;font-family:Inconsolata, Consolas, "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;font-size:.9em;white-space:pre-wrap;border:1px solid #E3EDF3;background:#F7FAFB;border-radius:2px}pre{font-size:.9em;overflow-x:auto}pre code,pre tt{font-size:inherit;white-space:unset;background:0 0;border:none;padding:0}.fn-clear:after,.fn-clear:before{display:table;content:""}.fn-clear:after{clear:both}.fn-right{float:right}.fn-none,.hidden{display:none}#conoption{padding:0 10px}#conoption .fn-right.iconfont,#comments .fn-right>.iconfont,.side .toc-btn,.side .toc .close{font-size:24px}#commentForm{display:none;border-collapse:inherit;border:0}#commentForm td{padding:3px 0;border:0}@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:400;font-style:normal}[class*=" icon-"],[class^=icon-]{font-family:icomoon;speak:none;font-style:normal;font-weight:400;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;cursor:pointer}.form button,.form input,.form textarea{border:1px solid #CCC;background-color:#FAFAFA;padding:7px 8px;width:100%;box-sizing:border-box;outline:0;font-family:"Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif}.tags .tag,footer.footer{font-family:Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", "Microsoft Yahei", monospace}.form button{width:auto;vertical-align:bottom;cursor:pointer}.form button:hover{background-color:#a9a9a9;color:#FFF;box-shadow:0 0 0;border-color:#a9a9a9}.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 #a9a9a9}span.error-msg{padding:3px;font-size:14px;font-weight:bold}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.em13,.em14{background-image:url("../images/emotions/emotions.png");cursor:pointer;float:left;height:24px;margin-right:5px;width:24px;transition:all .2s ease-out;-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out;background-size:120px}#emotions span:hover{transform:scale(1.2) rotate(360deg);-webkit-transform:scale(1.2) rotate(360deg);-moz-transform:scale(1.2) rotate(360deg)}.em01{background-position:-24px 0}.em02{background-position:-48px 0}.em03{background-position:-72px 0}.em04{background-position:-96px 0}.em05{background-position:0 -24px}.em06{background-position:-24px -24px}.em07{background-position:-48px -24px}.em08{background-position:-72px -24px}.em09{background-position:-96px -24px}.em10{background-position:0 -48px}.em11{background-position:-24px -48px}.em12{background-position:-48px -48px}.em13{background-position:-72px -48px}.em14{background-position:-96px -48px}.side{position:fixed;background-color:#FFF;height:100%;width:330px}.side a,.side .mysites{color:#696969;font-size:30px}.side .toc a,.side nav a{font-size:14px}.side .toc a:hover,.side a:hover,.side .mysites:hover{color:#a9a9a9}.side .overlay{height:180px;background-color:#eee;position:absolute;opacity:.333;width:100%}.side .content{width:76%;text-align:center;margin:0 auto 0;position:relative;z-index:1}.side .toc,.side footer,main{position:absolute}.side .avatar{display:block;border:5px solid #fff;border-radius:50%;width:128px;height:128px;margin:25px auto 40px;transition:all .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}.side nav span.iconfont{font-size:24px;margin:0 5px}.side footer{bottom:15px;width:228px;text-align:center;left:50%;margin-left:-114px}.side footer>div{margin-bottom:10px}.side .toc-btn{float:right;padding:10px;display:none}.side .toc{transition:all .3s ease;height:100%;width:100%;top:0;left:0;z-index:10;overflow:auto;background:#5d5d5d}.side .toc li{padding:2px 0;border-bottom:1px solid #717171;border-top:1px solid #5d5d5d}.side .toc a{color:#e5e5e5;display:block}.side .b3-solo-list{padding:0;margin-top:40px}.abstract .b3-solo-list{display:none}.side .toc .close{color:#fff;float:right;padding:10px}main{right:0;min-height:100%;background:#eaeaea;left:330px;width:auto}article{margin:30px;border:1px solid #ddd;background:#fff;position:relative;transition:all .2s ease-in;visibility:hidden}.share span,.tags .avatar{transition:all .2s ease-out 0s}article.post,article.show{visibility:visible}::selection{color:#fff;background-color:#3498db}::-moz-selection{color:#fff;background-color:#3498db}::-webkit-selection{color:#fff;background-color:#3498db}.toc__panel--hide{transform:translate(-750px)}article.show,.side .toc{-webkit-animation:bounce .6s;animation:bounce .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)}}.tags .tag:hover,article .abstract a:hover,nav.pagination a.page-num:hover{opacity:.7}article header{border-left:5px solid;padding:15px 30px 15px 25px}article header:hover{border-color:#a9a9a9}article header h2{margin:0;font-size:24px}article header h2:not(.dynamic-title){padding-right:110px}article header a{color:#696969;margin-left:0;font-weight:300;line-height:35px}article header a:hover{color:#a9a9a9}article header sup{font-size:14px;font-weight:400;color:#999}article header sup .iconfont{font-size:26px}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;border-top:1px solid #ddd}.tags .avatar{width:20px;border-radius:10px;right:30px;position:absolute;bottom:25px}.share span{cursor:pointer}.share span:hover,.tags .avatar:hover{transform:rotate(360deg);color:#333}.tags .tag{color:#fff;font-size:10px;height:18px;line-height:18px;display:inline-block;padding:0 5px 0 10px;position:relative;border-radius:0 5px 5px 0;margin:5px 9px 5px 8px;background-color:#88acdb}.tags .tag:after,.tags .tag:before{content:" ";position:absolute}.tags .tag:before{width:0;height:0;top:0;left:-18px;border:9px solid transparent;border-right-color:#88acdb}.tags .tag:after{width:4px;height:4px;background-color:#fff;border-radius:4px;box-shadow:0 0 0 1px rgba(0,0,0,0.3);top:7px;left:2px}a.color1.tag{background:#999}a.color1.tag:before{border-right-color:#999}a.color2.tag{background:#ccc}a.color2.tag:before{border-right-color:#ccc}a.color3.tag{background:#666}a.color3.tag:before{border-right-color:#666}nav.pagination{text-align:center;margin-top:30px}nav.pagination .page-num{width:30px;height:30px;background:#4d4d4d;border-radius:50%;display:inline-block;color:#fff;line-height:30px;font-size:18px;margin:0 3px 30px}nav.pagination .page-num.current{background:#88acdb}nav.pagination .extend{font-size:24px;color:#4d4d4d;margin:0 5px;opacity:0}nav.pagination .extend:hover{color:#a9a9a9}nav.pagination:hover .extend{opacity:1}.post .tags .avatar,.side nav ul li.hide{bottom:inherit;margin-top:4px}.post section.tags{margin:0}.post header{padding-bottom:0}.post .share{padding:10px 0 0;margin-top:15px;font-size:22px}.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 .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;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;line-height:20px;text-shadow:0 1px #fff;opacity:.6;margin:0 30px 30px}footer.footer .icon-goup,#backBtm{position:fixed;bottom:85px;right:5px;-webkit-animation:upbounce 4s 2s infinite;animation:upbounce 4s 2s infinite;z-index:10;font-size:30px;cursor:pointer;color:#999;transition:all .3s ease}#backBtm{bottom:50px;display:none}footer.footer .icon-goup:hover,#backBtm: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%,100%,20%,50%,80%{-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{font-size:20px;float:left;margin:0 10px 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 .comments li:last-child{border-bottom-width:0}li.icontitle{font-size:26px;line-height:36px}.dynamic h2 li{float:left;margin:0 10px 20px 0}div.comment-content{overflow-wrap:break-word}table{width:100%;border-collapse:collapse;border:1px solid #ccc}table th,table td{border:1px solid #E6E6E6;padding:3px 5px;word-break:normal}table th{background:#F3F3F3}th,td{text-align:left}@media only screen and (max-width: 750px){select:focus,textarea:focus,input:focus{font-size:16px !important}.side,.side .avatar{position:relative}.side .avatar{margin:25px auto 50px}.side{height:400px;width:100%;background:#666 url("/images/bg.jpg") center -40px}.side .toc-btn{color:#000}main{position:initial}.side .content{margin-top:0;padding-top:50px}.side .overlay{height:100%;z-index:0}.side .content hgroup{margin:70px 0 10px}.side a{color:#fff}.side .subtitle{margin:0 auto;color:#ccc}.side nav{font-weight:bold}.side nav ul{color:#ccc}.side nav ul li.hide,.side footer{display:none}article{margin:10px}.comments{margin:20px 20px 0}footer.footer{text-align:center}footer.footer .fn-right{float:none;display:block}}@media only screen and (max-height: 480px){.side footer>div{display:none}}@media only screen and (max-height: 405px){.side nav{display:none}}@media only screen and (max-height: 350px){.side>footer{display:none}}a,b,i,p,h1,h2,h3,h4,h5,h6,td,th,li,div,sub,sup,span,time,footer,section{moz-user-select:-moz-none;-moz-user-select:none;-o-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}#hideinfo{padding:20px 40px;line-height:24px;background-color:#333;color:#fff;font-weight:300}#hideinfo a{color:#fff}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track-piece{background-color:#eee;-webkit-border-radius:3px}::-webkit-scrollbar-thumb{background-color:#999;outline:0;border:1px solid #999;-webkit-border-radius:3px}::-webkit-scrollbar-thumb:hover{background-color:#666} diff --git a/skins/iMobile/css/base.scss b/skins/iMobile/css/base.scss index a94e197..7594ca1 100644 --- a/skins/iMobile/css/base.scss +++ b/skins/iMobile/css/base.scss @@ -16,7 +16,8 @@ * along with this program. If not, see . */ @charset "utf-8"; -@import "../../../scss/reset-content"; +@import "../../../scss/reset"; +@import "vditor/src/assets/scss/classic"; /*!Copyright (c) 2010-2016, b3log.org & hacpai.com Licensed under the Apache License, Version 2.0 (the "License");*/ diff --git a/skins/iMobile/footer.ftl b/skins/iMobile/footer.ftl index 534e05a..b9b179d 100644 --- a/skins/iMobile/footer.ftl +++ b/skins/iMobile/footer.ftl @@ -55,11 +55,12 @@ $("#stat_copy").attr("lang","\u60a8\u662f\u6765\u81ea "+returnCitySN.cname+" \u7684\u8bbf\u5ba2"); } var today = new Date().getDate(); - var latkeConfig={"servePath": "${servePath}", "staticServePath": "${staticServePath}", "isLoggedIn": "${isLoggedIn?string}", "userName": "${userName}"}; + var latkeConfig ={"servePath": "${servePath}", "staticServePath": "${staticServePath}", "isLoggedIn": "${isLoggedIn?string}", "userName": "${userName}"}; var Label={ - "skinDirName":"${skinDirName}","em00Label":"${em00Label}","em01Label":"${em01Label}","em03Label":"${em03Label}","em04Label":"${em04Label}", - "em05Label":"${em05Label}","em06Label":"${em06Label}","em07Label":"${em07Label}","em08Label":"${em08Label}","em09Label":"${em09Label}", - "em10Label":"${em10Label}","em11Label":"${em11Label}","em12Label":"${em12Label}","em13Label":"${em13Label}","em14Label":"${em14Label}" + "markedAvailable": ${markedAvailable?c}, + "hljsStyle": "atom-one-light", + "langLabel": "${langLabel}", + "skinDirName":"${skinDirName}" }; Util.init() <#-- 参数说明:消息、选择器、方向(顶右底左对应1234)、是否固定 --> diff --git a/skins/iMobile/js/common.min.js b/skins/iMobile/js/common.min.js index cfd6a74..3601a90 100644 --- a/skins/iMobile/js/common.min.js +++ b/skins/iMobile/js/common.min.js @@ -1,18 +1 @@ -/* - * 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 . - */ var Util={parseMarkdown:function(e){var t=!1,i=!1;e=e||"article-body";if($("."+e).each(function(){$(this).find("p").each(function(){(-1<$(this).text().indexOf("$\\")||-1<$(this).text().indexOf("$$"))&&(t=!0)}),0<$(this).find("code.lang-flow, code.language-flow").length&&(i=!0)}),t){var n=function(){MathJax.Hub.Config({tex2jax:{inlineMath:[["$","$"],["\\(","\\)"]],displayMath:[["$$","$$"]],processEscapes:!0,processEnvironments:!0,skipTags:["pre","code","script"]}}),MathJax.Hub.Typeset()};"undefined"!=typeof MathJax?n():$.ajax({method:"GET",url:"https://cdn.staticfile.org/MathJax/MathJax-2.6-latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML&_=1473258780393",dataType:"script",cache:!0}).done(function(){n()})}if(i){var o=function(){$("."+e+" code.lang-flow, ."+e+" code.language-flow").each(function(e){var t=$(this),i="symFlow"+(new Date).getTime()+e;t.hide();var n=flowchart.parse($.trim(t.text()));t.parent().after('
    '),n.drawSVG(i),t.parent().remove(),$("#"+i).find("svg").height("auto").width("auto")})};"undefined"!=typeof flowchart?o():$.ajax({method:"GET",url:latkeConfig.staticServePath+"/js/lib/flowchart/flowchart.min.js",dataType:"script",cache:!0}).done(function(){o()})}},isLoggedIn:function(){return!!(1===$("#admin").length&&$("#admin").data("login")||"true"===latkeConfig.isLoggedIn)},getUserName:function(){return 1===$("#adminName").length?$("#adminName").text():latkeConfig.userName},error:function(){$("#tipMsg").text("Error: "+arguments[0]+" File: "+arguments[1]+"\nLine: "+arguments[2]+" please report this issue on https://github.com/b3log/solo/issues/new"),$("#loadMsg").text("")},killIE:function(){var e=function(){if(""===Cookie.readCookie("showKill")){var e=($(window).width()-701)/2,t=($(window).height()-420)/2;$("body").append("
    ")}};if($.browser.msie){if("6.0"===$.browser.version||"7.0"===$.browser.version)return void e();if(window.external&&window.external.twGetRunPath){var t=external.twGetRunPath();if(t&&-1 "+t[i].substr(3)}return e},proessURL:function(e){return/^\w+:\/\//.test(e)||(e="http://"+e),e},switchMobile:function(e){Cookie.createCookie("btouch_switch_toggle",e,365),setTimeout(function(){location.reload()},1250)},setTopBar:function(){var e=$("#top");if(1===e.length){var t=$("#showTop");t.click(function(){e.slideDown(),t.hide()}),$("#hideTop").click(function(){e.slideUp(),t.show()})}},goTop:function(){$("html, body").animate({scrollTop:0},500)},goBottom:function(e){e||(e=0);var t=$("body").height()>$(document).height()?$("body").height():$(document).height();$("html, body").animate({scrollTop:t-$(window).height()-e},500)},init:function(){Util.killIE(),Util.setTopBar(),Util.parseMarkdown()},replaceSideEm:function(e){for(var t=0;t. - */ function convertEntities(t){var e,n;if(e=function(t){if(/&[^;]+;/.test(t)){var e=document.createElement("div");return e.innerHTML=t,e.firstChild?e.firstChild.nodeValue:t}return t},"string"==typeof t)return e(t);if("object"==typeof t)for(n in t)"string"==typeof t[n]&&(t[n]=e(t[n]));return t} \ No newline at end of file diff --git a/skins/iMobile/js/page.min.js b/skins/iMobile/js/page.min.js index 479a484..380ff52 100644 --- a/skins/iMobile/js/page.min.js +++ b/skins/iMobile/js/page.min.js @@ -1,18 +1 @@ -/* - * 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 . - */ var Page=function(e){this.currentCommentId="",this.tips=e};$.extend(Page.prototype,{insertEmotions:function(r){var l=this;void 0===r&&(r=""),$("#emotions"+r+" span").click(function(){var e=$("#comment"+r),t=l._getCursorEndPosition(e[0]),a=this.title+" ",s=e[0].value;if(s=s.substring(0,t)+a+s.substring(t,s.length),$("#comment"+r).val(s),$.browser.msie){t-=s.split("\n").length-1;var i=e[0].createTextRange();i.collapse(!0),i.moveStart("character",t+a.length),i.select()}else e[0].setSelectionRange(t+a.length,t+a.length)})},_getCursorEndPosition:function(e){if(e.focus(),e.setSelectionRange)return e.selectionEnd;if(document.selection){var t=0,a=document.selection.createRange(),s=document.body.createTextRange();for(s.moveToElementText(e),a.getBookmark(),t=0;s.compareEndPoints("StartToStart",a)<0&&0!==a.moveStart("character",-1);t++)"\n"===e.value.charAt(t)&&t++;return t}},validateComment:function(e){if("true"===latkeConfig.isLoggedIn)return!((a=$("#comment"+e).val().replace(/(^\s*)|(\s*$)/g,"")).length<2||500")),$.ajax({url:latkeConfig.staticServePath+"/js/lib/SyntaxHighlighter/scripts/shCore.js",dataType:"script",cache:!0,success:function(){var a=[],s=!1;$(".article-body pre, .code-highlight pre").each(function(){var e=this.className.split(";")[0],t=e.substr(7,e.length-1);-1")),$.ajax({url:latkeConfig.staticServePath+"/js/lib/google-code-prettify/prettify.js",dataType:"script",cache:!0,success:function(){prettyPrint()}}),!1):(document.createStyleSheet?document.createStyleSheet(latkeConfig.staticServePath+"/js/lib/highlight.js-9.6.0/styles/default.css"):$("head").append($("")),void $.ajax({url:latkeConfig.staticServePath+"/js/lib/highlight.js-9.6.0/highlight.pack.js",dataType:"script",cache:!0,success:function(){hljs.initHighlighting.called=!1,hljs.initHighlighting()}}))},load:function(e){var t=this;t.insertEmotions(),t.parseLanguage(e&&e.language?e.language:void 0),$("#commentValidate").keypress(function(e){13===e.keyCode&&t.submitComment()}),$("#comment").keypress(function(e){13===e.keyCode&&e.ctrlKey&&t.submitComment()}),$("#captcha").click(function(){$(this).attr("src",latkeConfig.servePath+"/captcha.do?code="+Math.random())}),"true"!==latkeConfig.isLoggedIn&&($("#commentEmail").val(Cookie.readCookie("commentEmail")),$("#commentURL").val(Cookie.readCookie("commentURL")),$("#commentName").val(Cookie.readCookie("commentName")));try{JSON}catch(e){document.write(' diff --git a/skins/posart/js/posart.js b/skins/posart/js/posart.js index ce56fcf..97778d0 100644 --- a/skins/posart/js/posart.js +++ b/skins/posart/js/posart.js @@ -88,7 +88,7 @@ var getNextPage = function () { '' + '
    ' + '' + - '
    ' + + '
    ' + '
    ' + article.articleAbstract + '
    ' + @@ -292,7 +292,7 @@ var ease = { } // emotions - $(".content-reset").each(function () { + $(".vditor-reset").each(function () { this.innerHTML = Util.replaceEmString($(this).html()); }); }, diff --git a/skins/posart/js/posart.min.js b/skins/posart/js/posart.min.js index 9b99127..d34bc64 100644 --- a/skins/posart/js/posart.min.js +++ b/skins/posart/js/posart.min.js @@ -1,18 +1 @@ -/* - * 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 . - */ -var goTranslate=function(){window.open("http://translate.google.com/translate?sl=auto&tl=auto&u="+location.href)},getNextPage=function(){var c=$(".article-next");currentPage+=1;var e="/articles/";if(1===$("#tag").length)e="/articles/tags/"+(t=location.pathname.split("/"))[t.length-1]+"/";else if(1===$("#archive").length){e="/articles/archives/"+(t=location.pathname.split("/"))[t.length-2]+"/"+t[t.length-1]+"/"}else if(1===$("#author").length){var t;e="/articles/authors/"+(t=location.pathname.split("/"))[t.length-1]+"/"}$.ajax({url:latkeConfig.servePath+e+currentPage,type:"GET",beforeSend:function(){c.css("background","url("+latkeConfig.staticServePath+"/skins/ease/images/ajax-loader.gif) no-repeat scroll center center #fefefe")},success:function(e,t){if(e.sc){for(var a="",i=e.rslts.pagination,n=0;n

    '+r.articleTitle+"",r.hasUpdated&&(a+=""+Label.updatedLabel+""),r.articlePutTop&&(a+=""+Label.topArticleLabel+""),a+='

    '+r.articleAbstract+'
    ',r.hasUpdated?a+=Util.toDate(r.articleUpdateTime,"yy-MM-dd HH:mm"):a+=Util.toDate(r.articleCreateTime,"yy-MM-dd HH:mm"),a+=' '+r.authorName+'
    '+Label.tag1Label+" ";for(var l=r.articleTags.split(","),o=0;o
    "}e.html(a);for(var o=$(".archives>div"),c=0,h=0,g=[],d=0;d=o.length);f++)o[d].style.left=310*f+"px",g[f]=0=n.headerH+t?(n.$nav.css("position","fixed"),n.$body.css("marginTop","55px")):(n.$nav.css("position","inherit"),n.$body.css("marginTop","0")),e>n.headerH){var a=$(window).height(),i=e+a-21;$("body").height()-58<=e+a&&(i=$(".footer").offset().top-21),$("#goTop").fadeIn("slow").css("top",i)}else $("#goTop").hide()})},setDynamic:function(){var e=$(".dynamic");if(!($(".dynamic").length<1)){var t=e.find(".side-comments"),a=e.find(".side-tags"),i=e.find(".side-most-comment"),n=e.find(".side-most-view");t.height()>a.height()?a.height(t.height()):t.height(a.height()),i.height()>n.height()?n.height(i.height()):i.height(n.height()),$(".content-reset").each(function(){this.innerHTML=Util.replaceEmString($(this).html())})}},scrollToCmt:function(){1==$(window.location.hash).length&&$(window).scrollTop($(window.location.hash).offset().top-60)}};ease.getCurrentPage(),ease.initCommon(),ease.scrollEvent(),ease.setNavCurrent(),ease.initArchives(),ease.setDynamic(); \ No newline at end of file +var goTranslate=function(){window.open("http://translate.google.com/translate?sl=auto&tl=auto&u="+location.href)},getNextPage=function(){var c=$(".article-next");currentPage+=1;var e="/articles/";if(1===$("#tag").length)e="/articles/tags/"+(t=location.pathname.split("/"))[t.length-1]+"/";else if(1===$("#archive").length){e="/articles/archives/"+(t=location.pathname.split("/"))[t.length-2]+"/"+t[t.length-1]+"/"}else if(1===$("#author").length){var t;e="/articles/authors/"+(t=location.pathname.split("/"))[t.length-1]+"/"}$.ajax({url:latkeConfig.servePath+e+currentPage,type:"GET",beforeSend:function(){c.css("background","url("+latkeConfig.staticServePath+"/skins/ease/images/ajax-loader.gif) no-repeat scroll center center #fefefe")},success:function(e,t){if(e.sc){for(var a="",i=e.rslts.pagination,n=0;n

    '+r.articleTitle+"",r.hasUpdated&&(a+=""+Label.updatedLabel+""),r.articlePutTop&&(a+=""+Label.topArticleLabel+""),a+='

    '+r.articleAbstract+'
    ',r.hasUpdated?a+=Util.toDate(r.articleUpdateTime,"yy-MM-dd HH:mm"):a+=Util.toDate(r.articleCreateTime,"yy-MM-dd HH:mm"),a+=' '+r.authorName+'
    '+Label.tag1Label+" ";for(var l=r.articleTags.split(","),o=0;o
    "}e.html(a);for(var o=$(".archives>div"),c=0,h=0,g=[],d=0;d=o.length);f++)o[d].style.left=310*f+"px",g[f]=0=n.headerH+t?(n.$nav.css("position","fixed"),n.$body.css("marginTop","55px")):(n.$nav.css("position","inherit"),n.$body.css("marginTop","0")),e>n.headerH){var a=$(window).height(),i=e+a-21;$("body").height()-58<=e+a&&(i=$(".footer").offset().top-21),$("#goTop").fadeIn("slow").css("top",i)}else $("#goTop").hide()})},setDynamic:function(){var e=$(".dynamic");if(!($(".dynamic").length<1)){var t=e.find(".side-comments"),a=e.find(".side-tags"),i=e.find(".side-most-comment"),n=e.find(".side-most-view");t.height()>a.height()?a.height(t.height()):t.height(a.height()),i.height()>n.height()?n.height(i.height()):i.height(n.height()),$(".vditor-reset").each(function(){this.innerHTML=Util.replaceEmString($(this).html())})}},scrollToCmt:function(){1==$(window.location.hash).length&&$(window).scrollTop($(window.location.hash).offset().top-60)}};ease.getCurrentPage(),ease.initCommon(),ease.scrollEvent(),ease.setNavCurrent(),ease.initArchives(),ease.setDynamic(); \ No newline at end of file diff --git a/skins/posart/js/syntaxhighlighter/index.html b/skins/posart/js/syntaxhighlighter/index.html index efb1750..d4ca0c6 100644 --- a/skins/posart/js/syntaxhighlighter/index.html +++ b/skins/posart/js/syntaxhighlighter/index.html @@ -144,7 +144,7 @@
    -
    +
    package com.jinyi.andon;
     
     import greendroid.app.GDActivity;
    diff --git a/skins/posart/js/themes.min.js b/skins/posart/js/themes.min.js
    index 23ba578..5e8f613 100644
    --- a/skins/posart/js/themes.min.js
    +++ b/skins/posart/js/themes.min.js
    @@ -1,18 +1 @@
    -/*
    - * 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 .
    - */
     $.browser.msie&&$.browser.version<"9.0"&&$("html").addClass("ie"),$(document).ready(function(){$(".sidebar").masonry({singleMode:!0}),arrivedAtBottom=$(window).scrollTop()>=$(document).height()-$(window).height()-30,$(window).scroll(function(o){o.stopPropagation(),arrivedAtBottom=$(window).scrollTop()>=$(document).height()-$(window).height()-30,arrivedAtBottom?($(".totop").removeClass("go_bottom"),$(".totop").addClass("go_top")):($(".totop").removeClass("go_top"),$(".totop").addClass("go_bottom"))}),$(".totop").click(function(){arrivedAtBottom?$("html,body").animate({scrollTop:0},500):$("html,body").animate({scrollTop:$(document).height()-$(window).height()},500)}),$(".tocomments").click(function(){$("html,body").animate({scrollTop:$(".comments").offset().top-40},500)}),$body=window.opera?"CSS1Compat"==document.compatMode?$("html"):$("body"):$("html,body"),$(document).on("click","#comments-nav a",function(o){o.preventDefault(),$.ajax({type:"GET",url:$(this).attr("href"),beforeSend:function(){$("#comments-nav").remove(),$("#loading-comments").slideDown()},dataType:"html",success:function(o){$(".comment-list").remove(),result=$(o).find(".comment-list"),nextlink=$(o).find("#comments-nav"),$("#loading-comments").slideUp(550),$("#loading-comments").after(result.fadeIn(800)),$(".comment-list").after(nextlink)}})}),$(document).on("click","#posts-nav a",function(o){o.preventDefault(),$.ajax({type:"GET",url:$(this).attr("href"),beforeSend:function(){$("#posts-nav").remove(),$("#loading-posts").slideDown()},dataType:"html",success:function(o){$(".posts-list").remove(),result=$(o).find(".posts-list"),nextlink=$(o).find("#posts-nav"),$("#loading-posts").slideUp(550),$("#loading-posts").after(result.fadeIn(800)),$(".posts-list").after(nextlink)}})})});
    \ No newline at end of file
    diff --git a/skins/posart/macro-comments.ftl b/skins/posart/macro-comments.ftl
    index 97e03f1..3902233 100644
    --- a/skins/posart/macro-comments.ftl
    +++ b/skins/posart/macro-comments.ftl
    @@ -25,7 +25,7 @@
                 ${comment.commentName}
             
    -
    +
    ${comment.commentContent} <#if comment.isReply>@
    -
    +
    ${page.pageContent}
    <@comments commentList=pageComments article=page>