下面是我以前備份的stylish裡的一個樣式,用來修改stylish的圖示
(我忘記原作者是誰了,好像是MozTW裡的前輩
代碼:
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
#stylish-toolbar-button, image[anonid="status-icon"] {
list-style-image:
url("data:image/png;base64,略
!important;
}
#stylish-panel, toolbar[iconsize="small"] #stylish-toolbar-button {
list-style-image:
url("data:image/png;base64,略
!important;
}
#viewGroup #userstyles-view {
list-style-image:
url("data:image/png;base64,略
!important;
}
因為我想修改其他套件顯示在狀態列的圖示
於是我參考中間部分的寫法,但是沒有成功(我會使用base64表示圖片
我想應該是ID(?)(#的那部分)沒有弄對的關係,那要如何取得正確的ID呢?
還有就是用stylish斷行的問題
我爬過PTT的Browsers板,#19Yz8lQH裡w大的推文有提到使用
word-wrap: break-word但是我加上那些字串之後還是沒有發生變化
以下是原本的寫法(這寫法好像也是我問在這裡發問的,但是我忘記是哪位幫忙的了...(汗
代碼:
@-moz-document url-prefix(file) {
body {
background-color:#000000 !important;
margin:3% 7% 3% 7%;
font-size : 18px !important;
}
*{
color:#FFFFFF !important;
font-family: Hiragino Sans CNS W3, Segoe UI !important;
}
pre {
white-space:-moz-pre-wrap;
}
}
請問是有哪裡衝突到嗎?
先謝謝了!!!