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 47 48 49 50 51 52 53 54 55 56 57 58 | /* 趴趴回應數_只有未讀顯示 */ .cboxAnchor[data-type="plurk"] >table{ position: relative; } .cboxAnchor.new[data-type="plurk"] >table::before{ content:""; color:red; position: absolute; width:70px; height:46px; right: 50px; top:-42px; background-image:url(圖片網址); /* 可替換圖片 */ z-index:100; background-size:contain; background-repeat: no-repeat; } .timeline-cnt{ position:relative; margin-top: 30px; /* 增加數字避免讓最上面的趴趴撞到上面的bar */ } /* 新回應氣泡框 */ .new .response_count{ position: relative; top:-52px; left:-40px; border:5px solid transparent; border-radius:30px; background-color:#fb0047; font-size: 10px; text-align:center; z-index:100; width:100%; height:100%; min-width:25px; max-height:20px; line-height:8px; font-family:微軟正黑體 !important; } /* 新回應氣泡框尾巴 */ .new .response_count::after { content:""; position:absolute; left:4px; top:10px; border-style: solid solid solid solid; border-width: 5px 5px; height: 0px; width: 0px; border-color: #fb0047 transparent transparent #fb0047; } |
Direct link: https://paste.plurk.com/show/C9abY2F2AdmzyepWyuPa