solo-skins/classic/css/classic.css
2018-09-01 10:11:54 +08:00

428 lines
8.4 KiB
CSS

/**
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2018, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* 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/>.
*/
@charset "utf-8";
/*
* skin classic style
*
* @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, Jun 4, 2018
*/
a, a:link {
color: #0000CC;
}
a:active {
color: red;
}
a:visited {
color: #551A8B;
}
h5 {
font-size: 12px;
}
.content {
margin: 0 auto;
max-width: 1250px;
padding: 0 12px;
}
.header {
height: 108px;
}
.header .page-icon {
height: 14px;
width: 14px;
margin: -1px 3px 0 0;
}
.sub-title {
font-size: 14px;
font-weight: normal;
}
.side {
border-left: 2px solid #E5ECF9;
padding-left: 12px;
width: 280px;
}
.main {
margin-right: -294px;
width: 100%;
}
.main>div {
min-width: 280px;
padding-right: 318px;
}
#logoTitle {
font-family: "Microsoft YaHei";
font-size: 32px;
line-height: 64px;
text-decoration: none;
}
#statistic span {
font-size: 11px;
}
.article, .comments {
padding-bottom: 24px;
}
.article-title {
background-color: #E3E3FF;
border-top: 1px solid #3366CC;
margin-left: 91px;
padding: 3px 0 6px 12px;
}
.article-title sup {
font-size: 12px;
}
.article-date {
background-color: #E3E3FF;
border: 1px solid #BBCCFF;
float: left;
margin: 0 12px 12px 0;
border-radius: 5px;
padding: 7px 3px;
width: 70px;
text-align: center;
word-break: break-all;
}
.article-abstract {
word-wrap: break-word;
}
.article-body {
margin-left: 12px;
line-height: 145%;
}
.article-footer {
margin-right: 12px;
}
.article-footer a, .article-details-footer a {
text-decoration: none;
}
.article-details-footer {
margin: 36px 12px 0 0;
}
.article-relative {
line-height: 22px;
margin-top: 24px;
}
.comments {
position: relative;
}
.comment-title {
background-color: #E3E3FF;
border-top: 1px solid #3366CC;
padding: 3px 12px 3px 12px;
}
.comment-body-ref {
background-color: #FFFFFF;
border: 1px solid #E3E3FF;
filter: alpha(opacity=90);
left: 88px;
opacity: 0.9;
position: absolute;
top: 27px;
width: 87%;
z-index: 10;
}
.comment-body-ref .comment-title {
border-top: 0px;
}
.comment-body {
padding: 9px 12px 12px;
word-wrap: break-word;
overflow: hidden;
}
.comment-picture {
margin-right: 12px;
}
.comment-picture img {
height: 60px;
width: 60px;
}
.comment-reply {
margin: 0 auto 24px auto;
}
.comment-content {
float: left;
width: 88%;
}
#commentURL:focus, #commentURLReply:focus {
box-shadow: -3px 1px 2px rgba(0, 0, 0, 0.3) inset;
}
.error-msg {
color: #3366CC;
}
.error-footer {
bottom: 0px;
position: fixed;
width: 82%;
}
#sideNavi a.selected {
color: #000000;
text-decoration: none;
}
.side-navi ul {
list-style: none;
}
#sideNavi li {
line-height: 22px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
}
#sideNavi li.aboutMe, #sideNavi li.side-navi-notice {
white-space: normal;
}
#sideNavi sup {
margin-right: 3px;
color: green;
}
.side-comment {
text-decoration: none;
}
#recentComments p {
display: inline;
}
#recentComments div, #recentComments br {
display: none;
}
.line {
border-top: thin dotted #BBBBBB;
margin-top: 12px;
padding-top: 12px;
}
.pagination {
margin: 16px;
text-align: center;
}
.pagination a, .pagination a:visited {
color: #4272DB;
padding: 0 3px;
text-decoration: none;
}
.pagination a.selected {
color: #000000;
font-weight: bold;
}
#tagsPanel .tagPanel {
border: 2px solid;
cursor: pointer;
float: left;
margin: 3px;
border-radius: 6px;
}
#tagsPanel .tagPanel:hover {
background-color: #EEEEEE;
border: 2px dashed;
}
#tagsPanel .tagPanel {
text-decoration: none;
}
.error-title {
border-top: 1px solid #3366CC;
background-color: #E5ECF9;
margin-left: 12px;
padding: 6px 12px;
}
.error-panel {
margin-left: 12px;
padding: 24px;
}
.commentIcon, .browserIcon {
background-image: url("../../../images/icon.png");
cursor: pointer;
height: 16px;
margin-right: 3px;
width: 16px;
}
.commentIcon {
background-position: -32px -16px;
}
.browserIcon {
background-position: -128px -16px;
}
.goTopIcon {
background-position: -128px -32px;
}
.goBottomIcon {
background-position: -144px -32px;
}
.footer {
text-align: center;
margin: 30px 0 30px 0;
}
.content-reset {
font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
word-wrap: break-word;
overflow: auto;
line-height: 1.5;
font-size: 16px;
word-break: break-all
}
.content-reset a {
color: #ff4d3a;
}
.content-reset ul,
.content-reset ol {
padding-left: 2em;
margin-top: 0;
margin-bottom: 16px
}
.content-reset li {
margin-top: 0.25em
}
.content-reset h1,
.content-reset h2,
.content-reset h3,
.content-reset h4,
.content-reset h5,
.content-reset h6 {
margin-top: 24px;
margin-bottom: 16px;
font-weight: 600;
line-height: 1.25
}
.content-reset h1 {
padding-bottom: 0.3em;
font-size: 2em;
border-bottom: 1px solid #eee
}
.content-reset h2 {
padding-bottom: 0.3em;
font-size: 1.5em;
border-bottom: 1px solid #eee
}
.content-reset h3 {
font-size: 1.25em
}
.content-reset h4 {
font-size: 1em
}
.content-reset h5 {
font-size: 0.875em
}
.content-reset h6 {
font-size: 0.85em
}
.content-reset hr {
height: 0.25em;
padding: 0;
margin: 24px 0;
background-color: #e7e7e7;
border: 0
}
.content-reset p {
margin-top: 0;
margin-bottom: 16px
}
.content-reset blockquote {
padding: 0 1em;
color: #777;
border-left: 0.25em solid #ddd;
margin-bottom: 16px
}
.content-reset blockquote p {
margin: 0
}
.content-reset iframe {
border: 1px solid #ccc
}
.content-reset table {
width: 100%;
border: 1px solid #dedede;
margin: 15px auto;
border-collapse: collapse;
empty-cells: show
}
.content-reset thead {
text-align: center
}
.content-reset td,
.content-reset th {
height: 35px;
border: 1px solid #dedede;
padding: 0 10px
}
.content-reset th {
font-weight: bold;
text-align: center !important;
background: rgba(158, 188, 226, 0.2)
}
.content-reset tbody tr:nth-child(2n) {
background: rgba(158, 188, 226, 0.12)
}
.content-reset tr:hover {
background: #efefef
}
.content-reset code {
padding: 0.2em 0.4em;
margin: 0;
font-size: 85%;
background-color: rgba(252, 41, 41, 0.12);
border-radius: 3px;
color: #d23f31;
font-family: mononoki, Consolas, "Liberation Mono", Menlo, Courier, monospace
}
.content-reset pre>code {
padding: 0.5em;
border-radius: 0;
color: #333;
background-color: rgba(0, 0, 0, 0.04);
background-image: url(../images/code-bg.png);
background-size: 20px 20px;
border-radius: 5px
}
.content-reset 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 #ccc;
border-bottom-color: #bbb;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #bbb
}
.content-reset img {
max-width: 100%;
vertical-align: middle;
border: 0;
height: auto;
-ms-interpolation-mode: bicubic;
overflow: hidden;
font-size: 12px;
}
.has-toc > ul > li {
list-style: none;
float: left;
width: 50%;
text-align: center;
margin: 15px 0;
cursor: pointer;
}
.has-toc > ul > li.current {
color: #3366CC;
}