From dae1cb3516d3ad59b5e509206eecca60d906ee9b Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Tue, 28 Jun 2016 20:11:13 +0800 Subject: [PATCH] Release 1.4.0 --- yilia/css/yilia.css | 21 +++++++++++++-------- yilia/macro-comments.ftl | 2 +- yilia/side.ftl | 30 +++++++++++++++--------------- 3 files changed, 29 insertions(+), 24 deletions(-) diff --git a/yilia/css/yilia.css b/yilia/css/yilia.css index 654611b..605bc35 100644 --- a/yilia/css/yilia.css +++ b/yilia/css/yilia.css @@ -19,7 +19,7 @@ * * @author Liyuan Li * @author Liang Ding - * @version 1.2.0.1, Nov 7, 2015 + * @version 1.2.0.3, Jan 27, 2016 */ /* start reset */ html { @@ -430,13 +430,14 @@ pre code, pre tt { position: absolute; opacity: 0.7; width: 100%; - z-index: -1; } .side .content { width: 76%; text-align: center; margin: 112px auto 0; + position: relative; + z-index: 1; } .side .avatar { @@ -477,6 +478,10 @@ pre code, pre tt { .side footer { position: absolute; bottom: 15px; + width: 228px; + text-align: center; + left: 50%; + margin-left: -114px; } .side footer > div { @@ -931,12 +936,12 @@ footer.footer .icon-goup:hover { margin-top: 0; padding-top: 20px; } - + .side .overlay { height: 100px; z-index: 0; } - + .side nav { display: none; } @@ -950,19 +955,19 @@ footer.footer .icon-goup:hover { main { position: initial; } - + article { margin: 10px; } - + .comments { margin: 20px 20px 0 20px; } - + footer.footer { text-align: center; } - + footer.footer .fn-right { float: none; display: block; diff --git a/yilia/macro-comments.ftl b/yilia/macro-comments.ftl index e58bd12..831a7d4 100644 --- a/yilia/macro-comments.ftl +++ b/yilia/macro-comments.ftl @@ -7,7 +7,7 @@
<#if "http://" == comment.commentURL> - ${comment.commentName} + ${comment.commentName} <#else> ${comment.commentName} diff --git a/yilia/side.ftl b/yilia/side.ftl index 0591d2c..fe0d356 100644 --- a/yilia/side.ftl +++ b/yilia/side.ftl @@ -35,20 +35,20 @@ -
- <#if noticeBoard??> -
${noticeBoard}
- - <#if isLoggedIn> - -     - - <#else> - -     - -     - -
+
\ No newline at end of file