This commit is contained in:
parent
da6806f2b6
commit
8937b76246
@ -21,7 +21,7 @@
|
||||
*
|
||||
* @author <a href="http://88250.b3log.org">Liang Ding</a>
|
||||
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
|
||||
* @version 1.1.0.0, Sep 21, 2017
|
||||
* @version 1.1.0.1, Jan 2, 2019
|
||||
*/
|
||||
|
||||
body, button, input, select, textarea {
|
||||
@ -63,8 +63,9 @@ h4, h5, h6 {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.code-highlight {
|
||||
|
||||
.article-content .task-list-item {
|
||||
list-style: none;
|
||||
margin-left: -1em;
|
||||
}
|
||||
|
||||
.article-content img {
|
||||
|
2
Bruce/css/Bruce.min.css
vendored
2
Bruce/css/Bruce.min.css
vendored
@ -15,4 +15,4 @@
|
||||
* 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";.article-date,.article-tags,.article-title,.footer{text-align:center}.footer,.header{background-color:#f9f9f9}body,button,input,select,textarea{font:400 1em/1.8 Avenir,Microsoft Yahei,Hiragino Sans GB,Microsoft Sans Serif,WenQuanYi Micro Hei,sans-serif;letter-spacing:.01rem}.site{padding:0 2em;margin:0 auto;font-size:16px}h4,h5,h6{font-weight:700}.article{margin-bottom:90px}.article-tags{font-size:14px}.article-date{font-size:12px;margin-top:6px;margin-bottom:12px}.article-content{font-size:1.1em}.article-content img{max-width:100%}.header{border-bottom:1px solid #ddd;margin-bottom:20px}.nav-item{position:relative;display:inline-block;padding:10px;font-weight:500}.nav-item .page-icon{float:left;height:14px;width:14px;margin:2px 3px 0 0}.comment{margin-bottom:32px}.comment p{margin-bottom:0}#captcha,#captchaReply,#emotions span,#emotionsReply span,.form-control{margin-top:15px}.cmtFromSym{font-size:12px;color:#ccc;margin-bottom:1em}.cmtForm{margin-top:24px}.gray{color:#ccc}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.em13,.em14{cursor:pointer;background-image:url(../../../images/emotions/emotions.png);background-size:120px;float:left;height:24px;margin-right:5px;width:24px;transition:all .2s ease-out;-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out}#emotions span:hover{transform:scale(1.2) rotate(360deg);-webkit-transform:scale(1.2) rotate(360deg);-moz-transform:scale(1.2) rotate(360deg)}.em01{background-position:-24px 0}.em02{background-position:-48px 0}.em03{background-position:-72px 0}.em04{background-position:-96px 1px}.em05{background-position:0 -24px}.em06{background-position:-24px -24px}.em07{background-position:-48px -24px}.em08{background-position:-72px -24px}.em09{background-position:-96px -24px}.em10{background-position:0 -48px}.em11{background-position:-24px -48px}.em12{background-position:-48px -48px}.em13{background-position:-72px -48px}.em14{background-position:-96px -48px}.footer{padding:40px 0;margin-top:20px;color:#999;border-top:1px solid #e5e5e5}.article-relative{margin-top:48px}.right{float:right}
|
||||
@charset "utf-8";.article-date,.article-tags,.article-title,.footer{text-align:center}.footer,.header{background-color:#f9f9f9}body,button,input,select,textarea{font:400 1em/1.8 Avenir,Microsoft Yahei,Hiragino Sans GB,Microsoft Sans Serif,WenQuanYi Micro Hei,sans-serif;letter-spacing:.01rem}.site{padding:0 2em;margin:0 auto;font-size:16px}h4,h5,h6{font-weight:700}.article{margin-bottom:90px}.article-tags{font-size:14px}.article-date{font-size:12px;margin-top:6px;margin-bottom:12px}.article-content{font-size:1.1em}.article-content .task-list-item{list-style:none;margin-left:-1em}.article-content img{max-width:100%}.header{border-bottom:1px solid #ddd;margin-bottom:20px}.nav-item{position:relative;display:inline-block;padding:10px;font-weight:500}.nav-item .page-icon{float:left;height:14px;width:14px;margin:2px 3px 0 0}.comment{margin-bottom:32px}.comment p{margin-bottom:0}#captcha,#captchaReply,#emotions span,#emotionsReply span,.form-control{margin-top:15px}.cmtFromSym{font-size:12px;color:#ccc;margin-bottom:1em}.cmtForm{margin-top:24px}.gray{color:#ccc}.em00,.em01,.em02,.em03,.em04,.em05,.em06,.em07,.em08,.em09,.em10,.em11,.em12,.em13,.em14{cursor:pointer;background-image:url(../../../images/emotions/emotions.png);background-size:120px;float:left;height:24px;margin-right:5px;width:24px;transition:all .2s ease-out;-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out}#emotions span:hover{transform:scale(1.2) rotate(360deg);-webkit-transform:scale(1.2) rotate(360deg);-moz-transform:scale(1.2) rotate(360deg)}.em01{background-position:-24px 0}.em02{background-position:-48px 0}.em03{background-position:-72px 0}.em04{background-position:-96px 1px}.em05{background-position:0 -24px}.em06{background-position:-24px -24px}.em07{background-position:-48px -24px}.em08{background-position:-72px -24px}.em09{background-position:-96px -24px}.em10{background-position:0 -48px}.em11{background-position:-24px -48px}.em12{background-position:-48px -48px}.em13{background-position:-72px -48px}.em14{background-position:-96px -48px}.footer{padding:40px 0;margin-top:20px;color:#999;border-top:1px solid #e5e5e5}.article-relative{margin-top:48px}.right{float:right}
|
@ -21,7 +21,7 @@
|
||||
*
|
||||
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
|
||||
* @author <a href="http://88250.b3log.org">Liang Ding</a>
|
||||
* @version 1.2.0.1, Sep 21, 2017
|
||||
* @version 1.3.0.0, Jan 2, 2019
|
||||
*/
|
||||
/* start reset */
|
||||
html {
|
||||
@ -220,6 +220,161 @@ pre code, pre tt {
|
||||
}
|
||||
/* end reset */
|
||||
|
||||
/* 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 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 */
|
||||
|
||||
/* start function */
|
||||
.fn-clear:before,
|
||||
.fn-clear:after {
|
||||
|
2
Finding/css/Finding.min.css
vendored
2
Finding/css/Finding.min.css
vendored
File diff suppressed because one or more lines are too long
@ -179,7 +179,7 @@ blockquote {
|
||||
* Article reset style
|
||||
*
|
||||
* @author <a href="http://vanessa.b3log.org">Liyuan Li</ta>
|
||||
* @version 0.2.0.2, Jul 6, 2018
|
||||
* @version 0.2.0.3, Jan 2, 2019
|
||||
*/
|
||||
.content-reset {
|
||||
word-wrap: break-word;
|
||||
@ -226,7 +226,7 @@ blockquote {
|
||||
.content-reset h6 {
|
||||
font-size: 0.85em; }
|
||||
.content-reset hr {
|
||||
height: 0.25em;
|
||||
height: 0.15em;
|
||||
padding: 0;
|
||||
margin: 24px 0;
|
||||
background-color: #e7e7e7;
|
||||
@ -241,6 +241,8 @@ blockquote {
|
||||
margin-bottom: 16px; }
|
||||
.content-reset blockquote p {
|
||||
margin: 0; }
|
||||
.content-reset ins > iframe {
|
||||
border: 0; }
|
||||
.content-reset iframe {
|
||||
border: 1px solid rgba(0, 0, 0, 0.38); }
|
||||
.content-reset table {
|
||||
@ -293,11 +295,10 @@ blockquote {
|
||||
border-bottom-color: #bbb;
|
||||
border-radius: 3px;
|
||||
box-shadow: inset 0 -1px 0 #bbb; }
|
||||
.content-reset li.task-list-item {
|
||||
list-style: none; }
|
||||
.content-reset li.task-list-item > input {
|
||||
margin-left: -2em;
|
||||
vertical-align: middle; }
|
||||
.content-reset__task,
|
||||
.content-reset .task-list-item {
|
||||
list-style: none;
|
||||
margin-left: -1em; }
|
||||
|
||||
.img-preview {
|
||||
width: 100%;
|
||||
|
2
Jane/css/base.min.css
vendored
2
Jane/css/base.min.css
vendored
File diff suppressed because one or more lines are too long
@ -19,7 +19,7 @@
|
||||
* skin style
|
||||
*
|
||||
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
|
||||
* @version 0.1.0.0, Dec 7, 2018
|
||||
* @version 0.1.0.1, Jan 2, 2019
|
||||
*/
|
||||
@import "../../../scss/reset";
|
||||
@import "../../../scss/reset-content";
|
||||
|
@ -19,7 +19,7 @@
|
||||
* skin style
|
||||
*
|
||||
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
|
||||
* @version 0.1.0.0, Jan 29, 2018
|
||||
* @version 0.1.0.1, Jan 2, 2019
|
||||
*/
|
||||
/* start common */
|
||||
html {
|
||||
@ -334,6 +334,25 @@ blockquote {
|
||||
box-shadow: inset 0 -1px 0 #bbb
|
||||
}
|
||||
|
||||
.content-reset__task,
|
||||
.content-reset .task-list-item {
|
||||
list-style: none;
|
||||
margin-left: -1em;
|
||||
}
|
||||
|
||||
.content-reset img {
|
||||
cursor: zoom-in;
|
||||
}
|
||||
|
||||
.content-reset img.emoji {
|
||||
cursor: auto;
|
||||
max-width: 18px;
|
||||
}
|
||||
|
||||
.content-reset ins > iframe {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.fn-flex {
|
||||
display: flex
|
||||
}
|
||||
|
2
Medium/css/base.min.css
vendored
2
Medium/css/base.min.css
vendored
File diff suppressed because one or more lines are too long
@ -19,7 +19,7 @@
|
||||
* skin neoease style
|
||||
*
|
||||
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
|
||||
* @version 1.1.0.0, Sep 21, 2017
|
||||
* @version 1.2.0.0, Jan 2, 2019
|
||||
*/
|
||||
/* start base */
|
||||
html, body, div, ul, li, h1, h2, h3, h4, h5, h6 {
|
||||
@ -560,12 +560,61 @@ textarea, input {
|
||||
background-position: 0 -70px;
|
||||
}
|
||||
|
||||
/* start article-body */
|
||||
.article-body {
|
||||
font-size: 16px;
|
||||
word-break: break-word;
|
||||
line-height: 145%;
|
||||
overflow: hidden;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.article-body a {
|
||||
border-bottom: 1px solid #DFDFDF;
|
||||
}
|
||||
|
||||
.article-body a:hover {
|
||||
color: #D54E21;
|
||||
border-bottom: 1px solid #D54E21;
|
||||
}
|
||||
|
||||
.article-body p {
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.article-body ul,
|
||||
.article-body ol {
|
||||
margin-top: 0;
|
||||
margin-bottom: 16px;
|
||||
margin-left: 40px;
|
||||
}
|
||||
|
||||
.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 {
|
||||
font-size: 2em;
|
||||
margin: .67em 0;
|
||||
@ -595,23 +644,117 @@ textarea, input {
|
||||
margin: 1.67em 0;
|
||||
}
|
||||
|
||||
.article-body ol, .article-body ul {
|
||||
margin-left: 40px;
|
||||
}
|
||||
|
||||
.article-body a {
|
||||
border-bottom: 1px solid #DFDFDF;
|
||||
}
|
||||
|
||||
.article-body a:hover {
|
||||
color: #D54E21;
|
||||
border-bottom: 1px solid #D54E21;
|
||||
.article-body hr {
|
||||
height: 0.15em;
|
||||
padding: 0;
|
||||
margin: 24px 0;
|
||||
background-color: #e7e7e7;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.article-body p {
|
||||
line-height: 18px;
|
||||
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;
|
||||
}
|
||||
|
||||
.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 */
|
||||
|
||||
.pagination {
|
||||
margin-top: 30px;
|
||||
line-height: 21px;
|
||||
|
2
NeoEase/css/NeoEase.min.css
vendored
2
NeoEase/css/NeoEase.min.css
vendored
File diff suppressed because one or more lines are too long
@ -19,7 +19,7 @@
|
||||
* Skin ease style.
|
||||
*
|
||||
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
|
||||
* @version 1.2.0.0, Jun 4, 2018
|
||||
* @version 1.2.0.1, Jan 2, 2019
|
||||
*/
|
||||
/* start base */
|
||||
html, body, div, ul, li {
|
||||
@ -383,7 +383,9 @@ sup {
|
||||
background-color: #FCFCFC;
|
||||
}
|
||||
|
||||
/* start article-body */
|
||||
.article-body {
|
||||
word-break: break-word;
|
||||
line-height: 145%;
|
||||
overflow: hidden;
|
||||
word-wrap: break-word;
|
||||
@ -391,11 +393,177 @@ sup {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.article-body ol, .article-body ul {
|
||||
.article-body ul,
|
||||
.article-body ol {
|
||||
margin-top: 0;
|
||||
margin-bottom: 16px;
|
||||
margin-left: 40px;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.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 */
|
||||
.article-body a {
|
||||
color: #808080;
|
||||
text-decoration: underline;
|
||||
|
2
ease/css/ease.min.css
vendored
2
ease/css/ease.min.css
vendored
File diff suppressed because one or more lines are too long
2
ease/js/ease.min.js
vendored
2
ease/js/ease.min.js
vendored
@ -15,4 +15,4 @@
|
||||
* 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/>.
|
||||
*/
|
||||
var goTranslate=function(){window.open("http://translate.google.com/translate?sl=auto&tl=auto&u="+location.href)},getNextPage=function(){var c=$(".article-next");currentPage+=1;var e="/articles/";if(1===$("#tag").length)e="/articles/tags/"+(t=location.pathname.split("/"))[t.length-1]+"/";else if(1===$("#archive").length){e="/articles/archives/"+(t=location.pathname.split("/"))[t.length-2]+"/"+t[t.length-1]+"/"}else if(1===$("#author").length){var t;e="/articles/authors/"+(t=location.pathname.split("/"))[t.length-1]+"/"}$.ajax({url:latkeConfig.servePath+e+"?p="+currentPage,type:"GET",beforeSend:function(){c.css("background","url("+latkeConfig.staticServePath+"/skins/ease/images/ajax-loader.gif) no-repeat scroll center center #fefefe")},success:function(e,t){if(e.sc){for(var a="",i=e.rslts.pagination,r=0;r<e.rslts.articles.length;r++){var l=e.rslts.articles[r],n="";e.rslts.articles.length-1===r&&(n=" article-last"),a+='<li class="article'+n+'"><div class="article-title"><h2><a rel="bookmark" class="ft-gray" href="'+latkeConfig.servePath+l.articlePermalink+'">'+l.articleTitle+"</a>",l.hasUpdated&&(a+="<sup>"+Label.updatedLabel+"</sup>"),l.articlePutTop&&(a+="<sup>"+Label.topArticleLabel+"</sup>"),a+='</h2><div class="right"><a rel="nofollow" class="ft-gray" href="'+latkeConfig.servePath+l.articlePermalink+'#comments">'+ +l.articleCommentCount+" "+Label.commentLabel+'</a> <a rel="nofollow" class="ft-gray" href="'+latkeConfig.servePath+l.articlePermalink+'">'+l.articleViewCount+" "+Label.viewLabel+'</a></div><div class="clear"></div></div><div class="article-body"><div id="abstract'+l.oId+'">'+l.articleAbstract+'</div><div id="content'+l.oId+'" class="none"></div></div><div class="right ft-gray">',l.hasUpdated?a+=Util.toDate(l.articleUpdateTime,"yy-MM-dd HH:mm"):a+=Util.toDate(l.articleCreateTime,"yy-MM-dd HH:mm"),a+=' <a href="'+latkeConfig.servePath+"/authors/"+l.authorId+'">'+l.authorName+'</a></div><div class="left ft-gray">'+Label.tag1Label+" ";for(var s=l.articleTags.split(","),o=0;o<s.length;o++)a+='<a rel="tag" href="'+latkeConfig.servePath+"/tags/"+encodeURIComponent(s[o])+'">'+s[o]+"</a>",o<s.length-1&&(a+=", ");a+='</div><div class="clear"></div></li>'}$(".article-last").removeClass("article-last"),$(".main>.wrapper>ul").append(a),i.paginationPageCount===currentPage?c.remove():c.css("background","none")}}})},ease={$header:$(".header"),headerH:103,$body:$(".main > .wrapper"),$nav:$(".nav"),getCurrentPage:function(){var e=$(".article-next");0<e.length&&(window.currentPage=e.data("page"))},setNavCurrent:function(){$(".nav ul a").each(function(){var e=$(this);e.attr("href")===location.href?e.addClass("current"):/\/[0-9]+$/.test(location.pathname)&&($(".nav ul li")[0].className="current")})},initCommon:function(){Util.init(),Util.replaceSideEm($(".recent-comments-content")),Util.buildTags("tagsSide")},initArchives:function(){var e=$(".archives");if(!(e.length<1)){$(".footer").css("marginTop","30px");for(var i=[],t=e.find("span").each(function(){for(var e=$(this).data("year"),t=!0,a=0;a<i.length;a++)if(e===i[a]){t=!1;break}t&&i.push(e)}),a="",r=0;r<i.length;r++){for(var l="",n=0;n<t.length;n++){var s=$(t[n]);s.data("year")===i[r]&&(l+=s.html())}a+="<div><h3 class='ft-gray'>"+i[r]+"</h3>"+l+"</div>"}e.html(a);for(var o=$(".archives>div"),c=0,h=0,g=[],d=0;d<o.length;d++){for(var f=0;f<3&&!(d>=o.length);f++)o[d].style.left=310*f+"px",g[f]=0<c?(""!==o[d-3].style.top&&(h=parseInt(o[d-3].style.top)),o[d].style.top=$(o[d-3]).height()+60+h+"px",parseInt(o[d].style.top)+$(o[d]).height()+60):$(o[d]).height()+60,f<2&&(d+=1);c+=1}e.height(g.sort()[g.length-1])}},scrollEvent:function(){var i=this;$(window).scroll(function(){var e=$(window).scrollTop();if(e>i.headerH){var t=$(window).height(),a=e+t-21;$("body").height()-58<=e+t&&(a=$(".footer").offset().top-21),$("#goTop").fadeIn("slow").css("top",a)}else $("#goTop").hide()})},setDynamic:function(){var e=$(".dynamic");if(!($(".dynamic").length<1)){var t=e.find(".side-categories"),a=e.find(".side-tags"),i=e.find(".side-most-comment"),r=e.find(".side-most-view");t.height()>a.height()?a.height(t.height()):t.height(a.height()),i.height()>r.height()?r.height(i.height()):i.height(r.height()),$(".article-body").each(function(){this.innerHTML=Util.replaceEmString($(this).html())})}}};ease.getCurrentPage(),ease.initCommon(),ease.scrollEvent(),ease.setNavCurrent(),ease.initArchives(),ease.setDynamic();
|
||||
var goTranslate=function(){window.open("http://translate.google.com/translate?sl=auto&tl=auto&u="+location.href)},getNextPage=function(){var c=$(".article-next");currentPage+=1;var e="/articles";if(1===$("#tag").length)e="/articles/tags/"+(t=location.pathname.split("/"))[t.length-1]+"/";else if(1===$("#archive").length){e="/articles/archives/"+(t=location.pathname.split("/"))[t.length-2]+"/"+t[t.length-1]+"/"}else if(1===$("#author").length){var t;e="/articles/authors/"+(t=location.pathname.split("/"))[t.length-1]+"/"}$.ajax({url:latkeConfig.servePath+e+"?p="+currentPage,type:"GET",beforeSend:function(){c.css("background","url("+latkeConfig.staticServePath+"/skins/ease/images/ajax-loader.gif) no-repeat scroll center center #fefefe")},success:function(e,t){if(e.sc){for(var a="",i=e.rslts.pagination,r=0;r<e.rslts.articles.length;r++){var l=e.rslts.articles[r],n="";e.rslts.articles.length-1===r&&(n=" article-last"),a+='<li class="article'+n+'"><div class="article-title"><h2><a rel="bookmark" class="ft-gray" href="'+latkeConfig.servePath+l.articlePermalink+'">'+l.articleTitle+"</a>",l.hasUpdated&&(a+="<sup>"+Label.updatedLabel+"</sup>"),l.articlePutTop&&(a+="<sup>"+Label.topArticleLabel+"</sup>"),a+='</h2><div class="right"><a rel="nofollow" class="ft-gray" href="'+latkeConfig.servePath+l.articlePermalink+'#comments">'+ +l.articleCommentCount+" "+Label.commentLabel+'</a> <a rel="nofollow" class="ft-gray" href="'+latkeConfig.servePath+l.articlePermalink+'">'+l.articleViewCount+" "+Label.viewLabel+'</a></div><div class="clear"></div></div><div class="article-body"><div id="abstract'+l.oId+'">'+l.articleAbstract+'</div><div id="content'+l.oId+'" class="none"></div></div><div class="right ft-gray">',l.hasUpdated?a+=Util.toDate(l.articleUpdateTime,"yy-MM-dd HH:mm"):a+=Util.toDate(l.articleCreateTime,"yy-MM-dd HH:mm"),a+=' <a href="'+latkeConfig.servePath+"/authors/"+l.authorId+'">'+l.authorName+'</a></div><div class="left ft-gray">'+Label.tag1Label+" ";for(var s=l.articleTags.split(","),o=0;o<s.length;o++)a+='<a rel="tag" href="'+latkeConfig.servePath+"/tags/"+encodeURIComponent(s[o])+'">'+s[o]+"</a>",o<s.length-1&&(a+=", ");a+='</div><div class="clear"></div></li>'}$(".article-last").removeClass("article-last"),$(".main>.wrapper>ul").append(a),i.paginationPageCount===currentPage?c.remove():c.css("background","none")}}})},ease={$header:$(".header"),headerH:103,$body:$(".main > .wrapper"),$nav:$(".nav"),getCurrentPage:function(){var e=$(".article-next");0<e.length&&(window.currentPage=e.data("page"))},setNavCurrent:function(){$(".nav ul a").each(function(){var e=$(this);e.attr("href")===location.href?e.addClass("current"):/\/[0-9]+$/.test(location.pathname)&&($(".nav ul li")[0].className="current")})},initCommon:function(){Util.init(),Util.replaceSideEm($(".recent-comments-content")),Util.buildTags("tagsSide")},initArchives:function(){var e=$(".archives");if(!(e.length<1)){$(".footer").css("marginTop","30px");for(var i=[],t=e.find("span").each(function(){for(var e=$(this).data("year"),t=!0,a=0;a<i.length;a++)if(e===i[a]){t=!1;break}t&&i.push(e)}),a="",r=0;r<i.length;r++){for(var l="",n=0;n<t.length;n++){var s=$(t[n]);s.data("year")===i[r]&&(l+=s.html())}a+="<div><h3 class='ft-gray'>"+i[r]+"</h3>"+l+"</div>"}e.html(a);for(var o=$(".archives>div"),c=0,h=0,g=[],d=0;d<o.length;d++){for(var f=0;f<3&&!(d>=o.length);f++)o[d].style.left=310*f+"px",g[f]=0<c?(""!==o[d-3].style.top&&(h=parseInt(o[d-3].style.top)),o[d].style.top=$(o[d-3]).height()+60+h+"px",parseInt(o[d].style.top)+$(o[d]).height()+60):$(o[d]).height()+60,f<2&&(d+=1);c+=1}e.height(g.sort()[g.length-1])}},scrollEvent:function(){var i=this;$(window).scroll(function(){var e=$(window).scrollTop();if(e>i.headerH){var t=$(window).height(),a=e+t-21;$("body").height()-58<=e+t&&(a=$(".footer").offset().top-21),$("#goTop").fadeIn("slow").css("top",a)}else $("#goTop").hide()})},setDynamic:function(){var e=$(".dynamic");if(!($(".dynamic").length<1)){var t=e.find(".side-categories"),a=e.find(".side-tags"),i=e.find(".side-most-comment"),r=e.find(".side-most-view");t.height()>a.height()?a.height(t.height()):t.height(a.height()),i.height()>r.height()?r.height(i.height()):i.height(r.height()),$(".article-body").each(function(){this.innerHTML=Util.replaceEmString($(this).html())})}}};ease.getCurrentPage(),ease.initCommon(),ease.scrollEvent(),ease.setNavCurrent(),ease.initArchives(),ease.setDynamic();
|
@ -20,7 +20,7 @@
|
||||
* skin metro-hot style
|
||||
*
|
||||
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
|
||||
* @version 1.1.0.0, Sep 21, 2017
|
||||
* @version 1.2.0.0, Jan 2, 2019
|
||||
*/
|
||||
/* start base */
|
||||
@font-face {
|
||||
@ -150,6 +150,186 @@ 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;
|
||||
}
|
||||
|
||||
.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;
|
||||
|
2
metro-hot/css/metro-hot.min.css
vendored
2
metro-hot/css/metro-hot.min.css
vendored
File diff suppressed because one or more lines are too long
@ -74,6 +74,186 @@ blockquote {
|
||||
margin: 5px 15px;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
||||
|
||||
.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 */
|
||||
|
||||
.clearer {
|
||||
clear: both;
|
||||
}
|
||||
|
@ -20,7 +20,7 @@
|
||||
* skin next style
|
||||
*
|
||||
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
|
||||
* @version 0.6.0.1, Aug 27, 2018
|
||||
* @version 0.6.0.2, Jan 2, 2019
|
||||
*/
|
||||
/* start reset */
|
||||
html {
|
||||
@ -723,6 +723,11 @@ img {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.article-body img.emoji {
|
||||
cursor: auto;
|
||||
max-width: 18px;
|
||||
}
|
||||
|
||||
.article-body ul,.article-body ol {
|
||||
padding-left: 2em;
|
||||
margin-top: 0;
|
||||
@ -771,6 +776,14 @@ img {
|
||||
margin-bottom: 16px
|
||||
}
|
||||
|
||||
.article-body hr {
|
||||
height: 0.15em;
|
||||
padding: 0;
|
||||
margin: 24px 0;
|
||||
background-color: #e7e7e7;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.article-body blockquote {
|
||||
padding: 0 1em;
|
||||
color: #777;
|
||||
@ -782,6 +795,10 @@ img {
|
||||
margin: 0
|
||||
}
|
||||
|
||||
.article-body ins > iframe {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.article-body iframe {
|
||||
border: 1px solid #ccc
|
||||
}
|
||||
@ -830,7 +847,6 @@ img {
|
||||
|
||||
.article-body 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);
|
||||
@ -852,7 +868,11 @@ img {
|
||||
box-shadow: inset 0 -1px 0 #bbb
|
||||
}
|
||||
|
||||
|
||||
.article-body__task,
|
||||
.article-body .task-list-item {
|
||||
list-style: none;
|
||||
margin-left: -1em;
|
||||
}
|
||||
|
||||
.post-header {
|
||||
text-align: center;
|
||||
|
2
next/css/next.min.css
vendored
2
next/css/next.min.css
vendored
File diff suppressed because one or more lines are too long
@ -20,7 +20,7 @@
|
||||
* icon font
|
||||
*
|
||||
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
|
||||
* @version 0.2.0.0, Dec 17, 2018
|
||||
* @version 0.2.0.1, Jan 2, 2019
|
||||
*/
|
||||
@font-face {
|
||||
font-family: 'icomoon';
|
||||
|
@ -179,7 +179,7 @@ blockquote {
|
||||
* Article reset style
|
||||
*
|
||||
* @author <a href="http://vanessa.b3log.org">Liyuan Li</ta>
|
||||
* @version 0.2.0.2, Jul 6, 2018
|
||||
* @version 0.2.0.3, Jan 2, 2019
|
||||
*/
|
||||
.content-reset {
|
||||
word-wrap: break-word;
|
||||
@ -226,7 +226,7 @@ blockquote {
|
||||
.content-reset h6 {
|
||||
font-size: 0.85em; }
|
||||
.content-reset hr {
|
||||
height: 0.25em;
|
||||
height: 0.15em;
|
||||
padding: 0;
|
||||
margin: 24px 0;
|
||||
background-color: #e7e7e7;
|
||||
@ -241,6 +241,8 @@ blockquote {
|
||||
margin-bottom: 16px; }
|
||||
.content-reset blockquote p {
|
||||
margin: 0; }
|
||||
.content-reset ins > iframe {
|
||||
border: 0; }
|
||||
.content-reset iframe {
|
||||
border: 1px solid rgba(0, 0, 0, 0.38); }
|
||||
.content-reset table {
|
||||
@ -293,11 +295,10 @@ blockquote {
|
||||
border-bottom-color: #bbb;
|
||||
border-radius: 3px;
|
||||
box-shadow: inset 0 -1px 0 #bbb; }
|
||||
.content-reset li.task-list-item {
|
||||
list-style: none; }
|
||||
.content-reset li.task-list-item > input {
|
||||
margin-left: -2em;
|
||||
vertical-align: middle; }
|
||||
.content-reset__task,
|
||||
.content-reset .task-list-item {
|
||||
list-style: none;
|
||||
margin-left: -1em; }
|
||||
|
||||
.img-preview {
|
||||
width: 100%;
|
||||
|
2
nijigen/css/base.min.css
vendored
2
nijigen/css/base.min.css
vendored
File diff suppressed because one or more lines are too long
@ -19,7 +19,7 @@
|
||||
* timeline skin style.
|
||||
*
|
||||
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
|
||||
* @version 1.1.0.0, Sep 21, 2017
|
||||
* @version 1.2.0.0, Jan 2, 2019
|
||||
*/
|
||||
/* start reset */
|
||||
html, body {
|
||||
@ -76,6 +76,186 @@ img {
|
||||
}
|
||||
/* end reset */
|
||||
|
||||
/* 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;
|
||||
}
|
||||
|
||||
.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 */
|
||||
|
||||
/* start function */
|
||||
.left {
|
||||
float: left;
|
||||
|
2
timeline/css/timeline.min.css
vendored
2
timeline/css/timeline.min.css
vendored
File diff suppressed because one or more lines are too long
@ -21,7 +21,7 @@
|
||||
*
|
||||
* @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, Sep 21 2017
|
||||
* @version 1.3.0.1, Jan 2, 2019
|
||||
*/
|
||||
/* start reset */
|
||||
html {
|
||||
@ -332,6 +332,7 @@ pre code, pre tt {
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075) inset, 0 0 5px rgba(176, 160, 170, 0.5);
|
||||
border: 1px solid #b0a0aa;
|
||||
}
|
||||
|
||||
.content-reset {
|
||||
font-family: "Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;
|
||||
word-wrap: break-word;
|
||||
@ -355,6 +356,11 @@ pre code, pre tt {
|
||||
cursor: zoom-in
|
||||
}
|
||||
|
||||
.content-reset img.emoji {
|
||||
cursor: auto;
|
||||
max-width: 18px;
|
||||
}
|
||||
|
||||
.editor-panel .content-reset img,img.emoji {
|
||||
cursor: auto
|
||||
}
|
||||
@ -422,6 +428,10 @@ pre code, pre tt {
|
||||
border: 1px solid rgba(0,0,0,0.38)
|
||||
}
|
||||
|
||||
.content-reset ins > iframe {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.content-reset table {
|
||||
width: 100%;
|
||||
border: 1px solid #dedede;
|
||||
@ -467,7 +477,6 @@ pre code, pre tt {
|
||||
|
||||
.content-reset pre>code {
|
||||
padding: 0.5em;
|
||||
border-radius: 0;
|
||||
color: rgba(0,0,0,0.87);
|
||||
background-color: rgba(0,0,0,0.04);
|
||||
background-image: url(../images/code-bg.png);
|
||||
@ -492,11 +501,6 @@ pre code, pre tt {
|
||||
.content-reset li.task-list-item {
|
||||
list-style: none
|
||||
}
|
||||
|
||||
.content-reset li.task-list-item>input {
|
||||
margin-left: -2em;
|
||||
vertical-align: middle
|
||||
}
|
||||
/* end common */
|
||||
|
||||
/* start emotions */
|
||||
|
2
yilia/css/yilia.min.css
vendored
2
yilia/css/yilia.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user