|
发表于 2004-6-24 11:04:19
|
显示全部楼层
最初由 wzs 发表
如何更改菜单字体的大小啊?我的太小了。
~/.mozilla/firefox/default.xxxxx/chrome/userChrome.css
改一下字体大小就可以了。
现在偶已经抛弃了opera和konqueror了,呵呵。
- 1 /*
- 2 * Edit this file and copy it as userChrome.css into your
- 3 * profile-directory/chrome/
- 4 */
- 5
- 6 /*
- 7 * This file can be used to customize the look of Mozilla's user interface
- 8 * You should consider using !important on rules which you want to
- 9 * override default settings.
- 10 */
- 11
- 12 /*
- 13 * Do not remove the @namespace line -- it's required for correct functioning
- 14 */
- 15 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
- 16 window {
- 17 font-size: 12pt !important;
- 18 font-family: helvetica !important;
- 19 }
- 20 menubar, menubutton, menulist, menu, menuitem, textbox, toolbar, tab, tree, tooltip {
- 21 font-family: helvetica !important;
- 22 font-size: 12pt !important;
- 23 }
- 24 input {
- 25 /* Set font size and family of text fields */
- 26 font-family: helvetica !important;
- 27 font-size: 12pt !important;
- 28
- 29 /* Set background color to something a little prettier */
- 30 background-color: rgb(200, 255, 220) !important;
- 31
- 32 /* Add some key bindings.
- 33 * For an explanation of how to do this,
- 34 * see below under "Custom key bindings".
- 35 */
- 36 -moz-binding: url("resource:///res/builtin/myHTMLBindings.xml#myInputFields") !important;
- 37 }
- 38
- 39 toolbargrippy {
- 40 display: none !important;
- 41 }
- 42
- 43 /*
- 44 * Some possible accessibility enhancements:
- 45 */
- 46 /* 47 * Make all the default font sizes 20 pt:
- 48 *
- 49 * * {
- 50 * font-size: 20pt !important
- 51 * }
- 52 */
- 53 /*
- 54 * Make menu items in particular 15 pt instead of the default size:
- 55 *
- 56 * menupopup > * {
- 57 * font-size: 15pt !important
- 58 * }
- 59 */
- 60 /*
- 61 * Give the Location (URL) Bar a fixed-width font
- 62 *
- 63 * #urlbar {
- 64 * font-family: monospace !important;
- 65 * }
- 66 */
- 67
- 68 /*
- 69 * Eliminate the throbber and its annoying movement:
- 70 *
- 71 * #throbber-box {
- 72 * display: none !important;
- 73 * }
- 74 */
- 75
- 76 /*
- 77 * For more examples see [url]http://www.mozilla.org/unix/customizing.html[/url]
- 78 */
- 79
- 80 /* Place the sidebar on the right edge of the window */
- 81 window > hbox {
- 82 direction:rtl;
- 83 }
- 84 window > hbox > * {
- 85 direction:ltr;
- 86 }
复制代码 |
|