Van 2019-02-21 18:16:59 +08:00
parent d7e9db917c
commit 755eb33471
No known key found for this signature in database
GPG Key ID: 7059B8783A78F16C
134 changed files with 1846 additions and 1598 deletions

View File

@ -70,7 +70,7 @@
<a class="shareCount"></a>
</span>
</div>
<div class="article-body breakline">
<div class="content-reset breakline">
${article.articleContent}
<#if "" != article.articleSign.signHTML?trim>
<div class="marginTop12">

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -16,6 +16,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
@charset "utf-8";
@import "../../../scss/reset-content";
body {
margin:0;
padding:0;
@ -297,12 +299,13 @@ a:hover {
background-position:-7px -125px;
padding:0 0 0 13px;
}
.article-body {
.content-reset {
margin:8px 0;
padding:0px;
line-height:22px;
white-space:normal;
overflow:hidden;
font-size: 12px;
}
.navigation {
margin:5px 15px 5px 15px;

View File

@ -1 +1,18 @@
/**
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#maincontent,#sidebar{padding:0;display:inline}#wrap{margin:0 auto;padding:0;width:900px;border-left:3px solid #424242;border-right:3px solid #424242;background:url(../images/side-bg.gif) right repeat-y}#maincontent{float:left;margin:0 0 0 -271px;width:100%}#maincontent .forFlow{margin:0 0 0 271px}#sidebar{float:right;margin:10px;width:250px}

View File

@ -1 +1,18 @@
/**
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#maincontent,#sidebar{padding:0;display:inline}#wrap{margin:0 auto;padding:0;width:900px;border-left:3px solid #424242;border-right:3px solid #424242;background:url(../images/side-bg.gif) left repeat-y}#maincontent{float:right;margin:0 0 0 -271px;width:100%}#maincontent .forFlow{margin:0 0 0 271px;float:none;width:auto}#sidebar{float:left;margin:10px;width:250px}

View File

@ -1 +1,18 @@
/**
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#wrap{margin:0 auto;padding:0;width:900px;border-left:3px solid #424242;border-right:3px solid #424242}#maincontent{float:right;margin:0;padding:0;display:inline;width:100%}#maincontent .forFlow{margin:0;float:none;width:auto}#sidebar{display:none}

View File

@ -1 +1,18 @@
/**
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#maincontent,#sidebar{padding:0;display:inline}#wrap{margin:0 auto;padding:0;width:100%;background:url(../images/side-bg.gif) right repeat-y}#maincontent{float:left;margin:0 0 0 -271px;width:100%}#maincontent .forFlow{margin:0 0 0 271px}#sidebar{float:right;margin:10px;width:250px}

View File

@ -1 +1,18 @@
/**
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#maincontent,#sidebar{padding:0;display:inline}#wrap{margin:0 auto;padding:0;width:100%;background:url(../images/side-bg.gif) left repeat-y}#maincontent{float:right;margin:0 0 0 -271px;width:100%}#maincontent .forFlow{margin:0 0 0 271px;float:none;width:auto}#sidebar{float:left;margin:10px;width:250px}

View File

@ -1 +1,18 @@
/*
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
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<t.length;n++)-1<t[n].type.indexOf("css")&&t[n].title&&(t[n].disabled=!0,t[n].title==e&&(o=n));t[o].disabled=!1,writeCookie("stylesheet",t[o].title)}

View File

@ -48,7 +48,7 @@
</#if>
</div>
<div class="clear"></div>
<div class="comment-content">
<div class="comment-content content-reset">
${comment.commentContent}
</div>
</div>

View File

@ -31,7 +31,7 @@
<link title="css2" href="${staticServePath}/skins/${skinDirName}/css/layout3.css?${staticResourceVersion}" rel="stylesheet" disabled="false" type="text/css" charset="utf-8" />
<link title="css3" href="${staticServePath}/skins/${skinDirName}/css/layout4.css?${staticResourceVersion}" rel="stylesheet" disabled="false" type="text/css" charset="utf-8" />
<link title="css4" href="${staticServePath}/skins/${skinDirName}/css/layout5.css?${staticResourceVersion}" rel="stylesheet" disabled="false" type="text/css" charset="utf-8" />
<link href="${staticServePath}/skins/${skinDirName}/css/${skinDirName}.css?${staticResourceVersion}" type="text/css" rel="stylesheet" charset="utf-8" />
<link href="${staticServePath}/skins/${skinDirName}/css/base.css?${staticResourceVersion}" type="text/css" rel="stylesheet" charset="utf-8" />
<script type="text/javascript" src="${staticServePath}/skins/${skinDirName}/js/${skinDirName}.js?${staticResourceVersion}" charset="utf-8"></script>
<script type="text/javascript">setStyleSheet(readCookie("stylesheet"));</script>
<link href="${servePath}/blog-articles-feed.do" title="ATOM" type="application/atom+xml" rel="alternate" />

View File

@ -43,7 +43,7 @@
<h2 class="post-tltle breakline">
${page.pageTitle}
</h2>
<div class="article-body breakline">
<div class="content-reset breakline">
${page.pageContent}
</div>
</div>

View File

@ -25,7 +25,7 @@
<meta name="keywords" content="${metaKeywords},${archiveDate.archiveDateYear}${archiveDate.archiveDateMonth}"/>
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
</@head>
<link rel="stylesheet" type="text/css" href="${staticServePath}/skins/${skinDirName}/css/style${miniPostfix}.css?${staticResourceVersion}" media="all" />
<link rel="stylesheet" type="text/css" href="${staticServePath}/skins/${skinDirName}/css/base.css?${staticResourceVersion}" media="all" />
</head>
<body id="blog">
<div id="wrap">

View File

@ -27,7 +27,7 @@
<meta name="keywords" content="${article.articleTags}" />
<meta name="description" content="${article.articleAbstract?html}" />
</@head>
<link rel="stylesheet" type="text/css" href="${staticServePath}/skins/${skinDirName}/css/style${miniPostfix}.css?${staticResourceVersion}" media="all" />
<link rel="stylesheet" type="text/css" href="${staticServePath}/skins/${skinDirName}/css/base.css?${staticResourceVersion}" media="all" />
</head>
<body id="blog">
${topBarReplacement}
@ -88,7 +88,7 @@
</sup>
</#if>
</h2>
<div class="post_content article-body">
<div class="post_content content-reset">
${article.articleContent}
<div class="copyright_info opaque_10">
»»»
@ -141,15 +141,15 @@
</#if>
</div>
<div id="relatedpost" class="hor_side">
<#if 0 != randomArticlesDisplayCount>
page.loadRandomArticles();
</#if>
<#if 0 != relevantArticlesDisplayCount>
page.loadRelevantArticles('${article.oId}', '<h4>${relevantArticles1Label}</h4>');
</#if>
<#if 0 != externalRelevantArticlesDisplayCount>
page.loadExternalRelevantArticles("<#list article.articleTags?split(",") as articleTag>${articleTag}<#if articleTag_has_next>,</#if></#list>");
</#if>
<#if 0 != relevantArticlesDisplayCount>
<div id="relevantArticles" class="article__near"></div>
</#if>
<#if 0 != randomArticlesDisplayCount>
<div id="randomArticles" class="article__near"></div>
</#if>
<#if externalRelevantArticlesDisplayCount?? && 0 != externalRelevantArticlesDisplayCount>
<div id="externalRelevantArticles" class="article__near"></div>
</#if>
</div>
</section>
<div class="clear"></div>

View File

@ -25,7 +25,7 @@
<meta name="keywords" content="${article.articleTags}" />
<meta name="description" content="${article.articleAbstract?html}" />
</@head>
<link rel="stylesheet" type="text/css" href="${staticServePath}/skins/${skinDirName}/css/style${miniPostfix}.css?${staticResourceVersion}" media="all" />
<link rel="stylesheet" type="text/css" href="${staticServePath}/skins/${skinDirName}/css/base.css?${staticResourceVersion}" media="all" />
</head>
<body id="blog">
<div id="loading" style="display: none; "></div>

18
skins/Coda/css/base.css Normal file

File diff suppressed because one or more lines are too long

View File

@ -21,6 +21,7 @@ Theme URI: http://isayme.com/
Author: iSayme
Author URI: http://isayme.com/
*/
@import "../../../scss/reset-content";
body#blog{background:#474C52 url("../images/bg.jpg") center center fixed}
#wrap{width:84em;margin:0 auto;text-align:left;}
/*header*/

View File

@ -1 +1,18 @@
/**
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
a:hover,h4{color:#a1ff66}.clear:after,article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,time{display:block}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,summary,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}p,pre{margin:0 0 1.3em}h1,h2{margin:.1em 0 .6em;color:#fff}blockquote,pre{padding:0 2em 0 1em;border-left:3px solid #a1ff66}li,ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}body{font-size:76%;font-family:,"Microsoft YaHei",Helvetica,Times,Arial,serif;text-align:center;color:#D2D8DE}dd,input,label,legend,li,optgroup,p,select,table,textarea{font-size:1em}p{line-height:1.4em;font-size:13px}em,strong{font-weight:700}blockquote{margin:0 0 1.3em 1em;color:#C5CBD0}code,pre{font:1em Monaco,Consolas,"Courier New",Courier,FreeMono,monospace;color:#C5CBD0}a{font-size:inherit}a:link{text-decoration:none;color:#c5e2b5}a:visited{text-decoration:none;color:#95be7d}a:hover{text-decoration:underline}a:active{text-decoration:none!important;color:#fff}h1,h2,h3,h4,h5{font-family:,"Microsoft YaHei",Arial,Helvetica,"Nimbus Sans L",Helvetica,Times,sans-serif;line-height:1em;font-weight:400}h1{font-size:2.2em}h2{font-size:2.1em}h3{margin:.2em 0 .8em;font-size:1.4em;color:#fff}h4{margin:0 0 .2em;font-size:1.2em}.button,h5{font-size:1em;text-transform:uppercase}h5{margin:0;font-weight:700;color:#fff}h1 a:hover,h2 a:hover,h3 a:hover,h4 a:hover{color:#b0e194!important}h1 a:active,h2 a:active,h3 a:active,h4 a:active{color:#79ff25!important}.clear:after{content:"";height:0;clear:both;visibility:hidden}.left{float:left}.right{float:right}.c{width:100%;clear:both}.hide{display:none}label{display:block;float:left;width:10em;clear:left;margin-right:1em;padding:.3em 0;text-align:right}input,textarea{width:20em;float:left;margin-bottom:.5em;padding:.4em;color:#C5CBD0;background:url(../images/opaque_10.png);border:none}.button,input:focus,textarea:focus{color:#fff}textarea{width:20em;height:7em;line-height:1.3em;overflow:auto}fieldset .button{background-color:#000;margin:10px 10px 0 0}.button{cursor:pointer;padding:.3em 0;text-align:center;width:auto;overflow:visible;background-color:transparent;border:none}.button:hover{background-color:#509f24!important}.button:active{background-color:#800!important}

View File

@ -1 +1,18 @@
/**
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#mapmenu ul li a:hover,#maptitle a:hover,div#mappost span a{text-decoration:none}div#mappost span.title,div#mappost span.title a{overflow:hidden;text-overflow:ellipsis}#mapmenu ul li,div#mappost li{display:inline}#mapfooter,#maptitle,#pagination{position:absolute}body#home{background:url(../images/background.jpg) center center fixed}body#home #sitemap{position:absolute;top:50%;left:50%;width:960px;height:540px;margin:-280px 0 0 -480px;text-align:left}#maptitle{top:50px;left:50px}#mapcontent{float:right;width:55%;margin:30px 10px 0 0}#mapmenu{margin:30px 20px 0 0}#mapmenu ul{margin:0 10px 0 0;float:right;font-size:14px}#mapmenu ul li{float:left;padding:5px 10px 5px 0;-webkit-transform:rotate(-40deg);-o-transform:rotate(-40deg);-moz-transform:rotate(-40deg)}#mappost{padding:50px 0 0 20px}#mappost .newposts{font-size:15px}#mapnavi{margin:20px 40px 10px 10px}div#mappost ul{border-top:1px solid #26282c;margin:20px 0 0}div#mappost ul span{margin:0;color:#747a83;border-bottom:1px solid #26282c}div#mappost span.title{height:24px;width:25em;float:left;word-break:break-all;white-space:nowrap}div#mappost span.section{height:24px;width:6em;float:left;padding-left:.5em}div#mappost span.date{width:8.5em;color:#575b64;padding:6px 3px 0 1em;float:left;height:18px;font:1em Consolas,"Courier New",Courier,FreeMono,monospace}div#mappost span.section a,div#mappost td.date{text-align:right}div#mappost span a{display:block;padding:.3em 0;color:#949ca5}div#mappost li:hover{background:url(../images/row_gradient.png) -9.5em 0 repeat-y}div#mappost li:hover span,div#mappost li:hover span a{color:#fff}#mapfooter{width:100%;bottom:0;margin:0 0 -30px}#mapfooter .author{float:right;padding:0 10px 0 0}#pagination{bottom:1em;right:2em}#pagination a:hover{background-color:#15161E;color:#fff;-webkit-transform:rotate(360deg) scale(1.2)}#pagination a{-webkit-transition:all .2s ease;moz-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1,18 @@
/*
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
function showPageLink(e,a,t,s){var o=0;for(o=Math.max(1,a-1),1==a?(document.write("<span class='pages' style='color:#7D7D7D'>1st</span> "),document.write("<span class='pages' style='color:#7D7D7D'>&laquo;</span> ")):(document.write('<a href="'+e+s+"1\" title='The 1 page'>1st</a> "),document.write('<a href="'+e+o+s+"\" title='Prev page(The "+o+" page)'>&laquo;</a> ")),6<a&&document.write("<span>...</span> "),o=Math.max(1,a-5);o<a;o++)document.write('<a href="'+e+o+s+"\" title='The "+o+" page'>"+o+"</a> ");for(document.write("<font color='red'>"+a+"</font> "),o=a+1;o<=Math.min(t,a+5);o++)document.write('<a href="'+e+o+s+"\" title='The "+o+" page'>"+o+"</a> ");o=Math.min(t,a+1),a+5<t&&document.write("<span>...</span> "),a==t?(document.write("<span class='pages' style='color:#7D7D7D'>&raquo;</span> "),document.write("<span class='pages' style='color:#7D7D7D'>Last</span> ")):(document.write(' <a href="'+e+o+s+"\" title='Next page(The "+o+" page)'>&raquo;</a>"),document.write('<a href="'+e+t+s+"\" title='Last page(The "+t+" page)'>Last</a> "))}

View File

@ -51,7 +51,7 @@
</span>&nbsp;|&nbsp;
<a class="replyto" rel="nofollow" href="javascript:page.toggleEditor('${comment.oId}', '${comment.commentName}');" title="${replyLabel}">${replyLabel}</a>
</div>
<div class="comment-content">
<div class="comment-content content-reset">
<p>
<#if comment.isReply>
<a class="atreply" rel="nofollow" href="#${comment.commentOriginalCommentId}"

View File

@ -27,7 +27,7 @@
<meta name="keywords" content="${metaKeywords},${page.pageTitle}" />
<meta name="description" content="${metaDescription}" />
</@head>
<link rel="stylesheet" type="text/css" href="${staticServePath}/skins/${skinDirName}/css/style${miniPostfix}.css?${staticResourceVersion}" media="all" />
<link rel="stylesheet" type="text/css" href="${staticServePath}/skins/${skinDirName}/css/base.css?${staticResourceVersion}" media="all" />
</head>
<body id="blog">
${topBarReplacement}
@ -73,7 +73,7 @@
${page.pageTitle}
</a>
</h2>
<div class="post_content">
<div class="post_content content-reset">
${page.pageContent}
</div>
<div class="opaque_5 post_tags"></div>

View File

@ -27,7 +27,7 @@
<meta name="keywords" content="${metaKeywords},${tag.tagTitle}"/>
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
</@head>
<link rel="stylesheet" type="text/css" href="${staticServePath}/skins/${skinDirName}/css/style${miniPostfix}.css?${staticResourceVersion}" media="all" />
<link rel="stylesheet" type="text/css" href="${staticServePath}/skins/${skinDirName}/css/base.css?${staticResourceVersion}" media="all" />
</head>
<body id="blog">
<div id="wrap">

View File

@ -25,7 +25,7 @@
<meta name="keywords" content="${metaKeywords},${allTagsLabel}"/>
<meta name="description" content="<#list tags as tag>${tag.tagTitle}<#if tag_has_next>,</#if></#list>"/>
</@head>
<link rel="stylesheet" type="text/css" href="${staticServePath}/skins/${skinDirName}/css/style${miniPostfix}.css?${staticResourceVersion}" media="all" />
<link rel="stylesheet" type="text/css" href="${staticServePath}/skins/${skinDirName}/css/base.css?${staticResourceVersion}" media="all" />
</head>
<body id="blog">
${topBarReplacement}

View File

@ -64,7 +64,7 @@
</div>
</div>
<div class="clear"></div>
<div class="post_content">
<div class="post_content content-reset">
${article.articleContent}
<#if "" != article.articleSign.signHTML?trim>
<div class="sign-htmml">

18
skins/Dot-B/css/base.css Normal file

File diff suppressed because one or more lines are too long

View File

@ -26,6 +26,7 @@ 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 */
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}

File diff suppressed because one or more lines are too long

View File

@ -85,7 +85,7 @@ jQuery(document).ready(function() {
}
});
jQuery(function() {
jQuery('a[href*=#]').click(function() {
jQuery('a[href=#]').click(function() {
if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {
var $target = jQuery(this.hash);
$target = $target.length && $target || jQuery('[name=' + this.hash.slice(1) + ']');

View File

@ -1 +1,18 @@
jQuery("ul.sub-menu:not(.sub-menu .sub-menu)").parent().append('<div class="menu-mark" ></div>'),jQuery("ul.children:not(.children .children)").parent().append('<div class="menu-mark" ></div>'),jQuery("ul.sub-menu ul.sub-menu:not(.sub-menu .sub-menu .sub-menu)").parent().append('<div class="menu-mark2" ></div>'),jQuery("ul.children ul.children:not(.children .children .children)").parent().append('<div class="menu-mark2" ></div>');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<jQuery(this).scrollTop()?jQuery("#return_top").fadeIn():jQuery("#return_top").fadeOut()})}),jQuery("a.tab").click(function(){jQuery(".active").removeClass("active"),jQuery(this).addClass("active"),jQuery(".content").slideUp();var e=jQuery(this).attr("title");jQuery("#"+e).slideDown()}),jQuery("#tab-title span").click(function(){jQuery(this).addClass("selected").siblings().removeClass(),jQuery("#tab-content > .widget-container").slideUp("1500").eq(jQuery("#tab-title span").index(this)).slideDown("1500")})});
/*
* 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 <https://www.gnu.org/licenses/>.
*/
jQuery("ul.sub-menu:not(.sub-menu .sub-menu)").parent().append('<div class="menu-mark" ></div>'),jQuery("ul.children:not(.children .children)").parent().append('<div class="menu-mark" ></div>'),jQuery("ul.sub-menu ul.sub-menu:not(.sub-menu .sub-menu .sub-menu)").parent().append('<div class="menu-mark2" ></div>'),jQuery("ul.children ul.children:not(.children .children .children)").parent().append('<div class="menu-mark2" ></div>');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<jQuery(this).scrollTop()?jQuery("#return_top").fadeIn():jQuery("#return_top").fadeOut()})}),jQuery("a.tab").click(function(){jQuery(".active").removeClass("active"),jQuery(this).addClass("active"),jQuery(".content").slideUp();var e=jQuery(this).attr("title");jQuery("#"+e).slideDown()}),jQuery("#tab-title span").click(function(){jQuery(this).addClass("selected").siblings().removeClass(),jQuery("#tab-content > .widget-container").slideUp("1500").eq(jQuery("#tab-title span").index(this)).slideDown("1500")})});

View File

@ -39,7 +39,7 @@
<a href="#${comment.oId}"> # </a>
</span><!-- .comment-meta .commentmetadata -->
</div>
<div class="comment-content">
<div class="comment-content content-reset">
<p>
<#if comment.isReply>
@ <a href="${article.permalink}#${comment.commentOriginalCommentId}"

View File

@ -26,7 +26,7 @@
<meta name="copyright" content="B3log" />
<meta name="revised" content="B3log, ${year}" />
<meta http-equiv="Window-target" content="_top" />
<link type="text/css" rel="stylesheet" href="${staticServePath}/skins/${skinDirName}/css/style${miniPostfix}.css?${staticResourceVersion}" charset="utf-8" />
<link type="text/css" rel="stylesheet" href="${staticServePath}/skins/${skinDirName}/css/base.css?${staticResourceVersion}" charset="utf-8" />
<link href="blog-articles-feed.do" title="ATOM" type="application/atom+xml" rel="alternate" />
<link rel="icon" type="image/png" href="${staticServePath}/favicon.png" />
${htmlHead}

View File

@ -36,7 +36,7 @@
<div id="main">
<div id="content">
<div class="post">
<div class="post_content">
<div class="post_content content-reset">
${page.pageContent}
</div>
</div>

View File

@ -60,7 +60,7 @@
</div>
<div class="clear"></div>
<div class="entry">
<div class="article-body">
<div class="content-reset">
${article.articleContent}
</div>
<#if "" != article.articleSign.signHTML?trim>

18
skins/Shawn/css/base.css Normal file

File diff suppressed because one or more lines are too long

View File

@ -15,6 +15,8 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
@import "../../../scss/reset-content";
* {margin:0;padding:0;}
img,

View File

@ -1 +1,18 @@
/**
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#loading,.nav{position:absolute}#loading{top:13px}#header p#title a{margin:23px 0 20px 27px}#header form{margin-right:10px}#sidebar ul li{margin-left:5px;padding:0 5px}.trackpings li,div#trackpings{padding-left:40px}#sidebar ul li ul li{width:180px}ul.trackpings{margin-right:80px}.commentlist .alt{border:1px solid #ccc;border-right:1px solid #fff;border-bottom:1px solid #fff}.commentlist .altline{border:1px solid #ccc;border-left:1px solid #fff;border-bottom:1px solid #fff}.reply p.smilies{margin-right:30px;padding:3px 3px 0}.cmntcnt{left:-70px}.post #postail a{border:1px solid #f8f8f8}.linkpage ul li ul li{border:none}.nav{right:-2px}#footer .b2t,#footer div.g2b{display:none}#share{height:40px}

View File

@ -1 +1,18 @@
/**
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#sidebar a{color:#888}#sidebar a:hover{color:#333}.nav{margin:-118px 0 0 220px}#sidebar ul li ul li img{float:none;padding:0;vertical-align:middle}#share ul{background-color:#fff}

File diff suppressed because one or more lines are too long

View File

@ -1 +1,18 @@
/*
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
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("<span style='color:#444;border-bottom:1px dotted #aaa'>"+$(this).text()+"</span>")}),$(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<n.indexOf(t.find("a").attr("href"))&&0!==e&&t.addClass("current_page_item")}}),0<$("input#author:has[value]").length){$("div.friendly").css("display","none"),$(".authorgra").css("display","block");$("div#respond").append('<span style="padding:0 5px;font:bold 10px verdana;color:#888;cursor:pointer;letter-spacing:0" class="infoeditor">(Edit)</span>'),$(".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;

View File

@ -1 +1,18 @@
/*
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
function get_check_area(e){1==e?($("#check").load("/checkcode/"),$("#checkarea").show()):2==e&&($("#check").html("<img id='checkimg' src='/checkimg/' style='border:0px;padding:0;float:left;margin-right:8px' title='Click here to change Code' onclick='reloadCheckImage();' />"),$("#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});

File diff suppressed because one or more lines are too long

View File

@ -1 +1,18 @@
/*
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
function showPageLink(e,a,t,s){var o=0;for(o=Math.max(1,a-1),1==a?(document.write("<span class='pages' style='color:#7D7D7D'>1st</span> "),document.write("<span class='pages' style='color:#7D7D7D'>&laquo;</span> ")):(document.write('<a href="'+e+s+"1\" title='The 1 page'>1st</a> "),document.write('<a href="'+e+o+s+"\" title='Prev page(The "+o+" page)'>&laquo;</a> ")),6<a&&document.write("<span>...</span> "),o=Math.max(1,a-5);o<a;o++)document.write('<a href="'+e+o+s+"\" title='The "+o+" page'>"+o+"</a> ");for(document.write("<font color='red'>"+a+"</font> "),o=a+1;o<=Math.min(t,a+5);o++)document.write('<a href="'+e+o+s+"\" title='The "+o+" page'>"+o+"</a> ");o=Math.min(t,a+1),a+5<t&&document.write("<span>...</span> "),a==t?(document.write("<span class='pages' style='color:#7D7D7D'>&raquo;</span> "),document.write("<span class='pages' style='color:#7D7D7D'>Last</span> ")):(document.write(' <a href="'+e+o+s+"\" title='Next page(The "+o+" page)'>&raquo;</a>"),document.write('<a href="'+e+t+s+"\" title='Last page(The "+t+" page)'>Last</a> "))}

View File

@ -49,7 +49,7 @@
<div class="lovatar">
<img src="${comment.commentThumbnailURL}" alt="leehow" class="gravatar" width="48" height="48" />
</div>
<div class="list">
<div class="list content-reset">
<p>
<#if comment.isReply>
<a class="replybox" href="#${comment.commentOriginalCommentId}">

View File

@ -30,7 +30,7 @@
<link rel="icon" type="image/png" href="${staticServePath}/favicon.png" />
<meta name="author" content="Shawn" />
<link rel="canonical" href="${blogHost}" />
<link rel="stylesheet" type="text/css" href="${staticServePath}/skins/${skinDirName}/css/style${miniPostfix}.css?${staticResourceVersion}" media="all" />
<link rel="stylesheet" type="text/css" href="${staticServePath}/skins/${skinDirName}/css/base.css?${staticResourceVersion}" media="all" />
<script type="text/javascript" src="${staticServePath}/js/lib/jquery/jquery.min.js" charset="utf-8"></script>
<script type="text/javascript">
jQuery(document).ready(function($){

View File

@ -36,7 +36,7 @@
<div id="content">
<div class="post">
<div class="entry">
<div class="article-body">
<div class="content-reset">
${page.pageContent}
</div>
<div id="postail" style="border-top-left-radius: 7px 7px; border-top-right-radius: 7px 7px; border-bottom-right-radius: 7px 7px; border-bottom-left-radius: 7px 7px; position: relative; zoom: 1; ">

View File

@ -64,7 +64,9 @@
</span>
</div>
</div>
<div class="content-reset">
${article.articleContent}
</div>
<div class="article-tags">
<li class="icon-tags"></li>
${tag1Label}

View File

@ -0,0 +1,18 @@
/**
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
.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.top-navbar{padding-top:60px}a:hover{text-decoration:none;color:#00B}.page-header a{color:#000000}.page-header a:hover{color:#9A9A9A}.page-header-m{margin:20px 0px 5px}.page-header-bottom{margin:0px 0px 5px;font-size:12px;color:#585858}.article-tags{color:#676767;font-size:12px}.article-tags a{text-decoration:none}#footer{margin-top:20px}#footer .container{padding:10px 15px 10px}.pagination-btn{margin-top:20px}#emotions span:hover{transform:scale(1.2) rotate(360deg);-webkit-transform:scale(1.2) rotate(360deg);-moz-transform:scale(1.2) rotate(360deg)}.form-actions-m{padding-left:0px !important;padding-bottom:0px;margin-bottom:0px;background-color:#f1f1f1}.article-relative{background-color:#FCFCFC;box-shadow:0 0 2px #D5D5D5;padding:5px 0 5px 20px}.article-relative:hover{background-color:#fff;box-shadow:0 0 4px #D5D5D5}.article-relative ul{list-style:none}.article-comments{margin-bottom:20px;position:relative}.comment-body-ref{position:absolute;left:86px;width:80%}.bs-docs-example{padding:20px;*padding-top:0px;background-color:#fff;border:1px solid #ddd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;margin-bottom:20px}.bs-docs-example-child{padding:5px;*padding-top:0px;background-color:#fff;border:1px solid #ddd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}#tags.other-main{list-style:none}#tags li{float:left;height:38px}#tags a{margin:3px 6px;padding:3px 12px;background-color:#FCFCFC;box-shadow:0 0 2px #D5D5D5;float:left}#tags a:hover{text-shadow:0 0 2px;text-decoration:none;box-shadow:0 0 4px #D5D5D5;color:#769abb}.tags1,.tags1:visited{font-size:12px;color:#a7a7a7}.tags2,.tags2:visited{font-size:14px;color:#808080}.tags3,.tags3:visited{font-size:16px;color:#595959}.tags4,.tags4:visited{font-size:18px;color:#323232}.tags5,.tags5:visited{font-size:20px;color:#0a0a0a}

View File

@ -15,6 +15,8 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
@import "../../../scss/reset-content";
body.top-navbar {
padding-top: 60px;
}

View File

@ -1 +0,0 @@
#tags.other-main,.article-relative ul{list-style:none}#tags a:hover,.article-tags a,a:hover{text-decoration:none}body.top-navbar{padding-top:60px}a:hover{color:#00B}.page-header a{color:#000}.page-header a:hover{color:#9A9A9A}.page-header-m{margin:20px 0 5px}.page-header-bottom{margin:0 0 5px;font-size:12px;color:#585858}#footer,.pagination-btn{margin-top:20px}.article-tags{color:#676767;font-size:12px}#footer .container{padding:10px 15px}#emotions span:hover{transform:scale(1.2) rotate(360deg);-webkit-transform:scale(1.2) rotate(360deg);-moz-transform:scale(1.2) rotate(360deg)}.form-actions-m{padding-left:0!important;padding-bottom:0;margin-bottom:0;background-color:#f1f1f1}.article-relative{background-color:#FCFCFC;box-shadow:0 0 2px #D5D5D5;padding:5px 0 5px 20px}.article-relative:hover{background-color:#fff;box-shadow:0 0 4px #D5D5D5}.article-comments{margin-bottom:20px;position:relative}.comment-body-ref{position:absolute;left:86px;width:80%}.bs-docs-example{padding:20px;background-color:#fff;border:1px solid #ddd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;margin-bottom:20px}.bs-docs-example-child{padding:5px;background-color:#fff;border:1px solid #ddd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}#tags li{float:left;height:38px}#tags a{margin:3px 6px;padding:3px 12px;background-color:#FCFCFC;box-shadow:0 0 2px #D5D5D5;float:left}#tags a:hover{text-shadow:0 0 2px;box-shadow:0 0 4px #D5D5D5;color:#769abb}.tags1,.tags1:visited{font-size:12px;color:#a7a7a7}.tags2,.tags2:visited{font-size:14px;color:grey}.tags3,.tags3:visited{font-size:16px;color:#595959}.tags4,.tags4:visited{font-size:18px;color:#323232}.tags5,.tags5:visited{font-size:20px;color:#0a0a0a}

View File

@ -1 +1,18 @@
/*
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
var bootstyle={getCurrentPage:function(){var a=$(".pagination-btn");0<a.length&&(window.currentPage=a.data("page"))},setNavCurrent:function(){$(".nav li a").each(function(){var a=$(this),t=latkeConfig.servePath+location.pathname,e=latkeConfig.servePath+location.pathname.substr(0,location.pathname.length-1);a.attr("href")===t||a.attr("href")===e?a.parent().addClass("active"):/\/[0-9]+$/.test(location.pathname)&&($(".nav li")[0].className="current")})},setCommentEmotions:function(){$(".comments").each(function(){$(this).html(Util.replaceEmString($(this).html()))})},init:function(){this.getCurrentPage(),this.setNavCurrent(),this.setCommentEmotions()}};$(function(){bootstyle.init()});var getNextPage=function(){var c=$(".pagination-btn");currentPage+=1;var a="/articles/";if(-1<location.pathname.indexOf("tags"))a="/articles/tags/"+location.pathname.split("/tags/")[1].split("/")[0]+"/";else if(-1<location.pathname.indexOf("archives")){var t=location.pathname.split("/archives/")[1].split("/");a="/articles/archives/"+t[0]+"/"+t[1]+"/"}var h="";$.ajax({url:latkeConfig.servePath+a+currentPage,type:"GET",beforeSend:function(){h=c.text(),c.css("background"),c.text(" ").css("background","url("+latkeConfig.staticServePath+"/skins/ease/images/ajax-loader.gif) no-repeat scroll center center #fefefe")},success:function(a,t){for(var e=a.rslts.pagination,s=0;s<a.rslts.articles.length;s++){var i=a.rslts.articles[s],n=new Array;n.push('<div class="page-header page-header-m">'),n.push('<h3><a href="'+i.articlePermalink+'">'+i.articleTitle+"</a></h3>"),n.push("</div>"),n.push('<div class="page-header-bottom"><span>'),n.push('<li class="icon-time"></li>'),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('</span><span><li class="icon-user"></li>'),n.push('<a href="/authors/'+i.authorId+'" title="'+Label.authorLabel+": "+i.authorName+'"> '),n.push(i.authorName),n.push(" </a>"),n.push('</span><div class="pull-right"><span>'),n.push('<li class="icon-eye-open"></li>'),n.push('<a href="'+i.articlePermalink+'"> '),n.push(i.articleViewCount+" "+Label.viewLabel),n.push(" </a>"),n.push('</span><span><li class="icon-comment"></li>'),n.push('<a href="'+i.articlePermalink+'#comments"> '+i.articleCommentCount+" "+Label.commentLabel+" </a>"),n.push("</span></div></div>"),n.push(i.articleAbstract),n.push('<div class="article-tags">'),n.push('<li class="icon-tags"></li>'+Label.tag1Label);for(var r=i.articleTags.split(","),l=0;l<r.length;l++){var o=r[l];n.push("<span>"),n.push('<a href="'+latkeConfig.servePath+"/tags/"+o+'">'),n.push(o),n.push("</a></span>")}n.push("</div>"),c.before(n.join(""))}e.paginationPageCount===currentPage?c.remove():c.text(h).css("background","")}})};

View File

@ -41,13 +41,15 @@
onmouseout="page.hideComment('${comment.commentOriginalCommentId}')">${comment.commentOriginalCommentName}</a>
</#if>
<span class="pull-right" style="font-size: 12px;font-weight: normal;color: #676767;">
<i class="icon-time"></i>
<i class="icon-time"></i>
${comment.commentDate?string("yyyy-MM-dd HH:mm:ss")}
<i class="icon-comment"></i>
<a rel="nofollow" href="javascript:page.toggleEditor('${comment.oId}', '${comment.commentName}');">${replyLabel}</a>
</span>
</h4>
${comment.commentContent}
<div class="content-reset">
${comment.commentContent}
</div>
<!-- Nested media object -->
<div class="media" ref="#media_${comment.commentOriginalCommentId}">
</div>

View File

@ -24,7 +24,7 @@
<meta http-equiv="Window-target" content="_top" />
<link type="text/css" rel="stylesheet" href="${staticServePath}/skins/${skinDirName}/bootstrap/css/bootstrap${miniPostfix}.css?${staticResourceVersion}" charset="utf-8" />
<link type="text/css" rel="stylesheet" href="${staticServePath}/skins/${skinDirName}/bootstrap/css/bootstrap-responsive${miniPostfix}.css?${staticResourceVersion}" charset="utf-8" />
<link type="text/css" rel="stylesheet" href="${staticServePath}/skins/${skinDirName}/css/${skinDirName}${miniPostfix}.css?${staticResourceVersion}" charset="utf-8" />
<link type="text/css" rel="stylesheet" href="${staticServePath}/skins/${skinDirName}/css/base.css?${staticResourceVersion}" charset="utf-8" />
<link href="${servePath}/blog-articles-feed.do" title="ATOM" type="application/atom+xml" rel="alternate" />
<link rel="icon" type="image/png" href="${staticServePath}/favicon.png" />
${htmlHead}

View File

@ -33,7 +33,7 @@
<#include "header.ftl">
<div class="main">
<div class="wrapper">
<div class="article-body article">
<div class="content-reset article">
${page.pageContent}
</div>
<@comments commentList=pageComments article=page></@comments>

View File

@ -61,7 +61,7 @@
</sup>
</#if>
</h2>
<div class="article-body">
<div class="content-reset">
${article.articleAbstract}
</div>
<div class="read-more">
@ -141,7 +141,7 @@
</sup>
</#if>
</h2>
<div class="article-body">
<div class="content-reset">
${article.articleAbstract}
</div>
<div class="read-more">

View File

@ -84,7 +84,7 @@
</sup>
</#if>
</h2>
<div class="article-body">
<div class="content-reset">
${article.articleContent}
<#if "" != article.articleSign.signHTML?trim>
<div class="marginTop12">

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,800 @@
/**
* 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 <https://www.gnu.org/licenses/>.
*/
@charset "utf-8";
@import "../../../scss/reset-content";
@import "../../../scss/reset";
.clear:before,
.clear:after {
display: table;
content: "";
}
.clear:after {
clear: both;
}
.left {
float: left;
}
.right {
float: right;
}
.none {
display: none;
}
/*
* skin community style
*
* @author <a href="mailto:LLY219@gmail.com">Liyuan Li</a>
* @version 1.0.0.7, May 15, 2012
*/
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, #333333, #000000);
background-image: -moz-linear-gradient(top, #333333, #000000);
background-image: -ms-linear-gradient(top, #333333, #000000);
background-image: -o-linear-gradient(top, #333333, #000000);
background-image: -webkit-gradient(linear, left top, left bottom, from(#333333), to(#000000));
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, #333333, #212121);
background-image: -moz-linear-gradient(top, #333333, #212121);
background-image: -ms-linear-gradient(top, #333333, #212121);
background-image: -o-linear-gradient(top, #333333, #212121);
background-image: -webkit-gradient(linear, left top, left bottom, from(#333333), to(#212121));
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#212121');
}
.minwidth20per {
max-width: 20%;
}
.minwidth70per {
max-width: 70%;
}
.marginBottom40 {
margin-bottom: 40px;
}
/* header */
.header-user {
background-color: #DEDEDE;
padding-top: 1px;
}
.header-navi {
background: url("../images/icon.png") 0px -130px repeat-x #333333;
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 list */
.article-header {
color: #9F9F9F;
float: left;
font-size: 12px;
padding-top: 15px;
/* width: 180px; */
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;
/* width: 499px; */
/* float: left; */
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;
/* width: 499px; */
/* float: left; */
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 */
.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 */
.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 */
.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 */
.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 copyright */
.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 */
.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;
}
/* icon */
.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;
}

View File

@ -1 +1,18 @@
/**
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
.triangle-border{position:relative;padding:15px;margin:1em 0 3em;border:5px solid #5a8f00;color:#333;background:#fff;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px}.triangle-border:after,.triangle-border:before{content:"";position:absolute;border-style:solid;display:block;width:0}.triangle-border.left{margin-left:30px}.triangle-border.right{margin-right:30px}.triangle-border:before{bottom:-20px;left:40px;border-width:20px 20px 0;border-color:#5a8f00 transparent}.triangle-border:after{bottom:-13px;left:47px;border-width:13px 13px 0;border-color:#fff transparent}.triangle-border.left:before{top:10px;bottom:auto;left:-30px;border-width:15px 30px 15px 0;border-color:transparent #5a8f00}.triangle-border.left:after{top:16px;bottom:auto;left:-21px;border-width:9px 21px 9px 0;border-color:transparent #fff}.triangle-border.right:before{top:10px;bottom:auto;left:auto;right:-30px;border-width:15px 0 15px 30px;border-color:transparent pink}.triangle-border.right:after{top:16px;bottom:auto;left:auto;right:-21px;border-width:9px 0 9px 21px;border-color:transparent #fff}

View File

@ -1,771 +0,0 @@
/**
* 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 <https://www.gnu.org/licenses/>.
*/
@charset "utf-8";
/*
* skin community style
*
* @author <a href="mailto:LLY219@gmail.com">Liyuan Li</a>
* @version 1.0.0.7, May 15, 2012
*/
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,#333333,#000000);
background-image: -moz-linear-gradient(top,#333333,#000000);
background-image: -ms-linear-gradient(top,#333333,#000000);
background-image: -o-linear-gradient(top,#333333,#000000);
background-image: -webkit-gradient(linear,left top,left bottom,from(#333333),to(#000000));
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,#333333,#212121);
background-image: -moz-linear-gradient(top,#333333,#212121);
background-image: -ms-linear-gradient(top,#333333,#212121);
background-image: -o-linear-gradient(top,#333333,#212121);
background-image: -webkit-gradient(linear,left top,left bottom,from(#333333),to(#212121));
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#212121');
}
.minwidth20per{
max-width:20%;
}
.minwidth70per{
max-width:70%;
}
.marginBottom40 {
margin-bottom: 40px;
}
/* header */
.header-user {
background-color: #DEDEDE;
padding-top: 1px;
}
.header-navi {
background: url("../images/icon.png") 0px -130px repeat-x #333333;
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 list */
.article-header {
color: #9F9F9F;
float: left;
font-size: 12px;
padding-top: 15px;
/* width: 180px; */
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;
/* width: 499px; */
/* float: left; */
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;
/* width: 499px; */
/* float: left; */
overflow: hidden;
display:inline-block;
}
.article-body {
line-height: 145%;
}
.article-body a {
color: #075181;
}
.article-body 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 */
.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 */
.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 */
.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 */
.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;
}
.footer-block li:hover {
background: url("../images/icon.png") repeat-x 0px -34px;
}
/* footer copyright */
.footer {
background: url("../images/indentline-light.png") repeat-x scroll left top #DEDEDE;
text-align: left;
}
.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 */
.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;
}
/* icon */
.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;
}

File diff suppressed because one or more lines are too long

View File

@ -1 +1,18 @@
/*
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
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,"")}

File diff suppressed because one or more lines are too long

View File

@ -38,7 +38,7 @@
</#if>
${comment.commentDate?string("yyyy-MM-dd HH:mm:ss")}
</div>
<div class="comment-content">
<div class="comment-content content-reset">
${comment.commentContent}
</div>
<div class="clear"></div>

View File

@ -26,8 +26,7 @@
<meta name="copyright" content="B3log" />
<meta name="revised" content="Sweelia.com, ${year}" />
<meta http-equiv="Window-target" content="_top" />
<link type="text/css" rel="stylesheet" href="${staticServePath}/css/default-base${miniPostfix}.css?${staticResourceVersion}" charset="utf-8" />
<link type="text/css" rel="stylesheet" href="${staticServePath}/skins/${skinDirName}/css/community-bubbles.css?${staticResourceVersion}" charset="utf-8" />
<link type="text/css" rel="stylesheet" href="${staticServePath}/skins/${skinDirName}/css/base.css?${staticResourceVersion}" charset="utf-8" />
<link type="text/css" rel="stylesheet" href="${staticServePath}/skins/${skinDirName}/css/bubbles.css?${staticResourceVersion}" charset="utf-8" />
<link href="${servePath}/blog-articles-feed.do" title="ATOM" type="application/atom+xml" rel="alternate" charset="utf-8"/>
<link rel="icon" type="image/png" href="${staticServePath}/favicon.png" />

View File

@ -34,7 +34,7 @@
<#include "header.ftl">
</div>
<div class="content">
<div class="article-body marginBottom40">
<div class="content-reset marginBottom40">
${page.pageContent}
</div>
<@comments commentList=pageComments article=page></@comments>

View File

@ -46,7 +46,7 @@
</div>
<div class="clear"></div>
</div>
<div class="article-body">
<div class="content-reset">
<div id="abstract${article.oId}">
${article.articleAbstract}
</div>

View File

@ -97,7 +97,7 @@
</div>
</div>
<hr />
<div class="clearfix" style="margin-top: 5px;">
<div class="clearfix content-reset" style="margin-top: 5px;">
${article.articleContent}
<#if "" != article.articleSign.signHTML?trim>
<p>

View File

@ -0,0 +1,18 @@
/**
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
.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}

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
@import "../../../scss/reset-content";
#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;}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,64 +0,0 @@
/**
* 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 <https://www.gnu.org/licenses/>.
*/
/*
* skin ease style for IE8
*
* @author <a href="mailto:LLY219@gmail.com">Liyuan Li</a>
* @version 1.0.0.1, May 22, 2012
*/
.nav {
border-top: 1px solid #e2e2e2;
border-bottom: 1px solid #e2e2e2;
}
.article-next {
border: 1px solid #e2e2e2;
border-top-color: #fefefe;
}
.article-next:hover {
background-color: #f2f2f2;
border: 1px solid #e2e2e2;
}
.comment-body-ref {
border: 1px solid #e2e2e2;
}
#tags a,
.archives > div,
.dynamic .module,
.form input[type="text"],
.form input[type="password"],
.form textarea,
.article-relative {
border: 1px solid #f2f2f2;
}
#tags a:hover,
.archives>div:hover,
.dynamic .module:hover,
.form input:focus,
.form textarea:focus,
.article-relative:hover {
border: 1px solid #e2e2e2;
}
.article-relative {
width: 363px;
}

View File

@ -1 +0,0 @@
.nav{border-top:1px solid #e2e2e2;border-bottom:1px solid #e2e2e2}.article-next{border:1px solid #e2e2e2;border-top-color:#fefefe}.article-next:hover,.comment-body-ref{border:1px solid #e2e2e2}.article-next:hover{background-color:#f2f2f2}#tags a,.archives>div,.article-relative,.dynamic .module,.form input[type=text],.form input[type=password],.form textarea{border:1px solid #f2f2f2}#tags a:hover,.archives>div:hover,.article-relative:hover,.dynamic .module:hover,.form input:focus,.form textarea:focus{border:1px solid #e2e2e2}.article-relative{width:363px}

View File

@ -1,666 +0,0 @@
/**
* 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 <https://www.gnu.org/licenses/>.
*/
/*
* skin ease style
*
* @author <a href="mailto:LLY219@gmail.com">Liyuan Li</a>
* @version 1.0.1.8, Aug 6, 2012
*/
/* start base */
html, body, div, ul, li {
margin: 0;
padding: 0;
}
body {
font-family: Verdana,arial,'\5fae\8f6f\96c5\9ed1';
font-size: 12px;
background-color: #FCFCFC;
}
::selection {
background-color: #D5D5D5;
color: #FCFCFC;
}
::-moz-selection {
background-color: #D5D5D5;
color: #FCFCFC;
}
a {
outline: none;
color: #009EB8;
text-decoration: none;
}
a:visited {
color: #00b4d2;
}
a:hover {
text-decoration: underline;
}
a:active {
color: #00889f;
}
img {
vertical-align: middle;
border: 0;
}
textarea, input {
outline: none;
}
sup {
font-size: 10px;
font-weight: normal;
-webkit-text-size-adjust: 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;
}
.ft-gray {
color: #808080;
}
.ft-gray:visited {
color: #9a9a9a
}
.ft-gray:hover {
color: #676767;
text-decoration: none;
}
.fn-mgtb10 {
margin: 10px 0;
}
.logo {
padding: 0 5px;
text-shadow: 0 0 1px #D5D5D5;
}
#emotions span:hover {
transform: scale(1.2) rotate(360deg);
-webkit-transform: scale(1.2) rotate(360deg);
-moz-transform: scale(1.2) rotate(360deg);
}
/* end base */
/* start ico */
#search,
.translate-ico {
background-image: url("/skins/ease/images/icons.png");
}
.translate-ico {
background-position: 1px -125px;
background-repeat: no-repeat;
border: 1px solid #D5D5D5;
border-radius: 3px;
cursor: pointer;
float: right;
height: 16px;
margin: -3px 0 0 15px;
padding: 1px;
width: 16px;
}
.translate-ico:hover {
border-color: #9a9a9a;
box-shadow: 0 0 1px #808080;
background-color: #FCFCFC;
}
/* end ico */
/* start frame */
.wrapper {
margin: 0 auto;
width: 990px;
}
.main {
background-color: #FFF;
padding-bottom: 50px;
}
/* end frame */
/* start header */
.header {
width: 100%;
z-index: 1;
}
.header .title {
border-bottom: 1px solid #808080;
font-size: 26px;
font-weight: normal;
}
.header .sub-title {
font-size: 11px;
}
#search {
background-position: 7px -99px;
background-repeat: no-repeat;
background-color: #FFF;
border: 1px solid #D5D5D5;
border-radius: 2px 2px 2px 2px;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) inset;
color: #808080;
float: right;
font-size: 14px;
height: 19px;
line-height: 145%;
padding: 4px 10px 4px 28px;
width: 24px;
-moz-transition: width 0.4s ease, background 0.4s ease;
-webkit-transition: width 0.4s ease, background 0.4s ease;
transition: width 0.4s ease, background 0.4s ease;
}
#search:focus {
width: 150px;
}
.banner {
margin-bottom: 20px;
}
.banner .notice {
float: left;
margin: 20px 0 0 50px;
}
.nav {
background-color: #2C2C2C;
box-shadow: 0 2px 2px #D5D5D5, 0 3px 3px -3px #D5D5D5 inset;
height: 29px;
top: 0;
width: 100%;
z-index: 1;
}
.nav ul {
list-style: none;
float: left;
}
.nav li {
float: left;
}
.nav a {
color: #C9C9C9;
display: block;
float: left;
font-size: 14px;
font-weight: 700;
line-height: 29px;
margin-right: 20px;
padding: 0 10px;
text-decoration: none;
transition: color .4s ease, background-color .8s ease;
-webkit-transition: color .4s ease, background-color .8s ease;
-moz-transition: color .4s ease, background-color .8s ease;
}
.nav a:hover {
color: #FFF;
background-color: #535353;
}
.nav a.current {
background-color: #FFF;
box-shadow: 0 -1px 1px rgba(0, 0, 0, 0.1) inset, 0 1px 1px rgba(0, 0, 0, 0.1) inset;
color: #808080;
}
.nav img {
margin-left: 3px;
}
/* end header */
/* start footer */
.footer {
border-top: 1px solid #D5D5D5;
box-shadow: 0 -1px 1px #D5D5D5;
font-size: 11px;
padding: 12px 0;
-webkit-text-size-adjust: none;
}
#goTop {
background: url("/skins/ease/images/icons.png") no-repeat scroll 5px -51px #D5D5D5;
border-radius: 2px 2px 0 0;
box-shadow: 0 0 3px #D5D5D5;
cursor: pointer;
font-size: 11px;
height: 21px;
line-height: 21px;
padding: 0 10px 0 23px;
position: absolute;
right: 50px;
display: none;
}
#goTop:hover {
background-color: #c8c8c8;
box-shadow: 0 0 3px #c8c8c8;
}
/* end footer*/
/* start article list */
.wrapper > ul {
list-style: none;
}
.main > .wrapper > h2 {
margin: 0;
padding: 14px 0;
}
.article {
border-bottom: 1px solid #f6f6f6;
padding: 30px 50px;
}
.article:hover {
border-bottom-color: #ddd;
box-shadow: 0 0 1px #f6f6f6 inset;
background-color: #FCFCFC;
}
.article-body {
line-height: 145%;
overflow: hidden;
word-wrap: break-word;
margin-bottom: 10px;
}
.article-body ol, .article-body ul {
margin-left: 40px;
}
.article-body a {
color: #808080;
text-decoration: underline;
}
.article-body a:vidited {
color: #9a9a9a
}
.article-body a:hover {
color: #676767;
}
.article-body>div {
min-height: 32px;
}
.article-title h2 {
display: inline;
}
.article-title span {
cursor: pointer;
}
.article-last:hover {
border-bottom: 1px solid #f6f6f6;
}
.article-next {
background-color: #FCFCFC;
box-shadow: 0 0 3px #D5D5D5 inset;
cursor: pointer;
font-size: 14px;
line-height: 36px;
text-align: center;
}
.article-next:hover {
box-shadow: 0 0 3px #D5D5D5, 0 0 3px #D5D5D5 inset;
}
/* end article list */
/* start article */
.article-relative {
background-color: #FCFCFC;
box-shadow: 0 0 2px #D5D5D5;
float: left;
margin: 10px 0;
padding: 0 20px 10px;
width: 385px;
}
.article-relative:hover {
background-color: #fff;
box-shadow: 0 0 4px #D5D5D5;
}
.article-relative ul {
list-style: none;
}
#relevantArticles {
margin-right: 40px;
}
#externalRelevantArticles {
width: 357px;
margin-top: 0;
}
/* end article*/
/* start comment */
#comments {
padding: 20px 50px;
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: 814px;
}
.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: 725px;
}
.comment-body-ref > .comment-panel > .right {
display: none;
}
#replyForm {
margin-left: 25px;
}
.form {
padding: 0 50px 20px;
}
.wrapper > .form {
float: left;
}
.form th {
text-align: right;
white-space: nowrap;
}
.form input[type="text"],
.form input[type="password"],
.form textarea {
background-color: #FCFCFC;
border-width: 0;
box-shadow: 0 0 2px #BCBCBC;
font-family: Verdana,arial,\5fae\8f6f\96c5\9ed1;
font-size: 12px;
margin: 0 5px 10px 0;
outline: medium none;
padding: 0 3px;
height: 28px;
line-height: 28px;
width: 260px;
}
.form input:focus,
.form textarea:focus {
box-shadow: 0 0 4px #D5D5D5;
}
.form textarea {
height: 120px;
overflow: auto;
width: 426px;
line-height: 16px;
}
.form button {
background-color: #F6F6F6;
border: 0 none;
box-shadow: 0 0 2px #D5D5D5;
height: 28px;
line-height: 28px;
padding: 0 12px;
color: #808080;
}
.form button:hover {
box-shadow: 0 0 4px #D5D5D5;
text-shadow: 0 0 2px;
}
.form img {
background-color: #FCFCFC;
box-shadow: 0 0 2px #D5D5D5;
cursor: pointer;
height: 24px;
padding: 1px;
}
/* end comment */
/* start tags */
#tags.other-main {
margin: 47px 44px 0;
width: 902px;
}
#tags li {
float: left;
height: 38px;
}
#tags a {
margin: 3px 6px;
padding: 3px 12px;
background-color: #FCFCFC;
box-shadow: 0 0 2px #D5D5D5;
float: left;
}
#tags a:hover {
text-shadow: 0 0 2px;
text-decoration: none;
box-shadow: 0 0 4px #D5D5D5;
}
.tags1, .tags1:visited {
font-size: 12px;
color: #a7a7a7;
}
.tags2, .tags2:visited {
font-size: 14px;
color: #808080;
}
.tags3, .tags3:visited {
font-size: 16px;
color: #595959;
}
.tags4, .tags4:visited {
font-size: 18px;
color: #323232;
}
.tags5, .tags5:visited {
font-size: 20px;
color: #0a0a0a;
}
/* end tags */
/* start archives */
.archives {
position: relative;
}
.archives > div {
background-color: #FCFCFC;
box-shadow: 0 0 2px #D5D5D5;
padding-bottom: 20px;
line-height: 20px;
margin: 20px;
width: 270px;
position: absolute;
top: 0;
}
.archives h3 {
text-align: center;
}
.archives > div:hover {
box-shadow: 0 0 4px #D5D5D5;
}
.archives a {
display: block;
margin-left: 77px;
}
/* end archives */
/* start dynamic */
.dynamic ul {
list-style: none;
}
.dynamic h3 {
text-align: center;
}
.dynamic .module {
background-color: #FCFCFC;
box-shadow: 0 0 2px #D5D5D5;
float: left;
line-height: 20px;
margin: 20px;
padding: 10px 20px 20px;
width: 385px;
}
.dynamic .module:hover {
box-shadow: 0 0 4px #D5D5D5;
}
.dynamic .side-comments {
width: 600px;
}
.dynamic .side-comments .comment-panel {
width: 510px;
}
.dynamic .side-tags {
width: 170px;
}
.dynamic .side-tags li {
float: left;
margin: 0 5px;
}
.dynamic .side-most-comment,
.dynamic .side-most-view {
margin-bottom: 0;
}
/* end dynamic */
/* start links */
.other-main.links {
margin-top: 45px;
}
.links li {
float: left;
line-height: 22px;
margin: 0 20px;
width: 270px;
}
/* end links */
/* start not list */
.other-main {
display: inline-block;
margin: 30px 30px 0;
width: 930px;
}
/* end not list */

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
#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:.9;filter:alpha(opacity=90);position:absolute}.comment-body-ref>.comment-header{border:0;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}

View File

@ -108,5 +108,6 @@ var Label = {
$(".tooltipLink").tooltip({
html : true
});
Util.init();
</script>
${plugins}

View File

@ -1 +1,18 @@
/*
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
!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);

View File

@ -1 +1,18 @@
/*
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
!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);

View File

@ -1 +1,18 @@
/*
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
!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<t?"next":"prev",h(i[t]))},pause:function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&h.support.transition.end&&(this.$element.trigger(h.support.transition.end),this.cycle()),clearInterval(this.interval),this.interval=null,this},next:function(){if(!this.sliding)return this.slide("next")},prev:function(){if(!this.sliding)return this.slide("prev")},slide:function(t,e){var i,s=this.$element.find(".item.active"),n=e||s[t](),r=this.interval,a="next"==t?"left":"right",l="next"==t?"first":"last",o=this;if(this.sliding=!0,r&&this.pause(),n=n.length?n:this.$element.find(".item")[l](),i=h.Event("slide",{relatedTarget:n[0]}),!n.hasClass("active")){if(h.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(i),i.isDefaultPrevented())return;n.addClass(t),n[0].offsetWidth,s.addClass(a),n.addClass(a),this.$element.one(h.support.transition.end,function(){n.removeClass([t,a].join(" ")).addClass("active"),s.removeClass(["active",a].join(" ")),o.sliding=!1,setTimeout(function(){o.$element.trigger("slid")},0)})}else{if(this.$element.trigger(i),i.isDefaultPrevented())return;s.removeClass("active"),n.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return r&&this.cycle(),this}}},h.fn.carousel=function(n){return this.each(function(){var t=h(this),e=t.data("carousel"),i=h.extend({},h.fn.carousel.defaults,"object"==typeof n&&n),s="string"==typeof n?n:i.slide;e||t.data("carousel",e=new r(this,i)),"number"==typeof n?e.to(n):s?e[s]():i.interval&&e.cycle()})},h.fn.carousel.defaults={interval:5e3,pause:"hover"},h.fn.carousel.Constructor=r,h(document).on("click.carousel.data-api","[data-slide]",function(t){var e,i=h(this),s=h(i.attr("data-target")||(e=i.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")),n=h.extend({},s.data(),i.data());s.carousel(n),t.preventDefault()})}(window.jQuery);

View File

@ -1 +1,18 @@
/*
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
!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);

View File

@ -1 +1,18 @@
/*
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
!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<e&&e--,40==o.keyCode&&e<n.length-1&&e++,~e||(e=0),n.eq(e).focus())}}},r.fn.dropdown=function(n){return this.each(function(){var o=r(this),t=o.data("dropdown");t||o.data("dropdown",t=new a(this)),"string"==typeof n&&t[n].call(o)})},r.fn.dropdown.Constructor=a,r(document).on("click.dropdown.data-api touchstart.dropdown.data-api",d).on("click.dropdown touchstart.dropdown.data-api",".dropdown form",function(o){o.stopPropagation()}).on("click.dropdown.data-api touchstart.dropdown.data-api",o,a.prototype.toggle).on("keydown.dropdown.data-api touchstart.dropdown.data-api",o+", [role=menu]",a.prototype.keydown)}(window.jQuery);

View File

@ -1 +1,18 @@
/*
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
!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('<div class="modal-backdrop '+e+'" />').appendTo(document.body),this.$backdrop.click("static"==this.options.backdrop?n.proxy(this.$element[0].focus,this.$element[0]):n.proxy(this.hide,this)),o&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),o?this.$backdrop.one(n.support.transition.end,t):t()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),n.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(n.support.transition.end,n.proxy(this.removeBackdrop,this)):this.removeBackdrop()):t&&t()}},n.fn.modal=function(i){return this.each(function(){var t=n(this),e=t.data("modal"),o=n.extend({},n.fn.modal.defaults,t.data(),"object"==typeof i&&i);e||t.data("modal",e=new s(this,o)),"string"==typeof i?e[i]():o.show&&e.show()})},n.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},n.fn.modal.Constructor=s,n(document).on("click.modal.data-api",'[data-toggle="modal"]',function(t){var e=n(this),o=e.attr("href"),i=n(e.attr("data-target")||o&&o.replace(/.*(?=#[^\s]+$)/,"")),s=i.data("modal")?"toggle":n.extend({remote:!/#/.test(o)&&o},i.data(),e.data());t.preventDefault(),i.modal(s).one("hide",function(){e.focus()})})}(window.jQuery);

View File

@ -1 +1,18 @@
/*
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
!function(i){"use strict";var p=function(t,o){this.init("popover",t,o)};p.prototype=i.extend({},i.fn.tooltip.Constructor.prototype,{constructor:p,setContent:function(){var t=this.tip(),o=this.getTitle(),e=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](o),t.find(".popover-content > *")[this.options.html?"html":"text"](e),t.removeClass("fade top bottom left right in")},hasContent:function(){return this.getTitle()||this.getContent()},getContent:function(){var t=this.$element,o=this.options;return t.attr("data-content")||("function"==typeof o.content?o.content.call(t[0]):o.content)},tip:function(){return this.$tip||(this.$tip=i(this.options.template)),this.$tip},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}}),i.fn.popover=function(n){return this.each(function(){var t=i(this),o=t.data("popover"),e="object"==typeof n&&n;o||t.data("popover",o=new p(this,e)),"string"==typeof n&&o[n]()})},i.fn.popover.Constructor=p,i.fn.popover.defaults=i.extend({},i.fn.tooltip.defaults,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><div class="popover-inner"><h3 class="popover-title"></h3><div class="popover-content"><p></p></div></div></div>'})}(window.jQuery);

View File

@ -1 +1,18 @@
/*
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
!function(r){"use strict";function i(t,s){var e,o=r.proxy(this.process,this),i=r(t).is("body")?r(window):r(t);this.options=r.extend({},r.fn.scrollspy.defaults,s),this.$scrollElement=i.on("scroll.scroll-spy.data-api",o),this.selector=(this.options.target||(e=r(t).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.$body=r("body"),this.refresh(),this.process()}i.prototype={constructor:i,refresh:function(){var t=this;this.offsets=r([]),this.targets=r([]),this.$body.find(this.selector).map(function(){var t=r(this),s=t.data("target")||t.attr("href"),e=/^#\w/.test(s)&&r(s);return e&&e.length&&[[e.position().top,s]]||null}).sort(function(t,s){return t[0]-s[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},process:function(){var t,s=this.$scrollElement.scrollTop()+this.options.offset,e=(this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight)-this.$scrollElement.height(),o=this.offsets,i=this.targets,r=this.activeTarget;if(e<=s)return r!=(t=i.last()[0])&&this.activate(t);for(t=o.length;t--;)r!=i[t]&&s>=o[t]&&(!o[t+1]||s<=o[t+1])&&this.activate(i[t])},activate:function(t){var s,e;this.activeTarget=t,r(this.selector).parent(".active").removeClass("active"),e=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',(s=r(e).parent("li").addClass("active")).parent(".dropdown-menu").length&&(s=s.closest("li.dropdown").addClass("active")),s.trigger("activate")}},r.fn.scrollspy=function(o){return this.each(function(){var t=r(this),s=t.data("scrollspy"),e="object"==typeof o&&o;s||t.data("scrollspy",s=new i(this,e)),"string"==typeof o&&s[o]()})},r.fn.scrollspy.Constructor=i,r.fn.scrollspy.defaults={offset:10},r(window).on("load",function(){r('[data-spy="scroll"]').each(function(){var t=r(this);t.scrollspy(t.data())})})}(window.jQuery);

View File

@ -1 +1,18 @@
/*
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
!function(o){"use strict";var n=function(t){this.element=o(t)};n.prototype={constructor:n,show:function(){var t,a,e,n=this.element,i=n.closest("ul:not(.dropdown-menu)"),s=n.attr("data-target");s||(s=(s=n.attr("href"))&&s.replace(/.*(?=#[^\s]*$)/,"")),n.parent("li").hasClass("active")||(t=i.find(".active:last a")[0],e=o.Event("show",{relatedTarget:t}),n.trigger(e),e.isDefaultPrevented()||(a=o(s),this.activate(n.parent("li"),i),this.activate(a,a.parent(),function(){n.trigger({type:"shown",relatedTarget:t})})))},activate:function(t,a,e){var n=a.find("> .active"),i=e&&o.support.transition&&n.hasClass("fade");function s(){n.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),t.addClass("active"),i?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active"),e&&e()}i?n.one(o.support.transition.end,s):s(),n.removeClass("in")}},o.fn.tab=function(e){return this.each(function(){var t=o(this),a=t.data("tab");a||t.data("tab",a=new n(this)),"string"==typeof e&&a[e]()})},o.fn.tab.Constructor=n,o(document).on("click.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(t){t.preventDefault(),o(this).tab("show")})}(window.jQuery);

View File

@ -1 +1,18 @@
/*
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
!function(n){"use strict";var s=function(t,e){this.init("tooltip",t,e)};s.prototype={constructor:s,init:function(t,e,i){var o,s;this.type=t,this.$element=n(e),this.options=this.getOptions(i),this.enabled=!0,"click"==this.options.trigger?this.$element.on("click."+this.type,this.options.selector,n.proxy(this.toggle,this)):"manual"!=this.options.trigger&&(o="hover"==this.options.trigger?"mouseenter":"focus",s="hover"==this.options.trigger?"mouseleave":"blur",this.$element.on(o+"."+this.type,this.options.selector,n.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,n.proxy(this.leave,this))),this.options.selector?this._options=n.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(t){return(t=n.extend({},n.fn[this.type].defaults,t,this.$element.data())).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},enter:function(t){var e=n(t.currentTarget)[this.type](this._options).data(this.type);if(!e.options.delay||!e.options.delay.show)return e.show();clearTimeout(this.timeout),e.hoverState="in",this.timeout=setTimeout(function(){"in"==e.hoverState&&e.show()},e.options.delay.show)},leave:function(t){var e=n(t.currentTarget)[this.type](this._options).data(this.type);if(this.timeout&&clearTimeout(this.timeout),!e.options.delay||!e.options.delay.hide)return e.hide();e.hoverState="out",this.timeout=setTimeout(function(){"out"==e.hoverState&&e.hide()},e.options.delay.hide)},show:function(){var t,e,i,o,s,n,h;if(this.hasContent()&&this.enabled){switch(t=this.tip(),this.setContent(),this.options.animation&&t.addClass("fade"),n="function"==typeof this.options.placement?this.options.placement.call(this,t[0],this.$element[0]):this.options.placement,e=/in/.test(n),t.detach().css({top:0,left:0,display:"block"}).insertAfter(this.$element),i=this.getPosition(e),o=t[0].offsetWidth,s=t[0].offsetHeight,e?n.split(" ")[1]:n){case"bottom":h={top:i.top+i.height,left:i.left+i.width/2-o/2};break;case"top":h={top:i.top-s,left:i.left+i.width/2-o/2};break;case"left":h={top:i.top+i.height/2-s/2,left:i.left-o};break;case"right":h={top:i.top+i.height/2-s/2,left:i.left+i.width}}t.offset(h).addClass(n).addClass("in")}},setContent:function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},hide:function(){var t,e=this.tip();return e.removeClass("in"),n.support.transition&&this.$tip.hasClass("fade")?(t=setTimeout(function(){e.off(n.support.transition.end).detach()},500),e.one(n.support.transition.end,function(){clearTimeout(t),e.detach()})):e.detach(),this},fixTitle:function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").removeAttr("title")},hasContent:function(){return this.getTitle()},getPosition:function(t){return n.extend({},t?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},tip:function(){return this.$tip=this.$tip||n(this.options.template)},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(t){var e=n(t.currentTarget)[this.type](this._options).data(this.type);e[e.tip().hasClass("in")?"hide":"show"]()},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}},n.fn.tooltip=function(o){return this.each(function(){var t=n(this),e=t.data("tooltip"),i="object"==typeof o&&o;e||t.data("tooltip",e=new s(this,i)),"string"==typeof o&&e[o]()})},n.fn.tooltip.Constructor=s,n.fn.tooltip.defaults={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover",title:"",delay:0,html:!1}}(window.jQuery);

View File

@ -1 +1,18 @@
/*
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
!function(i){"use strict";i(function(){var n;i.support.transition=(n=function(){var n,i=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(n in t)if(void 0!==i.style[n])return t[n]}())&&{end:n}})}(window.jQuery);

View File

@ -1 +1,18 @@
/*
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
!function(n){"use strict";var h=function(t,e){this.$element=n(t),this.options=n.extend({},n.fn.typeahead.defaults,e),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.highlighter=this.options.highlighter||this.highlighter,this.updater=this.options.updater||this.updater,this.$menu=n(this.options.menu).appendTo("body"),this.source=this.options.source,this.shown=!1,this.listen()};h.prototype={constructor:h,select:function(){var t=this.$menu.find(".active").attr("data-value");return this.$element.val(this.updater(t)).change(),this.hide()},updater:function(t){return t},show:function(){var t=n.extend({},this.$element.offset(),{height:this.$element[0].offsetHeight});return this.$menu.css({top:t.top+t.height,left:t.left}),this.$menu.show(),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(t){var e;return this.query=this.$element.val(),!this.query||this.query.length<this.options.minLength?this.shown?this.hide():this:(e=n.isFunction(this.source)?this.source(this.query,n.proxy(this.process,this)):this.source)?this.process(e):this},process:function(t){var e=this;return t=n.grep(t,function(t){return e.matcher(t)}),(t=this.sorter(t)).length?this.render(t.slice(0,this.options.items)).show():this.shown?this.hide():this},matcher:function(t){return~t.toLowerCase().indexOf(this.query.toLowerCase())},sorter:function(t){for(var e,s=[],i=[],n=[];e=t.shift();)e.toLowerCase().indexOf(this.query.toLowerCase())?~e.indexOf(this.query)?i.push(e):n.push(e):s.push(e);return s.concat(i,n)},highlighter:function(t){var e=this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&");return t.replace(new RegExp("("+e+")","ig"),function(t,e){return"<strong>"+e+"</strong>"})},render:function(t){var s=this;return(t=n(t).map(function(t,e){return(t=n(s.options.item).attr("data-value",e)).find("a").html(s.highlighter(e)),t[0]})).first().addClass("active"),this.$menu.html(t),this},next:function(t){var e=this.$menu.find(".active").removeClass("active").next();e.length||(e=n(this.$menu.find("li")[0])),e.addClass("active")},prev:function(t){var e=this.$menu.find(".active").removeClass("active").prev();e.length||(e=this.$menu.find("li").last()),e.addClass("active")},listen:function(){this.$element.on("blur",n.proxy(this.blur,this)).on("keypress",n.proxy(this.keypress,this)).on("keyup",n.proxy(this.keyup,this)),this.eventSupported("keydown")&&this.$element.on("keydown",n.proxy(this.keydown,this)),this.$menu.on("click",n.proxy(this.click,this)).on("mouseenter","li",n.proxy(this.mouseenter,this))},eventSupported:function(t){var e=t in this.$element;return e||(this.$element.setAttribute(t,"return;"),e="function"==typeof this.$element[t]),e},move:function(t){if(this.shown){switch(t.keyCode){case 9:case 13:case 27:t.preventDefault();break;case 38:t.preventDefault(),this.prev();break;case 40:t.preventDefault(),this.next()}t.stopPropagation()}},keydown:function(t){this.suppressKeyPressRepeat=!~n.inArray(t.keyCode,[40,38,9,13,27]),this.move(t)},keypress:function(t){this.suppressKeyPressRepeat||this.move(t)},keyup:function(t){switch(t.keyCode){case 40:case 38:case 16:case 17:case 18:break;case 9:case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide();break;default:this.lookup()}t.stopPropagation(),t.preventDefault()},blur:function(t){var e=this;setTimeout(function(){e.hide()},150)},click:function(t){t.stopPropagation(),t.preventDefault(),this.select()},mouseenter:function(t){this.$menu.find(".active").removeClass("active"),n(t.currentTarget).addClass("active")}},n.fn.typeahead=function(i){return this.each(function(){var t=n(this),e=t.data("typeahead"),s="object"==typeof i&&i;e||t.data("typeahead",e=new h(this,s)),"string"==typeof i&&e[i]()})},n.fn.typeahead.defaults={source:[],items:8,menu:'<ul class="typeahead dropdown-menu"></ul>',item:'<li><a href="#"></a></li>',minLength:1},n.fn.typeahead.Constructor=h,n(document).on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(t){var e=n(this);e.data("typeahead")||(t.preventDefault(),e.typeahead(e.data()))})}(window.jQuery);

File diff suppressed because one or more lines are too long

View File

@ -87,7 +87,7 @@ var getNextPage = function () {
'</div>' +
'<div class="clear"></div>' +
'</div>' +
'<div class="article-body">' +
'<div class="content-reset">' +
'<div id="abstract' + article.oId + '">' +
article.articleAbstract +
'</div>' +
@ -157,7 +157,6 @@ var ease = {
},
initCommon: function () {
Util.init();
Util.replaceSideEm($(".recent-comments-content"));
Util.buildTags("tagsSide");
},
@ -291,7 +290,7 @@ var ease = {
}
// emotions
$(".article-body").each(function () {
$(".content-reset").each(function () {
this.innerHTML = Util.replaceEmString($(this).html());
});
}

View File

@ -1 +1,18 @@
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<location.pathname.indexOf("tags"))e="/articles/tags/"+location.pathname.split("/tags/")[1].split("/")[0]+"/";else if(-1<location.pathname.indexOf("archives")){var t=location.pathname.split("/archives/")[1].split("/");e="/articles/archives/"+t[0]+"/"+t[1]+"/"}$.ajax({url:latkeConfig.staticServePath+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,r=0;r<e.rslts.articles.length;r++){var s=e.rslts.articles[r],n="";e.rslts.articles.length-1===r&&(n=" article-last"),a+='<li class="article'+n+'"><div class="article-title"><h2><a rel="bookmark" class="ft-gray" href="'+latkeConfig.servePath+s.articlePermalink+'">'+s.articleTitle+"</a>",s.hasUpdated&&(a+="<sup>"+Label.updatedLabel+"</sup>"),s.articlePutTop&&(a+="<sup>"+Label.topArticleLabel+"</sup>"),a+='</h2><div class="right"><a rel="nofollow" class="ft-gray" href="'+latkeConfig.servePath+s.articlePermalink+'#comments">'+ +s.articleCommentCount+"&nbsp;&nbsp;"+Label.commentLabel+'</a>&nbsp;&nbsp;<a rel="nofollow" class="ft-gray" href="'+latkeConfig.servePath+s.articlePermalink+'">'+s.articleViewCount+"&nbsp;&nbsp;"+Label.viewLabel+'</a></div><div class="clear"></div></div><div class="article-body"><div id="abstract'+s.oId+'">'+s.articleAbstract+'</div><div id="content'+s.oId+'" class="none"></div></div><div class="right ft-gray">',s.hasUpdated?a+=Util.toDate(s.articleUpdateDate,"yy-MM-dd HH:mm"):a+=Util.toDate(s.articleCreateDate,"yy-MM-dd HH:mm"),a+=' <a href="'+latkeConfig.servePath+"/authors/"+s.authorId+'">'+s.authorName+'</a></div><div class="left ft-gray">'+Label.tag1Label+" ";for(var l=s.articleTags.split(","),o=0;o<l.length;o++)a+='<a rel="tag" href="'+latkeConfig.servePath+"/tags/"+encodeURIComponent(l[o])+'">'+l[o]+"</a>",o<l.length-1&&(a+=", ");a+='</div><div class="clear"></div></li>'}$(".article-last").removeClass("article-last"),$(".main>.wrapper>ul").append(a),i.paginationPageCount===currentPage?c.remove():c.css("background","none")}}})},ease={$header:$(".header"),headerH:103,$body:$(".main > .wrapper"),$nav:$(".nav"),getCurrentPage:function(){var e=$(".article-next");0<e.length&&(window.currentPage=e.data("page"))},setNavCurrent:function(){$(".nav ul a").each(function(){var e=$(this);e.attr("href")===latkeConfig.servePath+location.pathname?e.addClass("current"):/\/[0-9]+$/.test(location.pathname)&&($(".nav ul li")[0].className="current")})},initCommon:function(){Util.init(),Util.replaceSideEm($(".recent-comments-content")),Util.buildTags("tagsSide")},initArchives:function(){var e=$(".archives");if(!(e.length<1)){$(".footer").css("marginTop","30px");for(var i=[],t=e.find("span").each(function(){for(var e=$(this).data("year"),t=!0,a=0;a<i.length;a++)if(e===i[a]){t=!1;break}t&&i.push(e)}),a="",r=0;r<i.length;r++){for(var s="",n=0;n<t.length;n++){var l=$(t[n]);l.data("year")===i[r]&&(s+=l.html())}a+="<div><h3 class='ft-gray'>"+i[r]+"</h3>"+s+"</div>"}e.html(a);for(var o=$(".archives>div"),c=0,h=0,g=[],d=0;d<o.length;d++){for(var f=0;f<3&&!(d>=o.length);f++)o[d].style.left=310*f+"px",g[f]=0<c?(""!==o[d-3].style.top&&(h=parseInt(o[d-3].style.top)),o[d].style.top=$(o[d-3]).height()+60+h+"px",parseInt(o[d].style.top)+$(o[d]).height()+60):$(o[d]).height()+60,f<2&&(d+=1);c+=1}e.height(g.sort()[g.length-1])}},scrollEvent:function(){var r=this;$(window).scroll(function(){var e=$(window).scrollTop(),t=0;if("block"===$("#top").css("display")&&(t=$("#top").height()),e>=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()),$(".article-body").each(function(){this.innerHTML=Util.replaceEmString($(this).html())})}}};ease.getCurrentPage(),ease.initCommon(),ease.scrollEvent(),ease.setNavCurrent(),ease.initArchives(),ease.setDynamic();
/*
* 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 <https://www.gnu.org/licenses/>.
*/
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<location.pathname.indexOf("tags"))e="/articles/tags/"+location.pathname.split("/tags/")[1].split("/")[0]+"/";else if(-1<location.pathname.indexOf("archives")){var t=location.pathname.split("/archives/")[1].split("/");e="/articles/archives/"+t[0]+"/"+t[1]+"/"}$.ajax({url:latkeConfig.staticServePath+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,s=0;s<e.rslts.articles.length;s++){var n=e.rslts.articles[s],r="";e.rslts.articles.length-1===s&&(r=" article-last"),a+='<li class="article'+r+'"><div class="article-title"><h2><a rel="bookmark" class="ft-gray" href="'+latkeConfig.servePath+n.articlePermalink+'">'+n.articleTitle+"</a>",n.hasUpdated&&(a+="<sup>"+Label.updatedLabel+"</sup>"),n.articlePutTop&&(a+="<sup>"+Label.topArticleLabel+"</sup>"),a+='</h2><div class="right"><a rel="nofollow" class="ft-gray" href="'+latkeConfig.servePath+n.articlePermalink+'#comments">'+ +n.articleCommentCount+"&nbsp;&nbsp;"+Label.commentLabel+'</a>&nbsp;&nbsp;<a rel="nofollow" class="ft-gray" href="'+latkeConfig.servePath+n.articlePermalink+'">'+n.articleViewCount+"&nbsp;&nbsp;"+Label.viewLabel+'</a></div><div class="clear"></div></div><div class="content-reset"><div id="abstract'+n.oId+'">'+n.articleAbstract+'</div><div id="content'+n.oId+'" class="none"></div></div><div class="right ft-gray">',n.hasUpdated?a+=Util.toDate(n.articleUpdateDate,"yy-MM-dd HH:mm"):a+=Util.toDate(n.articleCreateDate,"yy-MM-dd HH:mm"),a+=' <a href="'+latkeConfig.servePath+"/authors/"+n.authorId+'">'+n.authorName+'</a></div><div class="left ft-gray">'+Label.tag1Label+" ";for(var l=n.articleTags.split(","),o=0;o<l.length;o++)a+='<a rel="tag" href="'+latkeConfig.servePath+"/tags/"+encodeURIComponent(l[o])+'">'+l[o]+"</a>",o<l.length-1&&(a+=", ");a+='</div><div class="clear"></div></li>'}$(".article-last").removeClass("article-last"),$(".main>.wrapper>ul").append(a),i.paginationPageCount===currentPage?c.remove():c.css("background","none")}}})},ease={$header:$(".header"),headerH:103,$body:$(".main > .wrapper"),$nav:$(".nav"),getCurrentPage:function(){var e=$(".article-next");0<e.length&&(window.currentPage=e.data("page"))},setNavCurrent:function(){$(".nav ul a").each(function(){var e=$(this);e.attr("href")===latkeConfig.servePath+location.pathname?e.addClass("current"):/\/[0-9]+$/.test(location.pathname)&&($(".nav ul li")[0].className="current")})},initCommon:function(){Util.replaceSideEm($(".recent-comments-content")),Util.buildTags("tagsSide")},initArchives:function(){var e=$(".archives");if(!(e.length<1)){$(".footer").css("marginTop","30px");for(var i=[],t=e.find("span").each(function(){for(var e=$(this).data("year"),t=!0,a=0;a<i.length;a++)if(e===i[a]){t=!1;break}t&&i.push(e)}),a="",s=0;s<i.length;s++){for(var n="",r=0;r<t.length;r++){var l=$(t[r]);l.data("year")===i[s]&&(n+=l.html())}a+="<div><h3 class='ft-gray'>"+i[s]+"</h3>"+n+"</div>"}e.html(a);for(var o=$(".archives>div"),c=0,h=0,g=[],d=0;d<o.length;d++){for(var f=0;f<3&&!(d>=o.length);f++)o[d].style.left=310*f+"px",g[f]=0<c?(""!==o[d-3].style.top&&(h=parseInt(o[d-3].style.top)),o[d].style.top=$(o[d-3]).height()+60+h+"px",parseInt(o[d].style.top)+$(o[d]).height()+60):$(o[d]).height()+60,f<2&&(d+=1);c+=1}e.height(g.sort()[g.length-1])}},scrollEvent:function(){var s=this;$(window).scroll(function(){var e=$(window).scrollTop(),t=0;if("block"===$("#top").css("display")&&(t=$("#top").height()),e>=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();

File diff suppressed because one or more lines are too long

View File

@ -43,7 +43,7 @@
</div>
</#if>
<span class="clear"></span>
<div class="article-body">${comment.commentContent}</div>
<div class="content-reset">${comment.commentContent}</div>
</div>
<span class="clear"></span>
</div>

View File

@ -29,7 +29,7 @@
<link href="${servePath}/blog-articles-feed.do" title="ATOM" type="application/atom+xml" rel="alternate" />
<link rel="stylesheet" href="${staticServePath}/skins/${skinDirName}/css/bootstrap.css" type="text/css" media="" title="no title" charset="utf-8"/>
<link href="${staticServePath}/skins/${skinDirName}/css/bootstrap-responsive.css" rel="stylesheet">
<link href="${staticServePath}/skins/${skinDirName}/css/main.css" rel="stylesheet">
<link href="${staticServePath}/skins/${skinDirName}/css/base.css" rel="stylesheet">
<link rel="icon" type="image/png" href="${staticServePath}/favicon.png" />
<style>
#footer {

View File

@ -38,7 +38,7 @@
<body>
<#include "side.ftl">
<main>
<article class="post article-body">
<article class="post">
<header>
<h2>
<a rel="bookmark" href="${article.articlePermalink}">${article.articleTitle}</a>
@ -59,7 +59,7 @@
<img class="avatar itip" id="ava_author" title="${article.authorName}" alt="Seves" lang="发表人 ${article.authorName}" src="${article.authorThumbnailURL}" data- href="/authors/${article.authorId}" />
</section>
</header>
<section class="abstract">
<section class="abstract content-reset">
${article.articleContent}<#--
<blockquote><p>本文链接:<a href="${servePath}${article.articlePermalink}">${servePath}${article.articlePermalink}</a></p></blockquote> -->
<#if "" != article.articleSign.signHTML?trim>

Some files were not shown because too many files have changed in this diff Show More