|
@@ -726,7 +726,7 @@ pre .javascript .function {
|
|
.post-body .note h4,
|
|
.post-body .note h4,
|
|
.post-body .note h5,
|
|
.post-body .note h5,
|
|
.post-body .note h6 {
|
|
.post-body .note h6 {
|
|
- margin-top: 0;
|
|
|
|
|
|
+ margin-top: 3px;
|
|
border-bottom: initial;
|
|
border-bottom: initial;
|
|
margin-bottom: 0;
|
|
margin-bottom: 0;
|
|
padding-top: 0;
|
|
padding-top: 0;
|
|
@@ -749,6 +749,16 @@ pre .javascript .function {
|
|
.post-body .note img:last-child {
|
|
.post-body .note img:last-child {
|
|
margin-bottom: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
+.post-body .note:not(.no-icon) {
|
|
|
|
+ padding-left: 2.5em;
|
|
|
|
+}
|
|
|
|
+.post-body .note:not(.no-icon)::before {
|
|
|
|
+ font-family: 'FontAwesome';
|
|
|
|
+ font-size: 1.5em;
|
|
|
|
+ left: 0.4em;
|
|
|
|
+ position: absolute;
|
|
|
|
+ top: calc(50% - 1em);
|
|
|
|
+}
|
|
.post-body .note.default {
|
|
.post-body .note.default {
|
|
border-left-color: #777;
|
|
border-left-color: #777;
|
|
}
|
|
}
|
|
@@ -759,6 +769,10 @@ pre .javascript .function {
|
|
.post-body .note.default h6 {
|
|
.post-body .note.default h6 {
|
|
color: #777;
|
|
color: #777;
|
|
}
|
|
}
|
|
|
|
+.post-body .note.default:not(.no-icon)::before {
|
|
|
|
+ content: "\f0a9";
|
|
|
|
+ color: #777;
|
|
|
|
+}
|
|
.post-body .note.primary {
|
|
.post-body .note.primary {
|
|
border-left-color: #6f42c1;
|
|
border-left-color: #6f42c1;
|
|
}
|
|
}
|
|
@@ -769,6 +783,10 @@ pre .javascript .function {
|
|
.post-body .note.primary h6 {
|
|
.post-body .note.primary h6 {
|
|
color: #6f42c1;
|
|
color: #6f42c1;
|
|
}
|
|
}
|
|
|
|
+.post-body .note.primary:not(.no-icon)::before {
|
|
|
|
+ content: "\f055";
|
|
|
|
+ color: #6f42c1;
|
|
|
|
+}
|
|
.post-body .note.info {
|
|
.post-body .note.info {
|
|
border-left-color: #428bca;
|
|
border-left-color: #428bca;
|
|
}
|
|
}
|
|
@@ -779,6 +797,10 @@ pre .javascript .function {
|
|
.post-body .note.info h6 {
|
|
.post-body .note.info h6 {
|
|
color: #428bca;
|
|
color: #428bca;
|
|
}
|
|
}
|
|
|
|
+.post-body .note.info:not(.no-icon)::before {
|
|
|
|
+ content: "\f05a";
|
|
|
|
+ color: #428bca;
|
|
|
|
+}
|
|
.post-body .note.success {
|
|
.post-body .note.success {
|
|
border-left-color: #5cb85c;
|
|
border-left-color: #5cb85c;
|
|
}
|
|
}
|
|
@@ -789,6 +811,10 @@ pre .javascript .function {
|
|
.post-body .note.success h6 {
|
|
.post-body .note.success h6 {
|
|
color: #5cb85c;
|
|
color: #5cb85c;
|
|
}
|
|
}
|
|
|
|
+.post-body .note.success:not(.no-icon)::before {
|
|
|
|
+ content: "\f058";
|
|
|
|
+ color: #5cb85c;
|
|
|
|
+}
|
|
.post-body .note.warning {
|
|
.post-body .note.warning {
|
|
border-left-color: #f0ad4e;
|
|
border-left-color: #f0ad4e;
|
|
}
|
|
}
|
|
@@ -799,6 +825,10 @@ pre .javascript .function {
|
|
.post-body .note.warning h6 {
|
|
.post-body .note.warning h6 {
|
|
color: #f0ad4e;
|
|
color: #f0ad4e;
|
|
}
|
|
}
|
|
|
|
+.post-body .note.warning:not(.no-icon)::before {
|
|
|
|
+ content: "\f06a";
|
|
|
|
+ color: #f0ad4e;
|
|
|
|
+}
|
|
.post-body .note.danger {
|
|
.post-body .note.danger {
|
|
border-left-color: #d9534f;
|
|
border-left-color: #d9534f;
|
|
}
|
|
}
|
|
@@ -809,6 +839,10 @@ pre .javascript .function {
|
|
.post-body .note.danger h6 {
|
|
.post-body .note.danger h6 {
|
|
color: #d9534f;
|
|
color: #d9534f;
|
|
}
|
|
}
|
|
|
|
+.post-body .note.danger:not(.no-icon)::before {
|
|
|
|
+ content: "\f056";
|
|
|
|
+ color: #d9534f;
|
|
|
|
+}
|
|
.pagination .prev,
|
|
.pagination .prev,
|
|
.pagination .next,
|
|
.pagination .next,
|
|
.pagination .page-number,
|
|
.pagination .page-number,
|
|
@@ -1162,7 +1196,7 @@ pre .javascript .function {
|
|
}
|
|
}
|
|
.links-of-author a::before,
|
|
.links-of-author a::before,
|
|
.links-of-author span.exturl::before {
|
|
.links-of-author span.exturl::before {
|
|
- background: #6e8aa7;
|
|
|
|
|
|
+ background: #9ff;
|
|
border-radius: 50%;
|
|
border-radius: 50%;
|
|
content: ' ';
|
|
content: ' ';
|
|
display: inline-block;
|
|
display: inline-block;
|
|
@@ -1466,10 +1500,7 @@ pre .javascript .function {
|
|
position: fixed;
|
|
position: fixed;
|
|
transition-property: bottom;
|
|
transition-property: bottom;
|
|
z-index: 1300;
|
|
z-index: 1300;
|
|
- width: 24px;
|
|
|
|
-}
|
|
|
|
-.back-to-top span {
|
|
|
|
- display: none;
|
|
|
|
|
|
+ width: initial;
|
|
}
|
|
}
|
|
.back-to-top:hover {
|
|
.back-to-top:hover {
|
|
color: #87daff;
|
|
color: #87daff;
|
|
@@ -1483,6 +1514,16 @@ pre .javascript .function {
|
|
opacity: 0.8;
|
|
opacity: 0.8;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+.reading-progress-bar {
|
|
|
|
+ background: #37c6c0;
|
|
|
|
+ display: block;
|
|
|
|
+ height: 3px;
|
|
|
|
+ left: 0;
|
|
|
|
+ position: fixed;
|
|
|
|
+ top: 0;
|
|
|
|
+ width: 0;
|
|
|
|
+ z-index: 1500;
|
|
|
|
+}
|
|
.post-body {
|
|
.post-body {
|
|
font-family: 'Lato', "PingFang SC", "Microsoft YaHei", sans-serif;
|
|
font-family: 'Lato', "PingFang SC", "Microsoft YaHei", sans-serif;
|
|
overflow-wrap: break-word;
|
|
overflow-wrap: break-word;
|