Adam Sjøgren skrev:
> On Sun, 22 Jun 2003 13:14:24 +0200, Claus wrote:
Jeg har stadigvæk lidt problemer. Menuen ( filer Rediger vis osv. ) er ok.
Men f.eks urlbaren er stadigvæk meget lille. Ligeledes er titlerne i
nyhedsgruppen meget lille, men selve teksten er ok.
Lidt af problemet er at jeg faktisk ikke ved hvad de forskellige "
menuer" hedder.
Øhm:
/*
* 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:
*/
menu > *, menupopup > * {
font-size: 20pt !important
}
#urlbar > *, urlbar > * {
font-family: font-size: 20pt !important;
}
Customizing Mozilla
The purpose of this document is to offer some hints about some of the
less well documented features in Mozilla which can be customized to suit
the user's preference.
Nearly all of these techniques are cross-platform. Don't be confused by
the url where this document lives in the mozilla.org document tree.
Here are some of the topics covered in this document:
* User CSS (including changing UI fonts)
* Making fonts more readable on Linux
* Key Bindings
* Other Useful Preferences
* UI Widget Look and Feel
Other ways of customizing Mozilla include Configurable Security Policies.
User CSS (changing fonts, colors and other style)
Much of Mozilla's fonts and colors are controlled by CSS (Cascading
Style Sheets).
This is set in .css files in Mozilla's chrome directories, but the user
can override them with two files, called userContent.css and
userChrome.css. Put them in the chrome subdirectory underneath the
user's profile directory. userChrome.css controls CSS for the UI chrome
of the Mozilla application; userContent.css controls CSS for content
inside windows.
userChrome.css
Here are some samples of things you can change in userChrome.css:
/* Set font size and family for dialogs
* and other miscellaneous text
*/
window {
font-size: 3.5mm !important;
font-family: helvetica !important;
}
/* Place the sidebar on the right edge of the window
*/
window > hbox {
direction:rtl;
}
window > hbox > * {
direction:ltr;
}
* Eliminate the throbber and its annoying movement:
*
* #throbber-box {
* display: none !important;
* }
*/
/*
* For more examples see
http://www.mozilla.org/unix/customizing.html
*/