style: adjust style

This commit is contained in:
Hakadao
2023-08-31 15:28:29 +08:00
parent e02d2d3943
commit ccf22560be
2 changed files with 26 additions and 0 deletions

View File

@@ -124,6 +124,10 @@ onMounted(() => {
}, 800)
})
// Force overwrite Bilibili Evolved body tag & html tag background color
document.body.style.setProperty('background-color', 'unset', 'important');
document.documentElement.style.setProperty('background-color', 'unset', 'important');
if (mainAppRef.value) {
mainAppRef.value.addEventListener('scroll', () => {
if (

View File

@@ -8,6 +8,28 @@
color-scheme: dark;
}
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: transparent;
}
html > ::-webkit-scrollbar-track {
background: var(--bew-bg);
}
::-webkit-scrollbar-thumb {
background-color: rgba(120, 120, 122, 0.6);
border-radius: 20px;
}
::-webkit-scrollbar-corner {
background: transparent;
}
html,
body {
// font-size: 14px !important;