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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
/********************************
 * 河道直播間 v1.1
 *
 * 註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: #FFF;                   /* 對話框背景色 */
    background-repeat: no-repeat;
    background-position-y: center;            /* 頭像位置-Y(預設在中間) */
    background-position-x: right;             /* 頭像位置-X(預設在右方) */
    border: 2px solid #000;                   /* 框線 */
    border-radius: 10px;                      /* 框線圓角 */
    white-space: normal;
    word-spacing: normal;
}
#timeline_cnt .block_cnt::before, #timeline_cnt .block_cnt > .plurk.display .td_img::before{
    right: 0px;                               /* 第一個對話框的位置(預設在右方) */
    bottom: 55px;                             /* 第一個對話框的位置(預設在下方,預留55px空白) */
}
#timeline_cnt .block_cnt::after, #timeline_cnt .block_cnt > .plurk.display .td_img::after{
    right: 0px;                               /* 第二個對話框的位置(預設在右方) */
    bottom: 5px;                              /* 第二個對話框的位置(預設在下方,預留5px空白) */
}

/****** 預設:無對話狀態,只有頭像 ******/
#timeline_cnt .block_cnt::before{
    padding: 10px;
    background-image: url('https://emos.plurk.com/1654b7689e1a3a981827f4a72eae9deb_w48_h48.png');
    content: ' ';
}
#timeline_cnt .block_cnt::after {
    padding: 10px;
    background-image: url('https://emos.plurk.com/e9c3bcf069f6a94b00577ba938287f5a_w48_h48.png');
    content: ' ';
}

/****** 一般噗:噗首顯示狀態 ******/
#timeline_cnt .block_cnt > .plurk.display .td_img::before{
    background-image: url('https://emos.plurk.com/42bb12ed8c29a1dffcc00e6ddcef0ce6_w48_h48.png');
    content: '這是一個普通的噗。';
}
#timeline_cnt .block_cnt > .plurk.display .td_img::after{
    background-image: url('https://emos.plurk.com/b4ceb1b723f5a5856354b9a1f94766c4_w48_h48.png');
    content: '很普通呢。';
}
/* 一般噗:噗首展開狀態 */
#timeline_cnt .block_cnt > .plurk.display.plurk_box .td_img::before{
    background-image: url('https://emos.plurk.com/e0bb15d07ad875412bf90a9e0f24ca51_w48_h48.png');
    content: '裡面有什麼內容?';
}
#timeline_cnt .block_cnt > .plurk.display.plurk_box .td_img::after{
    background-image: url('https://emos.plurk.com/50e31ce14d8f36fca5079b9e57c2ecd7_w48_h48.png');
    content: '時間很寶貴,不要隨便浪費喔。';
}

/****** 自己的噗:噗首顯示狀態 ******/
#timeline_cnt .block_cnt > .plurk[data-uid='YOUR_UID'].display .td_img::before{
    background-image: url('https://emos.plurk.com/ffca76908a731c4044c8e02b01b7acc9_w48_h48.png');
    content: '這是主人的噗喔……';
}
#timeline_cnt .block_cnt > .plurk[data-uid='YOUR_UID'].display .td_img::after{
    background-image: url('https://emos.plurk.com/e58a0c4bd9bdd84946ef4544364411a2_w48_h48.png');
    content: '(嚼嚼)';
}
/* 自己的噗:噗首展開狀態 */
#timeline_cnt .block_cnt > .plurk[data-uid='YOUR_UID'].display.plurk_box .td_img::before{
    background-image: url('https://emos.plurk.com/42bb12ed8c29a1dffcc00e6ddcef0ce6_w48_h48.png');
    content: '有人回應主人的噗嗎?';
}
#timeline_cnt .block_cnt > .plurk[data-uid='YOUR_UID'].display.plurk_box .td_img::after{
    background-image: url('https://emos.plurk.com/e765acd829da9fd59a93b45b244584a2_w48_h48.png');
    content: '(舔舔)';
}

/****** 置頂噗:噗首顯示狀態 ******/
#timeline_cnt .block_cnt > .plurk.pinned.display .td_img::before{
    background-image: url('https://emos.plurk.com/6ad682c171d5255e770bd08f9f3beb35_w48_h48.png');
    content: '咦?這是置頂噗。';
}
#timeline_cnt .block_cnt > .plurk.pinned.display .td_img::after{
    background-image: url('https://emos.plurk.com/1bb1d342a741ee2eb456f616b02e51e6_w48_h48.png');
    content: '快點開來看!!';
}
/* 置頂噗:噗首展開狀態 */
#timeline_cnt .block_cnt > .plurk.pinned.display.plurk_box .td_img::before{
    background-image: url('https://emos.plurk.com/466837570176b2c24bc238be3a0c061a_w48_h48.png');
    content: '置頂噗裡面有什麼?';
}
#timeline_cnt .block_cnt > .plurk.pinned.display.plurk_box .td_img::after{
    background-image: url('https://emos.plurk.com/b4ceb1b723f5a5856354b9a1f94766c4_w48_h48.png');
    content: '這裡充滿了主人的設定喔!';
}

/****** 偷偷說噗:噗首顯示狀態 ******/
#timeline_cnt .block_cnt > .plurk[data-uid='99999'].display .td_img::before{
    background-image: url('https://emos.plurk.com/42bb12ed8c29a1dffcc00e6ddcef0ce6_w48_h48.png');
    content: '偷偷說……';
}
#timeline_cnt .block_cnt > .plurk[data-uid='99999'].display .td_img::after{
    background-image: url('https://emos.plurk.com/f1ab1a2bcf61f5db48b4e4c411b6f094_w48_h48.png');
    content: '狐才不在裡面喔!';
}
/* 偷偷說噗:噗首展開狀態 */
#timeline_cnt .block_cnt > .plurk[data-uid='99999'].display.plurk_box .td_img::before{
    background-image: url('https://emos.plurk.com/362648ae2a2db332998ae307bc9c3813_w48_h48.gif');
    content: '……';
}
#timeline_cnt .block_cnt > .plurk[data-uid='99999'].display.plurk_box .td_img::after{
    background-image: url('https://emos.plurk.com/ea8463a051593ce1001b5c322723bff4_w48_h48.png');
    content: '……';
}

/****** 隨機噗-ID尾數是7即會顯示:噗首顯示狀態 ******/
#timeline_cnt .block_cnt > .plurk[data-pid$='3'].display .td_img::before{
    background-image: url('https://emos.plurk.com/68bc9c642438f62b1baf91be138c65ac_w48_h48.png');
    content: '這個噗好像有點特殊……';
}
#timeline_cnt .block_cnt > .plurk[data-pid$='3'].display .td_img::after{
    background-image: url('https://emos.plurk.com/c224f2af84a393befee80edf5535ead0_w48_h48.png');
    content: '會發生什麼事呢?';
}
/* 隨機噗-ID尾數是7即會顯示:噗首展開狀態 */
#timeline_cnt .block_cnt > .plurk[data-pid$='3'].display.plurk_box .td_img::before{
    background-image: url('https://emos.plurk.com/35d2b0a574701708b9caa183ae496fd9_w48_h48.png');
    content: '嗷嗷!';
}
#timeline_cnt .block_cnt > .plurk[data-pid$='3'].display.plurk_box .td_img::after{
    background-image: url('https://emos.plurk.com/dcbce04477006672e054914c03fdbe0d_w48_h48.png');
    content: '嗷嗷!';
}

/****** [v1.1新增] 根據tag(聖誕樹)顯示:噗首顯示狀態 ******/
#timeline_cnt .block_cnt > .plurk.display:has(.hashtag[href$='聖誕樹']) .td_img::before{
    background-image: url('https://emos.plurk.com/8b99f6116fbe6a8ff5c3b3b46851f3f4_w30_h37.png');
    content: '是聖誕樹的噗喔~';
}
#timeline_cnt .block_cnt > .plurk.display:has(.hashtag[href$='聖誕樹']) .td_img::after{
    background-image: url('https://emos.plurk.com/d1f1209df56491e3285b58117b32f37c_w30_h37.png');
    content: '裡面有什麼禮物呢?';
}
/* [v1.1新增] 根據tag(聖誕樹)顯示:噗首展開狀態 */
#timeline_cnt .block_cnt > .plurk.display.plurk_box:has(.hashtag[href$='聖誕樹']) .td_img::before{
    background-image: url('https://emos.plurk.com/a884d0e4c1493582de5b6bfb1a1f3254_w40_h40.png');
    content: '聖誕快樂!';
}
#timeline_cnt .block_cnt > .plurk.display.plurk_box:has(.hashtag[href$='聖誕樹']) .td_img::after{
    background-image: url('https://emos.plurk.com/a8df52541e33e68eedb3722e52360aa7_w40_h40.png');
    content: '我收到好多好多禮物喔!';
}


/****** [v1.1新增] 根據tag(聖誕樹)顯示:噗首顯示狀態 ******/
#timeline_cnt .block_cnt > .plurk.display:has(.hashtag[href$='聖誕樹']) .td_img::before{
    background-image: url('https://emos.plurk.com/8b99f6116fbe6a8ff5c3b3b46851f3f4_w30_h37.png');
    content: '是聖誕樹的噗喔~';
}
#timeline_cnt .block_cnt > .plurk.display:has(.hashtag[href$='聖誕樹']) .td_img::after{
    background-image: url('https://emos.plurk.com/d1f1209df56491e3285b58117b32f37c_w30_h37.png');
    content: '裡面有什麼禮物呢?';
}
/* [v1.1新增] 根據tag(聖誕樹)顯示:噗首展開狀態 */
#timeline_cnt .block_cnt > .plurk.display.plurk_box:has(.hashtag[href$='聖誕樹']) .td_img::before{
    background-image: url('https://emos.plurk.com/a884d0e4c1493582de5b6bfb1a1f3254_w40_h40.png');
    content: '聖誕快樂!';
}
#timeline_cnt .block_cnt > .plurk.display.plurk_box:has(.hashtag[href$='聖誕樹']) .td_img::after{
    background-image: url('https://emos.plurk.com/a8df52541e33e68eedb3722e52360aa7_w40_h40.png');
    content: '我收到好多好多禮物喔!';
}

/****** [v1.1新增] 根據複合tag(聖誕樹 + 新世界狂歡)顯示:噗首顯示狀態 ******/
#timeline_cnt .block_cnt > .plurk.display:has(.hashtag[href$='聖誕樹']):has(.hashtag[href$='新世界狂歡']) .td_img::before{
    background-image: url('https://emos.plurk.com/8b99f6116fbe6a8ff5c3b3b46851f3f4_w30_h37.png');
    content: '又是聖誕樹的噗。';
}
#timeline_cnt .block_cnt > .plurk.display:has(.hashtag[href$='聖誕樹']):has(.hashtag[href$='新世界狂歡']) .td_img::after{
    background-image: url('https://emos.plurk.com/d1f1209df56491e3285b58117b32f37c_w30_h37.png');
    content: '這次還包含新世界狂歡呢!';
}
/* [v1.1新增] 根據複合tag(聖誕樹 + 新世界狂歡)顯示:噗首展開狀態 */
#timeline_cnt .block_cnt > .plurk.display.plurk_box:has(.hashtag[href$='聖誕樹']):has(.hashtag[href$='新世界狂歡']) .td_img::before{
    background-image: url('https://emos.plurk.com/a884d0e4c1493582de5b6bfb1a1f3254_w40_h40.png');
    content: '聖誕快樂~';
}
#timeline_cnt .block_cnt > .plurk.display.plurk_box:has(.hashtag[href$='聖誕樹']):has(.hashtag[href$='新世界狂歡']) .td_img::after{
    background-image: url('https://emos.plurk.com/a8df52541e33e68eedb3722e52360aa7_w40_h40.png');
    content: '玩遊戲也要開心喔!';
}