|
本帖最后由 newscat 于 2024-4-5 19:18 编辑
复制下面这段代码:
- <script src="https://polyfill.io/v3/polyfill.min.js?features=String.prototype.replaceAll"></script>
- <link rel="stylesheet" href="https://npm.elemecdn.com/lxgw-wenkai-webfont@1.1.0/lxgwwenkai-regular.css" />
- <style>
- /*左侧侧边栏目录*/
- /*白天模式*/
- .hope-ui-light .hope-c-PJLV-ieGWMbI-css {
- background: rgba(255, 255, 255, 0.3) !important;
- }
- /*夜间模式*/
- .hope-ui-dark .hope-c-PJLV-ieGWMbI-css {
- background-color:rgb(0 0 0 / 50%)!important;
- }
- /* 返回顶部 */
- .hope-c-PJLV-ihVEsOa-css {
- background: rgba(255, 255, 255, 0.3) !important;
- }
- .hope-ui-dark .hope-c-PJLV-ihVEsOa-css {
- background-color:rgb(0 0 0 / 50%)!important;
- }
- /*正常情况未使用吸附功能*/
- /*导航条*/
- /*白天模式*/
- .hope-ui-light .hope-c-PJLV-idaeksS-css {
- background-color: rgba(255, 255, 255, 0.5)!important;
- border-radius: 10px !important;
- }
- /*夜间模式*/
- .hope-ui-dark .hope-c-PJLV-idaeksS-css {
- background-color:rgb(0 0 0 / 50%)!important;
- border-radius: 10px !important;
- }
- /*顶栏*/
- .hope-c-PJLV-ikaMhsQ-css {
- background: rgba(255, 255, 255, 0) !important;
- }
- /* 吸附到页面顶部 */
- /*顶部*/
- .hope-c-PJLV-icWrYmg-css {
- background: rgba(255, 255, 255, 0) !important;
- }
- /*导航条*/
- .hope-c-PJLV-icKsjdm-css::after {
- background: rgba(255, 255, 255, 0) !important;
- }
- /*白天模式*/
- .hope-ui-light .hope-c-PJLV-icKsjdm-css {
- background-color: rgba(255, 255, 255, 0.5)!important;
- border-radius: 10px !important;
- }
- /*夜间模式*/
- .hope-ui-dark .hope-c-PJLV-icKsjdm-css {
- background-color:rgb(0 0 0 / 50%)!important;
- border-radius: 10px !important;
- }
- /*仅吸附导航栏*/
- /*导航条*/
- .hope-c-PJLV-ifdXShc-css::after {
- background: rgba(255, 255, 255, 0) !important;
- }
- /*白天模式*/
- .hope-ui-light .hope-c-hrsMRY {
- background-color: rgba(255, 255, 255, 0.5)!important;
- border-radius: 10px !important;
- }
- /*夜间模式*/
- .hope-ui-dark .hope-c-hrsMRY {
- background-color:rgb(0 0 0 / 50%)!important;
- border-radius: 10px !important;
- }
- /*白天*/
- .hope-ui-light{
- background-image:url(https://images2.alphacoders.com/743/743487.jpg) !important;
- background-attachment: fixed;
- background-position: 100%;
- background-size: cover;
- background-color: rgba(255, 255, 255, 0.1) !important;
- }
- /*黑夜*/
- .hope-ui-dark{
- background-image:url(https://images2.alphacoders.com/743/743487.jpg) !important;
- background-attachment: fixed;
- background-position: 100%;
- background-size: cover;
- background-color: rgba(255, 255, 255, 0) !important;
- border-top: #768ba2 !important;
- }
- /*列表*/
- .hope-c-PJLV-igScBhH-css {
- background-color:#ffffff70 !important;
- box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.09) !important;
- border-radius: 0.5rem !important;
- padding: 0.75rem !important;
- backdrop-filter: blur(8px)!important;
- }
- .hope-c-PJLV-iigjoxS-css {
- background-color:#ffffff33 !important;
- box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.09) !important;
- border-radius: 0.5rem !important;
- padding: 0.75rem !important;
- backdrop-filter: blur(8px)!important;
- }
- .hope-c-kvTTWD-hYRNAb-variant-filled {
- background-color:#ffffff00 !important;
- }
- .hope-c-PJLV-ijgzmFG-css {
- background-color:#ffffff70 !important;
- }
- .hope-c-hOYTCS {
- background-color:#66ccff88 !important;
- }
- .aplayer-lrc {
- background-color:#ffffff70 !important;
- }
- .aplayer {
- background-color:#ffffff70 !important;
- }
- </style>
复制代码
结果效果是这样的:
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
|