Obsidian右下角状态栏隐藏

Obsidian的编辑窗口,右下角一直显示着状态栏,有时嫌碍事,就想着给隐藏了。
有时又需要看下,那就把鼠标滑到右下角,就会弹出状态栏,鼠标滑开后,就又隐藏。
网上找来的,原作者信息及声明见注释。
/* AGPLv3 License
Floating Status Bar
Author: AnubisNekhet
Note: If you decide to implement it in your theme or redistribute it, please keep this comment (Especially for *certain* individuals who may try to rebrand it as their own :))
Support me: https://buymeacoffee.com/AnubisNekhet
*/
body {
--status-bar-position: absolute;
--status-bar-radius: var(--radius-m);
}
body .status-bar {
transform: translateX(calc(100% + 5px));
transition: transform 300ms 150ms;
bottom: 5px;
right: 5px;
}
body .status-bar::before {
width: 100%;
min-height: 100%;
content: " ";
position: absolute;
left: 0;
bottom: 0;
transform: translateX(-100%);
}
body .status-bar:hover {
transform: none;
transition: transform 300ms 150ms;
}

您可能也喜欢

微信扫一扫,分享到朋友圈

Obsidian右下角状态栏隐藏
返回顶部

显示

忘记密码?

显示

显示

获取验证码

Close