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
/*********** 換骰語法 *************
 * 用法:發噗或留言時先輸入指定的【換骰表符】,再擲骰子(digit)
 *    就會看到骰子變成自訂的圖片
 *
 * 此範例用了(digit)
 * 用戶可以自訂成其他骰子,例如coin、dice4、dice10、draw等等
 *
 * 自訂骰子步驟:
 * 1. 選擇骰子,例如用金幣,就把語法的(digit)全部換成(coin)
 * 2. 選擇換骰表符,然後把語法裡的"b5ed7f11c666ee3026f10ce9a5310800"全部換成換骰表符的檔案名稱
 * 3. 設定換骰後的骰子大小
 * 4. 更改骰子圖片,請去「骰子圖片設定」
 * PS. 如果有特殊骰,注意要幫特殊骰設圖片!否則會看不到特殊骰!!
 *
 **************************************************
/* 換骰表符:b5ed7f11c666ee3026f10ce9a5310800,有需要可以換成其他表符 */
.plurk .text_holder img[src*='b5ed7f11c666ee3026f10ce9a5310800'] ~ img.emoticon[alt='(digit)']{
    width: 0px;
    height: 0px;
    padding: 48px 48px 0 0;               /* 在這裡設定換骰後的表符大小,表符有多大就設定成多大 */
    background-repeat: no-repeat;
    background-position: center;
}

/* 移到噗的時候顯示原本的骰子,不需要可以刪除此段 */
.plurk .text_holder:hover img[src*='b5ed7f11c666ee3026f10ce9a5310800'] ~ img.emoticon[alt='(digit)']{
    width: auto;
    height: auto;
    padding: 0;
    background-image: none !important;
}

/****** 骰子圖片設定 ******/
.plurk .text_holder img[src*='b5ed7f11c666ee3026f10ce9a5310800'] ~ img.emoticon[alt='(digit)'][rndnum='1']{
    background-image: url('https://emos.plurk.com/696d0f5f408f264e1913ac3ec25a4b3d_w48_h48.gif');
}
.plurk .text_holder img[src*='b5ed7f11c666ee3026f10ce9a5310800'] ~ img.emoticon[alt='(digit)'][rndnum='2']{
    background-image: url('https://emos.plurk.com/c5437c8ac7b4779041a333a9dce0ded0_w48_h48.gif');
}
.plurk .text_holder img[src*='b5ed7f11c666ee3026f10ce9a5310800'] ~ img.emoticon[alt='(digit)'][rndnum='3']{
    background-image: url('https://emos.plurk.com/96ea332e1597d902fda484703c699e7b_w48_h48.gif');
}
.plurk .text_holder img[src*='b5ed7f11c666ee3026f10ce9a5310800'] ~ img.emoticon[alt='(digit)'][rndnum='4']{
    background-image: url('https://emos.plurk.com/1e8babf87add54a1aa1f407ccbd40d4b_w48_h48.gif');
}
.plurk .text_holder img[src*='b5ed7f11c666ee3026f10ce9a5310800'] ~ img.emoticon[alt='(digit)'][rndnum='5']{
    background-image: url('https://emos.plurk.com/dea189e68eb0d899a7ac5d41ac971325_w48_h48.gif');
}
.plurk .text_holder img[src*='b5ed7f11c666ee3026f10ce9a5310800'] ~ img.emoticon[alt='(digit)'][rndnum='6']{
    background-image: url('https://emos.plurk.com/e0cdc0ab4e7942497e2e14b007d36ad6_w48_h48.gif');
}
.plurk .text_holder img[src*='b5ed7f11c666ee3026f10ce9a5310800'] ~ img.emoticon[alt='(digit)'][rndnum='7']{
    background-image: url('https://emos.plurk.com/b49b9600cbc098aeeba675d6cd1020b9_w48_h48.gif');
}
.plurk .text_holder img[src*='b5ed7f11c666ee3026f10ce9a5310800'] ~ img.emoticon[alt='(digit)'][rndnum='8']{
    background-image: url('https://emos.plurk.com/bf03de0bc92654d787176e8f720229c2_w48_h48.gif');
}
.plurk .text_holder img[src*='b5ed7f11c666ee3026f10ce9a5310800'] ~ img.emoticon[alt='(digit)'][rndnum='9']{
    background-image: url('https://emos.plurk.com/9ffba22cba973fe679cec87437283693_w48_h48.gif');
}
.plurk .text_holder img[src*='b5ed7f11c666ee3026f10ce9a5310800'] ~ img.emoticon[alt='(digit)'][rndnum='0']{
    background-image: url('https://emos.plurk.com/eea3a6c86936ed62934dedeb70f04007_w48_h48.gif');
}