style: modified pjax loading style

This commit is contained in:
XPoet 2021-01-11 00:10:59 +08:00
parent 8ae4e3a90b
commit 8f8e96be6e
2 changed files with 8 additions and 7 deletions

View File

@ -76,7 +76,7 @@ $scroll-bar-bg-color = darken($background-color, 10%);
$link-color = darken($default-text-color, 10%);
$copyright-info-color = #CC0033;
$avatar-background-color = #0066CC;
$pjax-progress-bar-color = linear-gradient(45deg, #ef0e18, #ff5f00, #eea40b, #1fe708, #00d6d6, #016bd7, #f300f3);
$pjax-progress-bar-color = linear-gradient(45deg, #f10006, #ef5b00, #e59c01, #19ca05, #00cab5, #0264c8, #c303c3);
// ========================================================================================

View File

@ -35,22 +35,23 @@
display: flex;
align-items: center;
justify-content: center;
padding: 8px 8px 0 0;
padding: 7px 6px 0 0;
color: var(--default-text-color);
visibility: hidden;
font-size: 1.1rem;
transition();
+keep-tablet() {
padding: 6px 5px 0 0;
font-size: 1rem;
}
&.show {
transition: visibility 0.1s linear;
visibility: visible;
}
i {
font-size: 1.12rem;
}
}
}
if (hexo-config('style.scroll.progress_bar.enable') == true) {