Skip to content

Commit 0e2c403

Browse files
committed
fix
1 parent 405c691 commit 0e2c403

2 files changed

Lines changed: 11 additions & 9 deletions

File tree

asserts/css/theme-orange.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ body.theme-front-orange footer a,
44
body.theme-front-orange .site-control a,
55
body.theme-front-orange .card-comments a,
66
body.theme-front-orange .btn-link{
7-
color: #2dce89;
7+
color: #fb6340;
88
}
9-
.theme-control div.theme-front-green:before,
10-
.theme-control div.theme-front-green:after,
9+
.theme-control div.theme-front-orange:before,
10+
.theme-control div.theme-front-orange:after,
1111
body.theme-front-orange .btn-primary,
1212
body.theme-front-orange .comment-list .comment-reply a,
1313
body.theme-front-orange .comment-list .comment-reply:before,
@@ -22,22 +22,22 @@ body.theme-front-orange .search:after,
2222
body.theme-front-orange .custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before,
2323
body.theme-front-orange .custom-checkbox .custom-control-input:disabled:checked::before,
2424
body.theme-front-orange .custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before{
25-
background-color: #2dce89;
25+
background-color: #fb6340;
2626
}
2727
body.theme-front-orange article h1:before {
28-
background-color: rgba(45, 206, 137);
28+
background-color: rgba(251, 99, 64);
2929
}
3030
body.theme-front-orange article h2:before {
31-
background-color: rgba(45, 206, 137, 0.8);
31+
background-color: rgba(251, 99, 64, 0.8);
3232
}
3333
body.theme-front-orange article h3:before {
34-
background-color: rgba(45, 206, 137, 0.6);
34+
background-color: rgba(251, 99, 64, 0.6);
3535
}
3636
body.theme-front-orange article h4:before {
37-
background-color: rgba(45, 206, 137, 0.4);
37+
background-color: rgba(251, 99, 64, 0.4);
3838
}
3939
body.theme-front-orange article h5:before {
40-
background-color: rgba(45, 206, 137, 0.2);
40+
background-color: rgba(251, 99, 64, 0.2);
4141
}
4242
body.theme-front-orange .nav-pills:hover .nav-link.active:hover,
4343
body.theme-front-orange .comment-reply a{

asserts/js/article.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ window.article = function ($){
4545
$(this).parent().prev().remove();
4646
}
4747
});
48+
try{
4849
var clipboard = new ClipboardJS('.copy-btn');
4950
clipboard.on('success', function(e) {
5051
toast('复制成功');
@@ -53,6 +54,7 @@ window.article = function ($){
5354
toast('复制失败');
5455
e.clearSelection();
5556
});
57+
}catch{}
5658
$('article img').each(function(){
5759
if($(this).attr('alt').length === 0) return 0;
5860
var $imgalt = $('<div/>').addClass('alt').text($(this).attr('alt'));

0 commit comments

Comments
 (0)