1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | /*左側懸浮-本體A*/ #plurk-dashboard .dash-group-left { /*這裡勿動*/ position:fixed; z-index:6000; padding:0; transition:left .6s; /*A區修改時B區也要改成一樣的*/ /*A-滑出速度*/ transition:left 0.6s; /*A-上下位置*/ top:42px; /*A-左右位置*/ left:-280px; /*A-寬度*/ width:300px; } /*左側懸浮-本體B*/ .dash-segment-friends .segment-content, .dash-segment-fans .segment-content { /*這裡勿動*/ background:unset; position:fixed; z-index:6000; /*如果頭貼那個欄位高度有改變的話要改這裡*/ margin-top:116px; /*B區修改時A區也要改成一樣的*/ /*B-滑出速度*/ transition:left 0.6s; /*B-上下位置*/ top:42px; /*B-左右位置*/ left:-280px; /*B-寬度*/ width:300px; } #plurk-dashboard:hover .dash-group-left, #plurk-dashboard:hover .dash-segment-friends .segment-content, #plurk-dashboard:hover .dash-segment-fans .segment-content { left:0; } /*左側懸浮-友粉按鈕區C*/ .dash-segment-friends .segment-content, .dash-segment-fans .segment-content { /*C區修改時D區也要改成一樣的*/ /*C-高度*/ height:46px; } /*左側懸浮-友粉按鈕區D*/ .dash-segment-profile:before { /*這裡勿動*/ content:""; display:block; width:100%; order:1; border-radius:10px; margin-top:10px; /*好友、關注按鈕的背景色*/ background:#222e; /*D區修改時C區也要改成一樣的*/ /*D-高度*/ height:46px; } .dash-segment-profile { display:flex; flex-direction:column; } .dash-segment-profile .segment-content:nth-child(2) { order:2; } #dash-friends > *:not(#friend_managment), #dash-fans > *:not(#fan_managment) { display:none; } #dash-friends, #dash-fans { width:50%; } #dash-fans { float:right; } /*左側懸浮-留在原位的發噗、卡馬、徽章回中間*/ #plurk-dashboard .dash-group-form, #plurk-dashboard .dash-group-right { float:unset; margin:0 auto; } |
Direct link: https://paste.plurk.com/show/6usNTmRWJhndtWi9V6aj