This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
<time>${article.articleCreateDate?string("yyyy-MM-dd")}</time>
|
||||
</section>
|
||||
</header>
|
||||
<section class="post-content article-body">
|
||||
<section class="post-content content-reset">
|
||||
${article.articleContent}
|
||||
<#if "" != article.articleSign.signHTML?trim>
|
||||
<div class="marginTop12">
|
||||
|
@@ -42,7 +42,7 @@
|
||||
<a class="fn-right" href="javascript:page.toggleEditor('${comment.oId}', '${comment.commentName}')">${replyLabel}</a>
|
||||
</#if>
|
||||
</div>
|
||||
<div class="comment-content post-content">
|
||||
<div class="comment-content post-content content-reset">
|
||||
${comment.commentContent}
|
||||
</div>
|
||||
</div>
|
||||
|
18
Finding/css/Finding.min.css
vendored
18
Finding/css/Finding.min.css
vendored
File diff suppressed because one or more lines are too long
18
Finding/css/base.css
Normal file
18
Finding/css/base.css
Normal file
File diff suppressed because one or more lines are too long
@@ -21,8 +21,10 @@
|
||||
*
|
||||
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
|
||||
* @author <a href="http://88250.b3log.org">Liang Ding</a>
|
||||
* @version 1.3.0.0, Jan 2, 2019
|
||||
*/
|
||||
* @version 2.0.0.0, Feb 21, 2019
|
||||
*/
|
||||
|
||||
@import "../../../scss/reset-content";
|
||||
/* start reset */
|
||||
html {
|
||||
height: 100%;
|
||||
@@ -220,161 +222,6 @@ pre code, pre tt {
|
||||
}
|
||||
/* end reset */
|
||||
|
||||
/* start article-body */
|
||||
.article-body {
|
||||
word-wrap: break-word;
|
||||
overflow: auto;
|
||||
line-height: 1.65;
|
||||
font-size: 16px;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.article-body ul,
|
||||
.article-body ol {
|
||||
padding-left: 2em;
|
||||
margin-top: 0;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.article-body li {
|
||||
margin-top: 0.25em;
|
||||
}
|
||||
|
||||
.article-body img {
|
||||
cursor: zoom-in;
|
||||
}
|
||||
|
||||
.article-body img.emoji {
|
||||
cursor: auto;
|
||||
max-width: 18px;
|
||||
}
|
||||
|
||||
.article-body h1,
|
||||
.article-body h2,
|
||||
.article-body h3,
|
||||
.article-body h4,
|
||||
.article-body h5,
|
||||
.article-body h6 {
|
||||
margin-top: 24px;
|
||||
margin-bottom: 16px;
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.article-body h1 {
|
||||
padding-bottom: 0.3em;
|
||||
font-size: 1.7em;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
.article-body h2 {
|
||||
padding-bottom: 0.3em;
|
||||
font-size: 1.5em;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
.article-body h3 {
|
||||
font-size: 1.25em;
|
||||
}
|
||||
|
||||
.article-body h4 {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.article-body h5 {
|
||||
font-size: 0.875em;
|
||||
}
|
||||
|
||||
.article-body h6 {
|
||||
font-size: 0.85em;
|
||||
}
|
||||
|
||||
.article-body hr {
|
||||
height: 0.15em;
|
||||
padding: 0;
|
||||
margin: 24px 0;
|
||||
background-color: #e7e7e7;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.article-body p {
|
||||
margin-top: 0;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.article-body blockquote {
|
||||
padding: 0 1em;
|
||||
color: #777;
|
||||
border-left: 0.25em solid #ddd;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.article-body blockquote p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.article-body ins > iframe {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.article-body iframe {
|
||||
border: 1px solid rgba(0, 0, 0, 0.38);
|
||||
}
|
||||
|
||||
.article-body table {
|
||||
width: 100%;
|
||||
border: 1px solid #dedede;
|
||||
margin: 15px auto;
|
||||
border-collapse: collapse;
|
||||
empty-cells: show;
|
||||
}
|
||||
|
||||
.article-body thead {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.article-body td,
|
||||
.article-body th {
|
||||
height: 35px;
|
||||
border: 1px solid #dedede;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.article-body th {
|
||||
font-weight: bold;
|
||||
text-align: center !important;
|
||||
background: rgba(158, 188, 226, 0.2);
|
||||
}
|
||||
|
||||
.article-body tbody tr:nth-child(2n) {
|
||||
background: rgba(158, 188, 226, 0.12);
|
||||
}
|
||||
|
||||
.article-body tr:hover {
|
||||
background: #efefef;
|
||||
}
|
||||
|
||||
.article-body 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;
|
||||
}
|
||||
|
||||
.article-body__task,
|
||||
.article-body .task-list-item {
|
||||
list-style: none;
|
||||
margin-left: -1em;
|
||||
}
|
||||
/* end article-body */
|
||||
|
||||
/* start function */
|
||||
.fn-clear:before,
|
||||
.fn-clear:after {
|
||||
@@ -624,83 +471,6 @@ pre code, pre tt {
|
||||
}
|
||||
/* end common */
|
||||
|
||||
/* start emotions */
|
||||
.em00, .em01, .em02, .em03, .em04, .em05, .em06, .em07, .em08, .em09,
|
||||
.em10, .em11, .em12, .em13, .em14 {
|
||||
cursor: pointer;
|
||||
background-image: url("../../../images/emotions/emotions.png");
|
||||
background-size: 120px;
|
||||
float: left;
|
||||
height: 24px;
|
||||
margin-right: 5px;
|
||||
width: 24px;
|
||||
transition: all .2s ease-out;
|
||||
-webkit-transition: all .2s ease-out;
|
||||
-moz-transition: all .2s ease-out;
|
||||
}
|
||||
|
||||
#emotions span:hover {
|
||||
transform: scale(1.2) rotate(360deg);
|
||||
-webkit-transform: scale(1.2) rotate(360deg);
|
||||
-moz-transform: scale(1.2) rotate(360deg);
|
||||
}
|
||||
|
||||
.em01 {
|
||||
background-position: -24px 0;
|
||||
}
|
||||
|
||||
.em02 {
|
||||
background-position: -48px 0;
|
||||
}
|
||||
|
||||
.em03 {
|
||||
background-position: -72px 0;
|
||||
}
|
||||
.em04 {
|
||||
background-position: -96px 0;
|
||||
}
|
||||
|
||||
.em05 {
|
||||
background-position: 0px -24px;
|
||||
}
|
||||
|
||||
.em06 {
|
||||
background-position: -24px -24px;
|
||||
}
|
||||
|
||||
.em07 {
|
||||
background-position: -48px -24px;
|
||||
}
|
||||
|
||||
.em08 {
|
||||
background-position: -72px -24px;
|
||||
}
|
||||
|
||||
.em09 {
|
||||
background-position: -96px -24px;
|
||||
}
|
||||
|
||||
.em10 {
|
||||
background-position: 0 -48px;
|
||||
}
|
||||
|
||||
.em11 {
|
||||
background-position: -24px -48px ;
|
||||
}
|
||||
|
||||
.em12 {
|
||||
background-position: -48px -48px;
|
||||
}
|
||||
|
||||
.em13 {
|
||||
background-position: -72px -48px;
|
||||
}
|
||||
|
||||
.em14 {
|
||||
background-position: -96px -48px;
|
||||
}
|
||||
/* end emotions */
|
||||
|
||||
/* start framework */
|
||||
.main-header {
|
||||
position: relative;
|
||||
@@ -727,11 +497,8 @@ pre code, pre tt {
|
||||
|
||||
.nav-opened .site-wrapper {
|
||||
overflow-x: hidden;
|
||||
-webkit-transform: translate3D(-240px, 0, 0);
|
||||
-ms-transform: translate3D(-240px, 0, 0);
|
||||
transform: translate3D(-240px, 0, 0);
|
||||
-webkit-transition: -webkit-transform 0.3s ease;
|
||||
transition: transform 0.3s ease;
|
||||
margin-right: 240px;
|
||||
transition: margin 0.3s ease;
|
||||
}
|
||||
/* end framework */
|
||||
|
@@ -54,7 +54,7 @@
|
||||
</span>
|
||||
<a class="fn-right" href="${servePath}${comment.commentSharpURL}">${viewLabel}»</a>
|
||||
</div>
|
||||
<div class="comment-content post-content">
|
||||
<div class="comment-content post-content content-reset">
|
||||
${comment.commentContent}
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -40,25 +40,10 @@
|
||||
|
||||
var Label = {
|
||||
"markedAvailable": ${markedAvailable?c},
|
||||
"skinDirName": "${skinDirName}",
|
||||
"em00Label": "${em00Label}",
|
||||
"em01Label": "${em01Label}",
|
||||
"em02Label": "${em02Label}",
|
||||
"em03Label": "${em03Label}",
|
||||
"em04Label": "${em04Label}",
|
||||
"em05Label": "${em05Label}",
|
||||
"em06Label": "${em06Label}",
|
||||
"em07Label": "${em07Label}",
|
||||
"em08Label": "${em08Label}",
|
||||
"em09Label": "${em09Label}",
|
||||
"em10Label": "${em10Label}",
|
||||
"em11Label": "${em11Label}",
|
||||
"em12Label": "${em12Label}",
|
||||
"em13Label": "${em13Label}",
|
||||
"em14Label": "${em14Label}"
|
||||
"skinDirName": "${skinDirName}"
|
||||
};
|
||||
Util.initSW();
|
||||
Util.parseMarkdown('post-content');
|
||||
Util.parseMarkdown();
|
||||
Util.killIE(8)
|
||||
</script>
|
||||
${plugins}
|
||||
|
@@ -78,7 +78,7 @@ var Finding = {
|
||||
$('.nav .icon-list').show();
|
||||
Finding.tabNav('toc')
|
||||
|
||||
var $articleTocs = $('.article-body [id^=b3_solo_h]'),
|
||||
var $articleTocs = $('.content-reset [id^=b3_solo_h]'),
|
||||
$articleToc = $('.b3-solo-list');
|
||||
|
||||
$(window).scroll(function (event) {
|
||||
|
2
Finding/js/Finding.min.js
vendored
2
Finding/js/Finding.min.js
vendored
@@ -15,4 +15,4 @@
|
||||
* 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 Finding={init:function(){Util.killIE(),this._initToc(),$(".scroll-down").click(function(t){t.preventDefault();var n=$(this),o=$("html, body"),i=!!n.attr("data-offset")&&n.attr("data-offset"),e=parseInt(i);o.stop(!0,!1).animate({scrollTop:$(this.hash).offset().top+e},500)}),$("body").append('<a class="icon-gotop fn-none" href="javascript:Util.goTop()"></a><span class="menu-button icon-menu"><span class="word">Menu</span></span>'),$(".menu-button").click(function(t){t.stopPropagation(),$("body").toggleClass("nav-opened nav-closed")}),$(window).scroll(function(){$(window).scrollTop()>$(".main-header").height()?$(".icon-gotop").show():$(".icon-gotop").hide()})},_initToc:function(){if(0===$(".b3-solo-list li").length)return $(".nav .icon-list").hide(),void $(".nav .icon-sitemap").click();$(".nav ul:first").after($(".b3-solo-list")),$("body").toggleClass("nav-opened nav-closed"),$(".nav .icon-list").show(),Finding.tabNav("toc");var a=$(".article-body [id^=b3_solo_h]"),l=$(".b3-solo-list");$(window).scroll(function(t){if(0===$(".b3-solo-list li").length)return!1;var n=[];a.each(function(t){n.push({id:this.id,offsetTop:this.offsetTop})});for(var o=$(window).scrollTop(),i=0,e=n.length;i<e;i++)if(o<n[i].offsetTop+280){l.find("li").removeClass("current");var s=0<i?i-1:0;l.find('a[href="#'+n[s].id+'"]').parent().addClass("current");break}o>=n[n.length-1].offsetTop+280&&(l.find("li").removeClass("current"),l.find("li:last").addClass("current"))}),$(window).scroll()},tabNav:function(t){$(".nav .current").removeClass("current"),"toc"===t?($(".nav ul:first, .nav .count").hide(),$(".nav ul:last").show(),$(".icon-list").addClass("current")):($(".nav ul:first, .nav .count").show(),$(".nav ul:last").hide(),$(".icon-sitemap").addClass("current"))},share:function(){$(".share span").click(function(){var t=$(this).data("type"),n=encodeURIComponent($("title").text()),o=$(".post-title a").attr("href")?$(".post-title a").attr("href"):location,i=$(".post-content img:eq(0)").attr("src"),e={};e.tencent="http://share.v.t.qq.com/index.php?c=share&a=index&title="+n+"&url="+o+"&pic="+i,e.weibo="http://v.t.sina.com.cn/share/share.php?title="+n+"&url="+o+"&pic="+i,e.google="https://plus.google.com/share?url="+o,e.twitter="https://twitter.com/intent/tweet?status="+n+" "+o,window.open(e[t],"_blank","top=100,left=200,width=648,height=618")})}};Finding.init();
|
||||
var Finding={init:function(){Util.killIE(),this._initToc(),$(".scroll-down").click(function(t){t.preventDefault();var n=$(this),o=$("html, body"),i=!!n.attr("data-offset")&&n.attr("data-offset"),e=parseInt(i);o.stop(!0,!1).animate({scrollTop:$(this.hash).offset().top+e},500)}),$("body").append('<a class="icon-gotop fn-none" href="javascript:Util.goTop()"></a><span class="menu-button icon-menu"><span class="word">Menu</span></span>'),$(".menu-button").click(function(t){t.stopPropagation(),$("body").toggleClass("nav-opened nav-closed")}),$(window).scroll(function(){$(window).scrollTop()>$(".main-header").height()?$(".icon-gotop").show():$(".icon-gotop").hide()})},_initToc:function(){if(0===$(".b3-solo-list li").length)return $(".nav .icon-list").hide(),void $(".nav .icon-sitemap").click();$(".nav ul:first").after($(".b3-solo-list")),$("body").toggleClass("nav-opened nav-closed"),$(".nav .icon-list").show(),Finding.tabNav("toc");var a=$(".content-reset [id^=b3_solo_h]"),l=$(".b3-solo-list");$(window).scroll(function(t){if(0===$(".b3-solo-list li").length)return!1;var n=[];a.each(function(t){n.push({id:this.id,offsetTop:this.offsetTop})});for(var o=$(window).scrollTop(),i=0,e=n.length;i<e;i++)if(o<n[i].offsetTop+280){l.find("li").removeClass("current");var s=0<i?i-1:0;l.find('a[href="#'+n[s].id+'"]').parent().addClass("current");break}o>=n[n.length-1].offsetTop+280&&(l.find("li").removeClass("current"),l.find("li:last").addClass("current"))}),$(window).scroll()},tabNav:function(t){$(".nav .current").removeClass("current"),"toc"===t?($(".nav ul:first, .nav .count").hide(),$(".nav ul:last").show(),$(".icon-list").addClass("current")):($(".nav ul:first, .nav .count").show(),$(".nav ul:last").hide(),$(".icon-sitemap").addClass("current"))},share:function(){$(".share span").click(function(){var t=$(this).data("type"),n=encodeURIComponent($("title").text()),o=$(".post-title a").attr("href")?$(".post-title a").attr("href"):location,i=$(".post-content img:eq(0)").attr("src"),e={};e.tencent="http://share.v.t.qq.com/index.php?c=share&a=index&title="+n+"&url="+o+"&pic="+i,e.weibo="http://v.t.sina.com.cn/share/share.php?title="+n+"&url="+o+"&pic="+i,e.google="https://plus.google.com/share?url="+o,e.twitter="https://twitter.com/intent/tweet?status="+n+" "+o,window.open(e[t],"_blank","top=100,left=200,width=648,height=618")})}};Finding.init();
|
@@ -190,7 +190,6 @@ goTopLabel=\u9876\u90E8
|
||||
permalink1Label=\u94FE\u63A5\uFF1A
|
||||
permalinkLabel=\u94FE\u63A5
|
||||
b3logLabel=<span style="color: orange;">B</span><span style="color: blue;"><sup>3</sup></span><span style="color: green;">L</span><span style="color: red;">O</span><span style="color: blue;">G</span>
|
||||
killBrowserLabel=<h2>\u8BA9\u6211\u4EEC\u653E\u5F03\u4F7F\u7528\u90A3\u4E9B\u8FC7\u65F6\u3001\u4E0D\u5B89\u5168\u7684\u6D4F\u89C8\u5668\u5427\uFF01</h2><p>\u4E3A\u4E86\u8BA9\u6D4F\u89C8\u5668\u66F4\u597D\u7684\u53D1\u5C55\uFF0C\u4EBA\u7C7B\u66F4\u52A0\u7684\u8FDB\u6B65\uFF0C\u62E5\u6709\u66F4\u597D\u7684\u4F53\u9A8C\uFF0C\u8BA9\u6211\u4EEC\u653E\u5F03\u4F7F\u7528\u90A3\u4E9B\u8FC7\u65F6\u3001\u4E0D\u5B89\u5168\u7684\u6D4F\u89C8\u5668\u3002</p>\u60A8\u53EF\u4EE5\u4E0B\u8F7D<ul><li><a href="http://www.mozilla.com/" target="_blank">\u706B\u72D0</a></li><li><a href="http://www.google.com/chrome" target="_blank">\u8C37\u6B4C\u6D4F\u89C8\u5668</a></li><li><a href="http://windows.microsoft.com/en-US/internet-explorer/downloads/ie" target="_blank">IE8 / IE9</a></li><li><a href="http://www.maxthon.com/" target="_blank">\u9068\u6E38</a>\u6216\u8005<a href="http://www.google.com" target="_blank">\u5176\u5B83\u6D4F\u89C8\u5668</a>.</li></ul>
|
||||
readmoreLabel=\u9605\u8BFB\u66F4\u591A\u00BB
|
||||
readmore2Label=\u9605\u8BFB\u66F4\u591A
|
||||
replyLabel=\u56DE\u590D\u00BB
|
||||
|
@@ -28,7 +28,7 @@
|
||||
<meta name="revised" content="${blogTitle?html}, ${year}" />
|
||||
<meta name="copyright" content="B3log" />
|
||||
<meta http-equiv="Window-target" content="_top" />
|
||||
<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}/rss.xml" title="RSS" type="application/rss+xml" rel="alternate" />
|
||||
<link rel="icon" type="image/png" href="${servePath}/favicon.png" />
|
||||
<link rel="manifest" href="${servePath}/manifest.json">
|
||||
|
@@ -36,7 +36,7 @@
|
||||
<#include "header.ftl">
|
||||
<main>
|
||||
<article class="post">
|
||||
<section class="post-content article-body">
|
||||
<section class="post-content content-reset">
|
||||
${page.pageContent}
|
||||
</section>
|
||||
<footer>
|
||||
|
Reference in New Issue
Block a user