LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1090|回复: 5

Firefox美化问题,按照论坛上的帖子做得,还是有问题,请大家帮忙!谢谢

[复制链接]
发表于 2005-5-4 20:07:49 | 显示全部楼层 |阅读模式
我按照论坛上的帖子,修改了目录下面的userChrome.css文件,我的文件内容如下:
/*
* Edit this file and copy it as userChrome.css into your
* profile-directory/chrome/
*/

/*
* This file can be used to customize the look of Mozilla's user interface
* You should consider using !important on rules which you want to
* override default settings.
*/

/*
* Do not remove the @namespace line -- it's required for correct functioning
*/
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */


/*
* For more examples see http://www.mozilla.org/unix/customizing.html
*/

/* Set font size and family for dialogs and other miscellaneous text*/

window {
        font-size: 14px !important;
        font-family: simsun !important;
}

/* Make tab group bookmarks italic and brown */
.bookmark-group > .toolbarbutton-text {
        font-style: normal;
        color: brown;
}

/* Make bookmark folders bold and navy blue */
.bookmark-item[type="menu"] > .toolbarbutton-text {
        font-weight: medium;
        color: navy;
}

/* BOOKMARKS MENU */

/* bookmark folders */
menu.bookmark-item {
        color: navy !important;
        font-weight: medium !important;
}

/* tab group bookmarks */
menuitem.bookmark-group {
        color: brown !important;
        font-style: normal !important;
}

/* Shrink tab titles by 10% */
.tabbrowser-tabs .tab-text {
        font-size: 14pt;
}

/* Turn off the great big icons on editor/mail toolbars (bugs 78843/94581) */
.toolbar-primary-icon {
        visibility: collapse;
}

/* Make menus big, pretty and readable (like the old SGI look):
* menubar isn't used after 12/19 builds, but is needed for NS6;
* the rest are for post-12/19
*/
menubar, menubutton, menulist, menu, menuitem {
        font-family: simsun !important;
        font-style: normal !important;
        font-weight: medium !important;
        font-size: 14px !important;
}
/*Single line text fields*/
input {
        /* Set font size and family of text fields */
        font-family: simsun !important;
        font-size: 14px !important;

        /* Set background color to something a little prettier */
        background-color: rgb(200, 255, 220) !important;

}

/* Multi-line textareas */
textarea {
        background-color: rgb(200, 255, 220) !important;
}


/* Specify the font used for the subject in the message pane
* (it was bold, fixed-width and too wide).
*/
.subjectvalue {
        font-family: simsun !important;
        font-weight: normal !important;
}

/* Make the thread and folder panes readable. */
treechildren {
        font-size: 14px !important;
}

/* Change the background colour of the messages (top right hand
* pane in 3-pane view) of Mail/News from gray to white.
*/
outliner {
        background-color : white !important;
}

/* Chatzilla status area: */
.status-label {
        color: yellow !important;
}
.status-data {
        color: white !important;
}

修改后英文字体没有任何改变,还是很难看,请问应该怎样设置英文字体呢?谢谢!
 楼主| 发表于 2005-5-4 20:10:25 | 显示全部楼层
下面是我的firefox截图

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2005-5-4 23:17:47 | 显示全部楼层
俺的文件和截图。
/*
* Edit this file and copy it as userChrome.css into your
* profile-directory/chrome/
*/

/*
* This file can be used to customize the look of Mozilla's user interface
* You should consider using !important on rules which you want to
* override default settings.
*/

/*
* Do not remove the @namespace line -- it's required for correct functioning
*/
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */


/*
* Some possible accessibility enhancements:
*/
/*
* Make all the default font sizes 20 pt:
*
*/
{
  font-size: 15pt !important
}
/*
* Make menu items in particular 15 pt instead of the default size:
*
*/
menupopup > * {
   font-size: 15pt !important
}
/*
* Give the Location (URL) Bar a fixed-width font
*
*/
#urlbar {
   font-family: Lucida Sans,Verdana,Arial !important;
   font-weight: normal !important;
   font-size: 10pt !important;
}

/*
* Eliminate the throbber and its annoying movement:
*
*/
#throbber-box {
   display: none !important;
}
.textbox-input-box {
font-family: Lucida Sans,Verdana,Arial !important;
font-weight: normal !important;
font-size: 10pt !important;
margin-bottom: 1px !important;
}

.searchbar-engine-image {
margin-bottom: -1px !important;
}

.searchbar-dropmarker-image {
margin-bottom: -1px !important;
}

.bookmark-item > .toolbarbutton-text {
font-family: Lucida Sans,Verdana,Arial !important;
font-weight: normal !important;
font-size: 9pt !important;
padding-top: 3px !important;
}

tab {
font-family: Lucida Sans,Verdana,Arial !important;
font-weight: normal !important;
font-size: 9pt !important;
}

.tabbrowser-tabs .tab-text {
font-family: Lucida Sans,Verdana,Arial !important;
font-weight: normal !important;
font-size: 9pt !important;
padding-top: 1px !important;
}

.tabbrowser-tabs *|tab[selected="true"] .tab-text {
padding-top: 1px !important;
}

.tabbrowser-tabs .tab-text2 {
font-family: lucida grande !important;
font-weight: normal !important;
font-size: 9pt !important;
padding-top: 1px !important;
}
.tabbrowser-tabs .tab-icon {
margin: 3px 1px 3px 0px !important;
}
.tabbrowser-tabs *|tab[selected="true"] .tab-icon {
margin: 3px 1px 3px 0px !important;
}
.autocomplete-treebody::-moz-tree-cell-text {
font-family: Lucida Sans,Verdana,Arial !important;
font-weight: normal !important;
font-size: 9pt !important;
}

tree {
font-family: Lucida Sans,Verdana,Arial !important;
font-weight: normal !important;
font-size: 9pt !important;
}

popup, menu, menuitem {
font-family: Lucida Sans,Verdana,Arial !important;
font-size: 9pt !important;
text-align: left !important;
}

menulist {
font-family: Lucida Sans,Verdana,Arial !important;
font-size: 9pt !important;
}

#status-bar, #bookmark-window statusbar {
font-family: Lucida Sans,Verdana,Arial !important;
font-weight: normal !important;
font-size: 9pt !important;
}

#FindToolbar {
font-family: Lucida Sans,Verdana,Arial !important;
font-size: 9pt !important;
}

/* Single line text fields */
input {
          /* Set font size and family of text fields */
          font-family: Lucida Sans,Verdana,Arial !important;
            font-size: 9pt !important;

              /* Set background color to something a little prettier */
              background-color: rgb(200, 255, 220) !important;

                /* Add some key bindings.
                 * For an explanation of how to do this,
                    * see below under "Custom key bindings".
                       */
                -moz-binding: url("resource:///res/builtin/myHTMLBindings.xml#myInputFields") !important;
}
/*
* For more examples see http://www.mozilla.org/unix/customizing.html
*/

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2005-5-4 23:18:59 | 显示全部楼层
可能是你没有导入Verdana字体吧。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-5 13:17:13 | 显示全部楼层
谢谢,终于搞定了,原来是我把文件放错了目录,放到安装目录下去了,汗~~~~~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-5 13:30:19 | 显示全部楼层

又发现问题,google搜索页面英文字体显示有问题

目前别的网页显示英文字体都没有什么问题了,但是在几个搜索引擎中,还是有问题啊!在google中,页面显示的和搜索栏中输入的英文字体都有问题,在百度中,就没有这个问题,但是yahoo中,搜索栏中输入的也不行,请问这是怎么回事啊?谢谢!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表