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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
/***LucaKaneshiro模擬留言 語法來源https://www.plurk.com/p/orpdh5***/

/********************************
 * 河道直播間 v1.0
 *
 * 註1:請將「YOUR_UID」換成你的UID,否則自己的噗會視作一般噗來顯示
 * 註2:把::before的部份刪掉,只剩::after,就會變成單隻款式
 * 註3:這邊用了較少人會調整的.td_img,如有衝突,可以嘗試直接將.td_img調整.plurk或者它的child
 ********************************/
/* 〔勿刪〕修正:當兩個噗同時是display狀態,只會顯示前面的噗直播,後面的噗直播會隱藏 */
#timeline_cnt .block_cnt > .plurk.display.plurk_box ~ .plurk.display .td_img::before,
#timeline_cnt .block_cnt > .plurk.display.plurk_box ~ .plurk.display .td_img::after,
#timeline_cnt .block_cnt > .plurk.display ~ .plurk.display.plurk_box .td_img::before,
#timeline_cnt .block_cnt > .plurk.display ~ .plurk.display.plurk_box .td_img::after{
    display: none;
}

/****** 直播間基本設定 ******/
#timeline_cnt .block_cnt::before, #timeline_cnt .block_cnt::after,
#timeline_cnt .block_cnt > .plurk.display .td_img::before, #timeline_cnt .block_cnt > .plurk.display .td_img::after {
    position: fixed;
    width: auto;                              /* 對話框寬度,預設auto */
    height: auto;                             /* 對話框高度,預設auto */
    min-width: 50px;
    min-height: 50px;
    max-width: 25rem;
    padding: 10px;
    padding-right: 60px;                      /* 預留空白給方邊頭像 */
    background-color: rgba(255, 255, 255, 0.8);/* 對話框背景色 */
    background-repeat: no-repeat;
    background-position-y: center;            /* 頭像位置-Y(預設在中間) */
    background-position-x: right;             /* 頭像位置-X(預設在右方) */
    border: 2px solid #d4af37;                   /* 框線 */
    border-radius: 10px;                      /* 框線圓角 */
    white-space: normal;
    word-spacing: normal;
}
#timeline_cnt .block_cnt::after, #timeline_cnt .block_cnt > .plurk.display .td_img::after{
    right: 0px;                               /* 第二個對話框的位置(預設在右方) */
    bottom: 5px;                              /* 第二個對話框的位置(預設在下方,預留5px空白) */
}
/****** 預設:無對話狀態,只有頭像 ******/
#timeline_cnt .block_cnt::after {
    padding: 10px;
    background-image: url('https://emos.plurk.com/f10da8382f35f1bdda4364aa67ad8c45_w48_h48.png');
    content: ' ';
}

/****** 一般噗:噗首顯示狀態 ******/
#timeline_cnt .block_cnt > .plurk.display .td_img::after{
    background-image: url('https://emos.plurk.com/8c27cf50f33ab395ee5475587664980e_w48_h48.png');
    content: 'Chat you ready?';
}
/* 一般噗:噗首展開狀態 */
#timeline_cnt .block_cnt > .plurk.display.plurk_box .td_img::after{
    background-image: url('https://emos.plurk.com/859cdbb2e986623ba08d56ed2d2e3802_w48_h48.png');
    content: 'POG';
}

/****** 自己的噗:噗首顯示狀態 ******/
#timeline_cnt .block_cnt > .plurk[data-uid='YOUR_UID'].display .td_img::after{
    background-image: url('https://emos.plurk.com/8c27cf50f33ab395ee5475587664980e_w48_h48.png');
    content: 'I knew we could do it';
}
/* 自己的噗:噗首展開狀態 */
#timeline_cnt .block_cnt > .plurk[data-uid='YOUR_UID'].display.plurk_box .td_img::after{
    background-image: url('https://emos.plurk.com/a6a133c9535688460ddb539a9c1348a1_w48_h48.png');
    content: 'WE DID IT';
}

/****** 置頂噗:噗首顯示狀態 ******/
#timeline_cnt .block_cnt > .plurk.pinned.display .td_img::after{
    background-image: url('https://emos.plurk.com/dcb3b5f5babc6047d147f320bfdae853_w48_h48.png');
    content: ' ';
}
/* 置頂噗:噗首展開狀態 */
#timeline_cnt .block_cnt > .plurk.pinned.display.plurk_box .td_img::after{
    background-image: url('https://emos.plurk.com/d15d6b6967288f491a307482182869de_w48_h48.png');
    content: 'POOOOO';
}

/****** 偷偷說噗:噗首顯示狀態 ******/
#timeline_cnt .block_cnt > .plurk[data-uid='99999'].display .td_img::after{
    background-image: url('https://emos.plurk.com/37324129faf2938f9d9e0caeae5e3dfc_w48_h48.png');
    content: 'SUS';
}
/* 偷偷說噗:噗首展開狀態 */
#timeline_cnt .block_cnt > .plurk[data-uid='99999'].display.plurk_box .td_img::after{
    background-image: url('https://emos.plurk.com/5eed493ef1846e0622c6e9da754b9857_w48_h48.png');
    content: 'NOOOOOOOOO';
}

/****** 隨機噗-ID尾數是1即會顯示:噗首顯示狀態 ******/
#timeline_cnt .block_cnt > .plurk[data-pid$='1'].display .td_img::after{
    background-image: url('https://emos.plurk.com/f10da8382f35f1bdda4364aa67ad8c45_w48_h48.png');
    content: 'listen';
}
/* 隨機噗-ID尾數是1即會顯示:噗首展開狀態 */
#timeline_cnt .block_cnt > .plurk[data-pid$='1'].display.plurk_box .td_img::after{
    background-image: url('https://emos.plurk.com/55d4a7a35bd9cdba6ca705d77c7754f3_w48_h48.png');
    content: 'I am EVIL';
}
/****** 隨機噗-ID尾數是2即會顯示:噗首顯示狀態 ******/
#timeline_cnt .block_cnt > .plurk[data-pid$='2'].display .td_img::after{
    background-image: url('https://emos.plurk.com/f10da8382f35f1bdda4364aa67ad8c45_w48_h48.png');
    content: 'what do we have to do?';
}
/* 隨機噗-ID尾數是2即會顯示:噗首展開狀態 */
#timeline_cnt .block_cnt > .plurk[data-pid$='2'].display.plurk_box .td_img::after{
    background-image: url('https://emos.plurk.com/15187a66e95f4997638832694cf2d397_w48_h48.png');
    content: 'WHAT THE HELL?!';
}
/****** 隨機噗-ID尾數是3即會顯示:噗首顯示狀態 ******/
#timeline_cnt .block_cnt > .plurk[data-pid$='3'].display .td_img::after{
    background-image: url('https://emos.plurk.com/f10da8382f35f1bdda4364aa67ad8c45_w48_h48.png');
    content: 'what?';
}
/* 隨機噗-ID尾數是3即會顯示:噗首展開狀態 */
#timeline_cnt .block_cnt > .plurk[data-pid$='3'].display.plurk_box .td_img::after{
    background-image: url('https://emos.plurk.com/1280c915e86cbd6f3d462573f3273829_w48_h48.png');
    content: 'What do you mean?';
}
/****** 隨機噗-ID尾數是4即會顯示:噗首顯示狀態 ******/
#timeline_cnt .block_cnt > .plurk[data-pid$='4'].display .td_img::after{
    background-image: url('https://emos.plurk.com/f10da8382f35f1bdda4364aa67ad8c45_w48_h48.png');
    content: 'Hi Chat';
}
/* 隨機噗-ID尾數是4即會顯示:噗首展開狀態 */
#timeline_cnt .block_cnt > .plurk[data-pid$='4'].display.plurk_box .td_img::after{
    background-image: url('https://emos.plurk.com/df33e9dacf734cf429e25daea3e6680c_w48_h48.png');
    content: 'HELLO HELLO HELLO';
}
/****** 隨機噗-ID尾數是5即會顯示:噗首顯示狀態 ******/
#timeline_cnt .block_cnt > .plurk[data-pid$='5'].display .td_img::after{
    background-image: url('https://emos.plurk.com/f10da8382f35f1bdda4364aa67ad8c45_w48_h48.png');
    content: 'GUN BEAR! GUN BEAR! GUN BEAR!';
}
/* 隨機噗-ID尾數是5即會顯示:噗首展開狀態 */
#timeline_cnt .block_cnt > .plurk[data-pid$='5'].display.plurk_box .td_img::after{
    background-image: url('https://emos.plurk.com/c6d38282ffab988358fdcc5ce027fd92_w48_h48.png');
    content: 'YES!!';
}
/****** 隨機噗-ID尾數是6即會顯示:噗首顯示狀態 ******/
#timeline_cnt .block_cnt > .plurk[data-pid$='6'].display .td_img::after{
    background-image: url('https://emos.plurk.com/f10da8382f35f1bdda4364aa67ad8c45_w48_h48.png');
    content: 'LOOK AT ME';
}
/* 隨機噗-ID尾數是6即會顯示:噗首展開狀態 */
#timeline_cnt .block_cnt > .plurk[data-pid$='6'].display.plurk_box .td_img::after{
    background-image: url('https://emos.plurk.com/418c05e5bc283a52f351e65c1c34be13_w48_h48.png');
    content: 'chu chu chu';
}
/****** 隨機噗-ID尾數是7即會顯示:噗首顯示狀態 ******/
#timeline_cnt .block_cnt > .plurk[data-pid$='7'].display .td_img::after{
    background-image: url('https://emos.plurk.com/f10da8382f35f1bdda4364aa67ad8c45_w48_h48.png');
    content: 'well...';
}
/* 隨機噗-ID尾數是7即會顯示:噗首展開狀態 */
#timeline_cnt .block_cnt > .plurk[data-pid$='7'].display.plurk_box .td_img::after{
    background-image: url('https://emos.plurk.com/3e1bee63f53266fc32b24fd89155e447_w48_h48.png');
    content: 'I am only going to say this once...';
}