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 | /*********** 新世界狂歡:骰子抽卡語法 ************* * 表符噗:https://www.plurk.com/p/osf32m * 用法:發噗或留言時先輸入指定的【抽卡表符】,再擲骰子(範例用了dice10) * * 用戶可以自訂成其他骰子或表符,並不限定此系列表符或新世界狂歡 * **************************************************/ /* 抽卡表符:405951dec8ac37e86c347e9b415b4ec4,有需要可以換成其他表符 */ .plurk .text_holder img[src*='405951dec8ac37e86c347e9b415b4ec4'] ~ img.emoticon[alt='(dice10)']{ width: 0px; height: 0px; padding: 44px 44px 0 0; /* 在這裡設定表符大小,表符有多大就設定成多大 */ background-repeat: no-repeat; background-position: center; } /* 移到噗的時候顯示原本的骰子,不需要可以刪除此段 */ .plurk .text_holder:hover img[src*='405951dec8ac37e86c347e9b415b4ec4'] ~ img.emoticon[alt='(dice10)']{ width: auto; height: auto; padding: 0; background-image: none !important; } /****** 骰子設定:角色清單(SR) ****** * 1=伊得 2=艾斯特 3=墨菲 4=八雲 5=艾德蒙特 * 6=奧利文 7=崑西 8=玖夜 9=可爾 10=布儡 ******************************/ .plurk .text_holder img[src*='405951dec8ac37e86c347e9b415b4ec4'] ~ img.emoticon[alt='(dice10)'][rndnum='1']{ background-image: url('https://emos.plurk.com/373aeab3bcc6938423d8f9cc656f6a30_w36_h44.gif'); } .plurk .text_holder img[src*='405951dec8ac37e86c347e9b415b4ec4'] ~ img.emoticon[alt='(dice10)'][rndnum='2']{ background-image: url('https://emos.plurk.com/71736d854061d19bec8444c54dcf3b87_w32_h44.gif'); } .plurk .text_holder img[src*='405951dec8ac37e86c347e9b415b4ec4'] ~ img.emoticon[alt='(dice10)'][rndnum='3']{ background-image: url('https://emos.plurk.com/6b766e93a9c843fba08b5d0af3453d8d_w36_h44.gif'); } .plurk .text_holder img[src*='405951dec8ac37e86c347e9b415b4ec4'] ~ img.emoticon[alt='(dice10)'][rndnum='4']{ background-image: url('https://emos.plurk.com/180b92967a7c356c26580e1ba40b423f_w32_h44.gif'); } .plurk .text_holder img[src*='405951dec8ac37e86c347e9b415b4ec4'] ~ img.emoticon[alt='(dice10)'][rndnum='5']{ background-image: url('https://emos.plurk.com/b4d7f88b6e4bb07b79242d7bb669c7dd_w34_h44.gif'); } .plurk .text_holder img[src*='405951dec8ac37e86c347e9b415b4ec4'] ~ img.emoticon[alt='(dice10)'][rndnum='6']{ background-image: url('https://emos.plurk.com/3845b53c91fcdc9cc26914f50269c4a0_w36_h44.gif'); } .plurk .text_holder img[src*='405951dec8ac37e86c347e9b415b4ec4'] ~ img.emoticon[alt='(dice10)'][rndnum='7']{ background-image: url('https://emos.plurk.com/b42c92c1d2a7a59b4e6040e5fecb857f_w36_h44.gif'); } .plurk .text_holder img[src*='405951dec8ac37e86c347e9b415b4ec4'] ~ img.emoticon[alt='(dice10)'][rndnum='8']{ background-image: url('https://emos.plurk.com/2673668615db66c339c4a308e553fdc6_w32_h44.gif'); } .plurk .text_holder img[src*='405951dec8ac37e86c347e9b415b4ec4'] ~ img.emoticon[alt='(dice10)'][rndnum='9']{ background-image: url('https://emos.plurk.com/153b54ebcdb4fbe2630003f972841298_w36_h44.gif'); } .plurk .text_holder img[src*='405951dec8ac37e86c347e9b415b4ec4'] ~ img.emoticon[alt='(dice10)'][rndnum='10']{ background-image: url('https://emos.plurk.com/6cd4b83cbe46817803e0047df6b642b9_w36_h44.gif'); } |
Direct link: https://paste.plurk.com/show/GRYmCuWBm3Ii5Qfinp8M