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 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | 給羊咩的語法 /*置頂圖釘*/ .pinned_plurk_icon { font-size: 0px;/*把「圖釘」圖樣大小設為0=不見*/ background:url(圖) no-repeat ; width: 48px; /*新圖片寬度*/ height:48px; /*新圖片高度*/ position: absolute; /*絕對定位*/ top: 0px; left: 0px;}] ^U^可以直接用~ /*發噗鈕*/ .submit_img_color { background: url(https://images.plurk.com/4dmyHb0EwCdjVMts2ISMqF.png) no-repeat; /*圖案不重複*/ background-size: width: 40px; height: 48px; /*圖片自動縮放*/ background-color: rgba(255, 255, 255, 0); /*背景色透明*/ color: rgba(255, 255, 255, 0); /*文字透明*/ } /*發噗鈕:滑鼠移至*/ .submit_img_color:hover { background: url(https://images.plurk.com/4AMFGpbouRUB4l2vUh02zl.png ) no-repeat; /*圖案不重複*/ background-size:width: 40px; height: 44px; /*圖片自動縮放*/ background-color: rgba(255, 255, 255, 0); /*背景色透明*/ color: rgba(255, 255, 255, 0); /*文字透明*/ } ^U^可以直接用~ /*回應氣泡框*/ .response_count{ position: relative; top:10px; left:5px; border:5px solid transparent; border-radius:30px; background-color:#a1b4bf; font-size: 10px; text-align:center; z-index:100; width:100%; height:100%; min-width:25px; max-height:20px; color:#fffff; line-height:8px; font-family:微軟正黑體 !important; } .new .response_count{ border:5px solid transparent; } .response_count::after { content:""; position:absolute; left:4px; top:10px; border-color: #a1b4bf transparent transparent #a1b4bf; border-style: solid solid solid solid; border-width: 5px 5px; height: 0px; width: 0px; } ._lc_ .new .response_count {background: #98cbeb!important;} .new .response_count::after { border-color: #98cbeb transparent transparent #98cbeb;} /*風鈴 */ /*調整數值時,0=0%,1=100%*/ #notif-sound-control { position: absolute; bottom: 10px; right: 10px; padding: 4px; display: flex; justify-content: center; align-items: center; outline: 0 solid rgba(255, 255, 255, 0); font-size: 4em; background: transparent radial-gradient(rgba(225, 225, 225, 1), transparent 0%); color: #fff; border-radius: 50%; z-index: 701; opacity: 1; /*整體透明度*/ transition: opacity 120ms ease-out; } /*打開通知時*/ #notif-sound-control.enabled > div { content: url(圖); transition: opacity, -webkit-filter 120ms ease-out; transition: filter 120ms ease-out, opacity; transition: filter 120ms ease-out, opacity, -webkit-filter 120ms ease-out; -webkit-filter: grayscale(0) brightness(1) drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4)); filter: grayscale(0) brightness(1) drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4)); /*grayscale=灰度,brightness=明度*/ /*drop-shadow=底部陰影,rgba(rgb是顏色, a是透明度)*/ } /*關掉通知時*/ #notif-sound-control > div { content: url(圖); transition: opacity, -webkit-filter 120ms ease-out; transition: filter 120ms ease-out, opacity; transition: filter 120ms ease-out, opacity, -webkit-filter 120ms ease-out; -webkit-filter: grayscale(0.5) brightness(0.8) drop-shadow(0 2px 3px rgba(0, 0, 0, 0)); filter: grayscale(0.5) brightness(0.8) drop-shadow(0 2px 3px rgba(0, 0, 0, 0)); /*grayscale=灰度,brightness=明度*/ /*drop-shadow=底部陰影,rgba(rgb是顏色, a是透明度)*/ } /*游標移到上方*/ #notif-sound-control:hover > div { content: url(圖); } |
Direct link: https://paste.plurk.com/show/KlMBptYoBiRRSnMjTsyY