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 | /*********** UL換骰語法 ************* * 用法:發噗或留言時先輸入指定的【換骰表符】,再擲骰子(dice) * 就會看到骰子變成自訂的圖片。 * * 此語法來自:https://www.plurk.com/p/osm9za * * 此語法只適用噗浪電腦版,且只有自己看的到。(想與朋友對戰需要兩邊都裝) * 存【換骰表符】時,表符取任何名字皆不影響本語法。 * 未搭配【換骰表符】,骰子仍會是原本的樣子。 * 滑鼠移到【換骰表符】會顯示原本的骰子圖片 (但如果攻防一起骰則可能覆蓋到) * 想更改【換骰表符】為自己喜好的表符時,表符語法的那一串字是該表符圖片連結去頭去尾 (com/之前與_w48_h48都去掉) * * 想搭配角色骰可以與這噗一起使用:https://www.plurk.com/p/np9y6r * * ************************************************** /* 攻擊骰_換骰表符:035507485660714075ad9aa98d1d8c56,有需要可以換成其他表符 */ .plurk .text_holder img[src*='035507485660714075ad9aa98d1d8c56'] ~ img.emoticon[alt='(dice)']{ width: 0px; height: 0px; padding: 48px 48px 0 0; /* 在這裡設定換骰後的表符大小,表符有多大就設定成多大 */ background-repeat: no-repeat; background-position: center; } /****** 骰子圖片設定 ******/ .plurk .text_holder img[src*='035507485660714075ad9aa98d1d8c56'] ~ img.emoticon[alt='(dice)'][rndnum='1']{ background-image: url('https://emos.plurk.com/e32a3a1f6eb15faa528ba8c1ffae4cd3_w48_h48.png'); } .plurk .text_holder img[src*='035507485660714075ad9aa98d1d8c56'] ~ img.emoticon[alt='(dice)'][rndnum='2']{ background-image: url('https://emos.plurk.com/c2764b7cf044f30f04c743ead79fdb10_w48_h48.png'); } .plurk .text_holder img[src*='035507485660714075ad9aa98d1d8c56'] ~ img.emoticon[alt='(dice)'][rndnum='3']{ background-image: url('https://emos.plurk.com/c2764b7cf044f30f04c743ead79fdb10_w48_h48.png'); } .plurk .text_holder img[src*='035507485660714075ad9aa98d1d8c56'] ~ img.emoticon[alt='(dice)'][rndnum='4']{ background-image: url('https://emos.plurk.com/c2764b7cf044f30f04c743ead79fdb10_w48_h48.png'); } .plurk .text_holder img[src*='035507485660714075ad9aa98d1d8c56'] ~ img.emoticon[alt='(dice)'][rndnum='5']{ background-image: url('https://emos.plurk.com/c2764b7cf044f30f04c743ead79fdb10_w48_h48.png'); } .plurk .text_holder img[src*='035507485660714075ad9aa98d1d8c56'] ~ img.emoticon[alt='(dice)'][rndnum='6']{ background-image: url('https://emos.plurk.com/e32a3a1f6eb15faa528ba8c1ffae4cd3_w48_h48.png'); } /* 防禦骰_換骰表符:ebfcc61cd9ad7cd5585e209727f54a87,有需要可以換成其他表符 */ .plurk .text_holder img[src*='ebfcc61cd9ad7cd5585e209727f54a87'] ~ img.emoticon[alt='(dice)']{ width: 0px; height: 0px; padding: 48px 48px 0 0; /* 在這裡設定換骰後的表符大小,表符有多大就設定成多大 */ background-repeat: no-repeat; background-position: center; } /****** 骰子圖片設定 ******/ .plurk .text_holder img[src*='ebfcc61cd9ad7cd5585e209727f54a87'] ~ img.emoticon[alt='(dice)'][rndnum='1']{ background-image: url('https://emos.plurk.com/74b04ee7af92b6d632ccda585964f6b6_w48_h48.png'); } .plurk .text_holder img[src*='ebfcc61cd9ad7cd5585e209727f54a87'] ~ img.emoticon[alt='(dice)'][rndnum='2']{ background-image: url('https://emos.plurk.com/ff6f09486bd03ca1557598cade2d453d_w48_h48.png'); } .plurk .text_holder img[src*='ebfcc61cd9ad7cd5585e209727f54a87'] ~ img.emoticon[alt='(dice)'][rndnum='3']{ background-image: url('https://emos.plurk.com/ff6f09486bd03ca1557598cade2d453d_w48_h48.png'); } .plurk .text_holder img[src*='ebfcc61cd9ad7cd5585e209727f54a87'] ~ img.emoticon[alt='(dice)'][rndnum='4']{ background-image: url('https://emos.plurk.com/ff6f09486bd03ca1557598cade2d453d_w48_h48.png'); } .plurk .text_holder img[src*='ebfcc61cd9ad7cd5585e209727f54a87'] ~ img.emoticon[alt='(dice)'][rndnum='5']{ background-image: url('https://emos.plurk.com/ff6f09486bd03ca1557598cade2d453d_w48_h48.png'); } .plurk .text_holder img[src*='ebfcc61cd9ad7cd5585e209727f54a87'] ~ img.emoticon[alt='(dice)'][rndnum='6']{ background-image: url('https://emos.plurk.com/74b04ee7af92b6d632ccda585964f6b6_w48_h48.png'); } |
Direct link: https://paste.plurk.com/show/kji97UhBDD0Lj94xBgXv