👄 side

This commit is contained in:
Van 2019-07-09 12:14:09 +08:00
parent 1a022174b7
commit bf7cbd9150
No known key found for this signature in database
GPG Key ID: 7059B8783A78F16C
3 changed files with 471 additions and 343 deletions

File diff suppressed because one or more lines are too long

View File

@ -18,6 +18,11 @@
@charset "utf-8"; @charset "utf-8";
@import "../../../scss/reset"; @import "../../../scss/reset";
@import "vditor/src/assets/scss/classic"; @import "vditor/src/assets/scss/classic";
.fn__flex {
display: flex;
}
body { body {
margin: 0; margin: 0;
padding: 0; padding: 0;
@ -26,47 +31,60 @@ body {
color: #585858; color: #585858;
background: #545454; background: #545454;
} }
h1, h2, h3 { h1, h2, h3 {
margin-top: 0px; margin-top: 0px;
} }
h1 { h1 {
font-size: 2.4em; font-size: 2.4em;
} }
h2 { h2 {
font-size: 1.6em; font-size: 1.6em;
} }
h3 { h3 {
font-size: 1.4em; font-size: 1.4em;
} }
p,ol,ul {
ol, ul {
margin: 0 0 10px 20px; margin: 0 0 10px 20px;
line-height: 20px; line-height: 20px;
} }
img { img {
border: none; border: none;
} }
a { a {
color: #27789b; color: #27789b;
text-decoration: none; text-decoration: none;
line-height: 22px; line-height: 22px;
} }
a:hover { a:hover {
color: #442494; color: #442494;
} }
.center { .center {
text-align: center; text-align: center;
} }
.clear { .clear {
clear: both; clear: both;
font-size: 0px; font-size: 0px;
height: 0px; height: 0px;
} }
#main { #main {
width: 100%; width: 100%;
} }
#wrap { #wrap {
background-color: #f8f8f8; background-color: #f8f8f8;
} }
/**/ /**/
#top { #top {
background-image: linear-gradient(top, #FFFFFF, #E5E5E5); background-image: linear-gradient(top, #FFFFFF, #E5E5E5);
@ -79,6 +97,7 @@ a:hover {
height: 26px; height: 26px;
line-height: 26px; line-height: 26px;
} }
#top a:hover, #top a.hover { #top a:hover, #top a.hover {
background-color: #EEF2FA; background-color: #EEF2FA;
border-left-color: #707070; border-left-color: #707070;
@ -86,6 +105,7 @@ a:hover {
margin: 0px; margin: 0px;
line-height: 26px; line-height: 26px;
} }
#top a, #top span span { #top a, #top span span {
border-right: 1px solid #D9D9D9; border-right: 1px solid #D9D9D9;
color: #4C4C4C; color: #4C4C4C;
@ -97,53 +117,69 @@ a:hover {
text-shadow: 0 -1px 0 white; text-shadow: 0 -1px 0 white;
font-weight: normal; font-weight: normal;
} }
.right { .right {
float: right; float: right;
} }
.left { .left {
float: left; float: left;
} }
.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;
} }
.article-relative ul { .article-relative ul {
margin: 0 0 10px 10px; margin: 0 0 10px 10px;
} }
.article-relative li { .article-relative li {
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
#pagenavi { #pagenavi {
padding: 20px 0 10px; padding: 20px 0 10px;
} }
#pagenavi span { #pagenavi span {
font-weight:bold} font-weight: bold
}
#pagenavi span, #pagenavi a { #pagenavi span, #pagenavi a {
margin: 0 4px; margin: 0 4px;
padding: 2px 7px; padding: 2px 7px;
border: 1px solid #666; border: 1px solid #666;
border-radius: 3px; border-radius: 3px;
} }
#pagenavi a:hover { #pagenavi a:hover {
background: #666; background: #666;
color: #f0f0f0; color: #f0f0f0;
} }
#pagenavi em { #pagenavi em {
display:none} display: none
}
.breakline { .breakline {
word-break: break-all; word-break: break-all;
word-wrap: break-word; word-wrap: break-word;
} }
.shortline { .shortline {
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
#header { #header {
margin: 0; margin: 0;
padding: 0; padding: 0;
@ -151,32 +187,38 @@ a:hover {
background: url(../images/header-bg.gif) repeat-x; background: url(../images/header-bg.gif) repeat-x;
text-decoration: none; text-decoration: none;
} }
#header-left { #header-left {
float: left; float: left;
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
} }
#header h1 { #header h1 {
float: left; float: left;
margin: 0; margin: 0;
padding: 21px 0 20px 20px; padding: 21px 0 20px 20px;
font-size: 24px; font-size: 24px;
} }
#header h1 a { #header h1 a {
color: #72d4ff; color: #72d4ff;
text-decoration: none; text-decoration: none;
} }
.description { .description {
float: left; float: left;
margin: 33px 0 0 10px; margin: 33px 0 0 10px;
padding: 0px; padding: 0px;
color: #e0e0e0; color: #e0e0e0;
} }
#header-right { #header-right {
float: right; float: right;
margin: 0px; margin: 0px;
padding: 0; padding: 0;
} }
.layout { .layout {
margin: 0px 10px 0 auto; margin: 0px 10px 0 auto;
padding: 2px 0 0 54px; padding: 2px 0 0 54px;
@ -184,6 +226,7 @@ a:hover {
height: 19px; height: 19px;
background: url(../images/style.gif) no-repeat 0px 0px; background: url(../images/style.gif) no-repeat 0px 0px;
} }
.layout span { .layout span {
width: 10px; width: 10px;
height: 10px; height: 10px;
@ -191,34 +234,43 @@ a:hover {
margin: 3px 2px 0 2px; margin: 3px 2px 0 2px;
cursor: pointer; cursor: pointer;
} }
.themes1, .themes2, .themes3, .themes4, .themes5, .post .post-tltle a:hover, .post-comments, .post-date, .post-views, .post-cat, .post-author, .post-tag, #to-top, #footer-right a:hover, .navigation-top span, #sidebar ul li ul li, #sidebar ul li ul li:hover, #sidebar .comms li span, #sidebar .comms li span:hover { .themes1, .themes2, .themes3, .themes4, .themes5, .post .post-tltle a:hover, .post-comments, .post-date, .post-views, .post-cat, .post-author, .post-tag, #to-top, #footer-right a:hover, .navigation-top span, #sidebar ul li ul li, #sidebar ul li ul li:hover, #sidebar .comms li span, #sidebar .comms li span:hover {
background-image: url(../images/icons.gif); background-image: url(../images/icons.gif);
background-repeat: no-repeat; background-repeat: no-repeat;
} }
#sidebar ul li, .navigation-top, .postmetadata { #sidebar ul li, .navigation-top, .postmetadata {
background-image: url(../images/line.gif); background-image: url(../images/line.gif);
background-repeat: repeat-x; background-repeat: repeat-x;
} }
.themes5 { .themes5 {
background-position: -7px -7px; background-position: -7px -7px;
} }
.themes4 { .themes4 {
background-position: -7px -31px; background-position: -7px -31px;
} }
.themes3 { .themes3 {
background-position: -7px -55px; background-position: -7px -55px;
} }
.themes2 { .themes2 {
background-position: -7px -79px; background-position: -7px -79px;
} }
.themes1 { .themes1 {
background-position: -7px -103px; background-position: -7px -103px;
} }
#header-navi { #header-navi {
float: right; float: right;
margin: 14px 0 0 0; margin: 14px 0 0 0;
padding: 0px; padding: 0px;
} }
#header-navi li { #header-navi li {
margin: 0 5px; margin: 0 5px;
padding: 0; padding: 0;
@ -226,27 +278,34 @@ a:hover {
line-height: 24px; line-height: 24px;
height: 24px; height: 24px;
} }
#header-navi li a { #header-navi li a {
color: #d8d8d8; color: #d8d8d8;
} }
#header-navi li.selected a, #header li a:hover { #header-navi li.selected a, #header li a:hover {
color: #f2f2f2; color: #f2f2f2;
background: url(../images/menu-li.gif) no-repeat bottom center; background: url(../images/menu-li.gif) no-repeat bottom center;
padding: 0px 0 4px 0; padding: 0px 0 4px 0;
} }
.navigation-top { .navigation-top {
margin: 2px 0 0 0; margin: 2px 0 0 0;
line-height: 30px; line-height: 30px;
background-position: bottom; background-position: bottom;
} }
.navigation-top span { .navigation-top span {
margin: 0 0 0 15px; margin: 0 0 0 15px;
padding: 0 0 0 20px; padding: 0 0 0 20px;
background-position:-7px -322px} background-position: -7px -322px
}
.post { .post {
margin: 5px 20px 15px 20px; margin: 5px 20px 15px 20px;
padding: 0 0px 0 0; padding: 0 0px 0 0;
} }
.post .post-tltle { .post .post-tltle {
margin: 10px 0 0 0; margin: 10px 0 0 0;
padding: 2px 0; padding: 2px 0;
@ -254,51 +313,61 @@ a:hover {
font-size: 1.6em; font-size: 1.6em;
line-height: 36px; line-height: 36px;
} }
.post .post-tltle a:hover { .post .post-tltle a:hover {
background-position: right -291px; background-position: right -291px;
padding: 0 43px 0 0px; padding: 0 43px 0 0px;
} }
.postmetadata-top { .postmetadata-top {
margin: 0; margin: 0;
padding: 0; padding: 0;
line-height: 22px; line-height: 22px;
font-size: 11px; font-size: 11px;
} }
.post-comments { .post-comments {
background-position: -7px -199px; background-position: -7px -199px;
padding: 0 0 0 13px; padding: 0 0 0 13px;
margin: 0 0 0 10px; margin: 0 0 0 10px;
} }
.post-date { .post-date {
background-position: -7px -222px; background-position: -7px -222px;
padding: 0 0 0 13px; padding: 0 0 0 13px;
} }
.post-views { .post-views {
margin: 0 0 0 10px; margin: 0 0 0 10px;
background-position: -7px -246px; background-position: -7px -246px;
padding: 0 0 0 13px; padding: 0 0 0 13px;
} }
.postmetadata { .postmetadata {
margin: 0px; margin: 0px;
padding: 0 0 4px 0; padding: 0 0 4px 0;
line-height: 24px; line-height: 24px;
background-position: bottom; background-position: bottom;
} }
.post-cat { .post-cat {
margin: 0 10px 0 0; margin: 0 10px 0 0;
background-position: -7px -152px; background-position: -7px -152px;
padding: 0 0 0 13px; padding: 0 0 0 13px;
} }
.post-author { .post-author {
margin: 0 0 0 10px; margin: 0 0 0 10px;
background-position: -7px -269px; background-position: -7px -269px;
padding: 0 0 0 13px; padding: 0 0 0 13px;
} }
.post-tag { .post-tag {
margin: 0 10px 0 0; margin: 0 10px 0 0;
background-position: -7px -125px; background-position: -7px -125px;
padding: 0 0 0 13px; padding: 0 0 0 13px;
} }
.vditor-reset { .vditor-reset {
margin: 8px 0; margin: 8px 0;
padding: 0px; padding: 0px;
@ -307,20 +376,24 @@ a:hover {
overflow: hidden; overflow: hidden;
font-size: 12px; font-size: 12px;
} }
.navigation { .navigation {
margin: 5px 15px 5px 15px; margin: 5px 15px 5px 15px;
text-align: center; text-align: center;
display: block; display: block;
} }
#sidebar ul { #sidebar ul {
margin: 0; margin: 0;
padding: 0; padding: 0;
list-style: none; list-style: none;
} }
#sidebar ul li { #sidebar ul li {
padding: 5px 5px 5px 5px; padding: 5px 5px 5px 5px;
background-position: bottom; background-position: bottom;
} }
#sidebar ul li h3 { #sidebar ul li h3 {
margin: 0px; margin: 0px;
padding: 0; padding: 0;
@ -329,68 +402,94 @@ a:hover {
color: #2cacda; color: #2cacda;
line-height: 28px; line-height: 28px;
} }
#sidebar ul li ul { #sidebar ul li ul {
margin: 0px; margin: 0px;
padding: 0; padding: 0;
} }
#sidebar .slist li { #sidebar .slist li {
margin: 0px 0; margin: 0px 0;
padding: 0 0 0 0px; padding: 0 0 0 0px;
line-height: 22px; line-height: 22px;
background-position: -7px -387px; background-position: -7px -387px;
} }
#sidebar .slist li:hover { #sidebar .slist li:hover {
background-position: -7px -411px; background-position: -7px -411px;
} }
#sidebar ul li ul li a { #sidebar ul li ul li a {
padding: 0 0 0 15px; padding: 0 0 0 15px;
color: #666666; color: #666666;
} }
#sidebar ul li ul li a:hover { #sidebar ul li ul li a:hover {
color: #a165f1; color: #a165f1;
} }
#sidebar .side-cat li { #sidebar .side-cat li {
float: left; float: left;
width: 50%; width: 50%;
} }
#sidebar .side-cat { #sidebar .side-cat {
display: block; display: block;
} }
#sidebar .side-cat span { #sidebar .side-cat span {
float: left; float: left;
line-height: 24px; line-height: 24px;
white-space: nowrap; white-space: nowrap;
padding: 0 5px; padding: 0 5px;
} }
#sidebar .side-cat span:hover, #sidebar .side-cat span a:hover { #sidebar .side-cat span:hover, #sidebar .side-cat span a:hover {
background: #72d4ff; background: #72d4ff;
color: #fff; color: #fff;
} }
#sidebar .comms li { #sidebar .comms li {
background: none; background: none;
padding: 0 0; padding: 0 0;
} }
#sidebar .comms li:hover { #sidebar .comms li:hover {
background: none; background: none;
} }
#sidebar .arrow a {
padding:0 0; #sidebar .fn__flex {
margin-bottom: 5px;
p {
margin: 0;
} }
a {
padding: 0px 0 0 5px;
}
}
#sidebar .arrow { #sidebar .arrow {
padding: 0 0 0 13px; padding: 0 0 0 13px;
background-position: -7px -393px; background-position: -7px -393px;
height: 13px;
margin-top: 4px;
} }
#sidebar .arrow:hover { #sidebar .arrow:hover {
background-position: -7px -417px; background-position: -7px -417px;
color: #85bf73; color: #85bf73;
} }
#sidebar #searchform { #sidebar #searchform {
text-align: left; text-align: left;
} }
#searchform { #searchform {
margin: 10px 0 0 0; margin: 10px 0 0 0;
padding: 0; padding: 0;
} }
#searchform #s { #searchform #s {
margin: 0; margin: 0;
padding: 1px 0 0 2px; padding: 1px 0 0 2px;
@ -399,14 +498,16 @@ background: white;
border: 1px solid #CBD8E5; border: 1px solid #CBD8E5;
line-height: 16px; line-height: 16px;
} }
#searchsubmit { #searchsubmit {
margin: 0; margin: 0;
padding: 2px 0 0 0; padding: 0;
width: 54px; width: 54px;
height: 18px; height: 18px;
border: none; border: none;
cursor: hand; cursor: hand;
} }
#footer { #footer {
clear: both; clear: both;
margin: 0; margin: 0;
@ -414,6 +515,7 @@ cursor: hand;
background: url(../images/foot-bg.gif) repeat-x; background: url(../images/foot-bg.gif) repeat-x;
height: 70px; height: 70px;
} }
#footer-no { #footer-no {
float: left; float: left;
margin: 0; margin: 0;
@ -422,28 +524,34 @@ cursor: hand;
height: 70px; height: 70px;
width: 73px; width: 73px;
} }
#footer-link { #footer-link {
float: left; float: left;
margin: 20px 0 0 20px; margin: 20px 0 0 20px;
color: #d8d8d8; color: #d8d8d8;
display: inline; display: inline;
} }
#footer-link p { #footer-link p {
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
line-height: 18px; line-height: 18px;
} }
#footer-link a { #footer-link a {
color: #85bf73; color: #85bf73;
font: Arial, Helvetica, sans-serif; font: Arial, Helvetica, sans-serif;
} }
#footer-link a:hover { #footer-link a:hover {
color: #FFFF99; color: #FFFF99;
} }
#footer-right a { #footer-right a {
width: 31px; width: 31px;
height: 52px; height: 52px;
} }
#to-top { #to-top {
margin: 10px 30px 0 0; margin: 10px 30px 0 0;
float: right; float: right;
@ -451,13 +559,16 @@ cursor: hand;
height: 52px; height: 52px;
background-position: -8px -480px; background-position: -8px -480px;
} }
#footer-right a { #footer-right a {
width: 31px; width: 31px;
height: 52px; height: 52px;
} }
#footer-right a:hover { #footer-right a:hover {
background-position: -8px -529px; background-position: -8px -529px;
} }
.comments { .comments {
border-bottom: 1px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
border-top: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC;
@ -465,12 +576,14 @@ cursor: hand;
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);
@ -481,35 +594,42 @@ cursor: hand;
width: 520px; width: 520px;
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;
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: 75%; width: 75%;
} }
.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;
@ -519,14 +639,17 @@ cursor: hand;
padding: 9px 15px 10px; padding: 9px 15px 10px;
word-wrap: break-word; word-wrap: break-word;
} }
.comment-form { .comment-form {
margin: 15px 0px; margin: 15px 0px;
padding: 0 35px 15px; padding: 0 35px 15px;
position: relative; position: relative;
} }
.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;
@ -537,11 +660,13 @@ cursor: hand;
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: 100%; width: 100%;
} }
.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;
@ -555,15 +680,18 @@ cursor: hand;
padding: 0px 6px; padding: 0px 6px;
background-color: #ffffff; background-color: #ffffff;
} }
.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;
} }
.em-span { .em-span {
line-height: 24px; line-height: 24px;
float: left; float: left;
} }
.em-br { .em-br {
line-height: 24px; line-height: 24px;
} }

View File

@ -66,12 +66,12 @@
<h3>${recentCommentsLabel}</h3> <h3>${recentCommentsLabel}</h3>
<ul class="comms breakline"> <ul class="comms breakline">
<#list recentComments as comment> <#list recentComments as comment>
<li> <li class="fn__flex">
<span class="arrow"> <span class="arrow">
</span>
<a rel="nofollow" title="${comment.commentContent}" href="${servePath}${comment.commentSharpURL}"> <a rel="nofollow" title="${comment.commentContent}" href="${servePath}${comment.commentSharpURL}">
${comment.commentContent} ${comment.commentContent}
</a> </a>
</span>
</li> </li>
</#list> </#list>
</ul> </ul>