From f2ff53a99252a9108ba04716b85b266d323b1b45 Mon Sep 17 00:00:00 2001 From: Van Date: Fri, 1 Mar 2019 16:36:13 +0800 Subject: [PATCH] Community https://github.com/b3log/solo/issues/12686 --- Community/css/base.scss | 785 ++++++++++++++++++++-------------------- Community/side.ftl | 35 +- 2 files changed, 413 insertions(+), 407 deletions(-) diff --git a/Community/css/base.scss b/Community/css/base.scss index 6976ea9..186d906 100644 --- a/Community/css/base.scss +++ b/Community/css/base.scss @@ -20,734 +20,739 @@ * skin community style * * @author Liyuan Li - * @version 2.0.0.0, Feb 21, 2019 + * @version 2.1.0.0, Mar 1, 2019 */ - @import "../../../scss/reset-content"; @import "../../../scss/reset"; @import "vditor/src/assets/scss/classic"; + .left { - float: left; + float: left; } .right { - float: right; + float: right; } .clear:before, .clear:after { - display: table; - content: ""; + display: table; + content: ""; } .clear:after { - clear: both; + clear: both; } .none { - display: none; + display: none; } + body { - background-color: #EFEFEF; - color: #555555; - min-width: 960px; + background-color: #EFEFEF; + color: #555555; + min-width: 960px; } a, a:link { - color:#000000; - text-decoration: none; + color: #000000; + text-decoration: none; } a:active, a:visited { - color: #000000; - text-decoration: none; + color: #000000; + text-decoration: none; } a:hover { - text-decoration: underline; -} -img { - max-width: 100%; - vertical-align: middle; - border: 0; - height: auto; - -ms-interpolation-mode: bicubic; - overflow: hidden; - font-size: 12px; -} -.content { - width: 940px; - margin: 0 auto; + text-decoration: underline; } -.content>h2 { - margin: -20px 0 20px 0; +img { + max-width: 100%; + vertical-align: middle; + border: 0; + height: auto; + -ms-interpolation-mode: bicubic; + overflow: hidden; + font-size: 12px; +} + +.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; + 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; + 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; + 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'); + 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'); } .marginBottom40 { - margin-bottom: 40px; + margin-bottom: 40px; } /* header */ .header-user { - background-color: #DEDEDE; - padding-top: 1px; + background-color: #DEDEDE; + padding-top: 1px; } .header-navi { - background: url("../images/icon.png") 0px -130px repeat-x #333333; - margin-bottom: 50px; + 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'; + color: #FFFFFF; + text-decoration: none; + line-height: 49px; + font: bold 35px/53px '微软雅黑,Arial,Helvetica'; } .sub-title { - color: #9BC4CE; - margin-left: 10px; + color: #9BC4CE; + margin-left: 10px; } .header-navi-main .tabs { - list-style: none; - height: 57px; + list-style: none; + height: 57px; } .header-navi-main .tab { - float: left; - font-size: 16px; - margin-left: 1px; - height: 57px; + 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; + background: url("../images/icon.png") repeat-x scroll 0 -130px #9BC4CE; } #header-pages { - position: relative; + position: relative; } .header-navi-main .tab a { - color: #FFFFFF; - display: block; - font-weight: bold; - line-height: 22px; - padding: 19px 16px 16px; - text-decoration: none; + 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; + left: 0px; + list-style: none; + position: absolute; + top: 57px; + display: block; } .sub-tabs .page-icon { - float: left; - height: 14px; - width: 14px; - margin: 4px 5px 0 0; + float: left; + height: 14px; + width: 14px; + margin: 4px 5px 0 0; } .header-navi-main .sub-tab { - background-color: #9BC4CE; - border-bottom: 1px solid #76A0AA; - border-top: 1px solid #B4D9E2; - margin-left: 0px; + 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: 10px 16px; - font-size: 14px; + min-width: 98px; + padding: 10px 16px; + font-size: 14px; } .header-navi-main .sub-tab:hover { - background-color: #76A0AA; + background-color: #76A0AA; } /* article list */ .article-header { - color: #9F9F9F; - float: left; - font-size: 12px; - padding-top: 15px; - width: 180px; + color: #9F9F9F; + float: left; + font-size: 12px; + padding-top: 15px; + width: 180px; } .article-header ul { - background-color: #333333; - list-style: none; - width: 160px; + 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; + 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; + 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; + 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; } .content-reset { - line-height: 145%; + line-height: 145%; } .content-reset a { - color: #075181; + color: #075181; } .content-reset a:hover { - color: #68ADD5; + color: #68ADD5; } .article-main h2.title { - font: bold 30px Arial,Helvetica,sans-serif; - margin: 0 0 20px; + font: bold 30px Arial, Helvetica, sans-serif; + margin: 0 0 20px; } .article-main h2.title sup { - font-size: 12px; + font-size: 12px; } .read-more a { - background-color:#F2F2F2; - color: #333333; - font-size: 12px; - padding: 8px 18px 8px 12px; - margin: 20px 0; - float: left; + background-color: #F2F2F2; + color: #333333; + font-size: 12px; + padding: 8px 18px 8px 12px; + margin: 20px 0; + float: left; } .article-footer { - width: 200px; - float: left; + 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; + background: url("../images/indentline-light.png") repeat-x scroll left bottom transparent; + font-size: 17px; + padding: 10px 0; } .article-footer ul { - list-style: none; + list-style: none; } .article-footer li { - margin-left: 0px; - border-bottom: 1px solid #E0E0E0; - padding: 8px 5px; + margin-left: 0px; + border-bottom: 1px solid #E0E0E0; + padding: 8px 5px; } .article-footer a { - color: #888888; - margin-bottom: 2px; - display: block; + 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 181px; - text-align: center; - padding: 12px 20px; - width: 499px; + background-color: #FFFFFF; + border-right: 1px solid #E3E3E3; + border-bottom: 1px solid #E3E3E3; + margin: 0 0 20px 181px; + text-align: center; + padding: 12px 20px; + width: 499px; } .pagination a { - color: #555555; - padding: 0 3px; - text-decoration: none; + color: #555555; + padding: 0 3px; + text-decoration: none; } + .pagination a.selected { - font-weight: bold; + font-weight: bold; } .pagination a:hover, .pagination a.selected { - text-decoration: underline; + text-decoration: underline; } /* article detail */ .article-detail-body { - width: 716px; - margin-right: 0px; + width: 716px; + margin-right: 0px; } .article-detail-body .tags, #replyForm { - margin: 20px 0; + 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; + 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-detail-footer > a { + font-weight: bold; } .article-relative { - margin-top: 20px; - width: 360px; + margin-top: 20px; + width: 360px; + li { + list-style: none; + } } .article-relative h4 { - font-size: 14px; - line-height: 25px; + font-size: 14px; + line-height: 25px; } .article-relative a { - color: #555555; - line-height: 145%; + 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; + background: url("../images/indentline-light.png") repeat-x scroll left top transparent; + padding-top: 30px; + position: relative; } -#comments>div>img { - height: 80px; - width: 80px; - margin: 1px 10px 10px 0; +#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; + 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; + margin-bottom: 10px; } #comments .comment-panel .reply { - margin-top: 20px; + 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; + 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; + 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; + 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; +#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; + color: #333333; + font-size: 30px; + margin: 20px 0 15px 0; + font-family: \5fae\8f6f\96c5\9ed1; } .comment { - margin-bottom: 40px; + margin-bottom: 40px; } .comment th { - padding: 10px 0px 10px 0; - text-align: left; + 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; + outline: none; + color: #666666; + padding: 10px 7px; + background-color: #FFFFFF; + font-family: Arial, Helvetica, sans-serif; + width: 100%; + box-sizing: border-box; + border: 1px solid #DDDDDD; + font-size: 12px; + height: 16px; + line-height: 16px; } .comment textarea { - margin: 10px 0; - padding: 7px; - height: auto; + margin: 10px 0; + padding: 7px; + height: auto; } .comment #captchaReply { - margin-left: 10px; + margin-left: 10px; } #commentValidate, #commentValidateReply { - width: 240px; + width: 240px; } + /* footer secondary */ .footer-secondary { - background: url("../images/indentline-light.png") repeat-x scroll left top #DEDEDE; - padding: 40px 0; + 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; + 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; + float: left; + width: 700px; + margin-left: 65px; + word-break: break-all; + word-wrap: break-word; } .most-view-count-articles sup { - font-size: 12px; - color: #555555; - font-weight: normal; - margin-right: 3px; + 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; + float: left; + margin: 0 25px 10px 0px; + text-align: center; + width: 91px; } .recent-comments div a { - display: block; - line-height: 22px; + 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, #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; +.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; + background: url("../images/indentline-light.png") repeat-x scroll left top transparent; + padding: 40px 0; } .footer-block { - margin-right: 20px; - width: 220px; + margin: 0 10px 20px 10px; + width: 22%; } -.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 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; + 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; + 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.mostUsedTags a { + padding-left: 20px; } -.footer-block li img{ - cursor: pointer; - height: 16px; - left: 0px; - position: relative; - top: -20px; - width: 16px; +.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; + color: #555555; + display: block; + height: 19px; + line-height: 19px; + overflow: hidden; + padding: 6px 0 1px 0px; } .footer-block li sup { - float: left; - margin: 18px 3px 0 0; + float: left; + margin: 18px 3px 0 0; } .footer-block li:hover { - background: url("../images/icon.png") repeat-x 0px -34px; + 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 0; + background: url("../images/indentline-light.png") repeat-x scroll left top #DEDEDE; + text-align: left; + padding: 10px 0; } .footer .content { - line-height: 22px; + line-height: 22px; } .footer a { - color: #000000; + color: #000000; } .footer .goTop { - background: url("../images/icon.png") no-repeat -12px -64px; - cursor: pointer; - padding-left: 15px; - height: 17px; - line-height: 17px; + 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; + color: #333333; + font-weight: bold; } .error-footer { - bottom: 0; - position: fixed; - width: 100%; + 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; + 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; + 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; + 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; + 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; + 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; + background-position: 0px -102px; + margin-right: 6px; + height: 16px; + width: 16px; } .atom-icon { - height: 22px; - margin-left: 6px; - width: 22px; + height: 22px; + margin-left: 6px; + width: 22px; } .up-icon { - background-position: -11px -118px; - height: 12px; - margin: 6px 0 0 10px; - width: 11px; - cursor: pointer; + 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; + 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; + 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; + background-position: 0px -64px; } a.star-current-icon { - color: #333333; + color: #333333; } .star-icon { - background-position: 0 -192px; + background-position: 0 -192px; } a.star-icon { - color: orange; + color: orange; } .moon-icon { - float: right; - margin-top: 4px; + float: right; + margin-top: 4px; } .moon-current-icon { - float: right; - background-position: 0 -128px; - margin: 1px 0 3px 0; + float: right; + background-position: 0 -128px; + margin: 1px 0 3px 0; } #tagsPanel a.tagPanel:hover { - border: 1px dashed; + 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; + border: 1px solid; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; + margin: 3px; + cursor: pointer; + float: left; } \ No newline at end of file diff --git a/Community/side.ftl b/Community/side.ftl index 53c0ebf..62d8230 100644 --- a/Community/side.ftl +++ b/Community/side.ftl @@ -33,7 +33,7 @@ <#if 0 != mostViewCountArticles?size>

${mostViewCountArticlesLabel}

-
+ + <#if 0 != mostCommentArticles?size> +
+
+

${mostCommentArticlesLabel}

+
+ +
<#if 0 != recentComments?size>
@@ -72,22 +89,6 @@