mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
style: adjust style
This commit is contained in:
@@ -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 (
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user