Van
2019-02-21 21:46:33 +08:00
parent 3a5132b6ba
commit fbba7dd293
194 changed files with 2365 additions and 7692 deletions

18
metro-hot/css/base.css Normal file

File diff suppressed because one or more lines are too long

View File

@@ -17,11 +17,13 @@
*/
@charset "utf-8";
/*
* skin metro-hot style
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 1.2.1.0, Jan 4, 2019
*/
* skin metro-hot style
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 2.0.0.0, Feb 21, 2019
*/
@import "../../../scss/reset-content";
/* start base */
@font-face {
font-family: 'IcoMoon';
@@ -150,187 +152,6 @@ textarea {
color: #FCFCFC;
}
/* start article-body */
.article-body {
word-wrap: break-word;
overflow: auto;
line-height: 1.65;
font-size: 16px;
word-break: break-word;
}
.article-body ul,
.article-body ol {
padding-left: 2em;
margin-top: 0;
margin-bottom: 16px;
}
.article-body li {
margin-top: 0.25em;
}
.article-body img {
cursor: zoom-in;
}
.article-body img.emoji {
cursor: auto;
max-width: 18px;
}
.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
margin-top: 24px;
margin-bottom: 16px;
font-weight: 600;
line-height: 1.25;
}
.article-body h1 {
padding-bottom: 0.3em;
font-size: 1.7em;
border-bottom: 1px solid #eee;
}
.article-body h2 {
padding-bottom: 0.3em;
font-size: 1.5em;
border-bottom: 1px solid #eee;
}
.article-body h3 {
font-size: 1.25em;
}
.article-body h4 {
font-size: 1em;
}
.article-body h5 {
font-size: 0.875em;
}
.article-body h6 {
font-size: 0.85em;
}
.article-body hr {
height: 0.15em;
padding: 0;
margin: 24px 0;
background-color: #e7e7e7;
border: 0;
}
.article-body p {
margin-top: 0;
margin-bottom: 16px;
}
.article-body blockquote {
padding: 0 1em;
color: #777;
border-left: 0.25em solid #ddd;
margin-bottom: 16px;
}
.article-body blockquote p {
margin: 0;
}
.article-body ins > iframe {
border: 0;
}
.article-body iframe {
border: 1px solid rgba(0, 0, 0, 0.38);
}
.article-body table {
width: 100%;
border: 1px solid #dedede;
margin: 15px auto;
border-collapse: collapse;
empty-cells: show;
}
.article-body thead {
text-align: center;
}
.article-body td,
.article-body th {
height: 35px;
border: 1px solid #dedede;
padding: 0 10px;
}
.article-body th {
font-weight: bold;
text-align: center !important;
background: rgba(158, 188, 226, 0.2);
}
.article-body tbody tr:nth-child(2n) {
background: rgba(158, 188, 226, 0.12);
}
.article-body tr:hover {
background: #efefef;
}
.article-body code {
padding: 0.2em 0.4em;
margin: 0;
font-size: 85%;
background-color: rgba(252, 41, 41, 0.12);
border-radius: 3px;
word-break: break-word;
}
.article-body pre {
position: relative;
}
.article-body pre textarea {
position: absolute;
top: -100000px;
}
.article-body pre > code {
padding: 0.5em;
background-color: rgba(0, 0, 0, 0.04);
background-size: 20px 20px;
border-radius: 5px;
display: block;
}
.article-body 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 rgba(0, 0, 0, 0.38);
border-bottom-color: #bbb;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #bbb;
}
.article-body__task,
.article-body .task-list-item {
list-style: none;
margin-left: -1em;
}
/* end article-body */
.fn-clear:before,
.fn-clear:after {
display: table;
@@ -364,11 +185,11 @@ textarea {
.article-relative a:hover,
.article-abstract .article-title a:hover,
.article-abstract .article-tags a:hover,
.article-body a {
.content-reset a {
text-decoration: underline;
}
.article-body a:hover {
.content-reset a:hover {
text-decoration: none;
}
/* end base */
@@ -616,7 +437,7 @@ textarea {
margin: 10px 0 0 10px;
}
.article-abstract > .article-body {
.article-abstract > .content-reset {
margin: 10px;
overflow: hidden;
white-space: inherit;
@@ -891,7 +712,7 @@ textarea {
margin: 0;
}
.article-body {
.content-reset {
background-color: #323232;
margin-bottom: 30px;
overflow: hidden;
@@ -902,7 +723,7 @@ textarea {
word-wrap: break-word;
}
.main > .article-body {
.main > .content-reset {
margin-right: 10px;
margin-top: 20px;
}
@@ -926,7 +747,7 @@ pre.prettyprint {
width: 80px;
}
#comments .article-body {
#comments .content-reset {
margin: 10px 0;
width: 800px;
}
@@ -1012,7 +833,7 @@ pre.prettyprint {
padding: 25px 15px 15px 25px;
}
#dynamic #comments .article-body {
#dynamic #comments .content-reset {
width: 743px;
}

View File

@@ -42,15 +42,11 @@
width: 434px;
}
.em00, .em01, .em02, .em03, .em04, .em05, .em06, .em07, .em08, .em09, .em10, .em11, .em12, .em13, .em14 {
margin-right: 4px;
}
#comments .article-body {
#comments .content-reset {
width: 340px;
}
#dynamic #comments .article-body {
#dynamic #comments .content-reset {
width: 283px;
}
@@ -101,8 +97,7 @@
.sub-nav > .pagination,
.footer,
#comments > div > img,
#emotions {
#comments > div > img {
display: none;
}
@@ -124,14 +119,14 @@
}
.main .pagination,
.main > .article-body,
.main > .content-reset,
.comment-disabled,
#comments > div {
margin-right: 0;
}
.side > div,
#comments .article-body {
#comments .content-reset {
position: static !important;
width: auto !important;
}

View File

@@ -1,18 +0,0 @@
/**
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2019, 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/>.
*/
@media (max-width:860px) and (min-width:460px){.wrapper{width:720px}.main{width:460px}.form{width:auto}.form input{width:395px}.form textarea{width:434px}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.em13,.em14{margin-right:4px}#comments .article-body{width:340px}#dynamic #comments .article-body{width:283px}.most-comment,.most-view{width:300px;margin-bottom:20px;margin-top:40px}.most-comment .text,.most-view .text{width:195px}.archives-tile,.links-tile,.tags-tile{width:670px}.archives-tile .text,.links-tile .text,.tags-tile .text{width:580px}.links-tile,.tags-tile{margin-left:0}}@media (max-width:460px){#comments>div,.archives,.comment-disabled,.main .pagination,.main>.article-body{margin-right:0}.comment-main,.header>.fn-left,.side,.top-info{float:none}.article-list>div,.main,.side,.wrapper{width:300px}#comments>div>img,#emotions,.footer,.sub-nav>.pagination{display:none}#search{width:237px}.side-tile{width:94px}.article-relative,.notice-board,.online-count,.share,.user{width:249px}#comments .article-body,.side>div{position:static!important;width:auto!important}.share div.text{left:173px}.form{width:auto}.form input{width:240px}.form textarea{width:285px;height:150px}#dynamic .main{margin-bottom:20px}.tags-tile{margin-bottom:50px}.article-title{width:280px}.article-info>a{padding:3px;font-size:12px}#dynamic #comments{padding-left:15px}.links-tile .title,.most-comment .title,.most-view .title,.tags-tile .title{float:right;font-size:15px;font-weight:700;margin:20px 0 0 40px}.most-comment,.most-view{width:249px;margin-left:0}.most-comment .text,.most-view .text{margin-right:0;width:274px;font-size:12px;font-weight:400}.links-tile,.tags-tile{width:249px;margin-left:0}.links-tile .text,.tags-tile .text{width:249px}}

File diff suppressed because one or more lines are too long