This commit is contained in:
Van 2019-03-01 15:47:32 +08:00
parent e84f72ea94
commit a6b4d4a097
No known key found for this signature in database
GPG Key ID: 7059B8783A78F16C
2 changed files with 379 additions and 282 deletions

View File

@ -20,499 +20,594 @@
* skin i-nove style * skin i-nove style
* *
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a> * @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 2.0.0.0, Feb 21, 2019 * @version 2.0.0.1, Mar 1, 2019
*/ */
@import "../../../scss/reset-content"; @import "../../../scss/reset-content";
@import "../../../scss/reset"; @import "../../../scss/reset";
@import "vditor/src/assets/scss/classic"; @import "vditor/src/assets/scss/classic";
.left { .left {
float: left; float: left;
} }
.right { .right {
float: right; float: right;
} }
.clear:before, .clear:before,
.clear:after { .clear:after {
display: table; display: table;
content: ""; content: "";
} }
.clear:after { .clear:after {
clear: both; clear: both;
} }
.none { .none {
display: none; display: none;
} }
.marginLeft12 {
margin-left: 12px;
}
.marginTop12 {
margin-top: 12px;
}
.margin5 {
margin: 5px;
}
img { img {
max-width: 100%; max-width: 100%;
height: auto; height: auto;
} }
.bg { .bg {
background: url("../images/bg.jpg") repeat-x scroll 0 0 #BEC3C6; background: url("../images/bg.jpg") repeat-x scroll 0 0 #BEC3C6;
color: #555555; color: #555555;
} }
a, a:link, a:active, a:visited { a, a:link, a:active, a:visited {
color: #2970A6; color: #2970A6;
text-decoration: none; text-decoration: none;
} }
a:hover { a:hover {
text-decoration: underline; text-decoration: underline;
} }
h1 { h1 {
font-size: 200%; font-size: 200%;
} }
h4 { h4 {
font-size: 160%; font-size: 160%;
} }
h5 { h5 {
font-size: 12px; font-size: 12px;
} }
.margin5R { .margin5R {
margin-right: 5px; margin-right: 5px;
} }
.margin5 { .margin5 {
margin: 5px; margin: 5px;
} }
.wrapper { .wrapper {
background: url("../images/light.gif") no-repeat scroll 50% 0 transparent; background: url("../images/light.gif") no-repeat scroll 50% 0 transparent;
padding: 20px 0; padding: 20px 0;
} }
.content { .content {
margin: 0 auto; margin: 0 auto;
width: 936px; width: 936px;
} }
.header { .header {
background: url("../images/header.jpg") no-repeat scroll 0 0 transparent; background: url("../images/header.jpg") no-repeat scroll 0 0 transparent;
border-bottom: 1px solid #A6A6A6; border-bottom: 1px solid #A6A6A6;
height: 65px; height: 65px;
padding: 25px 30px 0; padding: 25px 30px 0;
} }
.body { .body {
background: url("../images/sidesep.gif") repeat-y scroll right center #FFFFFF; background: url("../images/sidesep.gif") repeat-y scroll right center #FFFFFF;
min-height: 400px; min-height: 400px;
} }
.side-navi { .side-navi {
background: url("../images/sidebar_shadow.gif") repeat-x scroll 50% 0 #F7F7F7; background: url("../images/sidebar_shadow.gif") repeat-x scroll 50% 0 #F7F7F7;
font-size: 95%; font-size: 95%;
line-height: 145%; line-height: 145%;
padding-top: 8px; padding-top: 8px;
width: 300px; width: 300px;
} }
.main { .main {
background: url("../images/main_shadow.gif") repeat-x scroll center top #FFFFFF; background: url("../images/main_shadow.gif") repeat-x scroll center top #FFFFFF;
padding: 13px 15px 15px; padding: 13px 15px 15px;
width: 605px; width: 605px;
} }
.footer { .footer {
background: url("../images/footer.jpg") no-repeat scroll 0 0 transparent; background: url("../images/footer.jpg") no-repeat scroll 0 0 transparent;
border-top: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC;
font-size: 11px; font-size: 11px;
height: 88px; height: 88px;
line-height: 145%; line-height: 145%;
padding: 0; padding: 0;
} }
#logoTitle { #logoTitle {
color: #FFFFFF; color: #FFFFFF;
display: block; display: block;
font-family: "Trajan Pro"; font-family: "Trajan Pro";
height: 30px; height: 30px;
outline: none; outline: none;
text-decoration: none; text-decoration: none;
} }
.sub-title { .sub-title {
border-top: 1px solid #FFFFFF; border-top: 1px solid #FFFFFF;
color: #FFFFFF; color: #FFFFFF;
font-size: 10px; font-size: 10px;
padding: 0 3px; padding: 0 3px;
} }
#header-navi { #header-navi {
background: none repeat scroll 0 0 #FFFFFF; background: none repeat scroll 0 0 #FFFFFF;
border-bottom: 1px solid #A6A6A6; border-bottom: 1px solid #A6A6A6;
ul { ul {
margin: 0; margin: 0;
} }
} }
#header-navi li { #header-navi li {
float: left; float: left;
list-style: none; list-style: none;
margin-left: 0px; margin-left: 0px;
} }
#header-navi li a { #header-navi li a {
background: url("../images/menu.gif") no-repeat scroll 0 0 transparent; background: url("../images/menu.gif") no-repeat scroll 0 0 transparent;
color: #382E1F; color: #382E1F;
display: block; display: block;
font-size: 11px; font-size: 11px;
height: 31px; height: 31px;
line-height: 31px; line-height: 31px;
margin-left: -10px; margin-left: -10px;
outline: none; outline: none;
padding: 0 20px; padding: 0 18px;
text-decoration: none; text-decoration: none;
} }
#header-navi li a:hover { #header-navi li a:hover {
background-position: 0 -31px; background-position: 0 -31px;
} }
#header-navi li a.home { #header-navi li a.home {
background-position: 0 -93px; background-position: 0 -93px;
margin-left: 0; margin-left: 0;
padding: 0; padding: 0;
text-indent: -999em; text-indent: -999em;
width: 45px; width: 45px;
} }
#header-navi li a.home:hover { #header-navi li a.home:hover {
background-position: 0 -124px; background-position: 0 -124px;
} }
#header-navi li a.lastNavi:hover { #header-navi li a.lastNavi:hover {
background-position: 0 0; background-position: 0 0;
} }
#header-navi li.selected a { #header-navi li.selected a {
background-position: 0 -62px; background-position: 0 -62px;
} }
#header-navi li.selected a.home { #header-navi li.selected a.home {
background-position: 0 -155px; background-position: 0 -155px;
} }
#header-navi .page-icon { #header-navi .page-icon {
float: left; float: left;
height: 14px; height: 14px;
width: 14px; width: 14px;
margin: 8px 3px 0 0; margin: 8px 3px 0 0;
} }
#statistic { #statistic {
font-size: 11px; font-size: 11px;
line-height: 31px; line-height: 31px;
margin-right: 15px; margin-right: 15px;
} }
.footer .copyright { .footer .copyright {
padding: 12px; padding: 12px;
width: 857px; width: 857px;
} }
.footer .copyright span { .footer .copyright span {
margin: 0px; margin: 0px;
} }
.footer .goTop { .footer .goTop {
background: url("../images/icons.gif") no-repeat scroll 0 -304px transparent; background: url("../images/icons.gif") no-repeat scroll 0 -304px transparent;
color: #2A2A2A; color: #2A2A2A;
cursor: pointer; cursor: pointer;
line-height: 18px; line-height: 18px;
margin: 5px 17px 0 0; margin: 5px 17px 0 0;
padding-left: 16px; padding-left: 16px;
width: 22px; width: 22px;
white-space: nowrap; white-space: nowrap;
} }
.article { .article {
padding-bottom: 15px; padding-bottom: 15px;
overflow: hidden; overflow: hidden;
} }
.article-title { .article-title {
border-bottom: 1px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
font-size: 16px; font-size: 16px;
margin-top: 10px; margin-top: 10px;
padding: 0 5px 3px; padding: 0 5px 3px;
} }
.article-title sup { .article-title sup {
font-size: 12px; font-size: 12px;
} }
.article-title a { .article-title a {
color: #4C4C4C; color: #4C4C4C;
text-decoration: none; text-decoration: none;
} }
.article-title a:hover { .article-title a:hover {
color: #2970A6; color: #2970A6;
} }
.article-abstract { .article-abstract {
line-height: 145%; line-height: 145%;
margin: 10px 0 10px 5px; margin: 10px 0 10px 5px;
word-wrap: break-word; word-wrap: break-word;
} }
.tagsIcon, .articles-commentIcon, .dateIcon, .article-browserIcon, .authorIcon { .tagsIcon, .articles-commentIcon, .dateIcon, .article-browserIcon, .authorIcon {
background: url("../images/icons.gif") no-repeat scroll 0 -400px transparent; background: url("../images/icons.gif") no-repeat scroll 0 -400px transparent;
float: left; float: left;
height: 16px; height: 16px;
margin-right: 6px; margin-right: 6px;
width: 16px; width: 16px;
} }
.tagsIcon { .tagsIcon {
background-position: 0 -400px; background-position: 0 -400px;
margin-left: 15px; margin-left: 15px;
} }
.dateIcon { .dateIcon {
background-position: 0 -48px; background-position: 0 -48px;
margin-left: 15px; margin-left: 15px;
} }
.authorIcon { .authorIcon {
background-position: 0 0; background-position: 0 0;
} }
.articles-commentIcon { .articles-commentIcon {
background-position: 0 -96px; background-position: 0 -96px;
} }
.article-browserIcon { .article-browserIcon {
background-position: 0 -480px; background-position: 0 -480px;
} }
.content-reset { .content-reset {
line-height: 145%; line-height: 145%;
padding: 5px 0 0 5px; padding: 5px 0 0 5px;
} }
.article-footer { .article-footer {
margin: 0 5px 10px 5px; margin: 0 5px 10px 5px;
} }
.article-relative { .article-relative {
line-height: 22px; line-height: 22px;
margin-top: 24px; margin-top: 24px;
} }
.article-relative h4 { .article-relative h4 {
font-size: 12px; font-size: 12px;
} }
.comments { .comments {
background: none repeat scroll 0 0 #FCFCFC; background: none repeat scroll 0 0 #FCFCFC;
border-bottom: 1px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
border-top: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC;
margin: 15px -15px; margin: 15px -15px;
padding: 0 15px 15px; padding: 0 15px 15px;
position: relative; position: relative;
} }
.comment-title { .comment-title {
background-color: #E3E9FF; background-color: #E3E9FF;
border-top: 1px solid #3366CC; border-top: 1px solid #3366CC;
padding: 3px 12px 3px 12px; padding: 3px 12px 3px 12px;
position: relative; position: relative;
} }
.comment-body-ref { .comment-body-ref {
background-color: #FFFFFF; background-color: #FFFFFF;
filter: alpha(opacity=90); filter: alpha(opacity=90);
left: 217px; left: 217px;
opacity: 0.9; opacity: 0.9;
padding: 6px; padding: 6px;
position: absolute; position: absolute;
width: 605px; width: 605px;
z-index: 10; z-index: 10;
} }
.comment-body { .comment-body {
margin-top: 15px; margin-top: 15px;
} }
.comment-author { .comment-author {
float: left; float: left;
text-align: center; text-align: center;
width: 81px; width: 81px;
} }
.comment-author div { .comment-author div {
background: url("../images/commentpoint.png") no-repeat scroll 100% 33% transparent; background: url("../images/commentpoint.png") no-repeat scroll 100% 33% transparent;
margin-top: 10px; margin-top: 10px;
padding-right: 14px; padding-right: 14px;
} }
.comment-author img { .comment-author img {
border: 1px solid #999999; border: 1px solid #999999;
height: 32px; height: 32px;
padding: 1px; padding: 1px;
width: 32px; width: 32px;
} }
.comment-author a { .comment-author a {
font-weight: bold; font-weight: bold;
white-space: nowrap; white-space: nowrap;
margin-right: 14px; margin-right: 14px;
} }
.comment-info { .comment-info {
background: url("../images/comment.gif") no-repeat scroll 0 0 #EDEFF0; background: url("../images/comment.gif") no-repeat scroll 0 0 #EDEFF0;
font-size: 12px; font-size: 12px;
padding: 10px 15px 0; padding: 10px 15px 0;
width: 494px; width: 494px;
} }
.comment-content { .comment-content {
background: url("../images/comment.gif") no-repeat scroll 100% 100% transparent; background: url("../images/comment.gif") no-repeat scroll 100% 100% transparent;
font-size: 12px; font-size: 12px;
line-height: 145%; line-height: 145%;
margin: 0 -15px; margin: 0 -15px;
overflow: hidden; overflow: hidden;
padding: 9px 15px 10px; padding: 9px 15px 10px;
word-wrap: break-word; word-wrap: break-word;
} }
.comment-form img { .comment-form img {
cursor: pointer; cursor: pointer;
} }
.comment-form input, .comment-form textarea { .comment-form input, .comment-form textarea {
background: url("../images/textfield.gif") repeat-x scroll 50% 0 #FFFFFF; background: url("../images/textfield.gif") repeat-x scroll 50% 0 #FFFFFF;
border: 1px solid #A6A6A6; border: 1px solid #A6A6A6;
color: #555555; color: #555555;
font-family: Helvetica,Arial,sans-serif; font-family: Helvetica, Arial, sans-serif;
height: 16px; height: 16px;
outline: none; outline: none;
padding: 2px 1px; padding: 2px 1px;
width: 200px; width: 200px;
} }
.comment-form textarea { .comment-form textarea {
font-size: 12px; font-size: 12px;
height: auto; height: auto;
width: 601px; width: 601px;
} }
.comment-form button { .comment-form button {
background: none repeat scroll 0 0 #B4D666; background: none repeat scroll 0 0 #B4D666;
border-color: #B4D666 #81B840 #81B840 #B4D666; border-color: #B4D666 #81B840 #81B840 #B4D666;
border-radius: 0px; border-radius: 0px;
border-style: solid; border-style: solid;
border-width: 1px; border-width: 1px;
color: #2970A6; color: #2970A6;
font-size: 12px; font-size: 12px;
height: 24px; height: 24px;
line-height: 24px; line-height: 24px;
padding: 0px 6px; padding: 0px 6px;
} }
.comment-form button:hover { .comment-form button:hover {
background: none repeat scroll 0 0 #98C64C; background: none repeat scroll 0 0 #98C64C;
border-color: #76B33A #98C64C #98C64C #76B33A; border-color: #76B33A #98C64C #98C64C #76B33A;
color: #074A7E; color: #074A7E;
} }
.error-msg { .error-msg {
color: #3366CC; color: #3366CC;
} }
.side-navi ul { .side-navi ul {
list-style: none; list-style: none;
margin-top: 10px; margin-top: 10px;
} }
.side-navi .item { .side-navi .item {
padding: 15px; padding: 15px;
} }
.side-navi sup { .side-navi sup {
margin-right: 3px; margin-right: 3px;
color: #555; color: #555;
} }
.side-navi .navi-comments li > img { .side-navi .navi-comments li > img {
border: 1px solid #999999; border: 1px solid #999999;
height: 32px; height: 32px;
margin-right: 7px; margin-right: 7px;
padding: 1px; padding: 1px;
width: 32px; width: 32px;
} }
.side-navi .navi-comments a { .side-navi .navi-comments a {
font-weight: bold; font-weight: bold;
} }
.side-navi .navi-comments .side-comment { .side-navi .navi-comments .side-comment {
color: #555555; color: #555555;
font-weight: normal; font-weight: normal;
height: 18px; height: 18px;
} }
.side-navi .navi-comments div.left>div>div {
display: none; .side-navi .navi-comments div.left > div > div {
display: none;
} }
.side-navi .navi-comments .side-comment img { .side-navi .navi-comments .side-comment img {
border: 0px; border: 0px;
height: 16px; height: 16px;
margin-right: 0px; margin-right: 0px;
padding: 0px; padding: 0px;
width: 16px; width: 16px;
} }
.side-navi .navi-comments li { .side-navi .navi-comments li {
padding: 2px 0; padding: 2px 0;
} }
.side-navi .navi-comments li div { .side-navi .navi-comments li div {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
-o-text-overflow: ellipsis; -o-text-overflow: ellipsis;
width: 227px; width: 227px;
} }
.side-navi a.selected { .side-navi a.selected {
color: #555555; color: #555555;
text-decoration: none; text-decoration: none;
} }
.side-navi ul.navi-tags li, .side-navi .navi-comments li { .side-navi ul.navi-tags li, .side-navi .navi-comments li {
background-image: none; background-image: none;
padding-left: 0px; padding-left: 0px;
} }
.side-navi ul.navi-tags li img { .side-navi ul.navi-tags li img {
height: 16px; height: 16px;
padding-right: 6px; padding-right: 6px;
width: 16px; width: 16px;
} }
.side-navi li { .side-navi li {
background: url("../images/icons.gif") no-repeat scroll 0 -623px transparent; background: url("../images/icons.gif") no-repeat scroll 0 -623px transparent;
margin: 5px 0 0 0; margin: 5px 0 0 0;
overflow: hidden; overflow: hidden;
padding-left: 20px; padding-left: 20px;
text-overflow: ellipsis; text-overflow: ellipsis;
-o-text-overflow: ellipsis; -o-text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
.side-navi li.aboutMe { .side-navi li.aboutMe {
white-space: normal; white-space: normal;
} }
.side-navi .line { .side-navi .line {
background: url("../images/widgetsep.png") no-repeat scroll center bottom transparent; background: url("../images/widgetsep.png") no-repeat scroll center bottom transparent;
height: 6px; height: 6px;
width: 300px; width: 300px;
} }
.pagination { .pagination {
margin: 16px; margin: 16px;
text-align: center; text-align: center;
} }
.pagination a, .pagination a:visited { .pagination a, .pagination a:visited {
color: #4272DB; color: #4272DB;
padding: 0 3px; padding: 0 3px;
} }
.pagination a.selected { .pagination a.selected {
color: #000000; color: #000000;
font-weight: bold; font-weight: bold;
} }
#tagsPanel .tagPanel { #tagsPanel .tagPanel {
border: 2px solid; border: 2px solid;
border-radius: 6px; border-radius: 6px;
cursor: pointer; cursor: pointer;
float: left; float: left;
margin: 3px; margin: 3px;
} }
#tagsPanel .tagPanel:hover { #tagsPanel .tagPanel:hover {
background-color: #EEEEEE; background-color: #EEEEEE;
border: 2px dashed; border: 2px dashed;
} }
#tagsPanel .tagPanel { #tagsPanel .tagPanel {
text-decoration: none; text-decoration: none;
} }
.error-body { .error-body {
background: url("../images/main_shadow.gif") repeat-x scroll center top #FFFFFF; background: url("../images/main_shadow.gif") repeat-x scroll center top #FFFFFF;
height: 400px; height: 400px;
padding: 12px; padding: 12px;
} }
.error-title { .error-title {
line-height: 72px; line-height: 72px;
} }
.error-panel { .error-panel {
margin-left: 35px; margin-left: 35px;
width: 201px; width: 201px;
} }
.error-panel a { .error-panel a {
background-color: #9CD941; background-color: #9CD941;
border-color: #D0F29D #398A38 #398A38 #D0F29D; border-color: #D0F29D #398A38 #398A38 #D0F29D;
border-style: solid; border-style: solid;
border-width: 1px; border-width: 1px;
color: #000000; color: #000000;
font-size: 14px; font-size: 14px;
font-weight: bold; font-weight: bold;
margin-right: 3px; margin-right: 3px;
padding: 10px 15px; padding: 10px 15px;
text-decoration: none; text-decoration: none;
} }
.error-panel a:hover { .error-panel a:hover {
background-color: #ADEb51; background-color: #ADEb51;
} }
.kind-panel { .kind-panel {
background: url("../images/box.gif") no-repeat scroll 100% 100% #F4F5F7; background: url("../images/box.gif") no-repeat scroll 100% 100% #F4F5F7;
margin-bottom: 10px; margin-bottom: 10px;
padding: 8px 12px; padding: 8px 12px;
} }
.kind-title { .kind-title {
background: url("../images/box.gif") no-repeat scroll 0 0 #E3E4E6; background: url("../images/box.gif") no-repeat scroll 0 0 #E3E4E6;
border-bottom: 1px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
font-weight: bold; font-weight: bold;
padding: 6px 12px; padding: 6px 12px;
} }

View File

@ -141,6 +141,7 @@
<h4>${archiveLabel}</h4> <h4>${archiveLabel}</h4>
<ul> <ul>
<#list archiveDates as archiveDate> <#list archiveDates as archiveDate>
<#if archiveDate_index < 10>
<li> <li>
<#if "en" == localeString?substring(0, 2)> <#if "en" == localeString?substring(0, 2)>
<a href="${servePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}" <a href="${servePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}"
@ -152,6 +153,7 @@
${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel}</a>(${archiveDate.archiveDatePublishedArticleCount}) ${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel}</a>(${archiveDate.archiveDatePublishedArticleCount})
</#if> </#if>
</li> </li>
</#if>
</#list> </#list>
</ul> </ul>
</div> </div>