微博新版美化 by ddr
Details
Authorddr
LicenseNo License
Categoryweibo
Created
Updated
Size6.8 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name weibo new
@namespace example.com
@version 1.0.0
@description A weibo userstyle
@author diandianren
==/UserStyle== */
@-moz-document domain("weibo.com"), domain("sinaimg.cn") {
:root {
--w-retweet-background:rgba(69,59,59,0.1)!important;
--w-repost-background:rgba(69,49,9,0.1)!important;
--w-card-background:rgba(245,245,240,0.7)!important;
--feed-skeleton-bg:rgba(245,245,240,0.5)!important;
--w-card-bd:#ccc;
--wb-background:rgba(215,215,215,0.9);
}
:root[data-theme=dark] {
--w-retweet-background:rgba(139,130,130,0.1)!important;
--w-card-background:rgba(59,55,55,0.7)!important;
--wb-background:rgba(45,45,45,0.9);
--w-card-bd:#2f2f2f;
}
::selection{
background:rgb(153,32,23);
color:#ddd;
text-shadow:none;
text-decoration:none;
}
html{background:#555!important;}
body,#app,.WB_miniblog {background:url("https://ww3.sinaimg.cn/large/8601691fgw1fb9s344vf3j22yo1o048j.jpg") no-repeat fixed center left / cover #555!important;}
#app>.woo-box-flex,.Frame_content2_3lX_a{background:rgba(29,29,39,0.5)!important;}
html[data-theme="light"] #app>.woo-box-flex{background:rgba(239,229,229,0.2)!important;}
.Frame_main2_2EJhU{padding:0 0 0 20px;}
.Frame_main2_2EJhU #playInfo{margin-left:-20px;}
.Frame_side2_xRwuq{padding:10px 10px 0 0;}
html[data-theme="light"] .Frame_content2_3lX_a{background:rgba(239,229,229,0.75)!important;}
.S_bg2.WB_cardwrap,.m-main-nav,.Bar_card_3Jk5b,.WB_frame,.ProfileFocusPic_box_3kn9W,.vc-container.vc-bg-white,.Search_container_2r-dt1{background:var(--w-card-background)!important;}
#app>.woo-box-flex>.woo-box-item-flex,.woo-modal-mask{background:rgba(25,25,20,0.9)!important;}
.woo-box-item-flex .woo-panel-main,.woo-panel-main .woo-panel-main,.Scroll_initLoad_Kj_VW,.Scroll_initLoad_1yMbf,.RepostCommentFeed_initLoad_3dNEZ,.RepostCommentFeed_more_idG8i,.title_wrap_3e__u,.WB_editor_iframe_new,.S_bg2,.WB_editor_iframe_word>*,.Bar_card_3Jk5b,.B_artical .WB_frame,body .vc-bg-white{background:none!important;}
.Feed_wrap_3v9LH{border:none!important;}
.WB_editor_iframe_new{height:auto!important;}
#historyBox,.wbpro-side[style*="fixed"]>div,.Nav_panel_YI3-j,.Bar_card_3Jk5b .Bar_bar_2wYyi,.Nav_wrap_gHB1a,.Nav_wrap_3vAGP,.woo-pop-wrap-main:not(.Nav_popcon__F1hb),.wbpro-tab2-pop .woo-pop-main,.ProfileFocusPic_box_3kn9W{background:var(--wb-background)!important;}
.woo-picture-img{transition:opacity 0.5s linear;}
.Bar_main_R1N5v.Bar_card_3Jk5b+div .woo-picture-main.ProfileHeader_pic_2Coeq>.woo-picture-img:not([src^="data"]){
position:fixed;
top:0px;
left:0px;
opacity:0.1;
transition:none;
pointer-events:none!important;
}
.woo-picture-error .woo-picture-img[src^="data"]{opacity:0;}
html[data-theme="light"] .woo-picture-error{background-color:rgba(89,59,59,0.1);}
html[data-theme="light"] .Nav_wrap_gHB1a[style] .Nav_panel_YI3-j svg{filter:drop-shadow(0px 1px #666)}
html[data-theme="light"] .Nav_wrap_gHB1a[style] .Nav_panel_YI3-j {background: linear-gradient(to top,rgba(245,245,240,0.7),rgba(145,145,140,0.7),rgba(5,5,5,0.7)) rgba(225,215,215,0.7)!important;}
.Bar_main_R1N5v.Bar_card_3Jk5b+div .woo-picture-main.ProfileHeader_pic_2Coeq>.woo-picture-cover{border:none!important;}
.ProfileHeader_box1_1qC-g,.ProfileHeader_box1_1qC-g+div,.Frame_side_3G0Bf{position:relative;}
.Frame_side_3G0Bf,.picture-viewer_mask_2e9KD{z-index:1;}
.picture-tool-bar_toolbar_Mot_M,.picture-viewer_videoMask_ZO5Lc{z-index:100;}
/*
.Bar_card_3Jk5b+div .ProfileHeader_pic_2Coeq{height:190px!important;transition:all 0.5s ease;}
.ProfileHeader_box1_1qC-g+div[style]{padding-top:20px;padding-bottom:15px;}
.Profile_card_x5v4A{margin-top:5px;}
.Search_tit_25gZ3{padding-top:18px;padding-bottom:7px;}
.Search_con_1eG1s{padding-top:45px;padding-bottom:55px;}
.Search_item2_5cRdC{padding-top:5px;}
*/
.Search_item2_5cRdC{padding-top:10px;padding-left:12px;}
.Profile_card_x5v4A{margin-top:5px;}
.Bar_main_R1N5v.Bar_card_3Jk5b{border:1px solid var(--w-card-border);border-radius:0;transition:none;}
.wbpro-scroller-item .woo-panel-main,.ProfileFocusPic_box_3kn9W{border:1px solid var(--w-card-border) !important;}
.wbpro-scroller-item .Feed_retweet_JqZJb{border-top:1px solid var(--w-card-bd);border-bottom:1px solid var(--w-card-bd);}
.woo-panel-main.Profile_usertype11Empty_3WufV .woo-box-flex{background:url("https://ww1.sinaimg.cn/large/8601691fgw1f9e04brlr6j205k05kglv.jpg") center no-repeat!important;animation:bxdh 1.2s cubic-bezier(0.9, 0.5, 0.05, 1.4) 0.7s 1 forwards;opacity:0;}
html[data-theme="dark"] .woo-panel-main.Profile_usertype11Empty_3WufV .woo-box-flex{filter:invert(90%);}
@keyframes bxdh{
0% {transform: scale(0.5);opacity:0.5;}
50% {transform: scale(1.5,0.2) rotate(120deg);}
100%{transform: scale(1);opacity:1;}
}
@supports (backdrop-filter:none) {
.Bar_card_3Jk5b:after{background:none!important;}.Bar_main_R1N5v{top:60px!important;}
.Nav_wrap_gHB1a,.Bar_main_R1N5v.Bar_card_3Jk5b,.SecBar_secBar_2KHxF,.wbpro-tab2-pop .wbpro-tab2{background:var(--w-repost-background)!important;backdrop-filter: blur(10px);}
}
.PopCard_popcard_Brt8e,.vc-container.vc-bg-white{backdrop-filter: blur(10px);}
.W_error_bg,.WB_result_null_v2{
background:url("https://ww1.sinaimg.cn/large/8601691fgw1f9e04brlr6j205k05kglv.jpg") center no-repeat var(--w-card-background)!important;
box-shadow:0 0 5px rgba(55,0,0,0.7);
text-shadow:none!important;
margin-top:10px!important;
}
#historyBox{border-top-left-radius:0!important;border-top-right-radius:0!important;}
.woo-modal-main,.Frame_right_2tQRB{background:rgba(79,79,99,0.8);}
.woo-modal-main{border-radius: 12px;}
.RepostCommentList_mar1_3VHkS .vue-recycle-scroller__item-view+.vue-recycle-scroller__item-view{border-top:1px dotted var(--w-dividing-line);}
#scroller,.woo-like-main,.WB_editor_iframe_new{text-shadow:0px 1px #d5d5d5;}
.wbpro-screen-v2>div{color:var(--w-sub);}
html[data-theme="dark"] #scroller,html[data-theme="dark"] .woo-like-main{text-shadow:1px 1px #000;}
svg.woo-like-icon{filter:drop-shadow(0px 1px #d5d5d5)}
html[data-theme="dark"] svg.woo-like-icon{filter:drop-shadow(1px 1px #000)}
.woo-tip-text,.content_row_-r5Tk,html[data-theme="dark"] .icon-tip-custom_tip_3_ZGV,.picture-viewer_imgWrap_ICKHT,.picture,.krv-control-bar{text-shadow:none;}
img,.woo-divider-x,.detail_text_1U10O a,.woo-button-main,.woo-tab-active,.toolbar_cur_JoD5A,.wbpro-list .text a,.Profile_muteuser_18Qnv a,.ProfileHeader_tag_2Ku6K *{filter:brightness(90%);}
html[data-theme="dark"] img,html[data-theme="dark"] .icon-tip-custom_tip_3_ZGV{filter:brightness(80%);}
/*.Frame_side_3G0Bf,*/.wbpro-side-copy,.cardProfile_hide_26yla,.btn_line::before{display:none;}
}