|
阅读:5467回复:18
能否把書籤和右鍵菜単字体改大
能否把書籤和右鍵菜単字体改大
偶喜歡大字体~ |
|
|
|
1楼#
发布于:2009-06-24 23:43
我只会一起改大,用userChrome,单独改就不会了。
*{font-size: 18px !important} |
|
|
|
2楼#
发布于:2009-06-24 23:43
|
|
|
|
3楼#
发布于:2009-06-24 23:43
我的增大全局界面字体的样式:
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
*{
font-family: "Segoe UI", "STXiHei" !important;
font-size: 11pt !important;
}第一行是声明,仅针对界面而不对网页生效; 第三行是字体设置,楼主不需要的话可去除; 第四行是字体大小,请楼主自行设定。 ----------- ----------- 以下是其他人的样式: @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
menubar, menubutton, menulist, menu, menuitem, toolbar, tab,
tree, tooltip /*,textbox*/
{
font-family: Segoe UI, SegoeUI, calibri, verdana, helvetica, tahoma, Arial !important;
font-size: 12px !important;
}
可作为参考。但我也搞不好,所以我自己还是用全局统一样式。 |
|
|
|
4楼#
发布于:2009-06-24 23:43
謝謝
両個都不錯 hzhbest:我的增大全局界面字体的样式: |
|
|
|
5楼#
发布于:2009-06-24 23:43
順便再請教
如何調整標籤欄的高度 如何去除書籤和標籤的末尾的那個省略号"..." 這様就可以多顕示一個字了 |
|
|
|
6楼#
发布于:2009-06-24 23:43
umi:順便再請教 又是借用别人,然后我自己改过的: @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
#personal-bookmarks .bookmark-item {
margin: 0px !important; /* 外边距 */
padding: 0px 6px 0px 4px !important; /* 内边距 */
min-width: 23px !important; /* 最小宽度 */
max-width: 400px !important; /* 最大宽度 */
height: 20px !important; /* 高度 */
}
去掉省略号我不会,我只会用文件夹归类并手动缩短名字。 |
|
|
|
7楼#
发布于:2009-06-24 23:43
不起作用啊...
hzhbest: |
|
|
|
8楼#
发布于:2009-06-24 23:43
受教了!!!
|
|
|
|
9楼#
发布于:2009-06-24 23:43
不起作用啊... 给个完整的: @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/***********************************************************************
* Firefox3 - Small Menubar (mod)
* mod of Firefox - Small Menubar (http://userstyles.org/styles/10616)
* additional mod by hzhbest
***********************************************************************/
/* modded for Office 2007 Black
* font>11,margin>-2 (cuz I don't really
* need smaller text, just a smaller bar)
*------------------------------------------*/
/* Some add-ons use the same-named plus other menus; you can
* uncomment the following for a more consistent appearance
* if you have them installed:
*/
#options-menu, /* MR Tech Toolkit, Adblock Plus */
#Links-menu, /* MR Tech Toolkit */
#filters-menu, /* Adblock Plus */
#help-menu, /* Adblock Plus */
#file-menu,
#edit-menu,
#view-menu,
#bookmarksMenu,
#tools-menu,
#helpMenu,
#history-menu {
font-size: 12pt !important; /* 菜单字体大小 */
font-family: Verdana !important; /* 菜单字体 */
}
#toolbar-menubar,
/* ==如果不需要调整菜单高度,把第二行到这里的代码去掉吧== */
#PersonalToolbar {
height: 24px !important; /* 菜单栏及书签工具栏高度 */
margin-top: -2px !important; /* 减少顶部外边距 */
}
#toolbar-menubar #personal-bookmarks .bookmark-item {
font-size: 12pt !important; /* 书签项字体大小 */
margin: 0px !important; /* 外边距 */
padding: 0px 6px 0px 4px !important; /* 内边距 */
min-width: 23px !important; /* 最小宽度 */
max-width: 400px !important; /* 最大宽度 */
}
上面完整的代码是包含压缩菜单栏的高度的,也就是菜单栏跟书签工具栏项在同一行也能压缩高度。 另外压缩工具栏高度会造成跟某些皮肤不兼容的问题。 |
|
|
|
10楼#
发布于:2009-06-24 23:43
我是用Stylish載入代碼的
但是沒反應啊 請問該怎麼用呢? |
|
|
|
11楼#
发布于:2009-06-24 23:43
|
|
|
|
12楼#
发布于:2009-06-24 23:43
即使是默認主題下依然沒反應
我是說改標籤欄的高度 |
|
|
|
13楼#
发布于:2009-06-24 23:43
……我原来一直跟你鸡同鸭讲……
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
tab {height: 30px !important ;}
那个高度会受内含图标和字体大小限制,你自己根据自己喜好试验吧,我用竖排标签栏所以我的设置你不适合,于是随便给了个30像素。 |
|
|
|
14楼#
发布于:2009-06-24 23:43
hzhbest:……我原来一直跟你鸡同鸭讲……終於有反應了 這個対默認主題有效 但是対我用的Vista-aero主題無效 https://addons.mozilla.org/en-US/firefox/addon/4988/ |
|
|
上一页
下一页